Commit Graph

  • 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
  • 6aab16f877 Drop added logging around root cancel Tyler Goodlet 2021-07-04 11:00:08 -0400
  • caa70245e0 Try remapping all broken errs wholesale on windows Tyler Goodlet 2021-07-04 10:47:15 -0400
  • 9c9309faf8 Handle race for tty by child actors Tyler Goodlet 2021-07-04 10:25:41 -0400
  • 3f75732b02 Remap windows specific connection reset error Tyler Goodlet 2021-07-04 10:25:19 -0400
  • 1edf5c2f06 Specially remap TCP 104-connection-reset to `TransportClosed` Tyler Goodlet 2021-07-03 18:57:54 -0400
  • a2d400583f Fix tuple type Tyler Goodlet 2021-07-02 18:10:06 -0400
  • dca0378598 Avoid mutate during interate error context_finesse Tyler Goodlet 2021-06-30 13:52:31 -0400
  • e09dacc2bb Expect context cancelled when we cancel Tyler Goodlet 2021-06-30 13:52:04 -0400
  • aa6902fcfc Add pre-stream open error conditions Tyler Goodlet 2021-06-30 13:47:38 -0400
  • 477d0bc697 De-densify some code Tyler Goodlet 2021-06-30 08:45:09 -0400
  • 9d302069f3 Always shield cancel the caller on cancel-causing-errors, add teardown logging Tyler Goodlet 2021-06-28 00:18:28 -0400
  • d00e2ca573 First try: pack cancelled tracebacks and ship to caller Tyler Goodlet 2021-06-27 11:37:35 -0400
  • 25679ae22d Add temp warning msg for context cancel call Tyler Goodlet 2021-06-27 00:46:36 -0400
  • 2b3cb042c6 Add some brief todo notes on idea of shielded breakpoint Tyler Goodlet 2021-06-27 00:45:59 -0400
  • 807c1d71a2 Consider relaying context error via raised-in-scope-nursery task Tyler Goodlet 2021-06-24 19:56:05 -0400
  • fd7a2d378a Avoid mutate during interate error cf_backup Tyler Goodlet 2021-06-30 13:52:31 -0400
  • 4bd583786a Expect context cancelled when we cancel Tyler Goodlet 2021-06-30 13:52:04 -0400
  • 06ad9c10b6 Add pre-stream open error conditions Tyler Goodlet 2021-06-30 13:47:38 -0400
  • 8d7eacdc02 De-densify some code Tyler Goodlet 2021-06-30 08:45:09 -0400
  • c2f6c39f8f Always shield cancel the caller on cancel-causing-errors, add teardown logging Tyler Goodlet 2021-06-28 00:18:28 -0400
  • a602de02a9 First try: pack cancelled tracebacks and ship to caller Tyler Goodlet 2021-06-27 11:37:35 -0400
  • df3ceffc77 Add temp warning msg for context cancel call Tyler Goodlet 2021-06-27 00:46:36 -0400
  • 94fd6e5857 Add some brief todo notes on idea of shielded breakpoint Tyler Goodlet 2021-06-27 00:45:59 -0400
  • 589d16dd95 Consider relaying context error via raised-in-scope-nursery task Tyler Goodlet 2021-06-24 19:56:05 -0400
  • aace4eae5f Change trace to transport level db_backup Tyler Goodlet 2021-06-30 13:47:07 -0400
  • 62a81a7e73 Flip "trace" level to "transport" level logging Tyler Goodlet 2021-06-30 09:07:21 -0400
  • bd71e49f89 Add fast fail test using the context api Tyler Goodlet 2021-06-30 16:48:32 -0400
  • 340d1f6182 Adjust debug tests to accomodate no more root clobbering Tyler Goodlet 2021-06-30 13:49:56 -0400
  • 3483ed4e6f Go back to only logging tbs on no debugger Tyler Goodlet 2021-06-30 08:45:43 -0400
  • 2f5dc0783f Comment hard-kill-sidestep for now since nursery version covers it? Tyler Goodlet 2021-06-30 08:44:28 -0400
  • a06e9d2a9e Go back to only logging crashes if no pdb gets engaged Tyler Goodlet 2021-06-29 15:55:03 -0400
  • 3b3abe101c Solve the root-cancels-child-in-tty-lock race Tyler Goodlet 2021-06-29 15:15:32 -0400
  • 018e138461 Distinguish between a local pdb unlock and the tty unlock in root Tyler Goodlet 2021-06-27 11:59:21 -0400
  • 84358e7443 Fix hard kill in debug mode; only do it when debug lock is empty Tyler Goodlet 2021-06-25 20:52:08 -0400
  • 34234fb4fc Move some infos to runtime level Tyler Goodlet 2021-06-26 23:35:59 -0400
  • ea6c2504c5 Add PDB level and make runtime below info but above debug Tyler Goodlet 2021-06-26 16:44:33 -0400
  • b1f13a7002 Move debugger wait inside OCA nursery Tyler Goodlet 2021-06-10 14:02:12 -0400
  • 8b19c9ff6e Don't shield debugger status wait; it causes hangs Tyler Goodlet 2021-06-02 08:24:59 -0400
  • 5f1efd9eae Catch and delay errors in the root if debugger is active Tyler Goodlet 2021-05-30 11:33:08 -0400
  • bd189f75cc Don't shield on root cancel it can causes hangs Tyler Goodlet 2021-05-30 11:32:33 -0400
  • 01208739ff Don't kill root's immediate children when in debug Tyler Goodlet 2021-05-10 07:47:38 -0400
  • 6f19fa3107 Add debug example that causes pdb stdin clobbering Tyler Goodlet 2021-05-10 07:46:16 -0400
  • 051ea3f99d Proxy asyncio cancelleds as well pre_bad_close Tyler Goodlet 2021-05-11 23:43:33 -0400
  • 40984b9f0e Power of 2 cuz puters Tyler Goodlet 2021-05-11 23:43:06 -0400
  • 93ffffc047 Don't kill root's immediate children when in debug Tyler Goodlet 2021-05-10 07:47:38 -0400
  • 45b1a834b0 WIP redo asyncio async gen streaming Tyler Goodlet 2021-04-27 12:20:33 -0400
  • ad98a5a2df Support asyncio actors with the trio spawner backend Tyler Goodlet 2020-07-27 11:03:17 -0400
  • 625def2260 Support sync code breakpointing via built-in Tyler Goodlet 2021-02-15 19:23:53 -0500
  • b08107ada5 Support asyncio actors with the trio spawner backend Tyler Goodlet 2020-07-27 11:03:17 -0400
  • 3353e09978 Export portal type at top level Tyler Goodlet 2021-05-25 09:17:53 -0400
  • 34b6360477 Link to SC on wikipedia Tyler Goodlet 2021-03-11 10:07:59 -0500
  • 8d9c945487 Add per actor debug mode toggle Tyler Goodlet 2021-03-11 10:07:39 -0500
  • adeee08d03 Support sync code breakpointing via built-in Tyler Goodlet 2021-02-15 19:23:53 -0500
  • d2ba860269 Pass func refs Tyler Goodlet 2020-12-21 21:08:53 -0500
  • 95ad393042 Add initial infected asyncio error propagation test Tyler Goodlet 2020-12-10 13:49:11 -0500
  • bdb4b3a050 Raise any asyncio errors if in trio task on cancel Tyler Goodlet 2020-12-10 13:48:40 -0500
  • 5aa5c4a253 Raise from asyncio error; fixes mypy Tyler Goodlet 2020-10-14 12:51:41 -0400
  • 0f505bd6dd Tweak log msg Tyler Goodlet 2020-09-24 10:15:29 -0400
  • d6f638c5f3 Log error Tyler Goodlet 2020-09-12 11:41:17 -0400
  • bf0d758662 Support asyncio actors with the trio spawner backend Tyler Goodlet 2020-07-27 11:03:17 -0400
  • 963dd54573 Revert removal of `infect_asyncio` in nursery start methods Tyler Goodlet 2020-07-26 00:35:41 -0400
  • 6408b419a7 Attempt to make mypy happy.. Tyler Goodlet 2020-07-21 10:32:37 -0400
  • be9d76ed38 Add an obnoxious error message on internal failures Tyler Goodlet 2020-07-20 16:06:50 -0400
  • eb0cff4769 Wow, fix all the broken async func invoking code.. Tyler Goodlet 2020-07-03 17:33:46 -0400
  • 19dec873ad Drop entrypoints from `Actor` Tyler Goodlet 2020-07-03 17:05:38 -0400
  • 1172cffd46 Move asyncio guest mode entrypoint to `to_asyncio` Tyler Goodlet 2020-07-01 13:38:40 -0400
  • 1ba8a82dc6 Propagate any spawned `asyncio` task error upwards Tyler Goodlet 2020-06-28 22:44:16 -0400
  • 230c5a87f8 Add a @pub kwarg to allow specifying a "startup response message" Tyler Goodlet 2021-01-24 11:49:00 -0500
  • 8df10c2257 Add fast fail test using the context api Tyler Goodlet 2021-06-30 16:48:32 -0400
  • 2828b97f5a Avoid mutate during interate error Tyler Goodlet 2021-06-30 13:52:31 -0400
  • 4e102edc0e Expect context cancelled when we cancel Tyler Goodlet 2021-06-30 13:52:04 -0400
  • f732ea255e Adjust debug tests to accomodate no more root clobbering Tyler Goodlet 2021-06-30 13:49:56 -0400
  • 3a52feca74 Add pre-stream open error conditions Tyler Goodlet 2021-06-30 13:47:38 -0400
  • ff0226cd22 Change trace to transport level Tyler Goodlet 2021-06-30 13:47:07 -0400
  • adbde4a2c1 Flip "trace" level to "transport" level logging Tyler Goodlet 2021-06-30 09:07:21 -0400
  • e359109231 Go back to only logging tbs on no debugger Tyler Goodlet 2021-06-30 08:45:43 -0400
  • b87afa5e8b De-densify some code Tyler Goodlet 2021-06-30 08:45:09 -0400