tractor/tests/discovery
Gud Boi 6dd149df3d 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-29 22:03:11 -04:00
..
__init__.py Add `test_multiaddr.py` suite for `mk_maddr()` 2026-04-14 19:54:14 -04:00
conftest.py Document stable macOS UDS operation 2026-08-14 10:37:19 -04:00
test_address_serialization.py Emit canonical tagged addresses 2026-08-29 22:03:03 -04:00
test_bindspace.py Dispatch explicit bindspace lifecycles 2026-08-29 22:03:11 -04:00
test_daemon_fixture.py Move registrar probes to `discovery._api` 2026-08-14 18:43:36 -04:00
test_multi_program.py Clarify owned-child hard-reap docs 2026-08-25 15:56:38 -04:00
test_multiaddr.py Emit canonical tagged addresses 2026-08-29 22:03:03 -04:00
test_registrar.py Name every `ActorNursery` binding `an` in tests/examples 2026-08-25 19:19:28 -04:00
test_tpt_bind_addrs.py Emit canonical tagged addresses 2026-08-29 22:03:03 -04:00
test_tunnelled_addr.py Expose tunnel namespaces on IPC endpoints 2026-08-29 22:03:11 -04:00
test_wg_config.py Model explicit WireGuard peers 2026-08-29 22:03:11 -04:00
test_wg_iface_lifecycle.py Compose WireGuard bindspace lifecycles 2026-08-29 22:03:11 -04:00
test_wg_inspection.py Add explicit `verify_wg_peer()` inspection 2026-08-29 22:03:11 -04:00