perf(scheduler): raise ClawSweeper worker budget#350
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 23, 2026, 5:50 AM ET / 09:50 UTC. Summary Reproducibility: not applicable. This PR changes operational scheduler capacity rather than fixing a reproducible product bug. Source inspection can verify whether the derived capacity values and docs are synchronized, and the latest head now passes that focused stale-reference check. Review metrics: 3 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the consistent 48-worker capacity model only after maintainers accept the live automation headroom, refresh the PR body to the final 28-shard normal cap, and keep the exact-review starvation issue tracked separately. Do we have a high-confidence way to reproduce the issue? Not applicable; this PR changes operational scheduler capacity rather than fixing a reproducible product bug. Source inspection can verify whether the derived capacity values and docs are synchronized, and the latest head now passes that focused stale-reference check. Is this the best way to solve the issue? Yes for the code path: keeping AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against f94588d89c2f. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
What Problem This Solves
ClawSweeper background review can fall hours behind while the live fleet is healthy because the checked-in worker budget and derived lane caps are too conservative for the current queue.
Why This Change Was Made
Raise the single global budget from 32 to 48 and regenerate the derived workflow, dashboard, and operator-document values. The existing reserve and priority-lane rules stay unchanged.
User Impact
Normal review rises to 33 shards, hot intake to 16, commit review pages to 2, and repair defaults to 19 while preserving the existing reserve policy.
Evidence
pnpm run check:limitspasses.workers.max=32; this branch carries the intended48budget.AI-assisted: yes.