From 39458e013ab0f306cdfa45a52787d045353086f6 Mon Sep 17 00:00:00 2001 From: Vuong Hoang Date: Sat, 17 Oct 2026 07:53:30 -0700 Subject: [PATCH] fix(svos v0.0.14 playbook): terminal verify reads the ScanError line (svos-dev: scan:on is only on the signed /health) --- playbooks/svos-releases/nh3-dev-svos-3726d73-v0.0.14.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/svos-releases/nh3-dev-svos-3726d73-v0.0.14.yaml b/playbooks/svos-releases/nh3-dev-svos-3726d73-v0.0.14.yaml index f3f9403..4b804f2 100644 --- a/playbooks/svos-releases/nh3-dev-svos-3726d73-v0.0.14.yaml +++ b/playbooks/svos-releases/nh3-dev-svos-3726d73-v0.0.14.yaml @@ -34,10 +34,10 @@ steps: pid=$(runuser -u lkraven -- env XDG_RUNTIME_DIR=/run/user/1000 systemctl --user show svos-terminal -p MainPID --value); grep -oE '/opt/svos/releases/[0-9a-f]+' /proc/$pid/maps | sort -u runuser -u lkraven -- env XDG_RUNTIME_DIR=/run/user/1000 journalctl --user -u svos-terminal --since "-60s" --no-pager -o cat | grep -i -E "scan|manifest|card|held|revision|error" | tail -8 | cut -c1-200 verify: - - name: Terminal runs 3726d73 and logged its scan table (its /health needs a signed request, so read the log) + - name: Terminal runs 3726d73 and its seat host loaded the scan table (svos-dev 0753 - scan:on rides only on the signed /health, so read the start log; a table that fails to load prints "Seat host unavailable (ScanError)") sudo: true shell: | pid=$(runuser -u lkraven -- env XDG_RUNTIME_DIR=/run/user/1000 systemctl --user show svos-terminal -p MainPID --value) grep -q /opt/svos/releases/3726d73 /proc/$pid/maps && echo "terminal pid $pid on 3726d73" - runuser -u lkraven -- env XDG_RUNTIME_DIR=/run/user/1000 journalctl --user -u svos-terminal --since "-5min" --no-pager -o cat | grep -i scan | tail -3 + ! runuser -u lkraven -- env XDG_RUNTIME_DIR=/run/user/1000 journalctl --user -u svos-terminal --since "-5min" --no-pager -o cat | grep -i "Seat host unavailable" changed_when: "false"