Repository navigation
perf(scheduler): raise ClawSweeper worker budget - #350
vincentkoc wants to merge 9 commits into
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 27, 2026, 10:20 AM ET / 14:20 UTC. Summary Reproducibility: not applicable. This PR changes operational scheduler capacity rather than fixing a reproducible product bug. Source inspection, PR metadata, and live-operations context are the relevant checks. 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: Refresh the branch onto current main, preserve the exact-review capacity fields, update the public capacity numbers, and merge only if maintainers accept the 48-worker live automation budget. 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, PR metadata, and live-operations context are the relevant checks. Is this the best way to solve the issue? Yes for the code direction after refresh: keeping workers.max as the main knob and deriving lane limits follows the existing pattern. It still needs maintainer/operator approval because the live budget increase and conflicting branch state are not things CI can settle. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ae63b16d6c74. Label changesLabel 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
|
|
Closing as superseded by the current scheduler capacity model. Current Thanks for the capacity work and the operational groundwork here. |
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.