forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to scripts/gate-local.shClear filter

2026-09-17

🚀 ci: a local full-suite gate lets a verified push skip the runner suiteAhmet Kaan Gümüş · 125a9b4
🚀 ci: a local full-suite gate lets a verified push skip the runner suite

The suite is 565s on this machine and ~55min on a 4-core runner, so the
default path is unchanged (GitHub runs Clippy, the suite, the release build,
the pack and the deploy) and a second path runs the suite here instead:

- scripts/gate-local.sh: clippy + the whole nextest suite + the doc gate with
  CI's env, then a stamp in .git/local-gate/<tree>.ok and a
  `Local-Gate: <tree> (<n> passed, <t>s)` trailer. --scope is quick iteration
  and never produces the trailer; Postgres and cargo-nextest are checked first
  with the exact command that fixes each.
- .github/workflows/main.yml: a 'Decide test gate' step verifies that trailer
  against HEAD^{tree} and skips the test steps only when it matches, so a
  stale or copy-pasted trailer falls back to running the suite. The job-level
  if and the Deploy gate accept the skipped-dispatch variants, and the
  dispatch gains a `tests` input (auto/skip/force).
- .githooks/pre-push: refuses a forged or stale trailer; an ordinary untested
  push stays legitimate. SKIP_LOCAL_GATE=1 bypasses it loudly.
- AGENTS.md documents both paths.
Local-Gate: 76d42499f683a9315fd9daa3325dde5c859676c8 (1469 passed, 536s)