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
Align Hosted worker and repository workflow concurrency resolution #2987
Hosted Fleet rollout now raises concurrent runs to Solo2/Team6/Scale12 (integry/propr-routing#213 and integry/propr-fleet#60). Fleet audit at core ee003e4 found a real inconsistency, independently confirmed: src/jobs/repositoryWorkflow.ts instanceWorkerConcurrency always prefers persisted worker_concurrency; src/worker.ts consults settings only with CONFIG_REPO. Hosted forbids CONFIG_REPO and uses WORKER_CONCURRENCY from its entitled desired state. A stale persisted setting1 can therefore restrict a Team repository workflow to1 even when worker concurrency6. A high stored value can raise repository ceiling above intended environment cap (not itself proof BullMQ process exceeds its cap).
Implement shared effective concurrency resolution for worker startup and repository workflow scheduling. Preserve supported self-hosted CONFIG_REPO behavior and intentional repository max_parallel_tasks below the instance limit; a stale global UI setting must neither silently lower nor raise the authoritative Hosted instance ceiling when CONFIG_REPO is absent. Validate numeric inputs consistently; no unrelated settings/credential changes. Audit other agent-run scheduling entrypoints and distinguish per-process versus instance-wide limits. If current supported Hosted topology can actually exceed the entitled concurrent agent runs, address that admission path with regression tests or explicitly identify a separate scoped follow-up; do not claim global enforcement from a BullMQ per-worker setting alone.
Acceptance: tests across2/6/12 with absent/lower/higher/malformed persisted settings, CONFIG_REPO present/absent, lower repository cap preserved, worker/workflow agreement, and N+1 runnable tasks queued without extra admitted work in supported topology. Keep public APIs compatible. No deployment/release/pin changes, infrastructure mutations or recursive task creation. Report how to validate exact core preview under Fleet live acceptance. Route code only via normal ProPR orchestration.
Activity
propr-dev commentedon Oct 11, 2026
🤖 AI processing has started for this issue using codex agent with gpt-6-astra model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-6-astra2987/gpt-6-astra-align-hosted-worker-and-r-20261011-1757-wqmmainissue-2987-20261011-1757-gpt-6-astra-wqm🔍 Track Task Execution
fix(ai): Resolve issue #2987 - Align Hosted worker and repository wor…