This website requires JavaScript.
9e3f41a5b1
Tweak inter-peer tests for new/refined semantics
Tyler Goodlet
2024-03-06 10:13:41 -0500
7c22f76274
Yahh, add `.devx` package to installed subpkgs..
Tyler Goodlet
2024-03-06 09:55:05 -0500
04c99c2749
Woops, add `.msg` sub-pkg to install set
Tyler Goodlet
2024-03-06 09:48:46 -0500
e536057fea
`._entry`: use same msg info in start/terminate log
Tyler Goodlet
2024-03-05 12:30:09 -0500
c6b4da5788
Tweak `._portal` log content to use `Context.repr_outcome()`
Tyler Goodlet
2024-03-05 12:26:33 -0500
1f7f84fdfa
Mk debugger tests work for arbitrary pre-REPL format
Tyler Goodlet
2024-03-05 11:43:23 -0500
a5bdc6db66
Flip rpc tests over to use `ExceptionGroup` on new `trio`
Tyler Goodlet
2024-03-05 10:34:32 -0500
9a18b57d38
Mega-refactor on `._invoke()` targeting `@context`s
Tyler Goodlet
2024-03-02 19:26:40 -0500
ed10632d97
Avoid `ctx.cancel()` after ctxc rxed in `.open_context()`
Tyler Goodlet
2024-03-02 16:27:46 -0500
299429a278
Deep `Context` refinements
Tyler Goodlet
2024-03-01 22:37:32 -0500
28fefe4ffe
Make stream draining status logs `.debug()` level
Tyler Goodlet
2024-03-01 19:27:10 -0500
08a6a51cb8
Add `._implicit_runtime_started` mark, better logs
Tyler Goodlet
2024-03-01 15:44:01 -0500
50465d4b34
Spawn naming and log format tweaks
Tyler Goodlet
2024-03-01 10:47:42 -0500
4f69af872c
Add field-first subproca `.info()` to `._entry`
Tyler Goodlet
2024-02-29 20:01:39 -0500
9bc6a61c93
Add "fancier" remote-error `.__repr__()`-ing
Tyler Goodlet
2024-02-29 18:56:31 -0500
23aa97692e
Fix `Channel.__repr__()` safety, renames to `._transport`
Tyler Goodlet
2024-02-29 18:20:41 -0500
1e5810e56c
Make `NamespacePath` kinda support methods..
Tyler Goodlet
2024-02-29 17:37:02 -0500
b54cb6682c
Add #TODO for generating func-sig type-annots as `str` for pprinting
Tyler Goodlet
2024-02-29 17:21:43 -0500
3ed309f019
Add test for `modden` sub-spawner-server hangs on cancel
Tyler Goodlet
2024-02-29 14:21:45 -0500
d08aeaeafe
Make `@context`-cancelled tests more pedantic
Tyler Goodlet
2024-02-28 17:13:01 -0500
c6ee4e5dc1
Add a `pytest.ini` config
Tyler Goodlet
2024-02-22 20:37:12 -0500
ad5eee5666
WIP final impl of ctx-cancellation-semantics
Tyler Goodlet
2024-02-22 18:33:18 -0500
fc72d75061
Support `maybe_wait_for_debugger(header_msg: str)`
Tyler Goodlet
2024-02-22 15:08:10 -0500
de1843dc84
Few more log msg tweaks in runtime
Tyler Goodlet
2024-02-22 15:06:39 -0500
930d498841
Call `actor.cancel(None)` from root to avoid mismatch with (any future) meth sig changes
Tyler Goodlet
2024-02-22 14:45:08 -0500
5ea112699d
Tweak broadcast fanout test to never inf loop
Tyler Goodlet
2024-02-22 14:41:28 -0500
e244747bc3
Add note that maybe `Context._eoc` should be set by caller?
Tyler Goodlet
2024-02-22 14:22:45 -0500
5a09ccf459
Tweak `Actor` cancel method signatures
Tyler Goodlet
2024-02-22 13:42:48 -0500
ce1bcf6d36
Fix overruns test to avoid return-beats-ctxc race
Tyler Goodlet
2024-02-21 13:24:33 -0500
28ba5e5435
Add `pformat()` of `ActorNursery._children` to logging
Tyler Goodlet
2024-02-21 13:21:28 -0500
10adf34be5
Set any `._eoc` to the err in `_raise_from_no_key_in_msg()`
Tyler Goodlet
2024-02-21 13:17:37 -0500
82dcaff8db
Better logging for cancel requests in IPC msg loop
Tyler Goodlet
2024-02-21 13:05:22 -0500
621b252b0c
Use `NamespacePath` in `Context` mgmt internals
Tyler Goodlet
2024-02-20 15:59:55 -0500
20a089c331
Drop extra " " when logging actor nursery errors
Tyler Goodlet
2024-02-20 15:58:11 -0500
df50d78042
Fix `.devx.maybe_wait_for_debugger()` polling deats
Tyler Goodlet
2024-02-20 15:39:45 -0500
114ec36436
Add `stackscope` as dep, drop legacy `pdb` issue cruft
Tyler Goodlet
2024-02-20 15:29:31 -0500
179d7d2b04
Add `NamespacePath._ns` todo for `self:<ns.meth>` support
Tyler Goodlet
2024-02-20 15:28:11 -0500
f568fca98f
Emit warning on any `ContextCancelled.canceller == None`
Tyler Goodlet
2024-02-20 15:26:14 -0500
6c9bc627d8
Make ctx tests support `debug_mode: bool` fixture
Tyler Goodlet
2024-02-20 15:14:58 -0500
1d7cf7d1dd
Enable `stackscope` render via root in debug mode
Tyler Goodlet
2024-02-20 13:23:16 -0500
54a0a0000d
.log: more multi-line styling
Tyler Goodlet
2024-02-20 13:22:44 -0500
0268b2ce91
Better subproc supervisor logging, todo for #320
Tyler Goodlet
2024-02-20 13:12:51 -0500
81f8e2d4ac
_supervise: iter nice expanded multi-line `._children` tups with typing
Tyler Goodlet
2024-02-20 09:18:22 -0500
bf0739c194
Add `stackscope` tree pprinter triggered by SIGUSR1
Tyler Goodlet
2024-02-20 08:59:21 -0500
5fe3f58ea9
Add a `debug_mode: bool` fixture via `--tpdb` flag
Tyler Goodlet
2024-02-20 08:53:37 -0500
3e1d033708
WIP: solved the modden client hang..
Tyler Goodlet
2024-02-19 17:00:46 -0500
c35576e196
Baboso! fix `chan.send(None)` indent..
Tyler Goodlet
2024-02-19 14:41:03 -0500
8ce26d692f
Improved log msg formatting in core
Tyler Goodlet
2024-02-19 12:25:08 -0500
7f29fd8dcf
Let `pack_error()` take a msg injected `cid: str|None`
Tyler Goodlet
2024-02-18 17:17:31 -0500
7fbada8a15
Add `StreamOverrun.sender: tuple` for better handling
Tyler Goodlet
2024-02-16 15:23:00 -0500
286e75d342
Offer `unpack_error(hid_tb: bool)` for `pdbp` REPL config
Tyler Goodlet
2024-02-14 16:13:32 -0500
df641d9d31
Bring in pretty-ified `msgspec.Struct` extension
multihomed
Tyler Goodlet
2024-01-28 16:33:10 -0500
35b0c4bef0
Never mask original `KeyError` in portal-error unwrapper, for now?
Tyler Goodlet
2024-01-23 11:14:10 -0500
c4496f21fc
Try allowing multi-pops of `_Cache.locks` for now?
Tyler Goodlet
2024-01-23 11:13:07 -0500
7e0e627921
Use `import <blah> as blah` over `__all__` in `.trionics`
Tyler Goodlet
2024-01-23 11:09:38 -0500
28ea8e787a
Bump timeout on resource cache test a bitty bit.
Tyler Goodlet
2024-01-03 22:27:05 -0500
0294455c5e
`_root`: drop unused `typing` import
Tyler Goodlet
2024-01-02 18:43:43 -0500
734bc09b67
Move missing-key-in-msg raiser to `._exceptions`
Tyler Goodlet
2024-01-02 18:34:15 -0500
0bcdea28a0
Fmt repr as multi-line style call
Tyler Goodlet
2024-01-02 11:28:55 -0500
fdf3a1b01b
Only use `greenback` if actor-runtime is up..
Tyler Goodlet
2024-01-02 11:28:02 -0500
ce7b8a5e18
Drop unused walrus assign of `re`
Tyler Goodlet
2024-01-02 11:21:20 -0500
00024181cd
`StackLevelAdapter._log(stacklevel: int)` for custom levels..
Tyler Goodlet
2024-01-02 10:38:04 -0500
814384848d
Use `import <name> as <name>,` style over `__all__` in pkg mod
Tyler Goodlet
2024-01-02 10:25:17 -0500
bea31f6d19
._child: remove some unused imports..
Tyler Goodlet
2024-01-02 10:24:39 -0500
250275d98d
Guarding for IPC failures in `._runtime._invoke()`
Tyler Goodlet
2024-01-02 09:08:39 -0500
f415fc43ce
`.discovery.get_arbiter()`: add warning around this now deprecated usage
Tyler Goodlet
2023-12-11 19:37:45 -0500
3f15923537
More thurough hard kill doc strings
Tyler Goodlet
2023-12-11 18:17:42 -0500
87cd725adb
Add `open_root_actor(ensure_registry: bool)`
Tyler Goodlet
2023-11-07 16:45:22 -0500
48accbd28f
Fix doc string "its" typo..
Tyler Goodlet
2023-11-06 15:44:21 -0500
227c9ea173
Test with `any(portals)` since `gather_contexts()` will return `list[None | tuple]`
Tyler Goodlet
2023-11-06 15:43:43 -0500
d651f3d8e9
Tons of interpeer test cleanup
Tyler Goodlet
2023-10-25 15:21:41 -0400
ef0cfc4b20
Get inter-peer suite passing with all `Context` state checks!
Tyler Goodlet
2023-10-23 18:24:20 -0400
ecb525a2bc
Adjust test details where `Context.cancel()` is called
Tyler Goodlet
2023-10-23 17:49:02 -0400
b77d123edd
Fix `Context.result()` call to be in runtime scope
Tyler Goodlet
2023-10-23 17:48:34 -0400
f4e63465de
Tweak `Channel._cancel_called` comment
Tyler Goodlet
2023-10-23 17:47:55 -0400
df31047ecb
Be ultra-correct in `Portal.open_context()`
Tyler Goodlet
2023-10-23 17:34:28 -0400
131674eabd
Be mega-pedantic with `ContextCancelled` semantics
Tyler Goodlet
2023-10-23 14:35:36 -0400
5a94e8fb5b
Raise a `MessagingError` from the src error on msging edge cases
Tyler Goodlet
2023-10-23 14:34:12 -0400
0518b3ab04
Move `MessagingError` into `._exceptions` set
Tyler Goodlet
2023-10-23 14:17:36 -0400
2f0bed3018
Ignore `greenback` import error if not installed
Tyler Goodlet
2023-10-19 12:41:15 -0400
9da3b63644
Change remaining internals to use `Actor.reg_addrs`
Tyler Goodlet
2023-10-19 12:40:37 -0400
1d6f55543d
Expose per-actor registry addrs via `.reg_addrs`
Tyler Goodlet
2023-10-19 12:05:44 -0400
a3ed30e62b
Get remaining suites passing..
Tyler Goodlet
2023-10-19 11:17:07 -0400
42d621bba7
Always dynamically re-read the `._root._default_lo_addrs` value in `find_actor()`
Tyler Goodlet
2023-10-18 19:10:04 -0400
2e81ccf5b4
Dump `.msgdata` in `RemoteActorError.__repr__()`
Tyler Goodlet
2023-10-18 19:09:07 -0400
022bf8ce75
Ensure `registry_addrs` is always set to something
Tyler Goodlet
2023-10-18 19:08:35 -0400
0e9457299c
Port all tests to new `reg_addr` fixture name
Tyler Goodlet
2023-10-18 15:39:20 -0400
6b1ceee19f
Type out the full-fledged streaming ex.
Tyler Goodlet
2023-10-18 15:36:00 -0400
1e689ee701
Rename fixture `arb_addr` -> `reg_addr` and set the session value globally as `._root._default_lo_addrs`
Tyler Goodlet
2023-10-18 15:35:35 -0400
190845ce1d
Add masked super timeout line to `do_hard_kill()` for would-be runtime hackers
Tyler Goodlet
2023-10-18 15:29:43 -0400
0c74b04c83
Facepalm, `wait_for_actor()` dun take an addr `list`..
Tyler Goodlet
2023-10-18 15:22:54 -0400
215fec1d41
Change old `._debug._pause()` name, cherry to #362 re `greenback`
Tyler Goodlet
2023-10-18 15:01:04 -0400
fcc8cee9d3
._root: set a `_default_lo_addrs` and apply it when not provided by caller
Tyler Goodlet
2023-10-18 14:12:58 -0400
ca3f7a1b6b
Add a first serious inter-peer remote cancel suite
Tyler Goodlet
2023-10-18 13:59:08 -0400
87c1113de4
Always set default reg addr in `find_actor()` if not defined
Tyler Goodlet
2023-10-18 13:20:29 -0400
43b659dbe4
Tidy/clarify another `._runtime` comment
Tyler Goodlet
2023-10-18 13:19:34 -0400
63b1488ab6
Get mega-pedantic in `Portal.open_context()`
Tyler Goodlet
2023-10-17 17:22:57 -0400
7eb31f3fea
Runtime import `.get_root()` in stdin hijacker to avoid import cycle
Tyler Goodlet
2023-10-17 16:52:31 -0400
534e5d150d
Drop `msg` kwarg from `Context.cancel()`
Tyler Goodlet
2023-10-17 15:30:16 -0400
e4a6223256
`._exceptions`: typing and error unpacking updates
Tyler Goodlet
2023-10-16 16:23:30 -0400