Rslint extension sunset checklist

Aperta
#86 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
38/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript, vscode
Ambito
devtools

Direzione di ricerca

Start with #75 and the reference implementation in web-infra-dev/rstest’s packages/vscode/src/migrationNotice.ts and versionCheck.ts; then inspect packages/vscode-extension and its unit and E2E tests. The issue lays out the release, registry, documentation, and eventual removal phases, so confirm which phase is being picked up before starting. Done means completing that phase’s checklist and verifying its stated tests or release steps.

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

Descrizione

Retire the standalone Rslint extension (rstack.rslint, formerly web-infra-dev/rslint packages/vscode-extension) in favor of rstack.rstack, following #75.

Current state

  • Final release 0.10.0 (Rslint (moved to Rstack)) is live on Marketplace and Open VSX; source was removed in web-infra-dev/rslint#2488.
  • Marketplace (https://main.vscode-cdn.net/extensions/marketplace.json) marks rstack.rslint deprecated pointing to rstack.rstack with disallowInstall: true.
  • Open VSX (EclipseFdn/publish-extensions#1207, merged 2026-11-20) marks rstack.rslint deprecated pointing to rstack.rstack with disallowInstall: false (live in Open VSX API).
  • Stats (2026-11-20):
    • Marketplace: rstack.rslint 375 installs (31,126 downloads); rstack.rstack 396 installs (2,656 downloads).
    • Open VSX: rstack.rslint 28,619 downloads; rstack.rstack 10,014 downloads.

Decisions

Same baseline as #75 (no rstack.rstack changes, no extensionPack / extensionDependencies link, "Don't show again" in globalState, no automatic settings migration), with these Rslint values:

  • Settings mapping (documented in packages/vscode-extension/README.md):
    • rslint.enable → rstack.rslint.enable
    • rslint.corePath → rstack.rslint.corePath
    • rslint.trace.server → rstack.rslint.trace.server
    • rslint.binPath / rslint.customBinPath → no equivalent
  • Supported @rslint/core range in final release: ^0.9.0 (including 0.9.x prereleases), checked from package.json before any core module loads.
  • displayName: Rslint (moved to Rstack) (fallback: Rslint (now part of Rstack); avoid Rslint (Deprecated) because Marketplace rejects names close to TSLint (deprecated)).

Final release behavior (0.10.0)

Reference implementation: web-infra-dev/rstest packages/vscode/src/migrationNotice.ts and versionCheck.ts (web-infra-dev/rstest#1917). Checked in order (at most one notification per activation; case 3 only fires if case 2 did not):

  1. rstack.rstack is installed and enabled. Stand down and prompt "Rstack has taken over Rslint. Uninstall the Rslint extension." with Uninstall Rslint and Don't show again. Checks only whether Rstack is installed (drops the rstack.rslint.enable condition).
  2. Local @rslint/core does not satisfy ^0.9.0. Do not start a runtime. Error on every activation: "Rslint has moved into the Rstack extension. The Rslint extension only supports @rslint/core ^0.9.0 (found X). Please install Rstack." with Install Rstack.
  3. Only rstack.rslint is active. Run normally. Prompt once: "Rslint has moved into the Rstack extension. The Rslint extension is deprecated and will not be updated. Please install Rstack." with Install Rstack and Don't show again.

Checklist

Phase 1: final rstack.rslint release (web-infra-dev/rslint)
  • Implement the 3 cases above, ^0.9.0 pre-load semver guard, displayName rename, and README settings mapping table, with unit and E2E tests (web-infra-dev/rslint#2427)
  • Publish 0.10.0 via Release workflow (to_release: all, extension_type: official) — Open VSX on 2026-10-31; Marketplace on 2026-11-02 after renewing RSLINT_VSCE_PAT
  • Freeze extension version (scripts/version.mjs, release-prep skill, --skip-duplicate in scripts/publish-marketplace.mjs) — superseded by web-infra-dev/rslint#2488 removing the extension directly
  • Wire rslint main pushes to ecosystem CI (web-infra-dev/rslint#2420, merged 2026-10-14; rstackjs/rstack-ecosystem-ci#104 runs test:unit against @rslint/core — lint not wired yet; Renovate rstack toolchain PRs run 3-platform VS Code E2E on release)
  • Remove extension E2E from rslint CI (test-node root test filter and test-vscode-windows), which ran against workspace @rslint/core and would fail on 0.10.0 bump (web-infra-dev/rslint#2480)
Phase 2: registries and docs
  • Request Marketplace deprecation (rstack.rslint → rstack.rstack, disallowInstall: false) in microsoft/vscode-discussions#1 (comment, 2026-11-02); live in https://main.vscode-cdn.net/extensions/marketplace.json with disallowInstall: true set by Marketplace
  • Open Open VSX deprecation PR in EclipseFdn/publish-extensions extension-control/extensions.json (#1207, merged 2026-11-20 with disallowInstall: false; live in Open VSX API)
  • Replace remaining rstack.rslint recommendations across docs, templates, and .vscode/extensions.json:
    • web-infra-dev/rslint#2488 (2026-11-04), rstackjs/rspack-ecosystem-ci#91 (2026-11-04), rstackjs/rsbuild-plugin-tailwindcss#121 (2026-11-04), rstackjs/agent-skills#131 (2026-11-20), web-infra-dev/rsbuild#8946 (2026-11-21); no .vscode/extensions.json in web-infra-dev or rstackjs recommends rstack.rslint
Phase 3: stop publishing in rslint
  • Remove publish-extension-vscode, publish-extension-open-vsx, and to_release extension option from .github/workflows/release.yml (web-infra-dev/rslint#2488, merged 2026-11-04)
  • Delete RSLINT_VSCE_PAT and RSLINT_OVSX_PAT from the release environment (kept the environment for publish-npm)
Phase 4: remove source and lock down installs (brought forward)
  • git rm -r packages/vscode-extension and clean up references (package.json, tsconfig.json, cspell.config.cjs, rslint.config.ts, rstack.config.mts, .github/workflows/ci.yml, scripts/publish-marketplace.mjs, release-prep skill) (web-infra-dev/rslint#2488, merged 2026-11-04)
  • Set Open VSX disallowInstall: true once installs drop off (Marketplace marketplace.json already has disallowInstall: true)

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.