tractor/tractor
Tyler Goodlet 0268b2ce91 Better subproc supervisor logging, todo for #320
Given i just similarly revamped a buncha `._runtime` log msg formatting,
might as well do something similar inside the spawning machinery such
that groking teardown sequences of each supervising task is much more
sane XD

Mostly this includes doing similar `'<field>: <value>\n'` multi-line
formatting when reporting various subproc supervision steps as well as
showing a detailed `trio.Process.__repr__()` as appropriate.

Also adds a detailed #TODO according to the needs of #320 for which
we're going to need some internal mechanism for intermediary parent
actors to determine if a given debug tty locker (sub-actor) is one of
*their* (transitive) children and thus stall the normal
cancellation/teardown sequence until that locker is complete.
2024-02-20 13:12:51 -05:00
..
devx Add `stackscope` tree pprinter triggered by SIGUSR1 2024-02-20 09:05:34 -05:00
experimental Move move context code into new `._context` mod 2023-05-15 10:00:45 -04:00
msg Bring in pretty-ified `msgspec.Struct` extension 2024-01-28 16:33:10 -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 Let `pack_error()` take a msg injected `cid: str|None` 2024-02-18 17:17:31 -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 `_root`: drop unused `typing` import 2024-01-02 18:43:43 -05:00
_runtime.py Baboso! fix `chan.send(None)` indent.. 2024-02-19 14:41:03 -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 _supervise: iter nice expanded multi-line `._children` tups with typing 2024-02-20 09:18:22 -05:00
log.py `StackLevelAdapter._log(stacklevel: int)` for custom levels.. 2024-01-02 10:38:04 -05:00
to_asyncio.py Move `.to_asyncio` to modern optional value type annots 2023-07-21 15:08:46 -04:00