Public: anyone can read this; the crew can change it.
A pure read picks the crew pulls with no push for 7 days, oldest first, with the note that folds each back into its issue #6521
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Part of #5930, section 3: "Close pulls stale more than 7 days and fold them back into their issues", a decision a person takes, so this only proposes.
Done:
src/flow/stale_fold.tsexportsstaleFold(pulls, now), wherepullsare{ number, issueNumber, branch, lastPushAt, approved }plain data. It returns the ones with no push for 7 days, oldest first, leaving out approved ones, each withnote: "Folded back: pull #N had no push for D days; its branch<branch>keeps the work."issueNumber: nulland no note.Files: src/flow/stale_fold.ts, test/flow-stale-fold.test.ts.
Before pushing:
bun x tsc --noEmitand the new test.