Pin the client's configured instance against a mutation that replaces it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-29 23:46:33 +02:00
commit 26f4137d55

View file

@ -287,6 +287,7 @@ fn every_operation_round_trips_against_a_live_daemon() {
let (root, daemon) = mind(vec![]);
let server = serve(root, daemon);
let client = client(server.addr);
assert_eq!(client.instance(), &slug(INSTANCE), "the client reports the instance it was configured for");
let HuginnMindResponse::Whoami(status) = client.call(HuginnMindRequest::Whoami).unwrap() else {
panic!("whoami is answered with a status");