tractor/tests/discovery
Gud Boi ece3827bdf Add explicit `verify_wg_peer()` inspection
Validate a declared tunnel key against one `pyroute2` snapshot
containing the iface's own key and configured peers.

Deats,
- share worker offload across all WireGuard key readers
- forward `WGTunnelSpec.iface` and `.netns` to the read
- reject malformed declarations before netlink I/O
- export the async helper and cover local, peer and absent keys
- replace multihost's `wg show` subprocess probe

Prompt-IO: ai/prompt-io/opencode/20260822T023226Z_59a8ecfd_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_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 Support nested `wg` maddrs 2026-08-29 22:03:03 -04:00
test_wg_inspection.py Add explicit `verify_wg_peer()` inspection 2026-08-29 22:03:11 -04:00