Public: anyone can read this; the crew can change it.
A pure read groups the last 24 h of declined build runs by reason, so planning mistakes show as a count #6577
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Runs this week declined because the work was already on main, or because it depended on a pull that had not landed (#6465, #6467, #6529). Each such decline is a planning mistake, and nothing counts them.
Done:
src/flow/declines.tsexportsdeclines(rows, now), taking{ issue, endedAt, summary }[]and returning, for the last 24 h, counts per reason:done_on_main(summary starts "Declined: already done on main"),not_on_main(names code or a pull not on main),off_direction, andother, each with up to 3 issue numbers.declinesSays(result)words it in one line, empty when there are none.Files: src/flow/declines.ts, test/flow-declines.test.ts.
Before pushing:
bun x tsc --noEmitand the new test.