Commit Graph
9 Commits
Author SHA1 Message Date
ari 92ad3c8128 A: wire peer check to the real client and probe a real socket in tests
B1/B2 are merged, so `real_transport` builds the `ReqwestTransport` with the
configured limits and deny list instead of bailing. Binary tests now probe a
real loopback server: ok with latency, rejected credential, unreachable peer
and an unknown name, none of which may print the token.
2026-10-19 22:31:29 -04:00
ari e2ff40beae A: test the token-free commands, snapshot print-config and tighten assertions
The peer-less `--print-config` output is now compared against the committed
pre-peers text plus the default `[peers]` block, and a config with a peer
must leave everything before that block byte-identical. New binary tests
cover `--print-config`, `peer list`, `token create|list` with an unreadable
token file, and `serve` refusing to start while naming the peer.
2026-10-19 22:31:29 -04:00
ari d3bef6bd94 A: share tracing capture and peer config fixtures in tests (gate round 1) 2026-10-19 22:31:29 -04:00
ari 2eb1d2a78b A: A4 peer list and one-shot peer check CLI 2026-10-19 22:31:29 -04:00
ari 7d10153677 A: A3 secrets loader reads token files with redaction and permission checks 2026-10-19 22:31:29 -04:00
ari bcac6c76e6 A: A2 validate peer names, URLs, token files and timeouts 2026-10-19 22:31:29 -04:00
ari 40d18c2253 A: A1 peers config section, env overrides and print-config redaction 2026-10-19 22:31:29 -04:00
ari 0dbaf58c8c A0: review round 1 peer entry defaults and class strings 2026-10-19 20:02:17 -04:00
ari 4bfb097be6 A0: contract stubs types, transport, fake and registry seams
Land the shared peer contracts: types, error mapping, transport trait,
fake transport and fixtures, registry/proxy/health skeletons, the
AppState.peers and Config.peers seams, the ping and peers route stubs,
and unit plus integration tests. No loops, no network, feature off by
default.
2026-10-19 20:02:17 -04:00