Repository navigation
[CI] Bioconda deploy: let build failures fail their steps (#9905) - #9914
Conversation
Remove the `|| true` after both `bioconda-utils build` commands. It was added in November 2024 to work around bioconda-utils misreporting successful --docker --pkg-dir builds as failures: the success check looked for the built packages in conda-build's default output folder instead of the custom --pkg-dir. That was fixed upstream in bioconda/bioconda-utils#838 (released in 3.5.0, 2024-11-29), so every bioconda-utils the workflow's unpinned install can resolve carries the fix. Since then the suppression has only deferred real failures to the upload step, which reports them as "No packages found to upload!" -- the misleading top-level error that cost #9905 a round of misdirection while the actual dependency-solve failure sat two steps earlier. A failed build now fails its own step, and a failed openms-meta build no longer lets the pyopenms step run into a confusing secondary failure on the missing local libopenms package. Verified against the last nightly (run 31674828721, the first publish since 2026-07-09): both build steps ended with "BUILD SUMMARY: successfully built 1 of 1 recipes" with nothing after it, and bioconda-utils exits 0 exactly when that summary reports no failed recipes, so the steps stay green without the suppression. That includes the 16 benign "Pre-solved test failed" errors in the pyopenms step: they fall back to the full mulled test, which passed for every variant, and the recipe still counts as successfully built. Follow-up requested in #9905. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_011CGDBJjwrqnHybBopAvX8A
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThe Bioconda deployment workflow no longer suppresses failures from the ChangesBioconda build failure propagation
Poem
Merge Risk: ⚪ Minimal · up to This change makes failed package builds fail at the build step instead of being deferred to upload, with the described successful nightly verification. No actionable merge-blocking risk remains beyond normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The workaround's history lives in the changelog and the commit message; the workflow itself does not need a comment explaining code that is no longer there. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_011CGDBJjwrqnHybBopAvX8A
Remove the
|| trueafter bothbioconda-utils buildcommands. It wasadded in November 2024 to work around bioconda-utils misreporting
successful --docker --pkg-dir builds as failures: the success check
looked for the built packages in conda-build's default output folder
instead of the custom --pkg-dir. That was fixed upstream in
bioconda/bioconda-utils#838 (released in 3.5.0, 2024-11-29), so every
bioconda-utils the workflow's unpinned install can resolve carries the
fix.
Since then the suppression has only deferred real failures to the
upload step, which reports them as "No packages found to upload!" --
the misleading top-level error that cost #9905 a round of misdirection
while the actual dependency-solve failure sat two steps earlier. A
failed build now fails its own step, and a failed openms-meta build no
longer lets the pyopenms step run into a confusing secondary failure
on the missing local libopenms package.
Verified against the last nightly (run 31674828721, the first publish
since 2026-07-09): both build steps ended with "BUILD SUMMARY:
successfully built 1 of 1 recipes" with nothing after it, and
bioconda-utils exits 0 exactly when that summary reports no failed
recipes, so the steps stay green without the suppression. That
includes the 16 benign "Pre-solved test failed" errors in the pyopenms
step: they fall back to the full mulled test, which passed for every
variant, and the recipe still counts as successfully built.
Follow-up requested in #9905.
Co-Authored-By: Claude Fable 5 [email protected]
Claude-Session: https://claude.ai/code/session_011CGDBJjwrqnHybBopAvX8A
Summary by CodeRabbit