Repository navigation
ci: harden R2 canary cleanup and coverage - #13342
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Warning Review limit reachedNext included review available in 6 minutes. View limit detailsLimit details: You’ve used all 10 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Repository: manaflow-ai/cmux/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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 |
|
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
The push-path trigger named ci.yml, but manaflow-ai#13405 moved the macOS jobs that consume these artifacts into ci-macos.yml, so pushes that changed the consuming lane no longer re-validated transport. Point the trigger and its test at ci-macos.yml. Also drop a duplicate definition of test_workflow_retries_remote_artifact_delete_before_bucket_cleanup. The later definition shadowed the earlier one, so the shorter version never ran; the surviving copy is the superset that also executes the wrangler stub. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
5f364fe to
2c1cb81
Compare
|
Resolved the conflicts in 9fd4f91. The branch carried obsolete upstream history; the merge preserves current main and the four-file canary change, rather than restoring unrelated old code. One trigger change was already on main, leaving three changed files. All 20 canary tests, both workflow lint checks, and independent review pass. GitHub confirms the updated head is mergeable. Hosted native failures still require separate validation; no R2 deployment or activation was performed. |
Problem
The canary cleanup deleted its R2 artifact once. A transient remote-delete failure could leave the bucket non-empty, so bucket deletion failed and the per-run bucket remained allocated until its lifecycle rule expired. The canary job also had too little timeout margin, cleanup treated an absent secret as an error after partial deploys, and transport checks did not run on pushes that changed
.github/workflows/ci.ymlalone.Change
.github/workflows/ci.ymlin the main push path filter.Validation
python3 tests/test_ci_r2_canary.py(20 tests)git diff --check