Enrich `pytestmark` in `test_inter_peer_cancellation`

- `skipon_spawn_backend('subint')`: expand reason with specific
  analysis doc refs + GH issue #379 umbrella link.
- add `track_orphaned_uds_per_test` fixture via `usefixtures` to
  blame-attribute UDS sock-file orphans left by SIGKILL cancel
  cascades.

(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
subint_forkserver_backend
Gud Boi 2026-05-13 12:28:17 -04:00
parent 75d5b4cf7b
commit 7d0a53d205
1 changed files with 24 additions and 8 deletions

View File

@ -26,14 +26,30 @@ from tractor._testing import (
from .conftest import cpu_scaling_factor from .conftest import cpu_scaling_factor
pytestmark = pytest.mark.skipon_spawn_backend( pytestmark = [
'subint', pytest.mark.skipon_spawn_backend(
reason=( 'subint',
'XXX SUBINT GIL-CONTENTION HANGING TEST XXX\n' reason=(
'See oustanding issue(s)\n' 'XXX SUBINT GIL-CONTENTION HANGING TEST XXX\n'
# TODO, put issue link! 'Inter-peer cancel cascades under '
) '`--spawn-backend=subint` trip the abandoned-subint '
) 'GIL-hostage class — see\n'
' - `ai/conc-anal/subint_sigint_starvation_issue.md` '
'(GIL-hostage, SIGINT-unresponsive)\n'
' - `ai/conc-anal/subint_cancel_delivery_hang_issue.md` '
'(sibling: parent parks on dead chan)\n'
' - https://github.com/goodboy/tractor/issues/379 '
'(subint umbrella)\n'
)
),
# NOTE, inter-peer cancellation tests stress the
# multi-actor cancel cascade which under SIGKILL
# leaves UDS sock-files orphaned. Track per-test
# for blame attribution.
pytest.mark.usefixtures(
'track_orphaned_uds_per_test',
),
]
# XXX TODO cases: # XXX TODO cases:
# - [x] WE cancelled the peer and thus should not see any raised # - [x] WE cancelled the peer and thus should not see any raised