CI: a Build run reports success when the Windows and Intel macOS jobs failed, so a release can be assembled with assets missing
Chưa có ai nhận issue này.
Đá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
- 74/100
Hướng nghiên cứu
Start by reading .github/workflows/build.yml, especially the Windows and macOS jobs and how their artifacts are named and passed between jobs. Then trace the existing release artifact handling to find where a final check can run after those jobs. Done means a failed or missing expected release artifact is reported by name and makes the Build run fail, while diagnostic artifacts are not required.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
.github/workflows/build.yml marks the windows job continue-on-error: true (line 603) and the macos job continue-on-error: ${{ matrix.experimental }}, with experimental: true for both Intel entries (x86_64, x86_64-1013) and false for arm64. A job that fails under continue-on-error leaves the run's conclusion success.
So a green Build run guarantees only the four Linux packages, vendored-inventor and the macOS arm64 dmg. The MSI, the Windows zip and both Intel dmgs can all be absent from a run that looks fine, and whoever assembles the release has no signal unless they compare the artifact list against the expected names by hand.
This is the same shape as #1301 (an empty ctest -R exiting 0) and #1309 (a test script reaching none of its checks and reporting success): a step that did not happen reports success. The consequence here is a published release missing a platform.
Suggested fix: a job that runs after the others and fails when an expected artifact is absent, listing the names it wanted and the names it found. The expected set is the nine release artifacts (ecce-debian-trixie-deb, ecce-ubuntu-latest-deb, ecce-rockylinux9-rpm, ecce-fedora-latest-rpm, ECCE-windows-msi, ECCE-windows-zip, ECCE-macos-dmg-arm64, ECCE-macos-dmg-x86_64, ECCE-macos-dmg-x86_64-1013); the diagnostic artifacts are not release assets and should not be required. Keeping continue-on-error on the experimental platforms is still right - the point is that the run should say plainly which ones were lost, rather than reporting success.
Found while reconstructing the release procedure for 9.6.1.
- Ngôn ngữ chính
- C
- Star
- 10
- Fork
- 8
- Merge trung bình
- 6 giờ 32 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 FriendsofECCE/ECCE
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
FriendsofECCE/ECCE#1353 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
FriendsofECCE/ECCE#1348 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
FriendsofECCE/ECCE#1345 ·
Tất cả issue của FriendsofECCE/ECCE
Issue tương tự
-
Installation fails from source: missing libintl.h on macOS, undeclared R_typeToChar() on R 4.6Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vincentarelbundock/xtx#11 ·
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
compiler-explorer/compiler-explorer#9738 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 3 ngày
-
[Android Auto] MU1017 (MHI2Q_JP_AUG22_P1017) cluster map works with a pinned profile — values insideĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
kamgurgul/mib2q-carplay#74 ·