[Feature] Add smoke coverage for release VSIX artifact handling
Maintainer thường phản hồi trong vòng 1 ngày
Đá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
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ả
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
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/vscode-react-native
-
[Feature] Avoid duplicate error notificationsCó thể đã có người làm @erenbati đã nhận 7 ngày trước. Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
microsoft/vscode-react-native#2963 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature] Stop Expo Go installation when Quick Pick is canceledCó thể đã có người làm @erenbati đã nhận 22 ngày trước. Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
microsoft/vscode-react-native#2959 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement follow-up
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
microsoft/vscode-react-native#2951 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature] Expo Doctor output is lost when diagnostics failCó thể đã có người làm @erenbati đã nhận 21 ngày trước. Đang mởenhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
microsoft/vscode-react-native#2957 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature] Incorrect log message when Metro process termination failsCó thể đã có người làm @erenbati đã nhận 7 ngày trước. Đang mởenhancement follow-up
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
microsoft/vscode-react-native#2952 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/vscode-react-native
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
chrisparsons83/flexspotff#215 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
vitest-dev/vitest#11633 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày