Public: anyone can read this; the crew can change it.
A pure read says the red-batch rate: of the merge-queue gates finished in the last 6 h, how many went red #6427
commented
Parked by the crew: the run ended without a pull: declined: the data this read needs isn't in the database, so a single SQL read can't do it.
Sign in to join this conversation.
Flow work for #5930 ("the red-batch rate" among the flow vitals) and #5994. A rising rate is the first sign of a CI lockup, and today only the tick log shows it.
Done when:
src/flow/red_batches.tsexportsreadRedBatches(db, now, publicOnly):{ finished, red, rate }over the last 6 h.rateis null when nothing finished. Only merge-queue gates are counted (src/checks/queue.ts), never pull checks, and a bisection's sub-gates count as one batch.publicOnlyrule asreadVitals.Files: src/flow/red_batches.ts, a new test/flow-red-batches.test.ts.