tractor/tractor
Tyler Goodlet 621b252b0c Use `NamespacePath` in `Context` mgmt internals
The only case where we can't is in `Portal.run_from_ns()` usage (since we
pass a path with `self:<Actor.meth>`) and because `.to_tuple()`
internally uses `.load_ref()` which will of course fail on such a path..

So or now impl as,
- mk `Actor.start_remote_task()` take a `nsf: NamespacePath` but also
  offer a `load_nsf: bool = False` such that by default we bypass ref
  loading (maybe this is fine for perf long run as well?) for the
  `Actor`/'self:'` case mentioned above.
- mk `.get_context()` take an instance `nsf` obvi.

More logging msg format tweaks:
- change msg-flow related content to show the `Context._nsf`, which,
  right, is coming follow up commit..
- bunch more `.runtime()` format updates to show `msg: dict` contents
  and internal primitives with trailing `'\n'` for easier reading.
- report import loading `stackscope` in subactors.
2024-02-20 16:15:48 -05:00
..
devx Fix `.devx.maybe_wait_for_debugger()` polling deats 2024-02-20 15:57:31 -05:00
experimental Move move context code into new `._context` mod 2023-05-15 10:00:45 -04:00
msg Add `NamespacePath._ns` todo for `self:<ns.meth>` support 2024-02-20 15:28:11 -05:00
trionics Try allowing multi-pops of `_Cache.locks` for now? 2024-01-23 11:13:07 -05:00
__init__.py Use `import <name> as <name>,` style over `__all__` in pkg mod 2024-01-02 10:25:17 -05:00
_child.py ._child: remove some unused imports.. 2024-01-02 10:24:39 -05:00
_clustering.py Passthrough runtime kwargs from `open_actor_cluster()` 2022-12-11 19:56:08 -05:00
_context.py WIP: solved the modden client hang.. 2024-02-19 17:00:46 -05:00
_discovery.py `.discovery.get_arbiter()`: add warning around this now deprecated usage 2023-12-11 19:37:45 -05:00
_entry.py Init-support for "multi homed" transports 2023-09-27 16:25:21 -04:00
_exceptions.py Emit warning on any `ContextCancelled.canceller == None` 2024-02-20 15:26:14 -05:00
_forkserver_override.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_ipc.py Improved log msg formatting in core 2024-02-19 14:00:23 -05: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.. 2023-11-06 15:44:21 -05:00
_portal.py WIP: solved the modden client hang.. 2024-02-19 17:00:46 -05:00
_root.py Enable `stackscope` render via root in debug mode 2024-02-20 13:23:16 -05:00
_runtime.py Use `NamespacePath` in `Context` mgmt internals 2024-02-20 16:15:48 -05:00
_shm.py Updates from latest `piker.data._sharedmem` changes 2023-06-22 17:16:17 -04:00
_spawn.py Better subproc supervisor logging, todo for #320 2024-02-20 13:12:51 -05:00
_state.py Move `NoRuntime` import inside `current_actor()` to avoid cycle 2023-05-15 10:00:45 -04:00
_streaming.py WIP: solved the modden client hang.. 2024-02-19 17:00:46 -05:00
_supervise.py Drop extra " 2024-02-20 15:58:11 -05:00
log.py .log: more multi-line styling 2024-02-20 13:22:44 -05:00
to_asyncio.py Move `.to_asyncio` to modern optional value type annots 2023-07-21 15:08:46 -04:00