Commit Graph

  • d4155396bf Relay `SIGUSR1` to subactors for `stackscope` tracing Tyler Goodlet 2024-04-14 19:52:44 -0400
  • 3869e91b19 More msg-spec tests tidying Tyler Goodlet 2024-04-14 19:50:09 -0400
  • 829dfa7520 Add defaul rtv for `use_greeback: bool = False` Tyler Goodlet 2024-04-14 19:41:29 -0400
  • b209990d04 Flip a last `MultiError` to a beg, add todo on `@stream` func Tyler Goodlet 2024-04-14 19:39:57 -0400
  • 60aa16adf6 Pass a `use_greenback: bool` runtime var to subs Tyler Goodlet 2024-04-14 19:31:50 -0400
  • eca2c02f8b Flip to `.pause()` in subactor bp example Tyler Goodlet 2024-04-14 18:53:42 -0400
  • 921f72f7fe Add `maybe_enable_greenback: bool` flag to `open_root_actor()` Tyler Goodlet 2024-04-14 18:36:22 -0400
  • 38a6483859 Use `_raise_from_no_key_in_msg(allow_msgs)` Tyler Goodlet 2024-04-14 18:31:41 -0400
  • f72b972348 Hide `._entry`/`._child` frames, tweak some more type annots Tyler Goodlet 2024-04-14 17:49:18 -0400
  • 2edfed75eb Add `MsgTypeError.expected_msg_type` Tyler Goodlet 2024-04-14 16:32:18 -0400
  • 2d22713806 Add `from_dict_msg(user_pretty: bool)` flag Tyler Goodlet 2024-04-14 16:29:21 -0400
  • df548257ad IPC ctx refinements around `MsgTypeError` awareness Tyler Goodlet 2024-04-13 15:19:08 -0400
  • 3fb3608879 Extend recv-side `MsgTypeError` default message Tyler Goodlet 2024-04-12 11:49:50 -0400
  • faa7194daf TOSQUASH 322e015d Fix `mk_codec()` input arg Tyler Goodlet 2024-04-12 11:47:10 -0400
  • eec240a70a Tweak some `pformat_boxed_tb()` indent inputs Tyler Goodlet 2024-04-11 21:24:02 -0400
  • 322e015d32 Add custom `MsgCodec.__repr__()` Tyler Goodlet 2024-04-11 21:04:48 -0400
  • dbc445ff9d Expose `tractor.msg.PayloadT` from subpkg Tyler Goodlet 2024-04-11 20:42:54 -0400
  • 7aaa2a61ec Add msg-from-dict constructor helper Tyler Goodlet 2024-04-11 20:23:55 -0400
  • 0dcaf5f3b2 TO-CHERRY: Error on `breakpoint()` without `debug_mode=True`? Tyler Goodlet 2024-04-09 13:58:51 -0400
  • af013912ac Relay `MsgTypeError`s upward in RPC loop via `._deliver_ctx_payload()` Tyler Goodlet 2024-04-09 13:58:10 -0400
  • 8839bb06a3 Start tidying up `._context`, use `pack_from_raise()` Tyler Goodlet 2024-04-09 13:46:34 -0400
  • a35c1d40ab Refine `MsgTypeError` handling to relay-up-on-`.recv()` Tyler Goodlet 2024-04-09 10:36:25 -0400
  • 15549f7c26 Expose `MsgType` and extend `MsgCodec` API a bit Tyler Goodlet 2024-04-09 10:09:05 -0400
  • cf48fdecfe Unify `MsgTypeError` as a `RemoteActorError` subtype Tyler Goodlet 2024-04-09 08:44:06 -0400
  • b341146bd1 Rename `Actor._push_result()` -> `._deliver_ctx_payload()` Tyler Goodlet 2024-04-08 10:25:57 -0400
  • 2f451ab9a3 Caps-msging test tweaks to get correct failures Tyler Goodlet 2024-04-08 10:13:14 -0400
  • 8e83455a78 Finally drop masked `chan.send(None)` related code blocks Tyler Goodlet 2024-04-07 18:54:03 -0400
  • 38111e8d53 Detail out EoC-by-self log msg Tyler Goodlet 2024-04-07 16:35:00 -0400
  • aea5abdd70 Use `object()` when checking for error field value Tyler Goodlet 2024-04-07 16:29:21 -0400
  • aca6503fcd Flatten out RPC loop with `match:`/`case:` Tyler Goodlet 2024-04-07 10:40:01 -0400
  • b9a61ded0a Drop `None`-sentinel cancels RPC loop mechanism Tyler Goodlet 2024-04-05 19:07:12 -0400
  • 4cfe4979ff Factor `MsgpackTCPStream` msg-type checks Tyler Goodlet 2024-04-05 16:34:07 -0400
  • 97bfbdbc1c Expose `MsgTypeError` from pkg Tyler Goodlet 2024-04-05 16:32:15 -0400
  • b1fd8b2ec3 Make `Context.started()` a type checked IPC send Tyler Goodlet 2024-04-05 16:00:32 -0400
  • 5c1401bf81 Factor boxed-err formatting into new `pformat_boxed_tb()` helper for use elsewhere Tyler Goodlet 2024-04-05 14:04:32 -0400
  • 7f1c2b8ecf Add buncha notes on `Start` field for "params" Tyler Goodlet 2024-04-05 13:59:43 -0400
  • 10c98946bd Extend codec test to for msg-spec parameterizing Tyler Goodlet 2024-04-05 11:36:09 -0400
  • 5b551dd9fa Use `._testing.break_ipc()` in final advanced fault test child ctx Tyler Goodlet 2024-04-05 10:53:07 -0400
  • 0fcd424d57 Start a new `._testing.fault_simulation` Tyler Goodlet 2024-04-03 09:50:22 -0400
  • 70ab60ce7c Flip default codec to our `Msg`-spec Tyler Goodlet 2024-04-03 09:45:03 -0400
  • a65e1e7a88 TOSQUASH f2ce4a3, timeout bump Tyler Goodlet 2024-04-02 14:34:08 -0400
  • 40cba51909 Woops, only pack `Error(cid=cid)` if input is not `None` Tyler Goodlet 2024-04-02 14:32:16 -0400
  • e153cc0187 WIP porting runtime to use `Msg`-spec Tyler Goodlet 2024-04-02 13:41:52 -0400
  • f2ce4a3469 Add timeouts around some context test bodies msg_codecs Tyler Goodlet 2024-04-02 13:33:06 -0400
  • 3aa964315a Get `test_codec_hooks_mod` working with `Msg`s Tyler Goodlet 2024-04-02 11:14:43 -0400
  • f3ca8608d5 Get msg spec type limiting working with a `RunVar` Tyler Goodlet 2024-04-02 09:21:30 -0400
  • 25ffdedc06 Oof, fix walrus assign causes name-error edge case Tyler Goodlet 2024-03-29 19:15:50 -0400
  • 3ba46362a9 Be mega pedantic with msg-spec building Tyler Goodlet 2024-03-29 18:46:37 -0400
  • fb8196e354 Tweak msging tests to match codec api changes Tyler Goodlet 2024-03-29 13:48:08 -0400
  • b6ed26589a Drop `MsgCodec.decoder()/.encoder()` design Tyler Goodlet 2024-03-29 12:46:59 -0400
  • 8ff18739be Change to multi-line-static-`dict` style msgs Tyler Goodlet 2024-03-28 13:08:18 -0400
  • 456979dd12 Tweak msg-spec test suite mod name Tyler Goodlet 2024-03-28 13:07:03 -0400
  • 995af130cf Init def of "SC shuttle prot" with "msg-spec-limiting" Tyler Goodlet 2024-03-28 10:45:01 -0400
  • d55266f4a2 Move the pretty-`Struct` stuff to a `.pretty_struct` Tyler Goodlet 2024-03-26 18:27:55 -0400
  • 79211eab9a Merge original content from PR #311 into `.msg.types` for now Tyler Goodlet 2024-03-26 17:47:55 -0400
  • 336db8425e Re-think, `msgspec`-multi-typed msg dialogs old_msg_types Tyler Goodlet 2022-07-07 15:48:16 -0400
  • 2eaef26547 WIP tagged union message type API Tyler Goodlet 2022-07-06 17:35:09 -0400
  • 0a69829ec5 Proto `MsgCodec`, an interchange fmt modify API Tyler Goodlet 2024-03-26 15:50:47 -0400
  • 496dce57a8 Prepare to offer (dynamic) `.msg.Codec` overrides Tyler Goodlet 2024-03-25 16:31:16 -0400
  • 72b4dc1461 Provision for infected-`asyncio` debug mode support asyncio_debug_mode Tyler Goodlet 2024-03-25 16:09:32 -0400
  • 90bfdaf58c Drop extra newline from log msg Tyler Goodlet 2024-03-25 15:03:33 -0400
  • 507cd96904 Change all `| None` -> `|None` in `._runtime` Tyler Goodlet 2024-03-25 14:15:36 -0400
  • 2588e54867 Add todo-notes for hiding `@acm` frames Tyler Goodlet 2024-03-24 16:49:07 -0400
  • 0055c1d954 Tweak main thread predicate to ensure `trio.run()` #1 pause_from_sync_w_greenback Tyler Goodlet 2024-03-24 16:39:59 -0400
  • 4f863a6989 Refine and test `tractor.pause_from_sync()` Tyler Goodlet 2024-03-22 16:41:49 -0400
  • c04d77a3c9 First draft workin minus non-main-thread usage! Tyler Goodlet 2024-03-20 19:13:13 -0400
  • 8e66f45e23 Lul, don't overwrite 'tb_str' with src actor's.. mv_to_new_trio_py3.11 Tyler Goodlet 2024-03-20 11:36:39 -0400
  • 290b0a86b1 Another cancel-req-invalid log msg fmt tweak Tyler Goodlet 2024-03-20 10:42:17 -0400
  • d5e5174d97 Extend inter-peer cancel tests for "inceptions" Tyler Goodlet 2024-03-20 10:29:40 -0400
  • 8ab5e08830 Adjust advanced faults test(s) for absorbed EoCs Tyler Goodlet 2024-03-19 19:33:06 -0400
  • 668016d37b Absorb EoCs via `Context.open_stream()` silently Tyler Goodlet 2024-03-19 18:40:50 -0400
  • 9221c57234 Adjust all `RemoteActorError.type` using tests Tyler Goodlet 2024-03-19 18:08:54 -0400
  • 78434f6317 Fix `.boxed_type` facepalm, drop `.src_actor_uid` Tyler Goodlet 2024-03-19 14:20:59 -0400
  • 5fb5682269 First try "relayed boxed errors", or "inceptions" Tyler Goodlet 2024-03-18 10:21:37 -0400
  • 71de56b09a Drop now-deprecated deps on modern `trio`/Python Tyler Goodlet 2024-03-13 18:41:24 -0400
  • e5cb39804c Pin to `trio>=0.24` to avoid `trio_typing` Tyler Goodlet 2024-03-13 16:21:30 -0400
  • d28c7e17c6 Add `.trionics._broadcast` todos for py 3.12 modden_spawn_from_client_req Tyler Goodlet 2024-03-13 16:09:31 -0400
  • d23d8c1779 Start a `._rpc` module Tyler Goodlet 2024-03-13 15:57:15 -0400
  • 58cc57a422 Move `Portal.open_context()` impl to `._context` Tyler Goodlet 2024-03-13 11:59:39 -0400
  • da913ef2bb Attempt at better internal traceback hiding Tyler Goodlet 2024-03-13 09:55:47 -0400
  • 96992bcbb9 Add (back) a `tractor._testing` sub-pkg Tyler Goodlet 2024-03-12 15:48:20 -0400
  • 6533285d7d Add `an: ActorNursery` var placeholder for final log msg Tyler Goodlet 2024-03-12 08:56:17 -0400
  • 8c39b8b124 Tweak some tests for spurious failues Tyler Goodlet 2024-03-11 10:37:34 -0400
  • ededa2e88f More spaceless union type annots Tyler Goodlet 2024-03-11 10:33:06 -0400
  • dd168184c3 Add a open-ctx-with-self test Tyler Goodlet 2024-03-11 10:24:44 -0400
  • 37ee477aee Let `MsgStream.receive_nowait()` take in msg key list Tyler Goodlet 2024-03-11 10:20:55 -0400
  • f067cf48a7 Unify some log msgs in `.to_asyncio` Tyler Goodlet 2024-03-08 16:07:17 -0500
  • c56d4b0a79 Assign `ctx._local_error` ASAP from `.open_context()` Tyler Goodlet 2024-03-08 15:48:13 -0500
  • 7cafb59ab7 Tweak `Context.repr_outcome()` for KBIs Tyler Goodlet 2024-03-08 15:46:42 -0500
  • 7458f99733 Add a `._state._runtime_vars['_registry_addrs']` Tyler Goodlet 2024-03-08 15:34:20 -0500
  • 4c3c3e4b56 Support a `._state.last_actor()` getter Tyler Goodlet 2024-03-08 14:11:17 -0500
  • b29d33d603 Make `Actor._cancel_task(requesting_uid: tuple)` required arg Tyler Goodlet 2024-03-08 14:03:18 -0500
  • 1617e0ff2c Woops, fix one last `ctx._cancelled_caught` in drain loop Tyler Goodlet 2024-03-08 13:48:35 -0500
  • c025761f15 Adjust `asyncio` test for stricter ctx-self-cancels Tyler Goodlet 2024-03-07 21:33:07 -0500
  • 2e797ef7ee Update ctx test suites to stricter semantics Tyler Goodlet 2024-03-07 21:26:57 -0500
  • c36deb1f4d Woops, fix `_post_mortem()` type sig.. Tyler Goodlet 2024-03-07 21:14:40 -0500
  • fa7e37d6ed (Event) more pedantic `.cancel_acked: bool` def Tyler Goodlet 2024-03-07 20:35:43 -0500
  • 364ea91983 Set `._cancel_msg` to RPC `{cmd: 'self._cancel_task', ..}` msg Tyler Goodlet 2024-03-07 18:24:00 -0500
  • 7ae9b5319b Tweak inter-peer `._scope` state asserts Tyler Goodlet 2024-03-06 16:07:30 -0500
  • 6156ff95f8 Add `shield: bool` support to `.pause()` Tyler Goodlet 2024-03-06 14:37:54 -0500