The owner's turn waits for the relay's report of the session's start (martha#171) #178
Loading…
Reference in a new issue
No description provided.
Delete branch "saturnus/171-relay-under-load"
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?
Refs #171
The relay job's red "the launcher wrote no line to the journal" was a host running its session without Martha's relay. Claude Code's hooks worker gives "no answer to a heartbeat within 5000ms" while martha is loading, so the host unloads martha and respawns the worker without it. No hook reaches the launcher and the journal stays empty.
anyLaunchReceived(journal) andrelayNeverReportedTheStart(drive), pinned by two cases in a_silent_host_fails_by_name. Mutants: any event counts, newest file only, never refuses: all killed.🤖 Generated with Claude Code
The relay job's red "the launcher wrote no line to the journal" was a host that ran its session without Martha's relay. Claude Code 2.1.332 loads every plugin's hooks module in one worker and heartbeats it; when the worker gives "no answer to a heartbeat within 5000ms" while martha is on its stack, the host unloads martha ("it crashed the hooks worker") and respawns the worker for the other plugins only. No session start, prompt or tool call reaches the launcher, so the journal stays empty. A busy-wait of 8 s or more in register() gives the same red and the same debug lines; 5 s passes. Martha's own load is 55-77 ms on host00 at load 15, so the stall that trips it there is the host's, not ours. The drive now types the owner's turn only once a launch in the project has received the session's start, a condition rather than a time, and a member that ends before that fails by name: "The host started its session without Martha's relay". The launcher's own session-start deadline is what ends it.