Expand description
Daemon mode for steamroom.
Modulesยง
- client
- Client side of
--use-daemon: connect, submit, attach to the event stream, render events to stdout via the same formatting the direct CLI uses. - framing
- Async length-prefixed rkyv framing for daemon IPC.
- ipc
- Socket name resolution and bind.
interprocesshandles the platform-specific bits; this module just adds the stale-socket probe. - lifecycle
- Daemon lifecycle: PID file, launch (Unix double-fork+exec), stop.
- proto
- Wire types for the daemon RPC. Owned, rkyv-archivable; never contain
PathBuf,Regex, or other types that rkyv cannot archive directly. - server
- Daemon-side state, worker loop, and connection task. Decoupled from socket I/O so the queue and dispatch logic can be unit-tested with plain method calls.
- tracing_
layer tracing_subscriber::Layerthat intercepts events emitted inside ajob_id-tagged span and republishes them asEvent::Logfor that job. Off-span events havejob_id: Noneand only land in the daemon log file (handled by the wrapping fmt layer).