Repository navigation
docs(issues): [#2525] record the approved sandbox plan for T4 and T5 - #2597
Merged
Merged
Conversation
…and T5 Record the sandbox set-up and cleanup, the gate-cost and check-run-superseding experiments of T4, the four design questions of T5 with the candidates to test, and the maintainer's decisions of 2026-10-21: T4 runs first and its numbers are approved before T5, and the read-only fork-pull-request token is verified on real pull requests when T6 lands. Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
The documentation matches the stated scope and existing plan, with no unresolved findings.
No open issues 🎉
What changed in this PR
Records the maintainer-approved sandbox plan for #2525’s required CI gate. This is documentation only; no workflows, code, or rulesets change.
Changes:
- Defines T4 experiments for gate cost and check-run superseding.
- Outlines T5 override-state and token-permission validation.
- Records approval sequencing, cleanup requirements, and progress.
| File | Description |
|---|---|
docs/issues/open/2525-ci-gate-required-check/ISSUE.md |
Adds the T4/T5 sandbox plan and approval record. |
Review effort: Balanced
Member
Author
|
ACK 0ebb431 |
josecelano
added a commit
that referenced
this pull request
Oct 21, 2026
… the gate cost and check-run superseding 8efbf8c docs(issues): [#2525] record the T4 results and the pending approval in the specification (Jose Celano) d2a5339 docs(issues): [#2525] record the T4 sandbox evidence for the gate cost and check-run superseding (Jose Celano) Pull request description: Related to #2525 ## Summary Evidence of the sandbox runs of task T4 of #2525, following the plan approved in #2597: the runner time that the CI gate adds to a documentation-only pull request, and how a ruleset that requires `CI gate` treats several check runs of that name. The sandbox was a throwaway in the fork and has been deleted; nothing in this pull request changes code, a workflow, or a ruleset of this repository. T4 stays `IN_PROGRESS` until the maintainer approves the approach and a bound for AC6. ## Results **E1, gate cost.** One commit rerun 12 times, five jobs per attempt (60 jobs, all succeeded), each job one way of getting the `ci-gate` binary, next to the steps of the real `Docs Lint` job. Median runner minutes per job over attempts 2 to 12: - cold `cargo build --release -p ci-gate`: 0.40 - the same with the Rust cache: 0.37 (no benefit, there is little to cache) - binary restored from a cache: 0.13 - binary downloaded from a release asset: 0.12 - `Docs Lint` reference: 1.02 (the baseline median is 0.85) The gate needs two tool runs, `classify` before the heavy jobs and `verdict` after them, so a documentation-only head would cost about 0.8 minutes with cold builds and about 0.25 with a prebuilt binary. **E2, check-run superseding** (a ruleset requiring `CI gate`, real signed merge pushes): - a later passing run overrides an earlier failing one for the same commit, and a later failing run overrides an earlier passing one, when they come from the same job of one workflow (so a `labeled` run can turn a failing `CI gate` into a passing one, and `unlabeled` back); - with two workflows that each define a job named `CI gate`, one failing blocks the merge although the other passes, so the gate must be one workflow with one job; - `statusCheckRollup` stays `FAILURE` after a later pass, so it cannot decide mergeability; the ruleset decides. ## Limits - One commit rerun in a fork, so cache behavior across different pull requests was not measured, and the `gate-binary-cache` key includes `Cargo.lock`, so it misses after every dependency update. - Only job minutes were measured, not wall-clock time. - The fork's default workflow permission is `write` and upstream's is `read`, so the sandbox says nothing about upstream's default token; T5(c) relies on GitHub's documentation and is verified on real pull requests when T6 lands. - A later passing run from a different workflow than the failing one was not tested; the design avoids needing it. ## Files - `docs/issues/open/2525-ci-gate-required-check/manual-verification-evidence.md` (V8 and V9) - `docs/issues/open/2525-ci-gate-required-check/evidence/` (`t4-gate-cost-runs.csv`, `t4-check-run-superseding.txt`, and `t4-sandbox/` with the sandbox workflows and rulesets) - `docs/issues/open/2525-ci-gate-required-check/ISSUE.md` (T4 status and progress log) - `project-words.txt` (`rollup`) ACKs for top commit: josecelano: ACK 8efbf8c Tree-SHA512: 5f536df006379b1b1cf6b7fd6da2311ef791cdd742a8a395b0ed76156c567ad5ddc01ddb951385a5030cd2964c3b2b4ffd264e8cce3679d19d19b28e6267b56d
Contributor
|
Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: It changed one file, the #2525 issue specification, where it recorded a sandbox plan, with no source, manifest or workflow change. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to #2525
Summary
Records, in the specification of #2525, the sandbox plan for the two decision gates T4 (gate cost and check-run superseding) and T5 (cross-run state for the maintainer override), as approved by the maintainer on 2026-10-21. The plan is documentation only; it changes no code, workflow, or ruleset, and no experiment has run yet.
exp-2525-*branches, a ruleset scoped to the base branch requiringCI gate, workflows that never reach upstream, and a recorded cleanup. The fork was checked first and is clean.Docs Lintmedian 0.85 minutes). E2 checks, with a real merge push, whether a later check run namedCI gatesupersedes an earlier one in both orders, and what two workflows with the same job name do.Files
docs/issues/open/2525-ci-gate-required-check/ISSUE.md(new section "Sandbox Plan for T4 and T5", and the progress log)