Flaky: agents.rs an_agent_that_dies_says_so_and_starts_again_on_send: the restart says "couldn't start the agent" #64
Loading…
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?
Found during #55 (macOS CI fix for M16, branch ci-mac-m16).
Once in a full
just checkon Linux (passed 15 of 15 runs ofcargo test -p illogicald --test agentsalone afterwards):The test took 2.68s, so it isn't spawn_local's 5s deadline: the child (systemd-run, then the shim) exited before the shim wrote the program's pid to the record. The restart comes right after the fake agent's
crash(os._exit(3)), so a likely suspect is the old shim and the new spawn sharing the block's record path (spawn_local removes it, the old shim notes how it ended a moment after its pipe closes), or systemd-run refusing the scope under load. The agent.err of the block would say which.Couldn't reproduce (0/300 under load), but fixed a real race in that path: a start was reported failed when the program recorded its pid and exited between two checks. Failed starts now report how the shim exited and agent.err's last lines. Reopen with that output if it comes back.