This website requires JavaScript.
d716c57234
Always pass `repl: PdbREPL` as first param to fixture
#28
repl_fixture
Tyler Goodlet
2025-05-16 00:25:10 -0400
7695e79cb8
Add `typing_extensions`, it's a sub-dep of `stackscope`?
Tyler Goodlet
2025-05-15 15:08:21 -0400
f1e9926b79
Reorg `.devx.debug` into sub-mods!
Tyler Goodlet
2025-05-15 14:40:12 -0400
69267ae656
Mv `.hide_runtime_frames()` -> `.devx._frame_stack`
Tyler Goodlet
2025-05-15 12:41:16 -0400
5024e71d8e
Return `Path` from `_get_mod_abspath()` helper fn
Tyler Goodlet
2025-05-14 20:26:15 -0400
006ee0752c
Be explicit with `SpawnSpec` processing in subs
Tyler Goodlet
2025-05-13 17:39:53 -0400
1012581a0b
Enable new `tractor.devx.debug._tty_lock` in the root
Tyler Goodlet
2025-05-13 17:39:38 -0400
cb31a330b3
Start splitting into `devx.debug.` sub-mods
Tyler Goodlet
2025-05-13 16:44:10 -0400
712450869b
Add `_maybe_open_repl_fixture()`
Tyler Goodlet
2025-05-13 12:15:21 -0400
18ae7b0048
Mk `.devx._debug` a sub-pkg `.devx.debug`
Tyler Goodlet
2025-05-13 12:13:12 -0400
09a61dbd8a
Add exc suppression to `open_crash_handler()`
Tyler Goodlet
2025-05-12 20:19:58 -0400
f604c8836d
Add initial `repl_fixture` support B)
Tyler Goodlet
2025-05-11 20:23:35 -0400
05a02d97b4
Bump "task-manager(-nursery)" naming, add logging
#23
oco_supervisor_prototype
Tyler Goodlet
2025-05-11 20:19:10 -0400
3acf69be8b
Add a new `.trionics._tn` for "task nursery stuff"
Tyler Goodlet
2025-05-07 21:08:05 -0400
d6066705e3
Add `debug_mode: bool` control to task mngr
Tyler Goodlet
2023-05-19 15:51:47 -0400
8519d4ff9e
Go all in on "task manager" naming
Tyler Goodlet
2023-05-19 14:49:10 -0400
ed56eda684
More refinements and proper typing
Tyler Goodlet
2023-05-19 14:23:22 -0400
311a1e6d55
Ensure user-allocated cancel scope just works!
Tyler Goodlet
2023-05-19 14:03:07 -0400
49c35f06ae
Facepalm, don't pass in unecessary cancel scope
Tyler Goodlet
2023-05-19 13:34:00 -0400
7b7e872cbc
Do renaming, implement lowlevel `Outcome` sending
Tyler Goodlet
2023-05-19 13:13:21 -0400
0978e23ca9
Alias to `@acm` in broadcaster mod
Tyler Goodlet
2023-05-17 15:27:29 -0400
2eec5a27ff
Initial prototype for a one-cancels-one style supervisor, nursery thing..
Tyler Goodlet
2023-05-17 14:31:06 -0400
9427273ea1
Use shorthand nursery var-names per convention in codebase
Tyler Goodlet
2024-12-11 20:26:13 -0500
5e2b7c557e
Better separate service tasks vs. ctxs via methods
Tyler Goodlet
2024-12-11 14:24:49 -0500
8e162d7a70
Mv over `ServiceMngr` from `piker` with mods
Tyler Goodlet
2024-12-11 12:38:35 -0500
42e9076776
Initial idea-notes dump and @singleton factory idea from `trio`-gitter
Tyler Goodlet
2024-11-27 20:29:16 -0500
2bb33da9c8
Add a `debug_mode`-state reversion test
#27
pytest_pluginize
Tyler Goodlet
2025-05-07 15:06:44 -0400
06f7f2e06b
Fix ref-err on `logger` input to `get_console_log()`
Tyler Goodlet
2025-05-07 11:22:52 -0400
a92d0ebf02
Unset debug-mode on root actor exit
Tyler Goodlet
2025-05-07 10:41:59 -0400
8c8d79e475
Expose `.trionics.maybe_collapse_eg`
Tyler Goodlet
2025-05-05 17:45:10 -0400
0ccf83d520
Use `.is_debug_mode()` for maybe-crash-handling
Tyler Goodlet
2025-05-05 16:03:03 -0400
1d54096379
Add todo for `dulwhich` as dep
Tyler Goodlet
2025-04-25 23:21:19 -0400
053078ce8f
Fix rb non ipc case and tests in general
ring-latest
#10
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
fe23331365
Plugin-ize some re-usable `conftest` parts
Tyler Goodlet
2025-04-17 11:20:49 -0400
d478dbfcfe
Merge pull request 'Fix to trionics helper `maybe_open_nursery`' (#26 ) from maybe_open_nursery_fix into main
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
6445f1cde4
Formally add `nest_from_op()` XD
structural_dynamics_of_flow
Tyler Goodlet
2025-04-12 16:50:56 -0400
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
6ff3b6c757
Use `current_ipc_protos()` as the `enable_transports`-default-when-`None`
Tyler Goodlet
2025-04-10 23:55:41 -0400
8bda59c23d
Add `_state.current_ipc_protos()`
Tyler Goodlet
2025-04-10 23:53:44 -0400
1628fd1d7b
Another `tn` eg-loosify inside `ActorNursery.cancel()`..
Tyler Goodlet
2025-04-10 23:53:35 -0400
5f74ce9a95
Absorb `TransportClosed` in `Portal.cancel_actor()`
Tyler Goodlet
2025-04-10 23:49:36 -0400
477343af53
Add `TransportClosed.from_src_exc()`
Tyler Goodlet
2025-04-10 23:37:16 -0400
c208bcbb1b
Factor actor-embedded IPC-tpt-server to `ipc` subsys
#24
leslies_extra_appendix
Tyler Goodlet
2025-04-10 18:06:12 -0400
c9e9a3949f
Move concrete `Address`es to each tpt module
Tyler Goodlet
2025-04-07 18:07:58 -0400
8fd7d1cec4
Add API-modernize-todo on `experimental._pubsub.fan_out_to_ctxs`
#17
Tyler Goodlet
2025-04-06 14:46:25 -0400
0cb011e883
Skip the ringbuf test mod for now since data-gen is a bit "heavy/laggy" atm
Tyler Goodlet
2025-04-06 14:44:40 -0400