From 195d2f0ed4ce3551be6b596a86a7abb9b0ac60ab Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sat, 28 Jan 2023 18:12:03 -0500 Subject: [PATCH] Add nooz --- nooz/346.bugfix.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 nooz/346.bugfix.rst diff --git a/nooz/346.bugfix.rst b/nooz/346.bugfix.rst new file mode 100644 index 0000000..6ffe636 --- /dev/null +++ b/nooz/346.bugfix.rst @@ -0,0 +1,15 @@ +Fixes to ensure IPC (channel) breakage doesn't result in hung actor +trees; the zombie reaping and general supervision machinery will always +clean up and terminate. + +This includes not only the (mostly minor) fixes to solve these cases but +also a new extensive test suite in `test_advanced_faults.py` with an +accompanying highly configurable example module-script in +`examples/advanced_faults/ipc_failure_during_stream.py`. Tests ensure we +never get hang or zombies despite operating in debug mode and attempt to +simulate all possible IPC transport failure cases for a local-host actor +tree. + +Further we simplify `Context.open_stream.__aexit__()` to just call +`MsgStream.aclose()` directly more or less avoiding a pure duplicate +code path.