Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Feature] Update the smoke test VSIX and remove outdated packages during release

已关闭
#2,997 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

已经有一个关联 PR 被合并了。

  • #2996 来自 @EmmaYuan1015 —— 已合并

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
停滞
技术栈
typescript, vscode
领域
devtools

调研方向

Start by reading the Gulp release task and the smoke test resource directory mentioned in the issue. Trace how packaging creates the VSIX and how the task signals completion; then check how existing VSIX files are handled. Done means release waits for packaging, removes outdated packages, places the generated VSIX in the smoke test resources, and fails if no expected VSIX was generated.

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

描述

enhancement

Description

Running gulp release generates a new VSIX in the project root, but the smoke test resources may still contain an older VSIX.

When the extension version changes, this leaves multiple VSIX files and requires manually replacing the package used by smoke tests.

Additionally, the release task calls its callback before the asynchronous packaging process finishes, so Gulp does not reliably wait for completion.

Expected behavior

The release task should wait for packaging to finish, remove outdated VSIX files, and move the newly generated VSIX into extension.

No VSIX should remain in the project root after a successful release.

Proposed fix

  • Return the release Promise so Gulp waits for packaging to complete.
  • Remove existing VSIX files from the project root before packaging.
  • Remove the outdated VSIX from the smoke test resources.
  • Move the newly generated VSIX into the smoke test resources.
  • Fail the release task if the expected VSIX was not generated.
主要语言
TypeScript
星标
2.7k
派生
298
平均合并
15 小时 2 分钟
30 天内合并 PR
28

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

microsoft/vscode-react-native 的其他 Issue

查看 microsoft/vscode-react-native 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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