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
Commit d39ff4c
Browse filesBrowse the repository at this point in the historyBrowse files
Run up to STRICT_MAX_WORKERS runs concurrently in the run service
RunService drained its queue with one worker thread, so a host that
reported max_strict_workers=1 could never run two Strict reviews at once,
and the reviewbot's per-backend concurrency caps could not take effect.
- Settings.strict_max_workers (STRICT_MAX_WORKERS, 1-32, default 1) and
StrictRuntimeConfig.max_workers start that many workers; the handshake
reports the configured number. Strict API 1.3.0 -> 1.4.0.
- RunQueue never hands out two runs with the same conflict key (resolved
checkout + PR; issue tasks key on the checkout alone). Runs on one PR
head share one PR-time worktree and cursor writes its tool-bridge config
to a fixed path inside it. A busy key keeps its run queued in order
without holding a worker. A malformed request cannot kill a worker. The
checkout is resolved through RepositoryContextResolver (frozen path,
REPO_PATHS, adapter manifest), the same resolver execution uses.
- A PR run whose worktree cannot be materialized degrades to the live
checkout at runtime, which the queue key cannot see. The cursor
transport, the only one that writes its bridge config into the session
cwd, now serializes bridge-carrying sessions in a shared checkout with
an flock in that checkout's git dir (across services and the CLI too);
a timeout returns a loud refusal + capability_gap.
- The reaper is single-flight per service, and a reused worktree is
touched under its materialize lock while the reaper re-reads mtime
under its own lock, closing the gap between materialize releasing the
tree and the run taking its shared hold.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments