Broker send limits for the assistant (REQ-ASSIST-2, #1614): optional role
messaging lists, broker refusals logged both ways. Gate and 19 mutants green
on 85540a74e; patch applies to 9f1c14e57.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
15 lines
792 B
Bash
Executable File
15 lines
792 B
Bash
Executable File
#!/usr/bin/env bash
|
||
# Row 120 (#1614): the targeted gate (decision 136), run in the given worktree, every output teed to <outdir>.
|
||
# Usage: suites.sh <worktree> <outdir>
|
||
set -u -o pipefail
|
||
WT=$(cd "$1" && pwd); OUT=$(mkdir -p "$2" && cd "$2" && pwd)
|
||
cd "$WT" || exit 2
|
||
node_suite() { # name dir
|
||
setsid -w timeout -k 10 900 node --test "$2"/tests/*.test.mjs 2>&1 | tee "$OUT/$1.txt" >/dev/null
|
||
echo "$1: rc=${PIPESTATUS[0]} $(grep -E '^ℹ (tests|pass|fail) ' "$OUT/$1.txt" | tr '\n' ' ')"
|
||
}
|
||
for d in business bus harness cli webui tasks conversation seat; do node_suite $d packages/$d; done
|
||
setsid -w timeout -k 10 1200 bash scripts/test-task.sh 2>&1 | tee "$OUT/test-task.txt" >/dev/null
|
||
echo "test-task: rc=${PIPESTATUS[0]} $(grep -E 'passed' "$OUT/test-task.txt" | tail -1)"
|
||
echo done
|