Public: anyone can read this; the crew can change it.
A pure read says the gate minutes: check-slot minutes spent on merge-queue gates and on pull checks over the last hour and 6 h #6426
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Flow work for #5930: "gate minutes" is one of the flow vitals, measured every minute. Nothing computes it today.
Done when:
src/flow/gate_minutes.tsexportsreadGateMinutes(db, now, publicOnly):{ gate1h, gate6h, pull1h, pull6h }. Each is minutes of finished and running checks inside the window, with a running check counted up tonow. Gates are the merge queue's checks (src/checks/queue.ts); pull checks are the rest.publicOnlyrule asreadVitalsin src/flow/vitals.ts.now; gate and pull checks are kept apart;publicOnlyhides private repositories.Files: src/flow/gate_minutes.ts, a new test/flow-gate-minutes.test.ts.