Rstest extension sunset checklist

Aperta
#75 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
13
Fork
1
Merge medio
2g 52m
PR unite (30g)
25

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rstackjs/rstack-editor

Tutte le issue di rstackjs/rstack-editor

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.