Skip to content

fleet-stalling: scheduled lane waves lose every route candidate to the 10s first-output deadline — 81 sessions dead in 8h #7927

Closed

Description

@dezren39

What is broken, in plain words

Fleet sessions are being killed by the OpenCode client's 10-second first-output deadline. When a scheduled lane wave seats ~10 sessions inside a minute onto the same few workhorse doors, the doors queue past 10s, every candidate in the route trips the deadline in the same turn, and the turn ends failed instead of waiting out the route cooldown and retrying a live leg. The session is lost mid-task: a lane that was checkpointing, sweeping, or binding a queue task simply stops.

Evidence (laptop server 127.0.0.1:13420, opencode.db, window 2026-11-08T18:10Z–2026-11-09T02:10Z)

81 sessions ended failed with the identical error provider.transport / "No response output within 10000ms":

hour (UTC) deaths
17 18
18 30
19 7
20 26

Named sessions (verbatim idle.outcome rows):

  • ses_e5e41f73dc2ffeXtjBHfPlEsgd — Queue lane (scheduled) - code 20:00, died 20:08 mid-checkpoint; last text: repo-queue: primary queue store failed on /checkpoint (exit 5): checkpoint_task: task 14030 is not claimed by repo-worker-code
  • ses_e5e41f6c26cffed2YLdfEQyJBz — Queue lane (scheduled) - code 20:00, died 20:09 immediately after blocking task 14029
  • ses_e5e42091170ffef0WR74Z0IPyW — Fleet conductor 19:40, died 20:12 mid-sweep (it was polling post-nudge session activity)
  • ses_e5e41fa5585ffeFA3Q6M5XsU9J — explore subagent under task 13835, died 20:00 ("No response output within 10000ms")

The route does fail over — and still runs out. route_attempt for ses_e5e42091170ffef0WR74Z0IPyW (4 consecutive timeout rows, then the turn ends):

1794190242512  opencode-go.developing-today-0/deepseek-v4.1-flash  timeout  Transport  Timeout
1794190255506  opencode-go.developing-today-0/deepseek-v4.1-flash  timeout  Transport  Timeout
1794190271205  opencode-go.popesdrew/deepseek-v4.1-flash             timeout  Transport  Timeout
1794190294012  opencode-go.drewrypope/deepseek-v4.1-flash            timeout  Transport  Timeout

The deadline is being hit at a real rate, and the legs routinely exceed it. 8h route_attempt totals:

provider/model success Transport/Timeout
openai.main/gpt-6-luna 19,757 1,166
opencode-go.developing-today-0/deepseek-v4.1-flash 2,085 407
_muse/muse-spark-1.3-contributor 1,464 158
_vibe/deepseek-v4-1-flash-1017 4,194 217

Observed first-token maxima in the last 2h: gpt-6-luna 15,738 ms, deepseek-v4.1-flash 10,185 ms, muse-spark 10,428 ms — i.e. these legs cross a 10 s deadline as a matter of course, and a burst pushes every door over it at once.

The waves are the trigger. Ten scheduled code lanes started between 20:00:01 and 20:00:52 local on the same opencode-route/workhorse chain (workhorse-ordered → deepseek-flash-plan → workhorse-weighted); 26 sessions died in the 20:00 hour.

Why this is not #4370 or #3325

Acceptance test (one line)

Replaying a 10-session scheduled lane wave on opencode-route/workhorse, zero sessions end with provider.transport: No response output within 10000ms — either the deadline is sized above the observed leg p99 (or disabled for this chain), or a turn whose candidates all trip it retries after the route cooldown and completes, shown by a route_attempt timeout row set followed by a success row in the same turn.

Pointers for the fix

Activity

  1. added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/triageQueue packet kind: verify, reproduce, and route this item
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    app/fleetpkgs/fleet multicall binary + platform crates
    on Nov 9, 2026
  2. developing-today commented on Nov 9, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    Priority express — Drew, 2026-11-08 ~21:53 CST

    Drew directed this issue be priority-expressed.

    • priority/high is already set. Treat this as front-of-queue for the code pilot.
    • Do not spend a cycle re-triaging it. The body already carries the full evidence and root cause: the OpenCode client's 10s first-output deadline kills every route candidate in the same turn when a lane wave seats ~10 sessions onto the same doors (81 sessions dead in 8h, 2026-11-08), and the turn ends failed instead of waiting out the route cooldown and retrying a live leg.
    • The next task that claims this issue goes straight to a fix: the turn must survive first-output timeouts on individual route legs — wait out the cooldown / move to a live leg — rather than failing the session mid-task. Session work is checkpointed work; a transport deadline must not be what kills it.
    • If the queued task for this issue is a triage task, convert it to the fix on first touch (triage doctrine: the triage has, in substance, already been done in the issue body).
  4. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    Builder's-advocate census 2026-11-09 04:10 CST (attention feed, 61 entries): 6 more sessions dead on 'No response output within 10000ms' — ses_e5e40c7e7deffeBbo14RenPyOT (child of improvement-creator lane B), ses_e5e40d5733dffeAtHhvDBQ6r (via parent Subagent failed), queue tasks 14093/14101/13777/13709, plus Plans Space freshness keeper ses_e5e40cf9d6fffeLp5jIj9mjP5P8. Same 10s first-output signature. Note: these coincide with the #7991 auth-outage window, so some may be заболевших by the same route stall rather than the deadline per se — but they failed at output-wait, not auth, and are worth counting separately.

  5. added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    and removed
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 10, 2026
  6. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged

    • Agent: triage-step
    • State: triaged
    • Verdict: work kind task/small-fix · priority/high · effort/m
    • Priority why: priority/high — brief line 1: keep the fleet itself able to work; 81 sessions died in 8h to the 10s first-output deadline (6 more by 2026-11-09 04:10 CST), and Drew priority-expressed this issue on 2026-11-08 ~21:53 CST.
    • First step: Fix the route behaviour so a candidate that trips the 10s first-output deadline does not fail the whole turn: wait out the route cooldown and retry a live leg, and/or raise the first-output deadline for scheduled lane waves seating ~10 sessions per minute on the workhorse doors.
    • Acceptance: A scheduled lane wave no longer mass-fails with 'No response output within 10000ms': sessions survive door queueing past 10s (retry of a live leg or a deadline that fits the load), verified against the laptop server's session outcomes over a wave window.
    • Fix packet: repo-health:v1:fix:developing-today/code:issue:7927 → queue repo-health-code-pilot. Enqueue result: enqueued new task 14574 (queue repo-health-code-pilot, status queued)
  7. 5 remaining items

  8. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  9. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked (awaiting CI)

  10. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 10, 2026
  11. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked (awaiting CI; CodeRabbit Major dispositioned)

  12. added a commit that references this issue on Nov 10, 2026
  13. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done (fixed_merged)

  14. removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/fleetpkgs/fleet multicall binary + platform crateseffort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions