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

[Feature] Add smoke coverage for release VSIX artifact handling

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

维护者通常 1 天内回复

@EmmaYuan1015 已经在做这个了。

开始于 2026年10月15日。

  • #3003 来自 @EmmaYuan1015 —— 未关闭

评估

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

调研方向

Start with the gulp release task, which removes old VSIX files and moves the latest package into test/smoke/resources/extension, then read the existing npm run smoke-tests setup. Add a read-only check that the repository root has no VSIX files, the smoke resource directory exists, and it holds exactly one non-empty VSIX. Pull request #3003 is already open against this issue, so check with the maintainers before starting.

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

描述

enhancement

Summary

Add a smoke test that validates the final VSIX artifact state after gulp release.

Previously, every version change generated a new VSIX in the repository root without removing older versions. The release task now removes outdated VSIX files and moves the latest package to:

test/smoke/resources/extension

Why this is useful

Without automated coverage, VSIX files from multiple extension versions may accumulate in the repository root.

The smoke test will help detect regressions where:

  • Multiple VSIX files remain in the repository root.
  • The latest VSIX is not moved to the smoke resource directory.
  • An outdated VSIX remains in the smoke resource directory.

Suggested scope

  • Verify that the repository root contains no VSIX files after release.
  • Verify that the smoke resource directory exists.
  • Verify that the smoke resource directory contains exactly one VSIX.
  • Verify that the generated VSIX has a non-zero file size.
  • Keep the test read-only.

Evidence

Before the release task was updated, each version generated an additional VSIX in the repository root, leaving packages from multiple versions.

The latest VSIX also had to be copied manually to:

test/smoke/resources/extension

The CI pipeline runs gulp release before the smoke tests, making the final artifact state available for validation.

Validation

Run:

gulp release
npm run smoke-tests

Confirm that:

  • No VSIX remains in the repository root.
  • Exactly one non-empty VSIX exists in test/smoke/resources/extension.
  • The VSIX smoke test passes.
主要语言
TypeScript
星标
2.7k
派生
298
平均合并
14 小时 54 分钟
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 摘要。