Repository navigation
docs(release): document history-preserving promotion and back-sync - #3101
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reached
Next review available in: 51 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. 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: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Summary by CodeRabbit
WalkthroughThe release documentation defines exact parent ordering for source promotion and post-publication back-sync. Promotion now uses a verified merge join. Back-sync preserves swarm authority and updates ChangesRelease history joins
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ 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 |
EffortlessSteven
left a comment
There was a problem hiding this comment.
Exact-head review (candidate): c5f2887
reviewed_head_sha: c5f2887
integration_basis: origin/main at branch creation; docs-only candidate
claim_boundary: document the standard release operator contract; no verifier implementation, settings mutation, or release execution
changed_surfaces_and_semantic_owners_inspected: docs/RELEASE.md (release authority) and docs/swarm-development.md (swarm operator flow), including the J promotion and K back-sync sections
blocking_findings: none
non_blocking_suggestions: none
refuted_or_stale_findings: the former ff-only promotion instructions are removed; #3100 remains the implementation follow-up for K verification
proof_and_ci_observed: git diff --check; bounded check-doc-index, markdown-links, check-static-language, check-doc-artifacts, and precommit passed before commit; hosted PR Plan and Route Ripr Rust Small passed; remaining hosted checks were still running at review time
proof_or_review_missing: hosted checks not yet complete; broad local check-pr was not used because shared Cargo-lock contention made it unavailable
affected_currentness_dimensions: public claim and operator documentation; no production or generated implementation
residual_assumptions_and_non_claims: command snippets are operator guidance pending the future verifier; this PR does not prove an actual J or K, and does not authorize publication or temporary settings changes
disposition: REVIEW_INCOMPLETE pending hosted checks; no semantic blocker found
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 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 `@docs/swarm-development.md`:
- Around line 421-434: Update the back-sync procedure describing transport of K
so the ref update or merge requires swarm/main to still equal SWARM_BEFORE,
rather than relying only on the preceding fetch check. After transport, verify
swarm/main points to the expected resulting commit and confirm the merge-policy
state; explicitly state whether the procedure uses same-repository pull requests
or an owner-approved ref-update exception.
- Around line 241-243: Update the promotion workflow around the pinned
swarm-head, merge-base, and routed workflow-proof checks to fail closed before
creating J: assert git rev-parse "$SWARM_REF^{commit}" matches SWARM_PARENT, the
computed merge base matches MERGE_BASE, and the routed workflow conclusion is
success. Record the verified run SHA and URL in the promotion PR body alongside
the swarm/main reference.
🪄 Autofix
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: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: ee15a361-bfaa-42a9-945c-c0e08e4b78fa
📒 Files selected for processing (2)
docs/RELEASE.mddocs/swarm-development.md
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c5f28879af
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
EffortlessSteven
left a comment
There was a problem hiding this comment.
Exact-head review refresh: 6fbfbea
The current docs-only head was reread after the review repairs. The candidate now:
- interpolates
${VERSION}in the K commit recipe; - fails closed on SWARM_REF -> SWARM_PARENT, computed merge-base -> MERGE_BASE, and routed run head/conclusion;
- retains routed SHA/conclusion/URL in the receipt/PR template;
- binds K transport to a non-force expected-head ref update (or an equivalent same-repository PR guard), verifies origin/main == K, and records policy restoration.
blocking_findings: none
proof_and_ci_observed: bounded check-doc-index, markdown-links, check-doc-artifacts, and git diff --check pass after 6fbfbea; hosted source-of-truth, docs route, dependency/security, plan, and routed result checks pass; remaining hosted coverage/test/UB jobs are still running
proof_or_review_missing: merge convergence remains incomplete until required hosted checks settle
residual_assumptions_and_non_claims: this docs PR records the operator contract but does not implement J/K verifiers or execute a release
disposition: REVIEW_INCOMPLETE pending hosted checks; no semantic blocker found
Summary
Proof
git diff --checkcargo xtask check-doc-index(previous bounded run: pass)cargo xtask markdown-links(previous bounded run: pass)cargo xtask check-static-language(previous bounded run: pass)cargo xtask check-doc-artifacts(previous bounded run: pass)cargo xtask precommit(previous bounded run: pass)The broad
cargo xtask check-prrun was not used as a gate because the shared environment remained Cargo-lock contended after interruption. No source code or repository settings are changed.Scope and follow-up
This PR updates
docs/RELEASE.mdanddocs/swarm-development.mdonly. The implementation verifier for K remains tracked by #3100; this PR documents the operator contract without implementing commands or mutating settings.Refs #3099
Refs #3100