tractor/tractor
Tyler Goodlet 88686e2271 Pass a `use_greenback: bool` runtime var to subs
Such that the top level `maybe_enable_greenback` from
`open_root_actor()` can toggle the entire actor tree's usage.
Read the rtv in `._rpc` tasks and only enable if set.

Also, rigor up the `._rpc.process_messages()` loop to handle `Error()`
and `case _:` separately such that we now raise an explicit rte for
unknown / invalid msgs. Use "parent" / "child" for side descriptions in
loop comments and put a fat comment before the `StartAck` in `_invoke()`.
2025-03-24 14:04:51 -04:00
..
_testing Start a new `._testing.fault_simulation` 2025-03-24 14:04:51 -04:00
devx WIP porting runtime to use `Msg`-spec 2025-03-24 14:04:51 -04:00
experimental Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00
msg Add `from_dict_msg(user_pretty: bool)` flag 2025-03-24 14:04:51 -04:00
trionics Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00
__init__.py Expose `MsgTypeError` from pkg 2025-03-24 14:04:51 -04:00
_child.py Hide `._entry`/`._child` frames, tweak some more type annots 2025-03-20 23:22:45 -04:00
_clustering.py Passthrough runtime kwargs from `open_actor_cluster()` 2022-12-11 19:56:08 -05:00
_context.py Use `_raise_from_no_key_in_msg(allow_msgs)` 2025-03-24 14:04:51 -04:00
_discovery.py More spaceless union type annots 2025-03-20 19:50:31 -04:00
_entry.py WIP porting runtime to use `Msg`-spec 2025-03-24 14:04:51 -04:00
_exceptions.py Use `_raise_from_no_key_in_msg(allow_msgs)` 2025-03-24 14:04:51 -04:00
_forkserver_override.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_ipc.py Extend recv-side `MsgTypeError` default message 2025-03-24 14:04:51 -04:00
_mp_fixup_main.py Avoid importing mp for as long as possible 2022-02-17 11:55:26 -05:00
_multiaddr.py Fix doc string "its" typo.. 2025-03-20 19:50:31 -04:00
_portal.py Start tidying up `._context`, use `pack_from_raise()` 2025-03-24 14:04:51 -04:00
_root.py Pass a `use_greenback: bool` runtime var to subs 2025-03-24 14:04:51 -04:00
_rpc.py Pass a `use_greenback: bool` runtime var to subs 2025-03-24 14:04:51 -04:00
_runtime.py Start tidying up `._context`, use `pack_from_raise()` 2025-03-24 14:04:51 -04:00
_spawn.py WIP porting runtime to use `Msg`-spec 2025-03-24 14:04:51 -04:00
_state.py Add defaul rtv for `use_greeback: bool = False` 2025-03-20 23:22:45 -04:00
_streaming.py Use `_raise_from_no_key_in_msg(allow_msgs)` 2025-03-24 14:04:51 -04:00
_supervise.py Hide `._entry`/`._child` frames, tweak some more type annots 2025-03-20 23:22:45 -04:00
log.py Bleh, make `log.devx()` level less then cancel but > `.runtime()` 2025-03-20 23:22:45 -04:00
to_asyncio.py Provision for infected-`asyncio` debug mode support 2025-03-20 22:37:51 -04:00