Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

ci(native-locks): print the whole process table on a stall (shellcheck SC2009)

garrytand1752341c39f
diff --git a/.github/workflows/native-locks.yml b/.github/workflows/native-locks.yml
index e2c57ff2bf..584d8a2ef2 100644
--- a/.github/workflows/native-locks.yml
+++ b/.github/workflows/native-locks.yml
@@ -119,7 +119,7 @@ jobs:
sleep 1
done
echo "::error::$1 was still running after $bound_s s (it normally takes under 60 s); process table and stack sample follow, then it is killed"
- ps -A -o pid,ppid,stat,etime,command 2>/dev/null | grep -E 'bun|git' | grep -v grep || ps -ef
+ ps -A -o pid,ppid,stat,etime,command 2>/dev/null || ps -ef
if command -v sample >/dev/null 2>&1; then sample "$pid" 3 2>&1 | head -200; fi
kill -TERM "$pid" 2>/dev/null; sleep 5; kill -KILL "$pid" 2>/dev/null
wait "$pid" 2>/dev/null