tractor/tests/discovery
Gud Boi b973e78c2a Dispatch explicit bindspace lifecycles
Add serialized `BindspaceSpec.lifecycle` policy and dispatch it through
`open_bindspace()` without inferring ownership from transport role.

Deats,
- distinguish borrowed `attach` from owned `open` policy
- validate handle ownership against the declared lifecycle
- share policy-neutral FD pinning between both netns contexts
- reject unsupported lifecycle values before side effects
- exercise both dispatcher branches and owned cancellation cleanup

Prompt-IO: ai/prompt-io/opencode/20260825T191845Z_5b2a064a_prompt_io.md

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
2026-08-25 19:33:12 -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_inspection.py Add explicit `verify_wg_peer()` inspection 2026-08-21 23:19:17 -04:00