Rstest extension sunset checklist

Aberta
#75 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
typescript

Direção de pesquisa

Start in web-infra-dev/rstest/packages/vscode, reading src/migrationNotice.ts, versionCheck.ts, the package README, and the release and test workflows. Trace the existing activation and version-check tests before adding coverage for the three final-release cases; done means the migration behavior, ^0.12.0 guard, documentation, release freeze, registry steps, and later cleanup checklist are completed.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Retire the standalone Rstest extension (rstack.rstest, formerly web-infra-dev/rstest packages/vscode) in favor of the unified rstack.rstack extension.

Current state

  • Final release 0.12.3 (Rstest (moved to Rstack)) is live on Marketplace and Open VSX; source was removed in web-infra-dev/rstest#2013.
  • Both registries mark rstack.rstest deprecated with replacement rstack.rstack:
    • Marketplace (https://main.vscode-cdn.net/extensions/marketplace.json): disallowInstall: true
    • Open VSX (EclipseFdn/publish-extensions#1194): disallowInstall: false
  • Cursor does not surface registry deprecation flags, so the prompt inside 0.12.3 is the only migration signal there.
  • Stats (2026-09-29 → 2026-11-20):
    • Marketplace: rstack.rstest ~700 → 784 installs; rstack.rstack 156 → 396 installs.
    • Open VSX: rstack.rstest 57k → 61,750 downloads; rstack.rstack 4.4k → 10,014 downloads.

Decisions

  • No settings migration. Document rstest.* → rstack.rstest.* (rstest.nodeExecutable → rstack.nodeExecutable) in packages/vscode/README.md.
  • No changes to rstack.rstack, and no extensionPack / extensionDependencies link.
  • "Don't show again" lives in globalState, never settings.json.
  • Supported core range in 0.12.3: @rstest/core ^0.12.0.
  • Ship final release before requesting deprecation: VS Code hides Update once deprecated, and disallowInstall blocks auto-update.
  • displayName: Rstest (moved to Rstack) (Marketplace rejected Rstest (Deprecated) at publish time as too similar to Vitest (DEPRECATED)).

Final release behavior (0.12.3)

Checked in order on activation:

  1. rstack.rstack is installed and enabled. Stand down and prompt "Rstack has taken over Rstest. Uninstall the Rstest extension." with Uninstall Rstest (workbench.extensions.uninstallExtension on self + reload prompt) and Don't show again. Checks only whether Rstack is installed (ignores workspace trust and rstack.rstest.enable).
  2. Local @rstest/core does not satisfy ^0.12.0. Do not start the worker. Error on every activation (no "Don't show again"): "Rstest has moved into the Rstack extension. The Rstest extension only supports @rstest/core ^0.12.0 (found X). Please install Rstack." with Install Rstack. (Previously versionCheck.ts only checked @rstest/core/api and createRstest with no upper bound.)
  3. Only rstack.rstest is active (including when Rstack is installed but disabled, since getExtension returns enabled extensions only). Run normally. Prompt once after test discovery, if case 2 did not fire: "Rstack has moved into the Rstack extension. The Rstest extension is deprecated and will not be updated. Please install Rstack." with Install Rstack (workbench.extensions.installExtension('rstack.rstack', { enable: true })) and Don't show again.

Checklist

Phase 0: rstack-editor
  • Drop the preview flag from rstack.rstack
Phase 1: final rstack.rstest release (web-infra-dev/rstest)
  • Implement the 3 cases above, ^0.12.0 semver guard, and README settings mapping table, with unit and E2E tests (web-infra-dev/rstest#1917)
  • Rename displayName to Rstest (moved to Rstack)
  • Publish 0.12.3 to Marketplace and Open VSX (web-infra-dev/rstest#1920) and tag v0.12.3
  • Freeze extension version: exclude packages/vscode/package.json from bump.config.mts and scripts/checkVersionConsistency.mjs; restrict VS Code E2E in test.yml to full runs (web-infra-dev/rstest#1919)
Phase 2: registries and docs (2–4 weeks after Phase 1)
  • Request Marketplace deprecation (rstack.rstest → rstack.rstack, disallowInstall: false) in microsoft/vscode-discussions#1 (comment; allow ~3 weeks; may ask for email verification; now live in marketplace.json with disallowInstall: true)
  • Open Open VSX deprecation PR in EclipseFdn/publish-extensions extension-control/extensions.json (#1194, merged 2026-10-23 with disallowInstall: false)
  • Audit rstack.rstest references across rstest docs, templates, devcontainers, and .vscode/extensions.json (VS Code still recommends deprecated IDs listed there)
    • Checked rstest main (2026-10-08): only migration notes in website/docs/{en,zh}/guide/basic/vscode-extension.mdx remain; install links already point to rstack.rstack; .vscode/extensions.json recommends rstack.rslint only; no devcontainer or template references.
Phase 3: stop CI and publishing in rstest
  • Remove release_vscode_extension (release.yml) and "VS Code Extension Test" (test.yml) (web-infra-dev/rstest#1969)
    • Upstream coverage: rstackjs/rstack-ecosystem-ci#99 runs rstack-editor test:unit + lint against @rstest/core on main; Renovate's rstack toolchain PRs run 3-platform E2E on release (running VS Code E2E in ecosystem-ci was prototyped in #66 and dropped in #40).
  • Revoke VSCE_PAT / OVSX_PAT and remove the vscode-marketplace environment (after confirming not shared with rstack-editor)
Phase 4: remove source and lock down installs
  • git rm -r packages/vscode and clean up references (web-infra-dev/rstest#2013):
    • root package.json (test:vscode, stale --ignore-package rstest in check-dependency-version)
    • bump.config.mts and scripts/checkVersionConsistency.mjs
    • knip.jsonc, .github/renovate.json5, .gitignore
    • pnpm-workspace.yaml (@vscode/vsce-sign; replaced hoistPattern with hoist: false so pnpm bin-shim NODE_PATH does not expose workspace packages to install checks)
    • .vscode/launch.json and .vscode/tasks.json
    • AGENTS.md and .agents/skills/create-release-blog/SKILL.md
  • Set Open VSX disallowInstall: true once installs drop off (Marketplace marketplace.json already has disallowInstall: true; on Open VSX, edit the existing entry rather than deleting it, since deletion does not undo deprecation)

References

Linguagem predominante
TypeScript
Estrelas
13
Forks
1
Merge médio
2d 52min
PRs com merge (30d)
25

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de rstackjs/rstack-editor

Todas as issues de rstackjs/rstack-editor

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.