hephaestus/crates/hephd/tests
Erich Blume 9213a943f5 C2(hephd-self-update): impl verify hub-dropout resilience (+ client timeout)
Lock in the base-case guarantee that a self-updating hub (which restarts
under its spokes) relies on. New sync_http test: a spoke whose hub is
unreachable keeps serving + accepting writes, a sync attempt fails fast
(Err, not hang/panic), and when the hub returns the accumulated ops
reconcile with no special recovery.

The verification surfaced one non-graceful path — the daemon's shared
reqwest client had no timeout, so a black-hole hub (connects, never
replies) could stall the sync/self-update loop. Give it a 30s timeout so
'the hub can vanish at any moment' holds even mid-request.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 13:47:26 -07:00
..
auth_hub.rs
client_mode.rs
oauth.rs
rpc_socket.rs style: rustfmt the new rpc_socket tests 2026-06-04 12:31:01 -07:00
sync_http.rs C2(hephd-self-update): impl verify hub-dropout resilience (+ client timeout) 2026-06-04 13:47:26 -07:00