Commit Graph

  • e1d7004aec Add a `pytest.ini` config Tyler Goodlet 2024-02-22 20:37:12 -0500
  • a97b45d90b WIP final impl of ctx-cancellation-semantics Tyler Goodlet 2024-02-22 18:33:18 -0500
  • a388d3185b Few more log msg tweaks in runtime Tyler Goodlet 2024-02-22 15:06:39 -0500
  • 4d0df1bb4a Call `actor.cancel(None)` from root to avoid mismatch with (any future) meth sig changes Tyler Goodlet 2024-02-22 14:45:08 -0500
  • 5eb62b3e9b Tweak broadcast fanout test to never inf loop Tyler Goodlet 2024-02-22 14:41:28 -0500
  • 1be296c725 Add note that maybe `Context._eoc` should be set by caller? Tyler Goodlet 2024-02-22 14:22:45 -0500
  • 9420ea0c14 Tweak `Actor` cancel method signatures Tyler Goodlet 2024-02-22 13:42:48 -0500
  • 9194e5774b Fix overruns test to avoid return-beats-ctxc race Tyler Goodlet 2024-02-21 13:24:33 -0500
  • 51a3f1bef4 Add `pformat()` of `ActorNursery._children` to logging Tyler Goodlet 2024-02-21 13:21:28 -0500
  • ca1b8e0224 Set any `._eoc` to the err in `_raise_from_no_key_in_msg()` Tyler Goodlet 2024-02-21 13:17:37 -0500
  • e403d63eb7 Better logging for cancel requests in IPC msg loop Tyler Goodlet 2024-02-21 13:05:22 -0500
  • 3c385c6949 Use `NamespacePath` in `Context` mgmt internals Tyler Goodlet 2024-02-20 15:59:55 -0500
  • b28df738fe Drop extra " " when logging actor nursery errors Tyler Goodlet 2024-02-20 15:58:11 -0500
  • 5fa040c7db Add `NamespacePath._ns` todo for `self:<ns.meth>` support Tyler Goodlet 2024-02-20 15:28:11 -0500
  • 27b750e907 Emit warning on any `ContextCancelled.canceller == None` Tyler Goodlet 2024-02-20 15:26:14 -0500
  • 96150600fb Make ctx tests support `debug_mode: bool` fixture Tyler Goodlet 2024-02-20 15:14:58 -0500
  • 338ea5529c .log: more multi-line styling ctx_cancel_semantics_and_overruns_REVERSED_FACEPALM Tyler Goodlet 2024-02-20 13:22:44 -0500
  • 6bc67338cf Better subproc supervisor logging, todo for #320 Tyler Goodlet 2024-02-20 13:12:51 -0500
  • fd20004757 _supervise: iter nice expanded multi-line `._children` tups with typing Tyler Goodlet 2024-02-20 09:18:22 -0500
  • ddc2e5f0f8 WIP: solved the modden client hang.. Tyler Goodlet 2024-02-19 17:00:46 -0500
  • 4b0aa5e379 Baboso! fix `chan.send(None)` indent.. Tyler Goodlet 2024-02-19 14:41:03 -0500
  • 6a303358df Improved log msg formatting in core Tyler Goodlet 2024-02-19 12:25:08 -0500
  • c85757aee1 Let `pack_error()` take a msg injected `cid: str|None` Tyler Goodlet 2024-02-18 17:17:31 -0500
  • 9fc9b10b53 Add `StreamOverrun.sender: tuple` for better handling Tyler Goodlet 2024-02-16 15:23:00 -0500
  • a86275996c Offer `unpack_error(hid_tb: bool)` for `pdbp` REPL config Tyler Goodlet 2024-02-14 16:13:32 -0500
  • b5431c0343 Never mask original `KeyError` in portal-error unwrapper, for now? Tyler Goodlet 2024-01-23 11:14:10 -0500
  • cdee6f9354 Try allowing multi-pops of `_Cache.locks` for now? Tyler Goodlet 2024-01-23 11:13:07 -0500
  • a2f1bcc23f Use `import <blah> as blah` over `__all__` in `.trionics` Tyler Goodlet 2024-01-23 11:09:38 -0500
  • 4aa89bf391 Bump timeout on resource cache test a bitty bit. Tyler Goodlet 2024-01-03 22:27:05 -0500
  • 45e9cb4d09 `_root`: drop unused `typing` import Tyler Goodlet 2024-01-02 18:43:43 -0500
  • 27c5ffe5a7 Move missing-key-in-msg raiser to `._exceptions` Tyler Goodlet 2024-01-02 18:34:15 -0500
  • 914efd80eb Fmt repr as multi-line style call Tyler Goodlet 2024-01-02 11:28:55 -0500
  • 2d2d1ca1c4 Drop unused walrus assign of `re` Tyler Goodlet 2024-01-02 11:21:20 -0500
  • 74aa5aa9cd `StackLevelAdapter._log(stacklevel: int)` for custom levels.. Tyler Goodlet 2024-01-02 10:38:04 -0500
  • 44e386dd99 ._child: remove some unused imports.. Tyler Goodlet 2024-01-02 10:24:39 -0500
  • 13fbcc723f Guarding for IPC failures in `._runtime._invoke()` Tyler Goodlet 2024-01-02 09:08:39 -0500
  • 315f0fc7eb More thurough hard kill doc strings Tyler Goodlet 2023-12-11 18:17:42 -0500
  • fea111e882 Tons of interpeer test cleanup Tyler Goodlet 2023-10-25 15:21:41 -0400
  • a1bf4db1e3 Get inter-peer suite passing with all `Context` state checks! Tyler Goodlet 2023-10-23 18:24:20 -0400
  • bac9523ecf Adjust test details where `Context.cancel()` is called Tyler Goodlet 2023-10-23 17:49:02 -0400
  • abe31e9e2c Fix `Context.result()` call to be in runtime scope Tyler Goodlet 2023-10-23 17:48:34 -0400
  • 0222180c11 Tweak `Channel._cancel_called` comment Tyler Goodlet 2023-10-23 17:47:55 -0400
  • 7d5fda4485 Be ultra-correct in `Portal.open_context()` Tyler Goodlet 2023-10-23 17:34:28 -0400
  • f5fcd8ca2e Be mega-pedantic with `ContextCancelled` semantics Tyler Goodlet 2023-10-23 14:35:36 -0400
  • 04217f319a Raise a `MessagingError` from the src error on msging edge cases Tyler Goodlet 2023-10-23 14:34:12 -0400
  • 8cb8390201 Move `MessagingError` into `._exceptions` set Tyler Goodlet 2023-10-23 14:17:36 -0400
  • 5035617adf Dump `.msgdata` in `RemoteActorError.__repr__()` Tyler Goodlet 2023-10-18 19:09:07 -0400
  • 715348c5c2 Port all tests to new `reg_addr` fixture name Tyler Goodlet 2023-10-18 15:39:20 -0400
  • fdf0c43bfa Type out the full-fledged streaming ex. Tyler Goodlet 2023-10-18 15:36:00 -0400
  • f895c96600 Add masked super timeout line to `do_hard_kill()` for would-be runtime hackers Tyler Goodlet 2023-10-18 15:29:43 -0400
  • ca1a1476bb Add a first serious inter-peer remote cancel suite Tyler Goodlet 2023-10-18 13:59:08 -0400
  • a7c36a9cbe Tidy/clarify another `._runtime` comment Tyler Goodlet 2023-10-18 13:19:34 -0400
  • 22e4b324b1 Get mega-pedantic in `Portal.open_context()` Tyler Goodlet 2023-10-17 17:22:57 -0400
  • 89ed8b67ff Drop `msg` kwarg from `Context.cancel()` Tyler Goodlet 2023-10-17 15:30:16 -0400
  • 11bbf15817 `._exceptions`: typing and error unpacking updates Tyler Goodlet 2023-10-16 16:23:30 -0400
  • a18663213a Add comments around diff between `C/context` refs Tyler Goodlet 2023-10-16 15:45:02 -0400
  • d4d09b6071 Factor non-yield stream msg processing into helper Tyler Goodlet 2023-10-16 15:35:16 -0400
  • 6d10f0c516 Always raise remote (cancelled) error if set Tyler Goodlet 2023-10-10 09:45:49 -0400
  • fa9b57bae0 Write more comprehensive `Portal.cancel_actor()` doc str Tyler Goodlet 2023-10-08 15:57:18 -0400
  • 81776a6238 Drop pause line from ctx cancel handler block in test Tyler Goodlet 2023-10-07 18:51:59 -0400
  • 144d1f4d94 Msg-ified `ContextCancelled`s sub-error type should always be just, its type.. Tyler Goodlet 2023-10-07 18:51:03 -0400
  • 51fdf3524c Start inter-peer cancellation test mod Tyler Goodlet 2023-10-05 19:45:46 -0400
  • cff69d07fe Mk `gather_contexts()` support `@acm`s yielding `None` Tyler Goodlet 2023-09-27 14:05:22 -0400
  • ee94d6d62c Teensie tidy up on actor doc string Tyler Goodlet 2023-08-18 10:10:36 -0400
  • 89b84ed6c0 Make `NamespacePath` work on object refs Tyler Goodlet 2023-07-12 13:07:30 -0400
  • f33f689f34 .log: more correct handling for `get_logger(__name__)` usage Tyler Goodlet 2023-07-07 14:48:37 -0400
  • 6e4ae7ca86 Add `.runtime()`-emit to `._invoke()` to report final result msg in the child Tyler Goodlet 2025-03-12 16:41:42 -0400
  • 5497401920 Add `MsgStream._stop_msg` use new `PldRx` API Tyler Goodlet 2025-03-12 16:24:39 -0400
  • 03c447df0d Add `Context._outcome_msg` use new `PldRx` API Tyler Goodlet 2025-03-12 15:03:55 -0400
  • 1ce99ae742 Slight `PldRx` rework to simplify Tyler Goodlet 2025-03-12 13:49:58 -0400
  • 96826854b7 Rename ext-types with `msgspec` suite module Tyler Goodlet 2025-03-12 13:47:53 -0400
  • 434577953a Complete rename to parent->child IPC ctx peers Tyler Goodlet 2025-03-12 13:15:48 -0400
  • b6b001faad Mk `tests/__init__.py`, not sure where it went? Tyler Goodlet 2025-03-12 13:13:20 -0400
  • 3a3fd36890 Fix msg-draining on `parent_never_opened_stream`! Tyler Goodlet 2025-03-11 14:31:53 -0400
  • f0561fc8c0 Extend ctx semantics suite for streaming edge cases! Tyler Goodlet 2025-03-11 14:04:55 -0400
  • d1abe4da44 Deliver a `MaybeBoxedError` from `.expect_ctxc()` Tyler Goodlet 2025-03-10 18:17:31 -0400
  • 6a94a520d6 Support `ctx: UnionType` annots for `@tractor.context` eps Tyler Goodlet 2024-12-11 22:22:26 -0500
  • 58a818472c Avoid attr-err when `._ipc_msg==None` Tyler Goodlet 2025-03-10 11:17:46 -0400
  • 92e1a2313d Facepalm, fix logic misstep on child side Tyler Goodlet 2025-03-08 23:58:31 -0500
  • 46e0dadd9c Rework IPC-using `test_caps_basesd_msging` tests Tyler Goodlet 2025-03-08 15:52:13 -0500
  • 8fa23fcccd Raise RTE from `limit_plds()` on no `curr_ctx` Tyler Goodlet 2025-03-08 15:50:14 -0500
  • 9ec63f8187 Offer a `mods: list` to `dec_type_union()`; drop importing this-mod Tyler Goodlet 2025-03-08 15:49:21 -0500
  • 6b65b9e4de Tweak type-error messages for when `ext_types` is missing Tyler Goodlet 2025-03-08 15:48:18 -0500
  • e40a76fe83 Move `Union` serializers to new `msg.` mod Tyler Goodlet 2025-03-07 14:38:22 -0500
  • 61f6690261 Finally get type-extended `msgspec` fields workinn Tyler Goodlet 2025-03-07 14:13:36 -0500
  • 5cc2c238b7 Bump to `msgspec>=0.19.0` for py 3.13 support! Tyler Goodlet 2025-03-10 11:51:24 -0400
  • 127f2f2f68 Bind another `_bexc` for debuggin Tyler Goodlet 2025-03-05 12:39:16 -0500
  • 9ebc828283 Mask ctlc borked REPL tests Tyler Goodlet 2025-03-05 11:58:03 -0500
  • e7bb1edf97 Repair/update `stackscope` test Tyler Goodlet 2025-03-05 11:34:36 -0500
  • c9234fbd9c Comment-tag pause points in `asycnio_bp.py` Tyler Goodlet 2025-03-05 09:54:56 -0500
  • 8537ff4cd6 Unpack errors from `pdb.bdb` Tyler Goodlet 2025-03-05 09:49:13 -0500
  • 0166304222 Add a mark to `pytest.xfail()` questionably conc py stuff (ur mam `.xfail()`s bish!) Tyler Goodlet 2025-03-04 19:53:24 -0500
  • b45874a216 Show frames when decode is handed bad input Tyler Goodlet 2025-03-04 13:54:46 -0500
  • b93e0cb846 Be extra sure to re-raise EoCs from translator Tyler Goodlet 2025-03-03 21:50:51 -0500
  • 986ada2ce9 Fix an `aio_err` ref bug Tyler Goodlet 2025-03-03 19:45:29 -0500
  • dfaae2238d Another loosie in the trioisms suite Tyler Goodlet 2025-03-03 18:55:02 -0500
  • 3d4aa22a79 Match `maybe_open_crash_handler()` to non-maybe version Tyler Goodlet 2025-03-03 18:53:13 -0500
  • 6ca15c8b4d Use `collapse_eg()` in broadcaster suite Tyler Goodlet 2025-03-03 18:30:05 -0500
  • 5d1eab0025 Draft some eg collapsing helpers Tyler Goodlet 2025-03-03 18:01:16 -0500
  • 6a41262667 Fix docs tests with yet another loosie-goosie Tyler Goodlet 2025-03-03 17:55:07 -0500