Candidate on base a3f6e9e6: tasks takes filters and paging, list_tasks and get_task,
a 40000-character reply cap with compact JSON, and the built-in tools line per harness.
Gate and 34 mutants in the packet.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
19 lines
918 B
Bash
Executable File
19 lines
918 B
Bash
Executable File
#!/bin/bash
|
||
# Row 89 gate: sequential, in the candidate worktree, output teed per suite.
|
||
cd $HOME/dewey-scratch/r89 || exit 9
|
||
export TMPDIR=$HOME/dewey-scratch/tmp
|
||
OUT=$HOME/dewey-scratch/r89-out/gate
|
||
mkdir -p $OUT
|
||
S=$OUT/../gate-summary.txt
|
||
echo "start $(date -u +%Y-%m-%dT%H:%M:%SZ) HEAD-base $(git rev-parse HEAD)" > $S
|
||
for p in bus harness webui cli tasks control-board; do
|
||
node --test "packages/$p/tests/*.test.mjs" > $OUT/node-$p.log 2>&1; rc=$?
|
||
echo "node $p rc=$rc $(grep -E '^ℹ (tests|pass|fail)' $OUT/node-$p.log | tr '\n' ' ')" >> $S
|
||
done
|
||
for f in scripts/test-*.sh; do
|
||
n=$(basename $f .sh)
|
||
if [ "$n" = test-task ]; then DOCKER_HOST=unix:///nonexistent bash $f > $OUT/$n.log 2>&1; else bash $f > $OUT/$n.log 2>&1; fi; rc=$?
|
||
echo "$n rc=$rc $(grep -iE '[0-9]+ (passed|failed)|pass(ed)?:|fail(ed)?:' $OUT/$n.log | tail -2 | tr '\n' ' ')" >> $S
|
||
done
|
||
echo "end $(date -u +%Y-%m-%dT%H:%M:%SZ)" >> $S
|