Commit Graph

  • 1ec1743c48 Fix hard kill in debug mode; only do it when debug lock is empty Tyler Goodlet 2021-06-25 20:52:08 -0400
  • 3412d344e2 Move some infos to runtime level Tyler Goodlet 2021-06-26 23:35:59 -0400
  • 780476541a Add PDB level and make runtime below info but above debug Tyler Goodlet 2021-06-26 16:44:33 -0400
  • ef4dbdcf85 Move debugger wait inside OCA nursery Tyler Goodlet 2021-06-10 14:02:12 -0400
  • da9a33bf37 Don't shield debugger status wait; it causes hangs Tyler Goodlet 2021-06-02 08:24:59 -0400
  • 11f8d14e38 Catch and delay errors in the root if debugger is active Tyler Goodlet 2021-05-30 11:33:08 -0400
  • 65aa1f3e2a Don't shield on root cancel it can causes hangs Tyler Goodlet 2021-05-30 11:32:33 -0400
  • 625fc87410 Don't kill root's immediate children when in debug Tyler Goodlet 2021-05-10 07:47:38 -0400
  • 8cc41090dd Add debug example that causes pdb stdin clobbering Tyler Goodlet 2021-05-10 07:46:16 -0400
  • cb1e208599 Add some brief todo notes on idea of shielded breakpoint Tyler Goodlet 2021-06-27 00:45:59 -0400
  • 53d25b58a1 Wait for debugger lock task context termination Tyler Goodlet 2021-06-13 20:21:18 -0400
  • 9729f66672 Avoid mutate on iterate race Tyler Goodlet 2021-06-10 13:59:08 -0400
  • a5848effa4 Fix up var naming and typing Tyler Goodlet 2021-05-12 12:01:43 -0400
  • f59bb1aaf1 Use context for remote debugger locking Tyler Goodlet 2021-05-10 07:25:55 -0400
  • 88860cc288 Drop bad .close() call infect_asyncio_backup Tyler Goodlet 2021-06-02 08:22:51 -0400
  • 7d67f54ae8 Proxy asyncio cancelleds as well Tyler Goodlet 2021-05-11 23:43:33 -0400
  • e14521f3b7 Power of 2 cuz puters Tyler Goodlet 2021-05-11 23:43:06 -0400
  • 02fbe9721b Don't kill root's immediate children when in debug Tyler Goodlet 2021-05-10 07:47:38 -0400
  • 7cc25fc99f WIP redo asyncio async gen streaming Tyler Goodlet 2021-04-27 12:20:33 -0400
  • de3a6b9f09 Support asyncio actors with the trio spawner backend Tyler Goodlet 2020-07-27 11:03:17 -0400
  • 5968f60103 Support sync code breakpointing via built-in Tyler Goodlet 2021-02-15 19:23:53 -0500
  • ad11d0eef5 Support asyncio actors with the trio spawner backend Tyler Goodlet 2020-07-27 11:03:17 -0400
  • 7e2325d999 Export portal type at top level Tyler Goodlet 2021-05-25 09:17:53 -0400
  • 77c5ee5c04 Link to SC on wikipedia Tyler Goodlet 2021-03-11 10:07:59 -0500
  • c8ca7e0c61 Add per actor debug mode toggle Tyler Goodlet 2021-03-11 10:07:39 -0500
  • 3a84f8a8b5 Support sync code breakpointing via built-in Tyler Goodlet 2021-02-15 19:23:53 -0500
  • 863617d451 Pass func refs Tyler Goodlet 2020-12-21 21:08:53 -0500
  • e0ae1608ac Add initial infected asyncio error propagation test Tyler Goodlet 2020-12-10 13:49:11 -0500
  • 58bff71a41 Raise any asyncio errors if in trio task on cancel Tyler Goodlet 2020-12-10 13:48:40 -0500
  • 1ecfe7d95b Raise from asyncio error; fixes mypy Tyler Goodlet 2020-10-14 12:51:41 -0400
  • d25049ca6b Tweak log msg Tyler Goodlet 2020-09-24 10:15:29 -0400
  • 2f7de85ca7 Log error Tyler Goodlet 2020-09-12 11:41:17 -0400
  • d55bed0b50 Support asyncio actors with the trio spawner backend Tyler Goodlet 2020-07-27 11:03:17 -0400
  • 37693f65f1 Revert removal of `infect_asyncio` in nursery start methods Tyler Goodlet 2020-07-26 00:35:41 -0400
  • 50ceceb1d6 Attempt to make mypy happy.. Tyler Goodlet 2020-07-21 10:32:37 -0400
  • 53e04a01a9 Add an obnoxious error message on internal failures Tyler Goodlet 2020-07-20 16:06:50 -0400
  • c3484f83f0 Wow, fix all the broken async func invoking code.. Tyler Goodlet 2020-07-03 17:33:46 -0400
  • f32d3e1464 Drop entrypoints from `Actor` Tyler Goodlet 2020-07-03 17:05:38 -0400
  • e77f5dcdfa Move asyncio guest mode entrypoint to `to_asyncio` Tyler Goodlet 2020-07-01 13:38:40 -0400
  • 4df633f30e Propagate any spawned `asyncio` task error upwards Tyler Goodlet 2020-06-28 22:44:16 -0400
  • b733443739 Add a @pub kwarg to allow specifying a "startup response message" Tyler Goodlet 2021-01-24 11:49:00 -0500
  • 57de0d6b7b Change trace to transport level debugger_hardening Tyler Goodlet 2021-06-30 13:47:07 -0400
  • 2dd7c064d3 Flip "trace" level to "transport" level logging Tyler Goodlet 2021-06-30 09:07:21 -0400
  • 72a40e82cc Add fast fail test using the context api Tyler Goodlet 2021-06-30 16:48:32 -0400
  • f2a1064b17 Adjust debug tests to accomodate no more root clobbering Tyler Goodlet 2021-06-30 13:49:56 -0400
  • 20b91e2653 Go back to only logging tbs on no debugger Tyler Goodlet 2021-06-30 08:45:43 -0400
  • 29cd0cfc63 Comment hard-kill-sidestep for now since nursery version covers it? Tyler Goodlet 2021-06-30 08:44:28 -0400
  • 668d785f74 Go back to only logging crashes if no pdb gets engaged Tyler Goodlet 2021-06-29 15:55:03 -0400
  • 4800dfe12e Solve the root-cancels-child-in-tty-lock race Tyler Goodlet 2021-06-29 15:15:32 -0400
  • b83bf062e7 Distinguish between a local pdb unlock and the tty unlock in root Tyler Goodlet 2021-06-27 11:59:21 -0400
  • 988574a456 Fix hard kill in debug mode; only do it when debug lock is empty Tyler Goodlet 2021-06-25 20:52:08 -0400
  • 7ecad76adf Move some infos to runtime level Tyler Goodlet 2021-06-26 23:35:59 -0400
  • f75fe17569 Add PDB level and make runtime below info but above debug Tyler Goodlet 2021-06-26 16:44:33 -0400
  • 13077cbdf2 Move debugger wait inside OCA nursery Tyler Goodlet 2021-06-10 14:02:12 -0400
  • e03d3c9fa8 Don't shield debugger status wait; it causes hangs Tyler Goodlet 2021-06-02 08:24:59 -0400
  • c74c2956e4 Catch and delay errors in the root if debugger is active Tyler Goodlet 2021-05-30 11:33:08 -0400
  • 2b4cf6157a Don't shield on root cancel it can causes hangs Tyler Goodlet 2021-05-30 11:32:33 -0400
  • 9f1f956902 Don't kill root's immediate children when in debug Tyler Goodlet 2021-05-10 07:47:38 -0400
  • fcd73568a6 Add debug example that causes pdb stdin clobbering Tyler Goodlet 2021-05-10 07:46:16 -0400
  • e1533d35dc Avoid mutate during interate error bi_streaming Tyler Goodlet 2021-06-30 13:52:31 -0400
  • 8371621e57 Expect context cancelled when we cancel Tyler Goodlet 2021-06-30 13:52:04 -0400
  • 377b8c163c Add pre-stream open error conditions Tyler Goodlet 2021-06-30 13:47:38 -0400
  • 6e75913480 De-densify some code Tyler Goodlet 2021-06-30 08:45:09 -0400
  • 6f22ee8621 Always shield cancel the caller on cancel-causing-errors, add teardown logging Tyler Goodlet 2021-06-28 00:18:28 -0400
  • 17fca76865 First try: pack cancelled tracebacks and ship to caller Tyler Goodlet 2021-06-27 11:37:35 -0400
  • 627f1076d6 Add temp warning msg for context cancel call Tyler Goodlet 2021-06-27 00:46:36 -0400
  • ced5d42cd4 Add some brief todo notes on idea of shielded breakpoint Tyler Goodlet 2021-06-27 00:45:59 -0400
  • 17dc6aaa2d Consider relaying context error via raised-in-scope-nursery task Tyler Goodlet 2021-06-24 19:56:05 -0400
  • 288e2b5db1 Set stream "end of channel" after shielded check! Tyler Goodlet 2021-06-14 16:34:44 -0400
  • 59c8f72952 Don't clobber msg loop mem chan on rx stream close Tyler Goodlet 2021-06-14 13:30:09 -0400
  • 197d291ba8 Modernize streaming tests Tyler Goodlet 2021-06-13 20:26:41 -0400
  • 43ce533dbf Speedup the dynamic pubsub test Tyler Goodlet 2021-06-13 20:26:01 -0400
  • f2b1ef3fc9 Add detailed ``@tractor.context`` cancellation/termination tests Tyler Goodlet 2021-06-13 20:25:36 -0400
  • 87f1af0d85 Drop trailing comma Tyler Goodlet 2021-06-13 20:22:26 -0400
  • 201392a586 Adjustments for non-frozen context dataclass change Tyler Goodlet 2021-06-13 20:21:49 -0400
  • 83c4b930dc Wait for debugger lock task context termination Tyler Goodlet 2021-06-13 20:21:18 -0400
  • 008314554c Fix exception typing Tyler Goodlet 2021-06-13 20:19:52 -0400
  • 0af58522a4 Explicitly formalize context/streaming teardown Tyler Goodlet 2021-06-13 19:58:52 -0400
  • f8e2d4007c Specially raise a `ContextCancelled` for a task-context rpc Tyler Goodlet 2021-06-13 18:03:50 -0400
  • 7069035f8b Expose streaming components at top level Tyler Goodlet 2021-06-13 18:02:27 -0400
  • 79c8b75b5d Add a specially handled `ContextCancelled` error Tyler Goodlet 2021-06-13 18:01:49 -0400
  • b3437dacbe Add a multi-task streaming test Tyler Goodlet 2021-06-10 14:00:09 -0400
  • 910df139ad Avoid mutate on iterate race Tyler Goodlet 2021-06-10 13:59:08 -0400
  • a4a6df5b5a Only close recv chan if we get a ref Tyler Goodlet 2021-06-10 13:58:06 -0400
  • 732b9fe63b Add error case Tyler Goodlet 2021-06-10 13:57:16 -0400
  • 8017e55b85 Support no arg to `Context.started()` like trio Tyler Goodlet 2021-05-25 09:19:07 -0400
  • 20e73c5ce7 Fix up var naming and typing Tyler Goodlet 2021-05-12 12:01:43 -0400
  • 18135b46f0 Only send stop msg if not received from far end Tyler Goodlet 2021-05-11 23:42:34 -0400
  • bebe26ce4b Expose msg stream types at top level Tyler Goodlet 2021-05-11 23:41:26 -0400
  • ddc6c85d60 Add dynamic pubsub test using new bidir stream apis Tyler Goodlet 2021-05-11 23:30:10 -0400
  • be022b8e2b Use context for remote debugger locking Tyler Goodlet 2021-05-10 07:25:55 -0400
  • d59e9edec8 Be more pedantic with error handling Tyler Goodlet 2021-05-10 07:23:39 -0400
  • 68d600d7ee Fix typing Tyler Goodlet 2021-05-07 11:52:08 -0400
  • 3f1adc0b6f Parametrize with async for style tests Tyler Goodlet 2021-05-07 11:41:18 -0400
  • ebf53157c0 Support passing `shield` at stream contruction Tyler Goodlet 2021-05-07 11:20:51 -0400
  • 3625a8cd56 Add basic test set Tyler Goodlet 2021-05-02 14:13:44 -0400
  • b706cd9d4d Cancel scope on stream consumer completion Tyler Goodlet 2021-05-02 14:13:23 -0400
  • babe62a511 Expose `@context` decorator at top level Tyler Goodlet 2021-05-02 14:12:35 -0400
  • 4371a0a898 Add initial bi-directional streaming Tyler Goodlet 2021-05-01 15:10:03 -0400
  • 55760b3fe0 Only expect further message in non-name-error first case transport_cleaning Tyler Goodlet 2021-07-04 12:55:36 -0400