Skip to content

[CI] Bioconda deploy: let build failures fail their steps (#9905) - #9914

Merged
timosachsenberg merged 2 commits into
developfrom
claude/openms-9905-followup-fj9pb4
Aug 14, 2026
Merged

timosachsenberg merged 2 commits into
developfrom
claude/openms-9905-followup-fj9pb4

Conversation

@timosachsenberg

@timosachsenberg timosachsenberg commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

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

Summary by CodeRabbit

  • Bug Fixes
    • Bioconda package build failures are now reported immediately.
    • Deployment checks no longer continue after a failed package build, preventing misleading “No packages found to upload!” errors.

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
@coderabbitai

coderabbitai Bot commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 62808519-62f1-456c-bd2c-a323e847ec7d

📥 Commits

Reviewing files that changed from the base of the PR and between 7785db5 and a3c8fcb.

📒 Files selected for processing (1)
  • .github/workflows/bioconda_deploy.yaml
💤 Files with no reviewable changes (1)
  • .github/workflows/bioconda_deploy.yaml

📝 Walkthrough

Walkthrough

The Bioconda deployment workflow no longer suppresses failures from the openms-meta and pyopenms builds. Build errors now fail the build steps directly. The changelog records this behavior.

Changes

Bioconda build failure propagation

Layer / File(s) Summary
Propagate build command failures
.github/workflows/bioconda_deploy.yaml, CHANGELOG
The two Bioconda Docker build commands no longer use `

Poem

A rabbit checks the build with care,
No hidden errors linger there.
Two packages hop through the gate,
Failures stop at their true state.
The workflow speaks clear and bright.

Merge Risk: ⚪ Minimal · up to a3c8f

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)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: Bioconda build failures now fail their CI steps.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/openms-9905-followup-fj9pb4

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants