tractor/examples/debugging
Gud Boi c797bcb783 Address Copilot review nits on PR #462
All 5 flagged items were valid (4 real bugs + 1 dead assert),

- fix an inverted `sys.version_info < (3, 14)` guard in
  `ipc._linux` — the "`cffi` has no 3.14 support" import note now
  fires on 3.14+ (where it applies) instead of on older pys.
- use `os.environ.get('PYTHON_COLORS')` in the `sync_bp` example
  so it doesn't `KeyError` when run outside the test harness.
- correct `dump_task_tree()`'s docstring: the `/tmp` + `/dev/tty`
  tee is gated on `write_file`/`write_tty`, not "unconditional".
- tidy the `ActorTooSlowError` message spacing in `cancel_actor`.
- replace a tautological `applied is True or applied is False` in
  `test_patches` with `isinstance(applied, bool)` (the value is
  order-dependent across the module).

Review: PR #462 (copilot-pull-request-reviewer)
https://github.com/goodboy/tractor/pull/462#pullrequestreview-4527179852

(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
2026-06-18 13:37:55 -04:00
..
asyncio_bp.py Swap `open_channel_from()` to yield `(chan, first)` 2026-03-13 19:28:57 -04:00
debug_mode_hang.py
fast_error_in_root_after_spawn.py Update tests+examples imports for new subpkgs 2026-04-02 17:59:13 -04:00
multi_daemon_subactors.py Update debug examples + harden `test_debugger` 2026-06-17 17:39:44 -04:00
multi_nested_subactors_error_up_through_nurseries.py Update debug examples + harden `test_debugger` 2026-06-17 17:39:44 -04:00
multi_subactor_root_errors.py
multi_subactors.py
open_ctx_modnofound.py
per_actor_debug.py
pm_in_subactor.py
restore_builtin_breakpoint.py
root_actor_breakpoint.py
root_actor_breakpoint_forever.py
root_actor_error.py
root_cancelled_but_child_is_in_tty_lock.py Update debug examples + harden `test_debugger` 2026-06-17 17:39:44 -04:00
root_self_cancelled_w_error.py Add a root-already-cancelled crash handling test 2025-08-20 10:18:52 -04:00
root_timeout_while_child_crashed.py Update debug examples + harden `test_debugger` 2026-06-17 17:39:44 -04:00
shield_hang_in_sub.py Fix `SIGUSR1` tree-dump ordering in `_stackscope` 2026-06-17 17:39:44 -04:00
shielded_pause.py
subactor_bp_in_ctx.py Update debug examples + harden `test_debugger` 2026-06-17 17:39:44 -04:00
subactor_breakpoint.py
subactor_error.py Update debug examples + harden `test_debugger` 2026-06-17 17:39:44 -04:00
sync_bp.py Address Copilot review nits on PR #462 2026-06-18 13:37:55 -04:00