chadtmiller.com/knotless
git that lives in your Atmosphere account
1
10
The web check is a pre-flight, so an unformatted page fails no batch
.knotless/workflows/web.yml+4−0
| @@ -6,6 +6,10 @@ | ||
# The packages are kept between runs and installed again only when the | ||
# lockfile changes. | ||
image: node:24.22.1 | ||
# A pre-flight: the merge queue takes a pull into a batch only once this | ||
# has passed at its head, so one left unformatted fails no batch. It takes | ||
# seconds, and a pull that changes none of its paths passes at once. | ||
queue: first | ||
# On the runner host, with every other workflow that holds no secret. | ||
runners: [runner.knotless.dev] | ||
# Every push to main, and pulls into it or a feature/ branch, at their | ||
AGENTS.md+6−6
| @@ -265,12 +265,12 @@ as its head moves, not as `main` does, and after the queue's batches: | ||
the queue checks it against `main` once it is queued. | ||
| ||
Queue a pull at once, once pushed: the queue holds it until its | ||
pre-flights, `check` and `test` (`queue: first` in their workflows), | ||
pass at its head, and ejects it if either fails, so one that does not | ||
build, fails a test or misses a line never fails a batch. A pass against | ||
an older `main` counts. Pulls queued behind it that are ready go ahead | ||
meanwhile, and `knotless queue list` says `pre-flight check` or `pre-flight | ||
test` while it waits. Queueing turns away a pull that conflicts with `main` or whose | ||
pre-flights, `check`, `test` and `web` (`queue: first` in their | ||
workflows), pass at its head, and ejects it if one fails, so one that does | ||
not build, fails a test, misses a line or is left unformatted never fails | ||
a batch. A pass against an older `main` counts. Pulls queued behind it | ||
that are ready go ahead meanwhile, and `knotless queue list` says | ||
`pre-flight check,test` or the like while it waits. Queueing turns away a pull that conflicts with `main` or whose | ||
checks failed, saying why, so merge `main` into the branch just before | ||
queueing. One ejected: read why with `knotless pull show`, and the failed | ||
check's log, then fix it and queue it again. Queue the same head again | ||