CI: a Build run reports success when the Windows and Intel macOS jobs failed, so a release can be assembled with assets missing
還沒有人認領這個 Issue。
評估
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
.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.
- 主要語言
- C
- 星號
- 10
- 分支
- 8
- 平均合併
- 6 小時 32 分鐘
- 30 天內合併 PR
- 1
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
FriendsofECCE/ECCE 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
FriendsofECCE/ECCE#1353 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
FriendsofECCE/ECCE#1348 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
FriendsofECCE/ECCE#1345 ·
查看 FriendsofECCE/ECCE 的全部 Issue
相似的 Issue
-
good first issue simulation
難度 1/5 1-3 小時 新手友好度 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
維護者通常 1 天內回覆
-
needs-kind
難度 1/5 1 小時以內 新手友好度 82/100
falcosecurity/libs#3173 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
vincentarelbundock/xtx#11 ·
-
難度 1/5 1-3 小時 新手友好度 88/100
-
enhancement
難度 2/5 1-3 小時 新手友好度 68/100