brokerd: state.sock answers memoryd's question about a session's state

Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
This commit is contained in:
2026-09-28 11:05:42 -07:00
co-authored by ornith-1.5-35b-a3b
parent 5199bd7149
commit 9b4e9807b2
12 changed files with 758 additions and 14 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
//! `brokerd`: the broker role. `serve` takes the audit lock, binds both sockets, and serves.
//! `brokerd`: the broker role. `serve` takes the audit lock, binds its three sockets, and serves.
use std::ffi::OsString;
use std::path::PathBuf;
@@ -58,6 +58,7 @@ fn main() -> ExitCode {
// Keep the socket paths for the serving notice, before `cfg` is moved into `start`.
let broker_path = cfg.broker_socket();
let admin_path = cfg.admin_socket();
let state_path = cfg.state_socket();
// The runtime and the line that says which. A `[runner]` runs calls in containers; without it,
// every call is refused, as in M3a.
@@ -117,6 +118,7 @@ fn main() -> ExitCode {
broker_path.display(),
admin_path.display()
);
eprintln!("brokerd: serving session state on {}", state_path.display());
eprintln!("brokerd: {runtime_notice}");
match started.run() {