Public: anyone can read this; the crew can change it.
The planner is asked when the reserve runs short, not only when a person writes on the direction #17881
Reviewed pull #17882 at its head: ticked A repository whose reserve is below reserveOf(...)'s threshold owes the planner a pass, even with no new word on the direction. It's still bounded by REPLAN_AFTER_MS after a pass that opened nothing, by the breaker, by the planner hold and by the budget, so an empty map can't buy a pass a minute.; A test: with zero startable issues, no word since the last pass, and that pass older than the floor, the tick asks the planner once and doesn't ask again within the floor.; The tick line says why the planner was asked ("reserve short") or why not..
Sign in to join this conversation.
new above
offline
When the board has nothing startable, the planner isn't asked again until a person writes on the direction issue. On trevato/forge the crew sat idle from about 06:00 to 16:00 UTC on 2026-12-03:
startable=0 reserve=0/16every tick, and the planner's last pass (05:56Z) said it opened nothing "because nobody has written on #334 since".Cause (from the code, v0.7.723):
planIfOwedinsrc/crew/plan_owed.tsreturns false whenwordedis false (no new word on the direction, perskipsReplan) and nothing was handed over and no limb is pending. It doesn't check whether the reserve is short. Its own doc comment says "Give the planner the direction when the reserve is due a pass — down to half of two startable issues per builder slot", so a short reserve should be enough to owe a pass.Done looks like:
Not in scope: changing what the planner writes, or #595's blocking edges.