Repository navigation
fix(ci): bind docs precommit to the admitted event base - #14488
EffortlessSteven wants to merge 2 commits into
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 reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 10 minutes. View limit details
|
|
Supporting evidence from a docs gate that passed, so this is not limited to #14240: run 43143833577 (Ripr Docs Gate, success) took 18.8 of its 20 minutes. Its Generated by Claude Code |
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Reviewed commit 625e473, tree 65551301b5ddd9a860531dee19ebf4136d2f1f87. The event base and checkout are validated before binding only the disposable local origin/main ref; no remote refs, permissions, triggers, timeout or required commands change. Executed workflow controls reject stale-base selection, malformed/missing identities, wrong checkout and nonancestor bases; a real Rust delta remains selected. The existing Rust-owned wrapper executes all 27 controls and passes on this tree. Pinned semantic workflow lint and workflow/changelog/body policy checks pass. No material source defect found.
Full local ci-policy remains incomplete: the unchanged RIPR library-test compile was terminated by SIGKILL9 after the policy prefix passed. Details and non-claims are in the PR body. This source review does not establish native queue qualification, measured latency improvement, or permission to bypass required checks.
|
Evidence-only sweep triage: this PR currently conflicts with |
Summary
Bind the docs-gate precommit selector to the immutable event base rather than the checkout-time origin/main ref. This retains the full precommit table and 20-minute timeout.
The #14240 native group run 43156857731 had a two-line changelog-only B→G delta, but precommit selected Rust-covered_by builds (361s + 272s), output goldens, and Clippy against origin/main. It timed out at 20 minutes. This repairs selection, not timeout policy.
Swarm / Source Boundary
Source-of-truth Links
Proposal: none; bounded regression repair
Spec: existing native-event qualification and full precommit contract
ADR: none; no new authority
Plan item: docs-only queue-gate performance
Governing issue or accepted claim: #14240 docs-gate timeout on native merge group
Acceptance delta (one sentence): The docs gate retains all required checks but computes its precommit delta from the admitted event base and checked-out integration, not a moving local main ref.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication): fix/docs-gate-event-base
Stack parent or prerequisite PR (if any): none
Proposed replacement of PR (if any; not yet accepted): none
Acceptance retained from a replaced candidate (if any): none
Accepted winner and losing candidate disposition (when decided): none; not a replacement for #14240's rustix change
Scope and proof
cargo test --locked -p xtask --test hard_cut_admission_selftest history_sync_scope_real_bash_controls_pass -- --exact --nocapturepasses: 1 selected control invokes all 27 Python controls (5m34s cold compile; 0.42s test). Isolated official Rust 1.95.0, two Cargo jobs, debug symbols disabled.--no-default-features, same selected integration test) passes: 11.85s build +0.35s test; one selected Rust control executes all 27 Python controls. This is not full workspace coverage.ci-policyexited1 after1338s:cargo test -p ripr --lib analysis::scip::admission::tests --no-runwas terminated by SIGKILL9. Cause is not established as a kernel OOM; memory pressure was observed. This unrelated full library-test build remains unqualified locally, not silently skipped or reported green. A materially lower-memory isolated retry (one job, incremental compilation off, debug0) also failed with SIGKILL9 after362s. No further heavy local retry is planned on this host; hosted qualification is still required.625e4738e69a4b994b19216b0049b7f263289a21; four files, including the existing Rust test-count expectation updated from 22 to 27.Review
Source and authority review found no permission/trigger/protection change, no remote-ref write, no check omission, and no handling of secrets. Actual Rust changes remain in the selected diff. SOURCE_REVIEW_READY for the bounded workflow/source change; overall REVIEW_INCOMPLETE for protected landing. Full local ci-policy is incomplete because of the SIGKILL above, and required native hosted proof is outstanding.
CI Economics
Changelog
changelog.d/docs-gate-event-base.md follows the Internal / CI section, bullet and trailing issue-reference format.
Claim Boundary
This establishes event-bound selection in controlled executions, not successful full hosted qualification or measured end-to-end latency. No npm/release/deployment changes.