2.1 KiB
Human instruction
sounds good lfg!
Purpose summary: the user approved the shielded-child/stalled-IPC followup after the six-case draft was committed. This is a summary of the surrounding context, not a verbatim implementation prompt.
Generated code pointers
git diff 68e9c49f -- examples/advanced_faults/ipc_stalls.py
Added stalled_context_with_shielded_peer. probe_peer() enters its child-only inner shield before Context.started(), publishes shield readiness, and observes Actor._cancel_called plus pending outer Context._scope cancellation while its own shield remains uncancelled. It then remains blocked until runtime hard-killing. root_main() parks both OOB context directions and completes a separate subactor control RPC before publishing root readiness.
git diff 68e9c49f -- tests/test_ipc_stalls.py
Added the seventh parameter and explicit CASE documentation. Require shield entry before SIGINT, child-side pending-cancel evidence afterward, finite cancel-ack timeout diagnostics, runtime hard-reap diagnostics, SIGKILL status, and existing parent waitpid proof. Watchdog rescue cannot satisfy the assertions.
Unedited verification output
....... [100%]
7 passed in 14.21s
. [100%]
=============================== warnings summary ===============================
../ib_disconnect_cleanup/py313/lib/python3.13/site-packages/_pytest/config/__init__.py:864
/home/goodboy/repos/tractor/wkts/ib_disconnect_cleanup/py313/lib/python3.13/site-packages/_pytest/config/__init__.py:864: PytestAssertRewriteWarning: Module already imported so cannot be rewritten; tractor._testing.pytest
self.import_plugin(arg, consider_entry_points=True)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
1 passed, 1 warning in 2.65s