Flaky: test daemons sometimes take over 15 s to start ("daemon did not start") #66
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. agentd/mod.rs wait_up's 15 s deadline was hit by mcp.rs what_failed_here_yesterday on the macOS runner (CI task 700,
7b91972); the next commit's run was green. M27's local just check hit the same message once in questions.rs an_agent_question_is_a_card_answered_by_its_fields. Possibly related to #64. Next steps: log what the daemon is doing when the deadline hits (its stderr, whether sock.path exists), and look for a slow startup step (control or tailnet probes, libghostty init, systemd-run probing) before raising the deadline.Root cause: test harnesses picked ports by binding port 0 and releasing them, so under load the port was taken and the daemon exited with EADDRINUSE.
--listen 127.0.0.1:0now lets the daemon bind its own port and write it to state/listen, and all Rust harnesses use that. Not yet: --block-listen in sites.rs/editors.rs.