Commit Graph

  • 4bc443ccae Always `Cancelled`-unmask ctx endpoint excs Tyler Goodlet 2025-06-15 21:22:08 -0400
  • bad42734db Adjust ep-masking-suite for the real-use-case Tyler Goodlet 2025-06-15 19:18:30 -0400
  • 86346c27e8 Extend `._taskc.maybe_raise_from_masking_exc()` Tyler Goodlet 2025-06-15 18:03:37 -0400
  • 0687f1aaa6 Mv `maybe_raise_from_masking_exc()` to `.trionics` Tyler Goodlet 2025-06-15 13:29:34 -0400
  • a21d9b1e33 Add ctx-ep suite for `trio`'s *finally-footgun* Tyler Goodlet 2025-06-13 22:39:03 -0400
  • 6c46882545 Add some tooling params to `collapse_eg()` Tyler Goodlet 2025-06-13 22:06:55 -0400
  • 00583b7671 Use `nest_from_op()` in some runtime logs for actor-state-repring Tyler Goodlet 2025-06-12 23:26:38 -0400
  • 78beeebe8f Augment `nest_from_op()` with a `nest_prefix: str` Tyler Goodlet 2025-06-12 23:22:46 -0400
  • 333fde39ad Detail the docs on `Context._maybe_raise_remote_err()` Tyler Goodlet 2025-06-12 23:22:16 -0400
  • 502c7a1dc6 Move `.is_multi_cancelled()` to `.trioniics._beg` Tyler Goodlet 2025-06-12 23:16:29 -0400
  • 7b05547fcc Reapply `.devx.debug` mod-name change to ipc-server lost during rebase.. Tyler Goodlet 2025-06-11 22:09:04 -0400
  • 64f56e09b9 Bump lock file for new 3.13 wheels/schema Tyler Goodlet 2025-06-11 20:37:45 -0400
  • 4185661c2e Drop " " from tail of `BoxedMaybeException.pformat()` Tyler Goodlet 2025-06-11 20:00:30 -0400
  • cc7bee683f Drop `.to_asyncio`s usage-of-`greenback`-reporting to `log.devx()` Tyler Goodlet 2025-06-11 19:57:19 -0400
  • 2ed811fa0d Disable `greenback` sync fn breakpointing by def Tyler Goodlet 2025-06-11 19:50:29 -0400
  • b06c5bde49 Prevent `test_breakpoint_hook_restored` subproc hangs Tyler Goodlet 2025-06-11 19:32:56 -0400
  • f4c5a7e85c Type alias our `pexpect.spawn()` closure fixture Tyler Goodlet 2025-06-11 19:19:56 -0400
  • ee51226480 Type annot the `testdir` fixture Tyler Goodlet 2025-06-11 18:29:24 -0400
  • 084d750604 Re-impl as `DebugStatus.maybe_enter_repl_fixture()` Tyler Goodlet 2025-05-18 12:33:05 -0400
  • de7ba6b1f4 Always pass `repl: PdbREPL` as first param to fixture Tyler Goodlet 2025-05-16 00:25:10 -0400
  • 145c44ce44 Add `typing_extensions`, it's a sub-dep of `stackscope`? Tyler Goodlet 2025-05-15 15:08:21 -0400
  • 16dbf8fbca Reorg `.devx.debug` into sub-mods! Tyler Goodlet 2025-05-15 14:40:12 -0400
  • 0d30b39e58 Mv `.hide_runtime_frames()` -> `.devx._frame_stack` Tyler Goodlet 2025-05-15 12:41:16 -0400
  • 37c798dd43 Return `Path` from `_get_mod_abspath()` helper fn Tyler Goodlet 2025-05-14 20:26:15 -0400
  • 8604c0c988 Be explicit with `SpawnSpec` processing in subs Tyler Goodlet 2025-05-13 17:39:53 -0400
  • 23845c4f83 Enable new `tractor.devx.debug._tty_lock` in the root Tyler Goodlet 2025-05-13 17:39:38 -0400
  • 9d67067d62 Start splitting into `devx.debug.` sub-mods Tyler Goodlet 2025-05-13 16:44:10 -0400
  • 99d3455f57 Add `_maybe_open_repl_fixture()` Tyler Goodlet 2025-05-13 12:15:21 -0400
  • dbdbd96a06 Mk `.devx._debug` a sub-pkg `.devx.debug` Tyler Goodlet 2025-05-13 12:13:12 -0400
  • 68f7614e3e Add exc suppression to `open_crash_handler()` Tyler Goodlet 2025-05-12 20:19:58 -0400
  • 659c85a099 Add initial `repl_fixture` support B) Tyler Goodlet 2025-05-11 20:23:35 -0400
  • 48b6db5c68 Add a `debug_mode`-state reversion test #27 pytest_pluginize Tyler Goodlet 2025-05-07 15:06:44 -0400
  • 029888cee8 Fix ref-err on `logger` input to `get_console_log()` Tyler Goodlet 2025-05-07 11:22:52 -0400
  • 223d885e22 Unset debug-mode on root actor exit Tyler Goodlet 2025-05-07 10:41:59 -0400
  • a1f091882e Expose `.trionics.maybe_collapse_eg` Tyler Goodlet 2025-05-05 17:45:10 -0400
  • e587f0da23 Use `.is_debug_mode()` for maybe-crash-handling Tyler Goodlet 2025-05-05 16:03:03 -0400
  • 5138224625 Add todo for `dulwhich` as dep Tyler Goodlet 2025-04-25 23:21:19 -0400
  • ad72cd629f Plugin-ize some re-usable `conftest` parts Tyler Goodlet 2025-04-17 11:20:49 -0400
  • 533e69baaf Formally add `nest_from_op()` XD Tyler Goodlet 2025-04-12 16:50:56 -0400
  • fbc9325184 Start a very basic ipc-server unit test suite structural_dynamics_of_flow Tyler Goodlet 2025-06-11 18:26:16 -0400
  • 3cd222959a Decouple actor-state from low-level ipc-server Tyler Goodlet 2025-06-11 16:44:47 -0400
  • 2ea703cc75 Log listener bind status for TCP as for UDS Tyler Goodlet 2025-06-11 11:29:23 -0400
  • d6eeddef4e
    Merge pull request #338 from goodboy/shm_apis goodboy 2025-04-25 23:20:46 -0400
  • 053078ce8f
    Fix rb non ipc case and tests in general ring-latest #10 one_ring_to_rule_them_all_FROZEN_20250619 one_ring_to_rule_them_all Guillermo Rodriguez 2025-04-22 05:38:32 -0300
  • 7766caf623
    Detect OSError errno EBADF and re-raise as trio.BrokenResourceError on EventFD reads Guillermo Rodriguez 2025-04-22 01:51:21 -0300
  • a553446619
    Pubsub topics, enc & decoders Guillermo Rodriguez 2025-04-22 01:46:41 -0300
  • 8799cf3b78
    Add optional msgpack encoder & decoder to ringbuf apis Guillermo Rodriguez 2025-04-22 01:45:44 -0300
  • 86e09a80f4
    Log warning instead of exception on pubsub cancelled Guillermo Rodriguez 2025-04-17 12:08:16 -0300
  • 59521cd4db
    Add fix for cases where sockname len > 100 Guillermo Rodriguez 2025-04-17 12:07:40 -0300
  • 06103d1f44
    Disable parent channel append on get_peer_by_name to_scan Guillermo Rodriguez 2025-04-13 14:06:03 -0300
  • 4ca1aaeaeb
    Only set shield flag when trio nursery mode is used Guillermo Rodriguez 2025-04-13 14:16:39 -0300
  • 9b16eeed2f
    Fix chan manager close remove_channel call Guillermo Rodriguez 2025-04-13 14:02:41 -0300
  • d60a49a853
    Check if fdshare module is enable on share_fds function Guillermo Rodriguez 2025-04-13 14:02:09 -0300
  • f5513ba005
    Adapt ringbuf pubsub to new RBToken owner system Guillermo Rodriguez 2025-04-13 13:36:02 -0300
  • 39dccbdde7
    Add owner semantics to RBToken Guillermo Rodriguez 2025-04-13 13:31:44 -0300
  • 5d6fa643ba
    Better APIs for ringd and pubsub Guillermo Rodriguez 2025-04-10 13:13:08 -0300
  • e4868ded54
    Tweaks to make cancellation happen correctly on ringbuf receiver & fix test log msg Guillermo Rodriguez 2025-04-10 11:27:52 -0300
  • b2f6c298f5
    Refactor generate_sample_messages to be a generator and use numpy Guillermo Rodriguez 2025-04-06 21:59:14 -0300
  • 171545e4fb
    Add trio resource semantics to ring pubsub Guillermo Rodriguez 2025-04-06 21:19:39 -0300
  • 853aa740aa
    RingBufferReceiveChannel fixes for the non clean eof case, add comments Guillermo Rodriguez 2025-04-06 21:16:55 -0300
  • 8e1f95881c
    Add trio resource semantics to eventfd Guillermo Rodriguez 2025-04-06 21:04:18 -0300
  • 1451feb159
    Adhere to trio semantics on channels for closed and busy resource cases Guillermo Rodriguez 2025-04-06 17:02:15 -0300
  • 3a1eda9d6d
    Fix test docstring Guillermo Rodriguez 2025-04-04 02:59:50 -0300
  • d942f073e0
    Enable ordering assertion & simplify some parts of test Guillermo Rodriguez 2025-04-04 02:57:38 -0300
  • d8d01e8b3c
    Add header to generic chan orderers Guillermo Rodriguez 2025-04-04 02:47:27 -0300
  • 1dfc639e54
    Fully test and fix bugs on _ringbuf._pubsub Guillermo Rodriguez 2025-04-04 02:44:45 -0300
  • bebd327023
    Improve ringd ringbuf lifecycle Guillermo Rodriguez 2025-04-04 02:41:50 -0300
  • 3568ba5d5d
    Rename RingBuff -> RingBuffer Guillermo Rodriguez 2025-04-04 02:36:59 -0300
  • 95ea4647cc
    Woops fix old typing Self stuff Guillermo Rodriguez 2025-04-03 13:11:00 -0300
  • 4385d38bc4
    Add header and fix white lines Guillermo Rodriguez 2025-04-03 12:35:09 -0300
  • b1e1187a19
    Switch to using typing.Protocl instead of abc.ABC on ChannelManager, improve abstraction and add comments Guillermo Rodriguez 2025-04-03 12:34:40 -0300
  • 4b9d6b9276
    Improve error handling in fdshare functions, add comments Guillermo Rodriguez 2025-04-03 11:48:07 -0300
  • 28b86cb880
    Dont use relative import on ringd Guillermo Rodriguez 2025-04-02 15:17:56 -0300
  • e34b6519c7
    recv_fds doesnt need to be an acm Guillermo Rodriguez 2025-04-02 15:00:40 -0300
  • 6646deb7f4
    Add LICENSE headers and module docstring on new files Guillermo Rodriguez 2025-04-02 14:53:15 -0300
  • 1bb9918e2d
    Add ringd test, which also tests fd share Guillermo Rodriguez 2025-04-02 14:45:21 -0300
  • 9238c6b245
    Linux top-level submodule and ipc._ringbuf submodule Guillermo Rodriguez 2025-04-02 14:39:02 -0300
  • f0af419ab2
    Important RingBuffBytesSender fix on non batched mode! & downgrade nix-shell python to lowest supported Guillermo Rodriguez 2025-03-22 16:54:00 -0300
  • 3b5ade7118
    Catch trio cancellation on RingBuffReceiver bg eof listener task, add batched mode to RingBuffBytesSender Guillermo Rodriguez 2025-03-20 21:12:06 -0300
  • ce09c70a74
    Add direct read method on EventFD Type hint all ctx managers in _ringbuf.py Remove unnecesary send lock on ring chan sender Handle EOF on ring chan receiver Rename ringbuf tests to make it less redundant Guillermo Rodriguez 2025-03-18 22:48:12 -0300
  • 9f788e07d4
    Add direct ctx managers for RB channels Guillermo Rodriguez 2025-03-18 13:47:41 -0300
  • 69ceee09f2
    Improve test_ringbuf test, drop MsgTransport ring buf impl for now in favour of a trio.abc.Channel[bytes] impl, add docstrings Guillermo Rodriguez 2025-03-18 13:19:40 -0300
  • a7df2132fa
    Switch `tractor.ipc.MsgTransport.stream` type to `trio.abc.Stream` Add EOF signaling mechanism Support proper `receive_some` end of stream semantics Add StapledStream non-ipc test Create MsgpackRBStream similar to MsgpackTCPStream for buffered whole-msg reads Add EventFD.read cancellation on EventFD.close mechanism using cancel scope Add test for eventfd cancellation Improve and add docstrings Guillermo Rodriguez 2025-03-16 23:57:26 -0300
  • dd1c0fa51d
    Better encapsulate RingBuff ctx managment methods and support non ipc usage Add trio.StrictFIFOLock on sender.send_all Support max_bytes argument on receive_some, keep track of write_ptr on receiver Add max_bytes receive test test_ringbuf_max_bytes Add docstrings to all ringbuf tests Remove EFD_NONBLOCK support, not necesary anymore since we can use abandon_on_cancel=True on trio.to_thread.run_sync Close eventfd's after usage on open_ringbuf Guillermo Rodriguez 2025-03-16 17:50:13 -0300
  • 6ee5e3e077
    Refinements, fix dec_hook builtins and same type bug auto_codecs Guillermo Rodriguez 2025-04-22 06:24:01 -0300
  • 470acd98cc
    Fix typing on mk_boxed_ext_structs Guillermo Rodriguez 2025-04-22 05:04:14 -0300
  • bb37c31a70
    Update CI to use uv Guillermo Rodriguez 2025-04-22 04:46:19 -0300
  • 99c383d3c1
    Change test structs name to not get conflicts with pytest Guillermo Rodriguez 2025-04-22 04:37:08 -0300
  • 51746a71ac
    Re-add boxed struct type system on _codec & create enc/dec hook auto factory Guillermo Rodriguez 2025-04-22 04:30:30 -0300
  • d478dbfcfe Merge pull request 'Fix to trionics helper `maybe_open_nursery`' (#26) from maybe_open_nursery_fix into main guille 2025-04-13 20:58:47 +0000
  • ef6094a650
    Only set shield flag when trio nursery mode is used #26 Guillermo Rodriguez 2025-04-13 14:16:39 -0300
  • 4e8404bb09 Merge pull request 'Duplicated channel on `Actor._peers` causes hang on `portal.cancel_actor()`' (#25) from discovery_dedup into main guille 2025-04-13 20:53:23 +0000
  • bbb3484ae9
    Disable parent channel append on get_peer_by_name to_scan #25 Guillermo Rodriguez 2025-04-13 14:06:03 -0300
  • 112ed27cda Move peer-tracking attrs from `Actor` -> `IPCServer` Tyler Goodlet 2025-04-11 16:55:03 -0400
  • 42cf9e11a4 Mv `Actor._stream_handler()` to `.ipc._server` func Tyler Goodlet 2025-04-11 14:30:21 -0400
  • 1ccb14455d Passthrough `_pause()` kwargs from `_maybe_enter_pm()` Tyler Goodlet 2025-04-11 01:16:46 -0400
  • d534f1491b Fix assert on `.devx.maybe_open_crash_handler()` delivered `bxerr` Tyler Goodlet 2025-04-11 01:16:12 -0400
  • 0f8b299b4f Improve bit of tooling for `test_resource_cache.py` Tyler Goodlet 2025-04-11 01:12:34 -0400
  • 9807318e3d Never hide non-[msgtype/tpt-closed] error tbs in `Channel.send()` Tyler Goodlet 2025-04-11 00:00:12 -0400
  • b700d90e09 Set `_state._def_tpt_proto` in `tpt_proto` fixture Tyler Goodlet 2025-04-10 23:56:47 -0400