fix: recover guarded maintenance release - #44
Conversation
|
Warning Review limit reached
Next review available in: 54 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe change validates recaptured release evidence, separates completion notifications from event creation, adds structured release-failure handling, and excludes maintenance state and event paths from selected pull-request workflows. ChangesMaintenance release controls
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant MaintenanceReleaseWorkflow
participant ValidateRecapturedEvidenceCLI
participant GitHub
MaintenanceReleaseWorkflow->>ValidateRecapturedEvidenceCLI: Validate recaptured evidence
ValidateRecapturedEvidenceCLI-->>MaintenanceReleaseWorkflow: Return verification result
MaintenanceReleaseWorkflow->>GitHub: Merge final event record
GitHub-->>MaintenanceReleaseWorkflow: Return merge result
MaintenanceReleaseWorkflow->>GitHub: Notify owner after completion
MaintenanceReleaseWorkflow->>GitHub: Create critical failure event on release failure
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/maintenance-release.yml:
- Around line 348-360: Update the shell steps at
.github/workflows/maintenance-release.yml lines 348-360 and 386-404 to expose
inputs.action_key, inputs.version, inputs.exact_commit, and
inputs.investigation_run_id through step-level environment variables with
explicit schema validation, then replace direct GitHub expressions in shell
commands with quoted environment-variable references. Apply the same
input-handling pattern to both the failure diagnostic step and its sibling step,
while leaving releaseRunId and runUrl based on GitHub context.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 89f12ff7-5441-4c0c-93fb-99a15f763eb4
📒 Files selected for processing (5)
.github/workflows/ci.yml.github/workflows/maintenance-release.yml.github/workflows/protected-controls.ymlmaintenance/control.pytests/test_maintenance.py
Summary
Verification
scripts/test.shsha256:9d9c1315ce23411c111310a47a28ff45121bc35868ee7aece900517e6569a537)Summary by CodeRabbit
New Features
Bug Fixes
Workflow Improvements