Add tracepoint when `raddrs[0]` is written with weird tcp-addr `dict`..

Gud Boi 2026-02-08 19:52:28 -05:00
parent 04688f3a3a
commit 2d02258101
1 changed files with 8 additions and 0 deletions

View File

@ -456,6 +456,14 @@ async def open_root_actor(
raddrs.extend(trans_bind_addrs) raddrs.extend(trans_bind_addrs)
# TODO, remove once we have also removed all usage; # TODO, remove once we have also removed all usage;
# eventually all (root-)registry apis should expect > 1 addr. # eventually all (root-)registry apis should expect > 1 addr.
root_mailbox = raddrs[0]
# if not isinstance(root_mailbox, tuple):
# from .devx import mk_pdb
# mk_pdb().set_trace()
# raise TypeError(
# f'Root mailbox addr must be a `tuple`?\n'
# f'{root_mailbox!r}\n'
# )
_state._runtime_vars['_root_mailbox'] = raddrs[0] _state._runtime_vars['_root_mailbox'] = raddrs[0]
# Start up main task set via core actor-runtime nurseries. # Start up main task set via core actor-runtime nurseries.