Repository navigation
Description
Goal
Make GitHub enforce that a pull request's CI passed before it can merge, with one required check, CI gate, that reports on every pull request (code and documentation-only alike), can be overridden per pull request by a maintainer without disabling any ruleset, and whose decisions live in a Rust tool behind thin workflows that do not lock the project into GitHub Actions.
Background
Issue #2507 found that the only required-checks ruleset had been effectively disabled since 2026-05-05 and deleted it: job renames had removed six of its required check names, and since the documentation-only fast path (#1743) a Markdown-only pull request reports only Docs Lint, so the other required checks stayed "expected" forever.
A fork sandbox in #2507 established that GitHub enforces required checks on the maintainer merge tool's direct push (read from the PR head), that a skipped workflow blocks a required check forever, and that a posted commit status cannot override a failing Actions check run.
The maintainer decided on one required, always-reporting CI gate, overridable by a maintainer-applied ci-override label, with the decision logic in Rust and as little code as possible in workflows, keeping the CI portable to other providers or self-hosted CI.
Plan
- T1: root ADR "Keep CI decision logic in Rust behind thin, provider-agnostic workflows".
- T2: Rust change detection (which job groups a change needs), reproducing today's path filters first.
- T3: Rust verdict (pass/fail with explanation; maintainer override honored only for Maintain/Admin actors).
- T4: decision gate in a fork sandbox: gate cost on documentation-only PRs, and whether a later passing
CI gaterun supersedes a failing one. - T5: one orchestrating workflow calling the existing workflows as reusable workflows, ending with
CI gate. - T6: required
CI gatecontext in the rulesets (not strict), docs and skills. - T7: measure CI runner time before/after.
The specification is docs/issues/open/2525-ci-gate-required-check/ISSUE.md, added with the #2507 implementation pull request.
Activity
docs(issues): [torrust#2525] add a decision gate for the override's c…
docs(issues): add issue specification for torrust#2525
docs(issues): [torrust#2507] link the CI gate follow-up issue torrust…
docs(issues): [torrust#2525] add a decision gate for the override's c…
docs(issues): add issue specification for torrust#2525
docs(issues): [torrust#2507] link the CI gate follow-up issue torrust…
docs(issues): [torrust#2525] add a decision gate for the override's c…
Merge #2526: fix(git): [#2507] refresh the recorded pull-request base…
docs(issues): [torrust#2507] attribute the delivery-sequence log line…
docs(issues): [#2525] record the agreed delivery sequence
Merge #2550: docs(issues): [#2507] record the close-out verification …
docs(adrs): [torrust#2525] allow workflows to consume Rust-computed s…
docs(adrs): [torrust#2525] align the tools' output with the global CL…
95 remaining items
docs(issues): [torrust#2525] drop the blank line at the end of the T5…
docs(issues): [torrust#2525] record the queries behind the observatio…
docs(issues): [torrust#2525] state how the T1 ADR is at odds with the…
docs(issues): [torrust#2525] add the follow-up task T9 and mark the d…
docs(issues): [torrust#2525] explain the count of 195 in V12 with the…
docs(issues): [#2525] record the T5 sandbox evidence for the override…
docs(issues): [#2525] propose the design of the override across runs
Merge #2605: docs(issues): [#2525] record the T5 sandbox evidence and…
docs(issues): [torrust#2525] record the close-out pull request in the…
docs(issues): [torrust#2525] keep the historical paths in the torrust…
docs(issues): [torrust#2525] name the repaired review record in the c…
docs(issues): [torrust#2525] bump last-updated-utc of the documents t…
docs(issues): [#2525] close out the issue and archive its specification
Merge torrust#2642: docs(issues): [torrust#2525] close out the issue …