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.ymlindex e2c57ff2bf..584d8a2ef2 100644--- a/.github/workflows/native-locks.yml+++ b/.github/workflows/native-locks.yml@@ -119,7 +119,7 @@ jobs:sleep 1doneecho "::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 -efif command -v sample >/dev/null 2>&1; then sample "$pid" 3 2>&1 | head -200; fikill -TERM "$pid" 2>/dev/null; sleep 5; kill -KILL "$pid" 2>/dev/nullwait "$pid" 2>/dev/null