This website requires JavaScript.
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
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
74df5034c0
Improve `TransportClosed.__repr__()`, add `src_exc`
Tyler Goodlet
2025-04-06 13:54:10 -0400
692bd0edf6
Handle unconsidered fault-edge cases for UDS
Tyler Goodlet
2025-04-05 18:54:52 -0400
c21b9cdf57
Woops, ensure we use `global` before setting `daemon()` fixture spawn delay..
Tyler Goodlet
2025-04-05 17:52:16 -0400
0e25c16572
Support multiple IPC transports in test harness!
Tyler Goodlet
2025-04-04 00:05:55 -0400
1d4513eb5d
Unwrap `UDSAddress` as `tuple[str, str]`, i.e. sin pid
Tyler Goodlet
2025-04-03 22:24:24 -0400
3d3a1959ed
s/`._addr.preferred_transport`/`_state._def_tpt_proto`
Tyler Goodlet
2025-04-03 20:12:30 -0400
9e812d7793
Add `Arbiter.is_registry()` in prep for proper `.discovery._registry`
Tyler Goodlet
2025-04-03 16:35:33 -0400
789bb7145b
Repair weird spawn test, start `test_root_runtime`
Tyler Goodlet
2025-04-03 16:15:53 -0400
b05c5b6c50
Some more log message tweaks
Tyler Goodlet
2025-04-03 13:28:36 -0400
f6a4a0818f
Change some low-hanging `.uid`s to `.aid`
Tyler Goodlet
2025-04-03 13:19:19 -0400
a045c78e4d
Mv to `Channel._do_handshake()` in `open_portal()`
Tyler Goodlet
2025-04-03 13:14:58 -0400
c85606075d
Mv `Actor._do_handshake()` to `Channel`, add `.aid`
Tyler Goodlet
2025-04-03 12:22:21 -0400
7d200223fa
UDS: translate file dne to connection-error
Tyler Goodlet
2025-04-03 12:16:29 -0400
4244db2f08
More `._addr` boxing refinements
Tyler Goodlet
2025-04-03 10:10:18 -0400
52901a8e7d
Move `DebugRequestError` to `._exceptions`
Tyler Goodlet
2025-04-02 22:50:03 -0400
eb11235ec8
Start protoyping multi-transport testing
Tyler Goodlet
2025-04-02 22:40:28 -0400
c8d164b211
Add `psutil` to `--dev` / testing deps
Tyler Goodlet
2025-04-01 22:26:56 -0400
00b5bb777d
Factor `breakpoint()` blocking into `@acm`
Tyler Goodlet
2025-04-01 22:21:51 -0400
674a33e3b1
Add an `Actor.pformat()`
Tyler Goodlet
2025-04-01 22:08:56 -0400
a49bfddf32
Add a `MsgpackTransport.pformat()`
Tyler Goodlet
2025-04-01 22:01:51 -0400
e025959d60
Even more `tractor._addr.Address` simplifying
Tyler Goodlet
2025-04-01 21:53:03 -0400
d0414709f2
Handle broken-pipes from `MsgpackTransport.send()`
Tyler Goodlet
2025-04-01 12:56:28 -0400
b958590212
Emphasize internal error block header-comment a bit
Tyler Goodlet
2025-03-30 23:57:52 -0400
8884ed05f0
Bit of multi-line styling for `LocalPortal`
Tyler Goodlet
2025-03-30 22:54:19 -0400
a403958c2c
Adjust `._child` instantiation of `Actor` to use newly named `uuid` arg
Tyler Goodlet
2025-03-30 22:53:36 -0400
009cadf28e
Add `bidict` pkg as dep since used in `._addr` for now
Tyler Goodlet
2025-03-30 22:52:46 -0400
3cb8f9242d
Adjust lowlevel-tb hiding logic for `MsgStream`
Tyler Goodlet
2025-03-30 22:45:44 -0400
544b5bdd9c
Slight typing and multi-line styling tweaks in `.ipc` sugpkg
Tyler Goodlet
2025-03-30 22:42:51 -0400
47d66e6c0b
Add a big boi `Channel.pformat()/__repr__()`
Tyler Goodlet
2025-03-30 22:35:35 -0400
ddeab1355a
Allocate bind-addrs in subactors
Tyler Goodlet
2025-03-30 21:36:45 -0400
cb6c10bbe9
Adjust imports to use new `UnwrappedAddress`
Tyler Goodlet
2025-03-30 21:21:10 -0400
bf9d7ba074
Implement peer-info tracking for UDS streams
Tyler Goodlet
2025-03-30 21:00:36 -0400
4a8a555bdf
Rework/simplify transport addressing
Tyler Goodlet
2025-03-30 18:30:43 -0400
1762b3eb64
Trying to make full suite pass with uds
Guillermo Rodriguez
2025-03-23 02:18:01 -0300
486f4a3843
Finally switch to using address protocol in all runtime
Guillermo Rodriguez
2025-03-23 00:14:04 -0300
d5e0b08787
Add root and random addr getters on MsgTransport type
Guillermo Rodriguez
2025-03-22 16:17:50 -0300
f80a47571a
Starting to make `.ipc.Channel` work with multiple MsgTransports
Guillermo Rodriguez
2025-03-22 15:29:48 -0300
9b2161506f
Break out transport protocol and tcp specifics into their own submodules under tractor.ipc
Guillermo Rodriguez
2025-03-16 14:14:32 -0300
6b155849b7
Add buf_size to RBToken and add sender cancel test, move disable_mantracker to its own _mp_bs module
Guillermo Rodriguez
2025-03-14 00:25:10 -0300
59c8c7bfe3
Make ring buf api use pickle-able RBToken
Guillermo Rodriguez
2025-03-13 23:12:20 -0300
6ac6fd56c0
Address some of fomo\'s comments
Guillermo Rodriguez
2025-03-13 22:47:45 -0300
f799e9ac51
Handle cancelation on EventFD.read
Guillermo Rodriguez
2025-03-13 22:43:02 -0300
9980bb2bd0
Add module headers and fix spacing on tractor._ipc._linux
Guillermo Rodriguez
2025-03-13 21:25:50 -0300
8de9ab291e
Move RingBuffSender|Receiver to its own tractor.ipc._ringbuf module
Guillermo Rodriguez
2025-03-13 21:15:16 -0300
1a83626f26
Move linux specifics from tractor.ipc._shm into tractor.ipc._linux
Guillermo Rodriguez
2025-03-13 21:10:23 -0300
6b4d08d030
Move tractor._shm to tractor.ipc._shm
Guillermo Rodriguez
2025-03-13 20:59:14 -0300
7b8b9d6805
move tractor._ipc.py into tractor.ipc._chan.py
Guillermo Rodriguez
2025-03-13 20:41:30 -0300
5afe0a0264
General improvements
Guillermo Rodriguez
2025-03-13 20:17:04 -0300
eeb9a7d61b
IPC ring bug impl with async read
Guillermo Rodriguez
2025-03-12 16:13:40 -0300
5cee222353
Updates from latest `piker.data._sharedmem` changes
#15
shm_apis
Tyler Goodlet
2023-06-22 17:16:17 -0400
8ebb1f09de
Pass `str` dtype for `use_str` case
Tyler Goodlet
2022-10-20 16:08:28 -0400
2683a7f33a
Allocate size-specced "empty" sequence from default values by type
Tyler Goodlet
2022-10-19 14:20:50 -0400
255209f881
Mod define `_USE_POSIX`, add a of of todos
Tyler Goodlet
2022-10-18 16:28:57 -0400
9a0d529b18
Parametrize rw test with variable frame sizes
Tyler Goodlet
2022-10-18 11:01:30 -0400
1c441b0986
Add `ShmList` slice support in `.__getitem__()`
Tyler Goodlet
2022-10-18 11:01:02 -0400
afbdb50a30
Rename token type to `NDToken` in the style of `nptyping`
Tyler Goodlet
2022-10-17 17:21:14 -0400