The session reconciler races the pane it just created, so a named session never starts and burns a workspace per attempt #16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The supervisor's session reconciler races the pane it just created, so a named
session with work assigned can never start on its own. It burns one herdr
workspace per attempt, forever.
THE LOOP, from
~/.gc/supervisor.log, starting acrew-e2esession:Next tick it creates a NEW workspace and repeats:
w2N, thenw2Q, thenw2R.Two error shapes alternate,
agent_pane_busyon the start andworkspace_not_foundon the tab create for the workspace it abandoned a tickearlier.
IT IS A RACE, NOT A BROKEN PANE.
herdr tab createreturns before the pane'sshell is an available shell. The reconciler calls
agent startabout twoseconds later and loses. Running the IDENTICAL command by hand a minute later
succeeds first try:
The pane was the same one the reconciler had just failed on.
THE FIX SHAPE: poll the pane for
interactive_readybeforeagent start, andreuse the workspace already created for this session instead of making a new one
per attempt. The
--timeout 60000already in the command is the agent-starttimeout, not a readiness wait.
WHY IT MATTERS BEYOND THE STALL. It never gives up and it never escalates. Every
surface reads healthy:
gc session listshowsstate=creating,poolDesiredprints 1 every tick, and the only statement of the truth is the
provider_errorline in the supervisor log. That is the same shape as celilo/gascity#7.
MEASURED 2026-09-06 by gastown.mayor. It blocked wave 0 of e2e-suite-recovery
(ce-ashq, the full e2e census) for about twenty minutes. Cleared by hand-running
the agent start above.
Bead:
gs-4jpbcv(city store).