Commit Graph

  • bbb4d4e52c Add `from_src_exc: BaseException` to maybe raisers Tyler Goodlet 2024-05-30 15:24:25 -0400
  • 0e8c60ee4a Better RAE `.pformat()`-ing for send-side MTEs Tyler Goodlet 2024-05-30 10:04:54 -0400
  • 1db5d4def2 Add `Error.message: str` Tyler Goodlet 2024-05-30 09:14:04 -0400
  • 6e54abc56d Fix missing newline in task-cancel log-message Tyler Goodlet 2024-05-30 09:06:10 -0400
  • 28af4749cc Don't need to pack an `Error` with send-side MTEs Tyler Goodlet 2024-05-30 09:05:23 -0400
  • 02a7c7c276 Ensure only a boxed traceback for MTE on parent side Tyler Goodlet 2024-05-30 01:11:29 -0400
  • 4fa71cc01c Ensure ctx error-state matches the MTE scenario Tyler Goodlet 2024-05-28 19:46:42 -0400
  • 6a4ee461f5 Raise remote errors rxed during `Context` child-sync Tyler Goodlet 2024-05-28 16:11:01 -0400
  • 2db03444f7 Don't (noisly) log about runtime cancel RPC tasks Tyler Goodlet 2024-05-28 16:03:36 -0400
  • a1b124b62b Raise send-side MTEs inline in `PldRx.dec_msg()` Tyler Goodlet 2024-05-28 15:52:54 -0400
  • 59ca256183 Set remote errors in `_raise_from_unexpected_msg()` Tyler Goodlet 2024-05-28 15:30:30 -0400
  • 6c2efc96dc Factor `.started()` validation into `.msg._ops` Tyler Goodlet 2024-05-28 11:08:27 -0400
  • f7fd8278af Fix `test_basic_payload_spec` bad msg matching Tyler Goodlet 2024-05-28 11:05:44 -0400
  • 7ac730e326 Drop `msg.types.Msg` for new replacement types Tyler Goodlet 2024-05-28 09:55:16 -0400
  • 582144830f Parameterize the `return_msg_type` in `._invoke()` Tyler Goodlet 2024-05-28 09:36:26 -0400
  • 8b860f4245 Move `.devx` related deps to `dev` group Tyler Goodlet 2024-05-28 09:34:08 -0400
  • 27fd96729a Tweaks to debugger examples Tyler Goodlet 2024-05-28 09:22:59 -0400
  • eee4c61b51 Add `MsgTypeError` "bad msg" capture Tyler Goodlet 2024-05-27 22:36:05 -0400
  • 42ba855d1b More correct/explicit `.started()` send-side validation Tyler Goodlet 2024-05-27 14:59:40 -0400
  • c2cc12e14f Add basic payload-spec test suite Tyler Goodlet 2024-05-27 13:52:35 -0400
  • e4ec6b7b0c Even smarter `RemoteActorError.pformat()`-ing Tyler Goodlet 2024-05-22 15:26:48 -0400
  • 9ce958cb4a Add debug check-n-wait inside `._spawn.soft_kill()` Tyler Goodlet 2024-05-22 15:21:01 -0400
  • ce4d64ed2f Mk `MsgDec.spec_str` have a more compact ` Tyler Goodlet 2024-05-22 15:18:45 -0400
  • c6f599b1be Call `.devx._debug.hide_runtime_frames()` by default Tyler Goodlet 2024-05-22 15:11:21 -0400
  • 9eb74560ad Port `Actor._stream_handler()` to use `.has_outcome`, fix indent bug.. Tyler Goodlet 2024-05-22 15:10:39 -0400
  • 702dfe47d5 Update debugger tests to expect new pformatting Tyler Goodlet 2024-05-22 15:01:31 -0400
  • d15e73557a Move runtime frame hiding into helper func Tyler Goodlet 2024-05-22 14:56:54 -0400
  • 74d4b5280a Woops, make `log.devx()` level less `.error()` Tyler Goodlet 2024-05-22 14:56:18 -0400
  • 3538ccd799 Better context aware `RemoteActorError.pformat()` Tyler Goodlet 2024-05-22 10:22:51 -0400
  • b22f7dcae0 Resolve remaining debug-request race causing hangs Tyler Goodlet 2024-05-21 09:19:56 -0400
  • fde62c72be Show runtime nursery frames on internal errors Tyler Goodlet 2024-05-20 17:04:30 -0400
  • 4ef77bb64f Set `_ctxvar_Context` for child-side RPC tasks Tyler Goodlet 2024-05-20 16:18:42 -0400
  • e78fdf2f69 Make `log.devx()` level below `.pdb()` Tyler Goodlet 2024-05-20 16:13:57 -0400
  • 13bc3c308d Add error suppress flag to `current_ipc_ctx()` Tyler Goodlet 2024-05-20 16:12:51 -0400
  • 60fc43e530 Shield channel closing in `_connect_chan()` Tyler Goodlet 2024-05-20 16:11:59 -0400
  • 30afcd2b6b Adjust `Portal` usage of `Context.pld_rx` Tyler Goodlet 2024-05-20 16:07:57 -0400
  • c80f020ebc Expose `tractor.current_ipc_ctx()` at pkg level Tyler Goodlet 2024-05-20 15:47:01 -0400
  • 262a0e36c6 Allocate a `PldRx` per `Context`, new pld-spec API Tyler Goodlet 2024-05-20 14:34:50 -0400
  • d93135acd8 Include truncated `id(trio.Task)` for task info in log header Tyler Goodlet 2024-05-15 09:36:22 -0400
  • b23780c102 Make `request_root_stdio_lock()` post-mortem-able Tyler Goodlet 2024-05-14 15:22:13 -0400
  • 31de5f6648 Always release debug request from `._post_mortem()` Tyler Goodlet 2024-05-14 11:39:04 -0400
  • 236083b6e4 Rename `.msg.types.Msg` -> `PayloadMsg` Tyler Goodlet 2024-05-10 13:15:45 -0400
  • d2dee87b36 Modernize streaming example script Tyler Goodlet 2024-05-09 16:51:51 -0400
  • 5cb0cc0f0b Update tests for `PldRx` and `Context` changes Tyler Goodlet 2024-05-09 16:31:23 -0400
  • fc075e96c6 Hide some API frames, port to new `._debug` apis Tyler Goodlet 2024-05-09 15:20:03 -0400
  • d6ca4771ce Use `.recv_msg_w_pld()` for final `Portal.result()` Tyler Goodlet 2024-05-09 09:37:47 -0400
  • c5a0cfc639 Rename `.msg.types.Msg` -> `PayloadMsg` Tyler Goodlet 2024-05-08 15:07:34 -0400
  • f85314ecab Adjust `._runtime` to report `DebugStatus.req_ctx` Tyler Goodlet 2024-05-08 14:53:45 -0400
  • c929bc15c9 Add `pexpect` to dev deps for testing Tyler Goodlet 2024-05-08 14:53:10 -0400
  • 6690968236 Rework and first draft of `.devx._frame_stack.py` Tyler Goodlet 2024-05-08 14:24:25 -0400
  • 343b7c9712 Even moar bitty `Context` refinements Tyler Goodlet 2024-05-08 13:35:29 -0400
  • 45f37870af Add a `.log.at_least_level()` predicate Tyler Goodlet 2024-05-08 13:33:59 -0400
  • 4d528b76a0 Move `_debug.pformat_cs()` into `devx.pformat` Tyler Goodlet 2024-05-08 13:30:15 -0400
  • 05b143d9ef Big debugger rework, more tolerance for internal err-hangs Tyler Goodlet 2024-05-08 09:08:01 -0400
  • a354732a9e Allow `Stop` passthrough from `PldRx.recv_msg_w_pld()` Tyler Goodlet 2024-05-08 08:50:16 -0400
  • fbc21a1dec Add a "current IPC `Context`" `ContextVar` Tyler Goodlet 2024-05-07 09:20:43 -0400
  • b278164f83 Mk `drain_to_final_msg()` never raise from `Error` Tyler Goodlet 2024-05-06 13:27:00 -0400
  • 8ffa6a5e68 "Icons" in `._entry`'s subactor `.info()` messages Tyler Goodlet 2024-05-06 13:12:44 -0400
  • 7707e0e75a Woops, make `log.devx()` level 600 Tyler Goodlet 2024-05-06 13:07:53 -0400
  • 523c24eb72 Move pformatters into new `.devx.pformat` Tyler Goodlet 2024-05-06 13:04:58 -0400
  • 544ff5ab4c Change to `RemoteActorError.pformat()` Tyler Goodlet 2024-05-06 12:55:16 -0400
  • 63c23d6b82 Add todo for rigorous struct-type spec of `SpawnSpec` fields Tyler Goodlet 2024-04-30 13:01:07 -0400
  • cca3206fd6 Use `log.devx()` for `stackscope` messages Tyler Goodlet 2024-04-30 13:00:03 -0400
  • 54530dcf94 Type annot the proc from `trio.lowlevel.open_process()` Tyler Goodlet 2024-04-30 12:59:38 -0400
  • 338395346d Tweak `breakpoint()` usage error message Tyler Goodlet 2024-04-30 12:56:29 -0400
  • 30c5896d26 Fix attr name error, use public `MsgDec.dec` Tyler Goodlet 2024-04-30 12:55:46 -0400
  • 88a0e90f82 Reorg frames pformatters, add `Context.repr_state` Tyler Goodlet 2024-04-30 12:37:17 -0400
  • 40c972f0ec Mk `process_messages()` return last msg; summary logging Tyler Goodlet 2024-04-30 12:15:46 -0400
  • f139adddca Add a `log.devx()` level Tyler Goodlet 2024-04-30 11:47:26 -0400
  • 979af79588 First draft, package with `poetry` Bo Tyler Goodlet 2024-04-30 11:46:56 -0400
  • a3429268ea First draft payload-spec limit API Tyler Goodlet 2024-04-26 15:29:50 -0400
  • d285a3479a Make `.msg.types.Msg.pld: Raw` only, since `PldRx`.. Tyler Goodlet 2024-04-26 13:18:06 -0400
  • 61db040702 More bitty (runtime) logging tweaks Tyler Goodlet 2024-04-26 13:13:04 -0400
  • a5a0e6854b Use new `Msg[Co]Dec` repr meths in `._exceptions` Tyler Goodlet 2024-04-26 13:03:07 -0400
  • c383978402 Add more useful `MsgDec.__repr__()` Tyler Goodlet 2024-04-26 12:45:10 -0400
  • 08fcd3fb03 Mk `.msg.pretty_struct.Struct.pformat()` a mod func Tyler Goodlet 2024-04-25 20:00:13 -0400
  • adba454d1d Use `Context.[peer_]side` in ctxc messages Tyler Goodlet 2024-04-25 16:19:39 -0400
  • 4bab998ff9 Add `Context.peer_side: str` property, mk static-meth private. Tyler Goodlet 2024-04-25 12:38:05 -0400
  • c25c77c573 Flip back `StartAck` timeout to `inf`.. Tyler Goodlet 2024-04-25 12:36:14 -0400
  • 188ff0e0e5 Another `._rpc` mod passthrough Tyler Goodlet 2024-04-25 12:33:10 -0400
  • 6b30c86eca Try out `msgspec` encode-buffer optimization Tyler Goodlet 2024-04-24 13:07:05 -0400
  • 6aa52417ef Set `Context._stream` in `Portal.open_stream_from()`.. Tyler Goodlet 2024-04-24 12:43:08 -0400
  • 18e97a8f9a Use `Context._stream` in `_raise_from_unexpected_msg()` Tyler Goodlet 2024-04-24 12:31:05 -0400
  • 5eb9144921 First draft "payload receiver in a new `.msg._ops` Tyler Goodlet 2024-04-23 17:43:45 -0400
  • a51632ffa6 Add a `MsgDec` for receive-only decoding Tyler Goodlet 2024-04-22 18:24:42 -0400
  • 0df7d557db Move `MsgTypeError` maker func to `._exceptions` Tyler Goodlet 2024-04-22 18:01:09 -0400
  • 7b020c42cc Drop more `dict`-msg cruft from `._exceptions` Tyler Goodlet 2024-04-21 17:08:27 -0400
  • d18cf32e28 Mark `.pld` msgs as also taking `msgspec.Raw` Tyler Goodlet 2024-04-21 17:02:39 -0400
  • dd6a4d49d8 Go back to `ContextVar` for codec mgmt Tyler Goodlet 2024-04-18 16:24:59 -0400
  • d51be2a36a Proto in new `Context` refinements Tyler Goodlet 2024-04-18 15:53:34 -0400
  • 3018187228 Tweak `current_actor()` failure msg Tyler Goodlet 2024-04-18 15:41:06 -0400
  • e5f0b450cf Add some `bytes` annots Tyler Goodlet 2024-04-18 15:40:26 -0400
  • 4aa24f8518 TOSQUASH 77a15eb use `DebugStatus` in `._rpc` Tyler Goodlet 2024-04-18 15:18:29 -0400
  • d2f6428e46 Annotate nursery and portal methods for `CallerInfo` scanning Tyler Goodlet 2024-04-18 15:17:50 -0400
  • 5439060cd3 Start a `devx._code` mod Tyler Goodlet 2024-04-18 15:12:32 -0400
  • 7372404d76 `NamespacePath._mk_fqnp()` handle `__mod__` for methods Tyler Goodlet 2024-04-18 15:10:23 -0400
  • 77a15ebf19 Use `DebugStatus` around subactor lock requests Tyler Goodlet 2024-04-18 12:47:28 -0400
  • d0e7610073 The src error to `_raise_from_no_key_in_msg()` is always an attr-error now! Tyler Goodlet 2024-04-17 23:19:31 -0400
  • a73b24cf4a First draft, sub-msg-spec for debugger `Lock` sys Tyler Goodlet 2024-04-16 10:09:45 -0400
  • 5dfff3f75a Tweak a couple more log message fmts Tyler Goodlet 2024-04-15 15:20:00 -0400