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] Update the smoke test VSIX and remove outdated packages during release

Đã đóng
#2,997 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

Một pull request liên quan đã được merge.

  • #2996 của @EmmaYuan1015 — đã merge

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 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, vscode
Lĩnh vực
devtools

Hướng nghiên cứu

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.

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

Mô tả

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

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.