Files
buzz/desktop/src-tauri
Duncan 557c05645f test(desktop): serialize archive tests against the egress registry
The merge unites main's identity-archive tests, which transitively admit
an owner-identity egress lease through submit_event/signing_keys, with
this branch's owner_identity_egress tests, which latch the process-global
registry into Draining/Indeterminate. Neither parent had both test sets.

The archive tests serialized only on the rate-limit TEST_SERIAL, not the
EGRESS_REGISTRY_TEST_LOCK the egress tests use, so a concurrent egress
test's drain window leaked in and refused the signer — a reproducible
"owner-identity egress is draining" / empty-snapshot failure under the
full parallel lib run, passing in isolation.

Hold EGRESS_REGISTRY_TEST_LOCK and reset the registry in the three
egress-touching archive tests, matching the module's own guard idiom and
the TEST_SERIAL-first lock order of the egress admission tests.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-19 16:51:11 -04:00
..