You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Worker limit needs a restart; lead should size its own worker pool live within the owner's ceiling #191
The owner raised oxa.workers.max from 6 to 14 in user settings (6 build workers plus 8 review workers). The running lead session kept the old limit; lead had to be restarted (kill, --continue, /goal resume) to use more workers.
Expected
Live settings: a user-settings change to limits like oxa.workers.max applies to running sessions without a restart. Watch the file, or re-read it at each tool call or pass, as is already done for some settings.
Lead sizes its own pool: within the owner's ceiling, lead decides how many workers to run per kind (build or review) from the backlog, quota state (429s or retry-after per pool, Smart provider selection: choose pool and model by live quota, time-of-day price and job kind #186) and machine load, and scales up and down by itself. The owner sets only the ceiling and, if wanted, per-kind caps (for example oxa.workers.max plus oxa.workers.maxByKind: {review: 8}).
Lead records each change and why ("backlog 28 PRs: reviewers 3 -> 8").
Regression idea
With a session running, change oxa.workers.max in user settings: the next worker start past the old limit succeeds without a restart. A lead pass with a large review backlog raises the reviewer count within the ceiling.
Related: #187 (lead loop), #176 (model per job), #186 (provider and quota-aware selection).
Owner 2026-11-20: the hard ceiling is high (oxa.workers.max = 40 on the lab), and lead uses what makes sense: build about as fast as the merge queue merges, and keep enough reviewers that no green PR waits. No worker idles on CI or review; it pipelines into its next item (about 2 open PRs per worker at most). The worker tool and lead loop should support that pipelining directly: one worker, several in-flight PRs, woken on red CI or a P0/P1.
Activity
n0rpan commentedon Nov 20, 2026
Owner 2026-11-20: the hard ceiling is high (
oxa.workers.max= 40 on the lab), and lead uses what makes sense: build about as fast as the merge queue merges, and keep enough reviewers that no green PR waits. No worker idles on CI or review; it pipelines into its next item (about 2 open PRs per worker at most). The worker tool and lead loop should support that pipelining directly: one worker, several in-flight PRs, woken on red CI or a P0/P1.