Commit Graph

  • 4e53605dd4 Comment hard-kill-sidestep for now since nursery version covers it? Tyler Goodlet 2021-06-30 08:44:28 -0400
  • ecefca8756 Go back to only logging crashes if no pdb gets engaged Tyler Goodlet 2021-06-29 15:55:03 -0400
  • 900f04a31d Solve the root-cancels-child-in-tty-lock race Tyler Goodlet 2021-06-29 15:15:32 -0400
  • 9fa451fdd3 Always shield cancel the caller on cancel-causing-errors, add teardown logging Tyler Goodlet 2021-06-28 00:18:28 -0400
  • 4d0c5f04c6 Distinguish between a local pdb unlock and the tty unlock in root Tyler Goodlet 2021-06-27 11:59:21 -0400
  • ec918ad4bd First try: pack cancelled tracebacks and ship to caller Tyler Goodlet 2021-06-27 11:37:35 -0400
  • a257f5b49d Add temp warning msg for context cancel call Tyler Goodlet 2021-06-27 00:46:36 -0400
  • b414d7b8ba Add some brief todo notes on idea of shielded breakpoint Tyler Goodlet 2021-06-27 00:45:59 -0400
  • 119cf6d9fc Fix hard kill in debug mode; only do it when debug lock is empty Tyler Goodlet 2021-06-25 20:52:08 -0400
  • 0629a72269 Move some infos to runtime level Tyler Goodlet 2021-06-26 23:35:59 -0400
  • 3c21210d8b Add PDB level and make runtime below info but above debug Tyler Goodlet 2021-06-26 16:44:33 -0400
  • 6bbc51a147 Consider relaying context error via raised-in-scope-nursery task Tyler Goodlet 2021-06-24 19:56:05 -0400
  • c8eb49147f Move debugger wait inside OCA nursery stdstream_clobber_fix Tyler Goodlet 2021-06-10 14:02:12 -0400
  • 308adce35c Don't shield debugger status wait; it causes hangs Tyler Goodlet 2021-06-02 08:24:59 -0400
  • ecc7c9d346 Catch and delay errors in the root if debugger is active Tyler Goodlet 2021-05-30 11:33:08 -0400
  • cdddf54b1d Don't shield on root cancel it can causes hangs Tyler Goodlet 2021-05-30 11:32:33 -0400
  • 1335a6f043 Experiment: only disable SIGINT handling in children Tyler Goodlet 2021-05-25 09:20:58 -0400
  • 8d003c5116 Don't kill root's immediate children when in debug Tyler Goodlet 2021-05-10 07:47:38 -0400
  • 6d05de6a0c Add debug example that causes pdb stdin clobbering Tyler Goodlet 2021-05-10 07:46:16 -0400
  • 0118931229 Add a specially handled `ContextCancelled` error Tyler Goodlet 2021-06-13 18:01:49 -0400
  • a1603709ab Set stream "end of channel" after shielded check! bistream_backup Tyler Goodlet 2021-06-14 16:34:44 -0400
  • 78b4eef7ee Don't clobber msg loop mem chan on rx stream close Tyler Goodlet 2021-06-14 13:30:09 -0400
  • 211fb07074 Modernize streaming tests Tyler Goodlet 2021-06-13 20:26:41 -0400
  • ae45b5ff1d Speedup the dynamic pubsub test Tyler Goodlet 2021-06-13 20:26:01 -0400
  • c542b915d6 Add detailed ``@tractor.context`` cancellation/termination tests Tyler Goodlet 2021-06-13 20:25:36 -0400
  • 6bd16749f0 Drop trailing comma Tyler Goodlet 2021-06-13 20:22:26 -0400
  • 8f468a8c86 Adjustments for non-frozen context dataclass change Tyler Goodlet 2021-06-13 20:21:49 -0400
  • 3fa36f64ac Wait for debugger lock task context termination Tyler Goodlet 2021-06-13 20:21:18 -0400
  • be39ff38e4 Fix exception typing Tyler Goodlet 2021-06-13 20:19:52 -0400
  • 9cd5d2d7b9 Explicitly formalize context/streaming teardown Tyler Goodlet 2021-06-13 19:58:52 -0400
  • 4601c88574 Specially raise a `ContextCancelled` for a task-context rpc Tyler Goodlet 2021-06-13 18:03:50 -0400
  • a1488a1773 Expose streaming components at top level Tyler Goodlet 2021-06-13 18:02:27 -0400
  • e058506a00 Add a specially handled `ContextCancelled` error Tyler Goodlet 2021-06-13 18:01:49 -0400
  • 19a23fefa9 Add a multi-task streaming test Tyler Goodlet 2021-06-10 14:00:09 -0400
  • 40ad00ce02 Avoid mutate on iterate race Tyler Goodlet 2021-06-10 13:59:08 -0400
  • b3caf846fc Only close recv chan if we get a ref Tyler Goodlet 2021-06-10 13:58:06 -0400
  • 40cb3585c1 Add error case Tyler Goodlet 2021-06-10 13:57:16 -0400
  • 88dbaff11b Support no arg to `Context.started()` like trio Tyler Goodlet 2021-05-25 09:19:07 -0400
  • 3e34f0a374 Fix up var naming and typing Tyler Goodlet 2021-05-12 12:01:43 -0400
  • 9e7bed646d Only send stop msg if not received from far end Tyler Goodlet 2021-05-11 23:42:34 -0400
  • 0b73a4b61e Expose msg stream types at top level Tyler Goodlet 2021-05-11 23:41:26 -0400
  • eb237f24cd Add dynamic pubsub test using new bidir stream apis Tyler Goodlet 2021-05-11 23:30:10 -0400
  • 83f1e79fdd Use context for remote debugger locking Tyler Goodlet 2021-05-10 07:25:55 -0400
  • 1192541623 Be more pedantic with error handling Tyler Goodlet 2021-05-10 07:23:39 -0400
  • 15b63b7190 Fix typing Tyler Goodlet 2021-05-07 11:52:08 -0400
  • c4d5f9d41e Parametrize with async for style tests Tyler Goodlet 2021-05-07 11:41:18 -0400
  • b7089bb4e0 Support passing `shield` at stream contruction Tyler Goodlet 2021-05-07 11:20:51 -0400
  • ecb9655519 Add basic test set Tyler Goodlet 2021-05-02 14:13:44 -0400
  • f98860a5e5 Cancel scope on stream consumer completion Tyler Goodlet 2021-05-02 14:13:23 -0400
  • 8c8a236799 Expose `@context` decorator at top level Tyler Goodlet 2021-05-02 14:12:35 -0400
  • 38ccbd0a9c Add initial bi-directional streaming Tyler Goodlet 2021-05-01 15:10:03 -0400
  • 85246d2df3 Benign deps reorg Tyler Goodlet 2021-07-02 11:56:14 -0400
  • b372f4c92b Handle top level multierror that presents now? Tyler Goodlet 2021-07-02 11:55:16 -0400
  • 32b4ae0603 Accept transport closed error during handshake and msg loop Tyler Goodlet 2021-07-01 07:44:03 -0400
  • 80e100f818 Add our own "transport closed" signal Tyler Goodlet 2021-06-24 18:49:51 -0400
  • acd955714f Add fast fail test using the context api transport_hardening Tyler Goodlet 2021-06-30 16:48:32 -0400
  • 7f84d9f048 Avoid mutate during interate error Tyler Goodlet 2021-06-30 13:52:31 -0400
  • fc831dbfd6 Expect context cancelled when we cancel Tyler Goodlet 2021-06-30 13:52:04 -0400
  • 084becc62f Adjust debug tests to accomodate no more root clobbering Tyler Goodlet 2021-06-30 13:49:56 -0400
  • f37d46585c Add pre-stream open error conditions Tyler Goodlet 2021-06-30 13:47:38 -0400
  • 669559380d Change trace to transport level Tyler Goodlet 2021-06-30 13:47:07 -0400
  • a5d27ebcf5 Flip "trace" level to "transport" level logging Tyler Goodlet 2021-06-30 09:07:21 -0400
  • 1084ca99bf Go back to only logging tbs on no debugger Tyler Goodlet 2021-06-30 08:45:43 -0400
  • e4d6810623 De-densify some code Tyler Goodlet 2021-06-30 08:45:09 -0400
  • 2556a568e7 Comment hard-kill-sidestep for now since nursery version covers it? Tyler Goodlet 2021-06-30 08:44:28 -0400
  • 6d72a4ef45 Go back to only logging crashes if no pdb gets engaged Tyler Goodlet 2021-06-29 15:55:03 -0400
  • f57cc66a7f Solve the root-cancels-child-in-tty-lock race Tyler Goodlet 2021-06-29 15:15:32 -0400
  • d3e508b7f7 Always shield cancel the caller on cancel-causing-errors, add teardown logging Tyler Goodlet 2021-06-28 00:18:28 -0400
  • 8663805042 Distinguish between a local pdb unlock and the tty unlock in root Tyler Goodlet 2021-06-27 11:59:21 -0400
  • 9ddb636452 First try: pack cancelled tracebacks and ship to caller Tyler Goodlet 2021-06-27 11:37:35 -0400
  • 210dfdf70f Add temp warning msg for context cancel call Tyler Goodlet 2021-06-27 00:46:36 -0400
  • 31733b80f0 Add some brief todo notes on idea of shielded breakpoint Tyler Goodlet 2021-06-27 00:45:59 -0400
  • 5983c08218 Fix hard kill in debug mode; only do it when debug lock is empty Tyler Goodlet 2021-06-25 20:52:08 -0400
  • 93dedefd1f Move some infos to runtime level Tyler Goodlet 2021-06-26 23:35:59 -0400
  • 5936e8e2b9 Add PDB level and make runtime below info but above debug Tyler Goodlet 2021-06-26 16:44:33 -0400
  • 378c8cee52 Consider relaying context error via raised-in-scope-nursery task Tyler Goodlet 2021-06-24 19:56:05 -0400
  • 2f804a977c Move debugger wait inside OCA nursery Tyler Goodlet 2021-06-10 14:02:12 -0400
  • 6aa390f714 Don't shield debugger status wait; it causes hangs Tyler Goodlet 2021-06-02 08:24:59 -0400
  • 2bcab8b228 Catch and delay errors in the root if debugger is active Tyler Goodlet 2021-05-30 11:33:08 -0400
  • dc6fe3137c Don't shield on root cancel it can causes hangs Tyler Goodlet 2021-05-30 11:32:33 -0400
  • b02731ca75 Experiment: only disable SIGINT handling in children Tyler Goodlet 2021-05-25 09:20:58 -0400
  • e51ba27d01 Don't kill root's immediate children when in debug Tyler Goodlet 2021-05-10 07:47:38 -0400
  • 9f0fedea14 Add debug example that causes pdb stdin clobbering Tyler Goodlet 2021-05-10 07:46:16 -0400
  • e74e93f857 Add a specially handled `ContextCancelled` error Tyler Goodlet 2021-06-13 18:01:49 -0400
  • c92fc33b7c Set stream "end of channel" after shielded check! Tyler Goodlet 2021-06-14 16:34:44 -0400
  • 23dabb9502 Don't clobber msg loop mem chan on rx stream close Tyler Goodlet 2021-06-14 13:30:09 -0400
  • 9469a4b1d8 Modernize streaming tests Tyler Goodlet 2021-06-13 20:26:41 -0400
  • e2a556a0f7 Speedup the dynamic pubsub test Tyler Goodlet 2021-06-13 20:26:01 -0400
  • 11d471a4cd Add detailed ``@tractor.context`` cancellation/termination tests Tyler Goodlet 2021-06-13 20:25:36 -0400
  • b63ccf0007 Drop trailing comma Tyler Goodlet 2021-06-13 20:22:26 -0400
  • d896d84b28 Adjustments for non-frozen context dataclass change Tyler Goodlet 2021-06-13 20:21:49 -0400
  • fc8d02f963 Wait for debugger lock task context termination Tyler Goodlet 2021-06-13 20:21:18 -0400
  • 3b48f89056 Fix exception typing Tyler Goodlet 2021-06-13 20:19:52 -0400
  • a146034cb7 Explicitly formalize context/streaming teardown Tyler Goodlet 2021-06-13 19:58:52 -0400
  • 0e6f017929 Specially raise a `ContextCancelled` for a task-context rpc Tyler Goodlet 2021-06-13 18:03:50 -0400
  • 0d8a5506da Expose streaming components at top level Tyler Goodlet 2021-06-13 18:02:27 -0400
  • fed927d00f Add a specially handled `ContextCancelled` error Tyler Goodlet 2021-06-13 18:01:49 -0400
  • 1c7c9da99c Add a multi-task streaming test Tyler Goodlet 2021-06-10 14:00:09 -0400
  • b6dd58b1cf Avoid mutate on iterate race Tyler Goodlet 2021-06-10 13:59:08 -0400
  • 9b70f5d312 Only close recv chan if we get a ref Tyler Goodlet 2021-06-10 13:58:06 -0400