Skip to content

docs(gate): document the merge-time rust-gate bypass - #807

Merged
danshapiro merged 1 commit into
mainfrom
docs/gate-bypass-controls
Sep 19, 2026
Merged

danshapiro merged 1 commit into
mainfrom
docs/gate-bypass-controls

Conversation

@danshapiro

Copy link
Copy Markdown
Owner

Documents the full bypass story for the new Rust test gates:

  • Local pre-push gate: git push --no-verify or FRESHELL_PREPUSH=0 (already documented).
  • Server-side rust-gate: the owner account is now a pull_request-mode bypass actor on the 'Protect Main - No Direct Push' ruleset (ruleset 14348583, configured via the API alongside the required-check patch from feat(gate): targeted cargo test lane at push time + required rust-gate CI check #803). Merging with a red or missing rust-gate is just gh pr merge <n> --merge from that account; GitHub records it as a ruleset bypass with an audit entry. It does not unlock direct pushes to main — that rule stays fully enforced.

Context: the required rust-gate check went live with #803 and has since passed on real traffic (PR #805 ran rust-tests + rust-gate, both green — main is Rust-green again after the sixpack fixed the 11 #795 failures). This PR adds the explicit escape hatch so landing on a red base remains a one-command, audited action rather than a ruleset edit.

@danshapiro
danshapiro merged commit 9ccd621 into main Sep 19, 2026
3 checks passed
@danshapiro
danshapiro deleted the docs/gate-bypass-controls branch September 19, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant