Repository navigation
[CI] Fix recurring Bioconda nightly deploy failure: rebase → merge - #9798
Conversation
The "Deploy to Bioconda" workflow has failed every night for 16 consecutive days (since 2026-07-10) with a rebase conflict in recipes/pyopenms/meta.yaml while syncing the OpenMS/bioconda-recipes "nightly" branch onto upstream bioconda/master. Root cause: `git rebase bioconda/master` replays nightly's commits one at a time, in their original historical order, onto today's master. Since the nightly branch already periodically merges upstream on its own (so its tip is already reconciled with a past state of master), replaying an old nightly commit in isolation reintroduces conflicts that upstream and nightly resolved together long ago -- even though the current tips of both branches merge together with zero conflicts. Verified locally: `git rebase bioconda/master` conflicts, while `git merge bioconda/master` succeeds cleanly and produces byte-identical results for every OpenMS-owned recipe file (pyopenms, openms-meta, openms-thirdparty). Switch the sync step from rebase to merge so it diffs tip-vs-tip once instead of replaying stale history; it will still fail loudly on genuine, unresolved content conflicts. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XeR6LJZjRVwAeUd53i2uqL
|
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)
📝 WalkthroughWalkthroughThe Bioconda deployment workflow now merges ChangesBioconda deployment workflow
Possibly related issues
Poem
🚥 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 |
Audited recently merged develop PRs against CHANGELOG (last backfill attempt was #9811/#9806, covering up to #9803). Four merged PRs since then were missing entries: #9824 (IsobaricWorkflow empty-feature pruning fix), #9523 (new CI build/release workflows), #9812 (pyOpenMS docstring fixes) and #9798 (Bioconda nightly deploy fix, whose two prior backfill attempts were closed unmerged). #9821 (internal TODO-comment correction, no behavior/doc change) and #9805/#9803 (test-only / already covered by the #9792 write-up) were left out, consistent with this repo's convention of not logging test-infrastructure-only or already-documented changes. Claude-Session: https://claude.ai/code/session_01WU21QuzvxLH5BuSxatVikX Co-authored-by: Claude <[email protected]>
…ioconda CI fix) (#9819) Routine sweep of recently merged develop PRs for changelog coverage. Two merged PRs had no entry: #9812 (pyOpenMS MSChromatogram/Mobilogram docstring fixes) and #9798 (nightly Bioconda deploy rebase->merge fix). All other merged PRs since the last changelog update were already covered. Claude-Session: https://claude.ai/code/session_01SzRvETHmfTpnH53PY5p9gD Co-authored-by: Claude <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…current workflow Resolve the conflict with #9798 (rebase -> merge) in favour of the overlay: the merge has failed every nightly since 2026-10-12, when the upstream openms-meta/pyopenms 3.6.0 updates (bioconda #70094, #70181) started to conflict with the nightly recipe copies. Keep everything else develop changed in the workflow since this branch was created. The overlay ignores upstream changes to the two recipes, so the step now warns, without failing, about upstream commits to them that the nightly branch has not taken over yet. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012GBvJZN8neGpv9RoUshwFL
Description
The nightly build CI (triggered by
.github/workflows/update_nightly.ymlevery night at 01:4x UTC) is green for the mainopenms-ci-fullbuild/test/package matrix, but the "Deploy to Bioconda" workflow it also triggers has failed every single night for 16 consecutive days (2026-07-10 through 2026-07-26), always at the same step:Root cause
The "Clone Bioconda recipes repository and add our changes" step integrates the
OpenMS/bioconda-recipesfork'snightlybranch (which carries OpenMS-specific customizations: dev version pins, Arrow/Parquet pins, a nanobind-wheel build fix, etc.) with upstreambioconda/mastervia:git rebasereplays thenightlybranch's commits one at a time, in their original historical order, onto whateverbioconda/masterlooks like today. Thenightlybranch already periodically merges upstream on its own (its tip is already reconciled with a past state ofbioconda/master), so replaying an old individual commit (e.g. the June 16 "Re-sync nightly recipes..." commit) in isolation reintroduces a conflict that upstream andnightlyalready resolved together long ago — even though the current tips of both branches merge together with zero conflicts.I verified this locally:
git clonethe fork'snightlybranch, add thebiocondaremote,git rebase bioconda/master→ same conflict reproduced inrecipes/pyopenms/meta.yaml.git merge --no-edit bioconda/masterfrom the same starting point → merges cleanly, no conflicts, and every OpenMS-owned recipe file (recipes/pyopenms/meta.yaml,recipes/pyopenms/build.sh,recipes/openms-meta/*) comes out byte-identical to before the merge — only unrelated upstream recipes elsewhere in the tree change.Fix
Replace
git rebase bioconda/masterwithgit merge --no-edit bioconda/master. This diffs tip-vs-tip once instead of replaying stale per-commit history, which is what actually matches how this branch is used here (the merge result is only used locally within the CI job to build packages; nothing is pushed back, so there's no need for a linear rebased history). It will still fail loudly if a genuine, currently-unresolved content conflict arises between our nightly customizations and upstream — this is not a suppression of the check, just the correct git operation for combining two independently-evolving branches.Checklist
OpenMS/bioconda-recipesandbioconda/bioconda-recipesrepos — not covered by the localctestsuite)Generated by Claude Code
Summary by CodeRabbit