tractor/tractor/msg
Gud Boi 5724c0516a Probe registrar capability in actor handshakes
Transport connect alone can select a foreign, stalled, or ordinary
actor endpoint as the registry. On macOS UDS this also exercises a
fragile connect-and-bail path before every root election.

Extend `Aid` with backward-compatible probe and registrar capability
fields, require a bounded typed handshake, and classify addresses as
absent, occupied, or confirmed registrars. Reject occupied endpoints
instead of binding over them.

Also,
- close `_connect_chan()` in `finally`
- bypass normal peer tracking for election probes
- preserve legacy registrar handshakes with unknown capability
- cover foreign listeners and idle registrar peer state

Review: PR #480 (goodboy)
https://github.com/goodboy/tractor/pull/480

(this patch was generated in some part by `opencode` using
`gpt-5.6-sol` (`openai`))
2026-08-13 20:04:48 -04:00
..
__init__.py Finally get type-extended `msgspec` fields workinn 2025-03-27 15:58:02 -04:00
_codec.py Fix informal-RST in docstrings for clean autodoc 2026-06-28 13:29:01 -04:00
_exts.py Offer a `mods: list` to `dec_type_union()`; drop importing this-mod 2025-03-27 15:58:02 -04:00
_ops.py Guard hot-path log calls to avoid payload rendering when disabled 2026-08-11 20:41:20 -04:00
pretty_struct.py Hide private fields in `Struct.pformat()` output 2026-03-10 00:33:32 -04:00
ptr.py `NamespacePath._mk_fqnp()` handle `__mod__` for methods 2025-03-24 14:04:51 -04:00
types.py Probe registrar capability in actor handshakes 2026-08-13 20:04:48 -04:00