~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

Gates run only on a change to what they check

Merged
Merged chadtmiller.com asked to merge into main from chadtmiller.com/monolith:gates-paths

The gates ran on every pull, whatever it changed. A pull touching only the README, bench/, compat/ or harness/compat.mjs waited 12 minutes on checks that test none of it.

gates.yml now names paths, on both its push and pull triggers. The gates run when a change touches what they check:

  • the server's source and build: crates/**, Cargo.*, deny.toml, .cargo/**;
  • the data and lexicons it reads from spec/: spec/lexicons, spec/data, spec/interop, and the other non-prose directories (atproto, mcp, rfc, spaces). The server and its tests read these, and include spec/data/reserved-handles.txt.
  • the harness the gates run: harness/checks, harness/lib, harness/spaces, compare.mjs, conformance.*, code.mjs, gates.mjs, perf.mjs, and its package*.json;
  • what the run itself depends on: .node-version, .knotless/uses.lock, and gates.yml itself.

Anything else is filed at once as success with its steps skipped (knotless, docs/reference/workflows.md, Paths), which the merge queue takes as passing: the README, AGENTS.md, the spec's top-level prose, bench/, compat/, harness/bench.mjs, harness/compat.mjs, the Justfile.

nightly is unchanged: it runs on its schedule, whatever changed.

The README says when the gates run.

🤖 Generated with Claude Code

Merged as cf9fa92