Rslint extension sunset checklist

未关闭
#86 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
38/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript, vscode
领域
devtools

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
TypeScript
星标
13
派生
1
平均合并
2 天 52 分钟
30 天内合并 PR
25

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

rstackjs/rstack-editor 的其他 Issue

查看 rstackjs/rstack-editor 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。