Skip to content

The agent that grows with you

test(kanban): gate strace recovery probe on Linux and strace availability

Teknium5590792d0dfe
diff --git a/tests/gateway/test_kanban_recovery.py b/tests/gateway/test_kanban_recovery.py
index b638f7c9afe..20614d94fe8 100644
--- a/tests/gateway/test_kanban_recovery.py
+++ b/tests/gateway/test_kanban_recovery.py
@@ -2,12 +2,17 @@
import json
import os
from pathlib import Path
+import shutil
import subprocess
import sys
import pytest
+# The probe traces the transport client's opens with strace (Linux-only tool, Linux openat
+# flags); without it the probe cannot prove the client never opens state.db writable.
[email protected](shutil.which('strace') is None, reason='requires strace on PATH')
@pytest.mark.parametrize('mode', ['custom', 'cross_profile', 'restart'])
def test_owner_board_recovery(tmp_path, mode):
repo = Path(__file__).resolve().parents[2]