tractor/tests/discovery
Gud Boi d130431ca1 Compose WireGuard bindspace lifecycles
Add `open_wg_bindspace()` to enter one declared bindspace and an
ordered WireGuard interface stack as one async lifetime.

Deats,
- snapshot caller layer ordering before the first checkpoint
- enter interfaces outermost-first through `AsyncExitStack`
- unwind interfaces before releasing the namespace capability
- yield the live `BindspaceHandle` for endpoint allocation
- test mutable input and cancellation ordering with lifecycle fakes

Prompt-IO: ai/prompt-io/opencode/20260826T022434Z_2245f094_prompt_io.md

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
2026-08-25 22:53:51 -04:00
..
__init__.py Add `test_multiaddr.py` suite for `mk_maddr()` 2026-04-14 19:54:14 -04:00
conftest.py Mv `daemon` + `test_multi_program` to `discovery/` 2026-06-17 17:39:44 -04:00
test_address_serialization.py Emit canonical tagged addresses 2026-08-20 10:42:18 -04:00
test_bindspace.py Dispatch explicit bindspace lifecycles 2026-08-25 19:33:12 -04:00
test_multi_program.py Use `aid.uid` over manual `(name, uuid)` tuples 2026-06-27 21:38:30 -04:00
test_multiaddr.py Emit canonical tagged addresses 2026-08-20 10:42:18 -04:00
test_registrar.py Harden `test_registrar` with reap fixtures, timeouts 2026-06-17 17:39:44 -04:00
test_tpt_bind_addrs.py Emit canonical tagged addresses 2026-08-20 10:42:18 -04:00
test_tunnelled_addr.py Expose tunnel namespaces on IPC endpoints 2026-08-21 23:57:24 -04:00
test_wg_config.py Model explicit WireGuard peers 2026-08-25 20:28:28 -04:00
test_wg_iface_lifecycle.py Compose WireGuard bindspace lifecycles 2026-08-25 22:53:51 -04:00
test_wg_inspection.py Add explicit `verify_wg_peer()` inspection 2026-08-21 23:19:17 -04:00