forked from goodboy/tractor
1
0
Fork 0

Commit Graph

  • 930d498841 Call `actor.cancel(None)` from root to avoid mismatch with (any future) meth sig changes Tyler Goodlet 2024-02-22 14:45:08 -0500
  • 5ea112699d Tweak broadcast fanout test to never inf loop Tyler Goodlet 2024-02-22 14:41:28 -0500
  • e244747bc3 Add note that maybe `Context._eoc` should be set by caller? Tyler Goodlet 2024-02-22 14:22:45 -0500
  • 5a09ccf459 Tweak `Actor` cancel method signatures Tyler Goodlet 2024-02-22 13:42:48 -0500
  • ce1bcf6d36 Fix overruns test to avoid return-beats-ctxc race Tyler Goodlet 2024-02-21 13:24:33 -0500
  • 28ba5e5435 Add `pformat()` of `ActorNursery._children` to logging Tyler Goodlet 2024-02-21 13:21:28 -0500
  • 10adf34be5 Set any `._eoc` to the err in `_raise_from_no_key_in_msg()` Tyler Goodlet 2024-02-21 13:17:37 -0500
  • 82dcaff8db Better logging for cancel requests in IPC msg loop Tyler Goodlet 2024-02-21 13:05:22 -0500
  • 621b252b0c Use `NamespacePath` in `Context` mgmt internals Tyler Goodlet 2024-02-20 15:59:55 -0500
  • 20a089c331 Drop extra " " when logging actor nursery errors Tyler Goodlet 2024-02-20 15:58:11 -0500
  • df50d78042 Fix `.devx.maybe_wait_for_debugger()` polling deats Tyler Goodlet 2024-02-20 15:39:45 -0500
  • 114ec36436 Add `stackscope` as dep, drop legacy `pdb` issue cruft Tyler Goodlet 2024-02-20 15:29:31 -0500
  • 179d7d2b04 Add `NamespacePath._ns` todo for `self:<ns.meth>` support Tyler Goodlet 2024-02-20 15:28:11 -0500
  • f568fca98f Emit warning on any `ContextCancelled.canceller == None` Tyler Goodlet 2024-02-20 15:26:14 -0500
  • 6c9bc627d8 Make ctx tests support `debug_mode: bool` fixture Tyler Goodlet 2024-02-20 15:14:58 -0500
  • 1d7cf7d1dd Enable `stackscope` render via root in debug mode Tyler Goodlet 2024-02-20 13:23:16 -0500
  • 54a0a0000d .log: more multi-line styling Tyler Goodlet 2024-02-20 13:22:44 -0500
  • 0268b2ce91 Better subproc supervisor logging, todo for #320 Tyler Goodlet 2024-02-20 13:12:51 -0500
  • 81f8e2d4ac _supervise: iter nice expanded multi-line `._children` tups with typing Tyler Goodlet 2024-02-20 09:18:22 -0500
  • bf0739c194 Add `stackscope` tree pprinter triggered by SIGUSR1 Tyler Goodlet 2024-02-20 08:59:21 -0500
  • 5fe3f58ea9 Add a `debug_mode: bool` fixture via `--tpdb` flag Tyler Goodlet 2024-02-20 08:53:37 -0500
  • 3e1d033708 WIP: solved the modden client hang.. Tyler Goodlet 2024-02-19 17:00:46 -0500
  • c35576e196 Baboso! fix `chan.send(None)` indent.. Tyler Goodlet 2024-02-19 14:41:03 -0500
  • 8ce26d692f Improved log msg formatting in core Tyler Goodlet 2024-02-19 12:25:08 -0500
  • 7f29fd8dcf Let `pack_error()` take a msg injected `cid: str|None` Tyler Goodlet 2024-02-18 17:17:31 -0500
  • 7fbada8a15 Add `StreamOverrun.sender: tuple` for better handling Tyler Goodlet 2024-02-16 15:23:00 -0500
  • 286e75d342 Offer `unpack_error(hid_tb: bool)` for `pdbp` REPL config Tyler Goodlet 2024-02-14 16:13:32 -0500
  • df641d9d31 Bring in pretty-ified `msgspec.Struct` extension multihomed Tyler Goodlet 2024-01-28 16:33:10 -0500
  • 35b0c4bef0 Never mask original `KeyError` in portal-error unwrapper, for now? Tyler Goodlet 2024-01-23 11:14:10 -0500
  • c4496f21fc Try allowing multi-pops of `_Cache.locks` for now? Tyler Goodlet 2024-01-23 11:13:07 -0500
  • 7e0e627921 Use `import <blah> as blah` over `__all__` in `.trionics` Tyler Goodlet 2024-01-23 11:09:38 -0500
  • 28ea8e787a Bump timeout on resource cache test a bitty bit. Tyler Goodlet 2024-01-03 22:27:05 -0500
  • 0294455c5e `_root`: drop unused `typing` import Tyler Goodlet 2024-01-02 18:43:43 -0500
  • 734bc09b67 Move missing-key-in-msg raiser to `._exceptions` Tyler Goodlet 2024-01-02 18:34:15 -0500
  • 0bcdea28a0 Fmt repr as multi-line style call Tyler Goodlet 2024-01-02 11:28:55 -0500
  • fdf3a1b01b Only use `greenback` if actor-runtime is up.. Tyler Goodlet 2024-01-02 11:28:02 -0500
  • ce7b8a5e18 Drop unused walrus assign of `re` Tyler Goodlet 2024-01-02 11:21:20 -0500
  • 00024181cd `StackLevelAdapter._log(stacklevel: int)` for custom levels.. Tyler Goodlet 2024-01-02 10:38:04 -0500
  • 814384848d Use `import <name> as <name>,` style over `__all__` in pkg mod Tyler Goodlet 2024-01-02 10:25:17 -0500
  • bea31f6d19 ._child: remove some unused imports.. Tyler Goodlet 2024-01-02 10:24:39 -0500
  • 250275d98d Guarding for IPC failures in `._runtime._invoke()` Tyler Goodlet 2024-01-02 09:08:39 -0500
  • f415fc43ce `.discovery.get_arbiter()`: add warning around this now deprecated usage Tyler Goodlet 2023-12-11 19:37:45 -0500
  • 3f15923537 More thurough hard kill doc strings Tyler Goodlet 2023-12-11 18:17:42 -0500
  • 87cd725adb Add `open_root_actor(ensure_registry: bool)` Tyler Goodlet 2023-11-07 16:45:22 -0500
  • 48accbd28f Fix doc string "its" typo.. Tyler Goodlet 2023-11-06 15:44:21 -0500
  • 227c9ea173 Test with `any(portals)` since `gather_contexts()` will return `list[None | tuple]` Tyler Goodlet 2023-11-06 15:43:43 -0500
  • d651f3d8e9 Tons of interpeer test cleanup Tyler Goodlet 2023-10-25 15:21:41 -0400
  • ef0cfc4b20 Get inter-peer suite passing with all `Context` state checks! Tyler Goodlet 2023-10-23 18:24:20 -0400
  • ecb525a2bc Adjust test details where `Context.cancel()` is called Tyler Goodlet 2023-10-23 17:49:02 -0400
  • b77d123edd Fix `Context.result()` call to be in runtime scope Tyler Goodlet 2023-10-23 17:48:34 -0400
  • f4e63465de Tweak `Channel._cancel_called` comment Tyler Goodlet 2023-10-23 17:47:55 -0400
  • df31047ecb Be ultra-correct in `Portal.open_context()` Tyler Goodlet 2023-10-23 17:34:28 -0400
  • 131674eabd Be mega-pedantic with `ContextCancelled` semantics Tyler Goodlet 2023-10-23 14:35:36 -0400
  • 5a94e8fb5b Raise a `MessagingError` from the src error on msging edge cases Tyler Goodlet 2023-10-23 14:34:12 -0400
  • 0518b3ab04 Move `MessagingError` into `._exceptions` set Tyler Goodlet 2023-10-23 14:17:36 -0400
  • 2f0bed3018 Ignore `greenback` import error if not installed Tyler Goodlet 2023-10-19 12:41:15 -0400
  • 9da3b63644 Change remaining internals to use `Actor.reg_addrs` Tyler Goodlet 2023-10-19 12:40:37 -0400
  • 1d6f55543d Expose per-actor registry addrs via `.reg_addrs` Tyler Goodlet 2023-10-19 12:05:44 -0400
  • a3ed30e62b Get remaining suites passing.. Tyler Goodlet 2023-10-19 11:17:07 -0400
  • 42d621bba7 Always dynamically re-read the `._root._default_lo_addrs` value in `find_actor()` Tyler Goodlet 2023-10-18 19:10:04 -0400
  • 2e81ccf5b4 Dump `.msgdata` in `RemoteActorError.__repr__()` Tyler Goodlet 2023-10-18 19:09:07 -0400
  • 022bf8ce75 Ensure `registry_addrs` is always set to something Tyler Goodlet 2023-10-18 19:08:35 -0400
  • 0e9457299c Port all tests to new `reg_addr` fixture name Tyler Goodlet 2023-10-18 15:39:20 -0400
  • 6b1ceee19f Type out the full-fledged streaming ex. Tyler Goodlet 2023-10-18 15:36:00 -0400
  • 1e689ee701 Rename fixture `arb_addr` -> `reg_addr` and set the session value globally as `._root._default_lo_addrs` Tyler Goodlet 2023-10-18 15:35:35 -0400
  • 190845ce1d Add masked super timeout line to `do_hard_kill()` for would-be runtime hackers Tyler Goodlet 2023-10-18 15:29:43 -0400
  • 0c74b04c83 Facepalm, `wait_for_actor()` dun take an addr `list`.. Tyler Goodlet 2023-10-18 15:22:54 -0400
  • 215fec1d41 Change old `._debug._pause()` name, cherry to #362 re `greenback` Tyler Goodlet 2023-10-18 15:01:04 -0400
  • fcc8cee9d3 ._root: set a `_default_lo_addrs` and apply it when not provided by caller Tyler Goodlet 2023-10-18 14:12:58 -0400
  • ca3f7a1b6b Add a first serious inter-peer remote cancel suite Tyler Goodlet 2023-10-18 13:59:08 -0400
  • 87c1113de4 Always set default reg addr in `find_actor()` if not defined Tyler Goodlet 2023-10-18 13:20:29 -0400
  • 43b659dbe4 Tidy/clarify another `._runtime` comment Tyler Goodlet 2023-10-18 13:19:34 -0400
  • 63b1488ab6 Get mega-pedantic in `Portal.open_context()` Tyler Goodlet 2023-10-17 17:22:57 -0400
  • 7eb31f3fea Runtime import `.get_root()` in stdin hijacker to avoid import cycle Tyler Goodlet 2023-10-17 16:52:31 -0400
  • 534e5d150d Drop `msg` kwarg from `Context.cancel()` Tyler Goodlet 2023-10-17 15:30:16 -0400
  • e4a6223256 `._exceptions`: typing and error unpacking updates Tyler Goodlet 2023-10-16 16:23:30 -0400
  • ab2664da70 Runtime level log on debug REPL exits Tyler Goodlet 2023-10-16 15:46:21 -0400
  • ae326cbb9a Ignore kbis in `open_crash_handler()` by default Tyler Goodlet 2023-10-16 15:45:34 -0400
  • 07cec02303 Add comments around diff between `C/context` refs Tyler Goodlet 2023-10-16 15:45:02 -0400
  • 2fdb8fc25a Factor non-yield stream msg processing into helper Tyler Goodlet 2023-10-16 15:35:16 -0400
  • 6d951c526a Comment all `.pause(shield=True)` attempts again, need to solve cancel scope `.__exit__()` frame hiding issue.. Tyler Goodlet 2023-10-10 09:55:11 -0400
  • 575a24adf1 Always raise remote (cancelled) error if set Tyler Goodlet 2023-10-10 09:45:49 -0400
  • 919e462f88 Write more comprehensive `Portal.cancel_actor()` doc str Tyler Goodlet 2023-10-08 15:57:18 -0400
  • a09b8560bb Oof, default reg addrs needs to be in `list[tuple]` form.. Tyler Goodlet 2023-10-07 18:52:37 -0400
  • c4cd573b26 Drop pause line from ctx cancel handler block in test Tyler Goodlet 2023-10-07 18:51:59 -0400
  • d24a9e158f Msg-ified `ContextCancelled`s sub-error type should always be just, its type.. Tyler Goodlet 2023-10-07 18:51:03 -0400
  • 18a1634025 Add shielding support to `.pause()` Tyler Goodlet 2023-10-06 15:49:23 -0400
  • 78c0d2b234 Start inter-peer cancellation test mod Tyler Goodlet 2023-10-05 19:45:46 -0400
  • 4314a59327 Add post-mortem catch around failed transport addr binds to aid with runtime debugging Tyler Goodlet 2023-10-03 10:54:46 -0400
  • e94f1261b5 Move `maybe_open_crash_handler()` CLI `--pdb`-driven wrapper to debug mod Tyler Goodlet 2023-10-02 18:10:34 -0400
  • 86da79a854 Rename to `parse_maddr()` and fill out doc strings Tyler Goodlet 2023-09-29 14:49:18 -0400
  • de89e3a9c4 Add libp2p style "multi-address" parser from `piker` Tyler Goodlet 2023-09-29 14:11:31 -0400
  • 7bed470f5c Start `.devx.cli` extensions for pop CLI frameworks Tyler Goodlet 2023-09-28 15:36:24 -0400
  • fa9a9cfb1d Kick off `.devx` subpkg for our dev tools B) Tyler Goodlet 2023-09-28 14:14:50 -0400
  • 3d0e95513c Init-support for "multi homed" transports Tyler Goodlet 2023-09-27 15:19:30 -0400
  • ee151b00af Mk `gather_contexts()` support `@acm`s yielding `None` Tyler Goodlet 2023-09-27 14:05:22 -0400
  • 3a31c9d338 to_asyncio: mask error logging, not sure it adds that much dereg_on_oserror Tyler Goodlet 2023-09-26 10:32:01 -0400
  • 3dc57e384e Always no-raise try-to-pop registry addrs Tyler Goodlet 2023-09-15 14:20:12 -0400
  • 687852f368 Add stale entry deleted from registrar test Tyler Goodlet 2023-08-28 12:20:12 -0400
  • d83d991f21 Handle stale registrar entries; detect and delete Tyler Goodlet 2023-08-28 11:26:36 -0400