Skip to content

Rank Prereleases Below Stable, Report Interrupt Cleanup Failure, Keep Cached Empty Workflow Text - #4316

Merged
ptr727 merged 1 commit into
developfrom
burndown/promotion-fixes-r1
Nov 20, 2026
Merged

ptr727 merged 1 commit into
developfrom
burndown/promotion-fixes-r1

Conversation

@ptr727

@ptr727 ptr727 commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Fixes three Copilot findings from the promotion PR #4315:

  • spec/audit_pins.py version_key (thread PRRT_kwDOQ5caqM651WMu): a -suffix prerelease now ranks below its stable release, so a pin on 1.0.3-rc is no longer clean once 1.0.3 ships.
  • scripts/docker_lint.py run_command interrupt 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

… 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]>
Copilot AI lite review requested due to automatic review settings November 20, 2026 04:23
@ptr727

ptr727 commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 0e9b7556b4d48f143313d9e404f3dcbf5e06e829, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 138523a and 0e9b755.

Files selected for processing: 4

  • scripts/docker_lint.py
  • spec/audit_pins.py
  • tests/test_audit_pins.py
  • tests/test_docker_lint.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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

codecov Bot commented Nov 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.24%. Comparing base (138523a) to head (0e9b755).

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           
Flag Coverage Δ
python-3.13 79.24% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ptr727

ptr727 commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@ptr727

ptr727 commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

/review

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@ptr727
ptr727 merged commit 6ff3460 into develop Nov 20, 2026
14 checks passed
@ptr727
ptr727 deleted the burndown/promotion-fixes-r1 branch November 20, 2026 04:38
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