Repository navigation
Rank Prereleases Below Stable, Report Interrupt Cleanup Failure, Keep Cached Empty Workflow Text - #4316
Conversation
… Cached Empty Workflow Text A prerelease pin keyed equal to its stable release, so it read clean once the stable shipped. An interrupt's failed container removal went unreported, and a cached empty workflow text was treated as missing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 46 minutes. View limit details
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. |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain, and the changes include regression tests covering the corrected prerelease ordering, cached empty content, and interrupted Docker cleanup behavior.
No open issues 🎉
What changed in this PR
This pull request corrects prerelease ordering, preserves cached empty workflow content, and reports Docker cleanup failures during interrupts.
Changes:
- Rank suffixed prereleases below their matching stable release.
- Treat cached empty workflow text as valid cached content.
- Report interrupted Docker cleanup failures without suppressing the original interrupt.
- Add regression tests for the updated behaviors.
| File | Description |
|---|---|
| tests/test_docker_lint.py | Adds tests for reporting failed Docker cleanup during interrupt handling. |
| tests/test_audit_pins.py | Adds tests for prerelease ordering and cached empty workflow content. |
| spec/audit_pins.py | Updates release version ranking and cached workflow text handling. |
| scripts/docker_lint.py | Reports Docker cleanup failures during interrupt handling while preserving interrupt propagation. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4316 +/- ##
========================================
Coverage 79.23% 79.24%
========================================
Files 44 44
Lines 15865 15872 +7
========================================
+ Hits 12570 12577 +7
Misses 3295 3295
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@coderabbitai review |
|
/review |
Action not completed
|
Fixes three Copilot findings from the promotion PR #4315:
spec/audit_pins.pyversion_key(thread PRRT_kwDOQ5caqM651WMu): a-suffixprerelease now ranks below its stable release, so a pin on1.0.3-rcis no longer clean once1.0.3ships.scripts/docker_lint.pyrun_commandinterrupt branch (thread PRRT_kwDOQ5caqM651WND): a failed container removal after an interrupt is reported on stderr, and the interrupt still unwinds. Standard library only.spec/audit_pins.py_workflow_text(thread PRRT_kwDOQ5caqM651WNN): a cached empty string is no longer treated as missing.Each has a test. Local strict review: 0 findings.
Closes on promotion: none
🤖 Generated with Claude Code