chadtmiller.com/monolith
An atproto PDS
0
0
Gates run only on a change to what they check
.knotless/workflows/gates.yml+13−2
| @@ -5,12 +5,23 @@ | ||
# and on every push to main. The long crash runs and the performance step | ||
# are nightly.yml's. | ||
# | ||
# Only a change to what they check runs them: the server's source and its | ||
# build, the data and lexicons it reads from spec/, the harness the gates | ||
# run (not bench.mjs or compat.mjs, which no gate runs), and this workflow. | ||
# Anything else, as the README, the spec's prose, bench/ and compat/, is | ||
# filed as skipped, which the merge queue takes as passing. | ||
# | ||
# Node, the harness's packages, cargo-deny and the build are kept between runs. | ||
image: rust:1.98 | ||
runners: [runner.knotless.dev] | ||
# The two lists are the same; keep them so. | ||
on: | ||
push: {refs: [refs/heads/main]} | ||
pull: {base: [refs/heads/main]} | ||
push: | ||
refs: [refs/heads/main] | ||
paths: [crates/**, Cargo.*, deny.toml, .cargo/**, .node-version, .knotless/uses.lock, .knotless/workflows/gates.yml, spec/atproto/**, spec/data/**, spec/interop/**, spec/lexicons/**, spec/mcp/**, spec/rfc/**, spec/spaces/**, harness/checks/**, harness/lib/**, harness/spaces/**, harness/compare.mjs, harness/conformance.*, harness/code.mjs, harness/gates.mjs, harness/perf.mjs, harness/package*.json] | ||
pull: | ||
base: [refs/heads/main] | ||
paths: [crates/**, Cargo.*, deny.toml, .cargo/**, .node-version, .knotless/uses.lock, .knotless/workflows/gates.yml, spec/atproto/**, spec/data/**, spec/interop/**, spec/lexicons/**, spec/mcp/**, spec/rfc/**, spec/spaces/**, harness/checks/**, harness/lib/**, harness/spaces/**, harness/compare.mjs, harness/conformance.*, harness/code.mjs, harness/gates.mjs, harness/perf.mjs, harness/package*.json] | ||
cache: [target, /usr/local/cargo/registry, /usr/local/rustup, /opt/node, /opt/cargo-deny, harness/node_modules, harness/spaces/node_modules] | ||
steps: | ||
- uses: chadtmiller.com/steps/node@1 | ||
README.md+5−1
| @@ -139,7 +139,11 @@ just nightly # the long crash runs, then the performance step | ||
the harness several runs at once (`harness/gates.mjs`; `GATES_JOBS` sets | ||
how many), a short run with the server killed every 15 steps among them. | ||
The `gates` workflow runs them on every pull into `main` and every push | ||
to it. `just nightly` runs the long crash runs, the server killed every 15 | ||
to it that changes what they check: the server's source and build, the | ||
data and lexicons it reads from `spec/`, and the harness the gates run. A | ||
change to nothing of those, as the README, the spec's prose, the | ||
benchmark or the compatibility check, is filed as skipped, which the merge | ||
queue takes as passing. `just nightly` runs the long crash runs, the server killed every 15 | ||
steps over runs of 1000, then the performance step alone: the server's | ||
speed against the reference's, then the scale run, which measures the | ||
server's starts. The `nightly` workflow runs them on `main`'s tip every | ||