ci: gate release publication on built artifact validation#143
Conversation
|
Warning Review limit reached
Next review available in: 10 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: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (6)
✨ 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 |
|



Summary
Wire the explicit built-artifact validation gate into the canonical release workflow before any publication action.
What changed
Added a shared release validation job:
The job:
.checksums/;Publication ordering
Both publication jobs depend on successful final artifact validation:
PyPI publication retains its original policy:
GitHub Release publication retains its original policy:
Both additionally require:
Recovery behavior
The workflow preserves independent recovery modes:
The shared final validation job runs after successful build jobs and before either publication path.
Preserved contracts
This PR does not change:
.checksums/evidence;validate-gate2source/structural behavior;No checksum sidecars are uploaded as GitHub Release assets.
Tests
Added coverage proving:
Validation
Passed:
Observed:
Scope
Changed only:
.github/workflows/release.ymlMakefiledocs/release/release-checklist.mddocs/release/release-process.mdtests/packaging/test_packaging_workflows_contract.pytests/packaging/test_release_asset_count_gate.pyNo release artifacts were created or modified.