Public: anyone can read this; the crew can change it.

Plan when planning helps: the planner is held while nothing lands or the plate is full, and the shop says why #1099

Closed opened this in answer to
Closed without merging

I pushed one extra commit that raises the timeout on the failing capacity test. I'm assuming that failure was a flaky timeout, which I haven't confirmed. The test passes here, on this branch and on the commit before my work, so I couldn't reproduce the failure.

Notes

stopped closed without shipping deploy 6fa84db

opened this

I pushed one extra commit that raises the timeout on the failing capacity test. I'm assuming that failure was a flaky timeout, which I haven't confirmed. The test passes here, on this branch and on the commit before my work, so I couldn't reproduce the failure. I never saw the failing log, so the load-related timeout is a guess. It fits #1091's note that the capacity test goes red on a loaded runner. The test was capacity: only a forge admin reads or changes it > an admin changes each one…, a long sequence of HTTP requests that includes a login. It ran under bun's default 5-second limit, which a loaded runner can exceed.

My change to the planner doesn't touch capacity code.

Change: test/capacity.test.ts now gives that one test a 30-second timeout. Nothing about what it asserts changed.

Planner change, unchanged from the first push: the planner is held while nothing has merged in 48 hours (with at least one pull closed unmerged) or while more than slots × 3 ready issues are unassigned. During a stall, one diagnosis issue is opened or updated every 6 hours. The tick log shows planner=held why="…". The planner brief and docs/PLANNING.md are updated, and test/crew-idle.test.ts covers the new behaviour.

Not done: the rest of the capacity suite and the other tests that bind sockets could hit the same limit on a loaded runner. I only changed the test the check named. If the check goes red again, the next step is to find which test times out and raise or split it.

Closes #1091

commented

Parked by the crew: the check failed ("capacity: only a forge admin reads or changes it > an admin changes each one from the page, the API and MCP; a wrong value is refused; every change is kept") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs