Improve arm motion resilience and test isolation

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 19:43:42 +09:00
co-authored by Claude Opus 5.5
parent b5b9669b77
commit 300139949f
8 changed files with 63 additions and 25 deletions
+7
View File
@@ -27,6 +27,13 @@ def _guard(real):
socket.socket.connect = _guard(socket.socket.connect)
socket.socket.connect_ex = _guard(socket.socket.connect_ex)
# the running assistant's blocked-drive state (/dev/shm): a test must not read it (after a live STUCK, "look at that"
# became "go around" and the intents test failed, 2026-10-28)
from assistant import detour as _detour # noqa: E402
import tempfile as _tempfile # noqa: E402
from pathlib import Path as _Path # noqa: E402
_detour.STATE_FILE = _Path(_tempfile.mkdtemp()) / "lumi_stuck.json"
@atexit.register
def _report():