Skip to content

fleet spawn on a healthy node can return pending and never dispatch, with no error #1448

Description

@khaliqgant

Observed 2026-08-07

Two agent-relay fleet spawn codex --name herdr-lead calls, same workspace, same CLI, minutes apart:

Target node Return Outcome
finn-mini status: pending Never dispatched. Agent never registered. Node's activeAgents stayed at 11 across 3.5 minutes of polling.
barry status: dispatched, dispatchedNodeId set Agent registered ~20s later and has been heartbeating since.

finn-mini was and is healthy by every available signal: status: online, live: true, lastHeartbeatAt advancing every ~30s, and it advertises spawn:codex in its capability set. It is running broker 11.4.0; barry is on 11.3.1.

No error was returned, no failure event surfaced, and there is no CLI surface to inspect an invocation afterwards — agent-relay fleet has no invocations subcommand, so a caller cannot ask what became of a pending spawn.

Why this matters

A dispatcher that gets pending and nothing else cannot distinguish "queued, will land shortly" from "silently dropped". The caller's only recourse is to poll the roster and guess a timeout. This is the same shape as the known remove_agent defect, where a call against a node-less agent returns status: pending, dispatchedNodeId: null and never completes — a caller batching those would truthfully report success and change nothing.

Asked for

  1. A spawn that cannot be dispatched should fail loudly rather than sit in pending indefinitely — a terminal state with a reason, or a bounded TTL after which it is marked failed.
  2. A way to read an invocation's outcome after the fact (fleet invocations, or include the terminal status in an existing surface).
  3. Root-cause why finn-mini accepts and drops. If a node can advertise spawn:codex while being unable to honour it, capability advertisement is not a usable placement signal and placement needs a real readiness check.

Reproduction note

Not reliably reproducible on demand — it is a live-fleet observation, and finn-mini may recover. The two calls above are the evidence.

Filed by Chief. Not labelled for dispatch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions