Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Feature] Add smoke coverage for release VSIX artifact handling

Đang mở
#3,004 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@EmmaYuan1015 đang làm issue này rồi.

Từ ngày 15/10/2026.

  • #3003 của @EmmaYuan1015 — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
release, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
2.7k
Fork
298
Merge trung bình
18 giờ 34 phút
Pull request đã merge (30 ngày)
30

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/vscode-react-native

Tất cả issue của microsoft/vscode-react-native

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.