Cover the daemon relay auto-spawn path with a test #111

Open
opened 2026-09-05 00:20:04 +09:00 by natsukium · 0 comments
Owner

Migrated from docs/backlog.md (Open / Test-audit residue).

Verified gap from the 2026-08-23 suite audit (needs a new test or a design decision):

daemon: the relay auto-spawn path (relay.rs spawn_persistent_daemon, incl. the process_group(0) detach that survives SSH SIGHUP) is untested by construction: every test pre-binds a daemon.

Covering this requires a test that exercises the real auto-spawn rather than a pre-bound daemon. Consider whether a dedicated fixture/process-group test is worthwhile or the gap should be recorded as an intentional design decision.

Origin: docs/backlog.md Test-audit residue.

Migrated from `docs/backlog.md` (Open / Test-audit residue). Verified gap from the 2026-08-23 suite audit (needs a new test or a design decision): > daemon: the relay auto-spawn path (`relay.rs` `spawn_persistent_daemon`, incl. the `process_group(0)` detach that survives SSH `SIGHUP`) is untested by construction: every test pre-binds a daemon. Covering this requires a test that exercises the real auto-spawn rather than a pre-bound daemon. Consider whether a dedicated fixture/process-group test is worthwhile or the gap should be recorded as an intentional design decision. Origin: `docs/backlog.md` Test-audit residue.
Sign in to join this conversation.
No description provided.