Files
stack/agents/darkwing/work/queue-58/out/gate/gate.sh
T
jason.woltjeandClaude Opus 5.5 7f92a1039b review(darkwing): row 58 round 1 packet, task priority and requirement on the bus read (#1547)
Candidate build.patch on ae428a54, manifest e63e4c4f. Gate on f2f2861b: bus 83,
tasks 71, webui 40, every scripts/test-*.sh exit 0. Mutants 16 of 17 killed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 17:23:08 -05:00

17 lines
920 B
Bash

#!/bin/bash
# Row 58 gate: the brief's suites (bus, tasks, webui) plus every scripts/test-*.sh, one at a time,
# in a detached worktree of the current HEAD with build.patch applied.
export TMPDIR=~/darkwing-scratch/r58/tmp
G=~/darkwing-scratch/r58/gate; O=~/darkwing-scratch/r58/out/gate; mkdir -p $O; rm -f $O/summary.txt; cd $G
# node_modules is a link to the main checkout's; test-discord needs node_modules/.bin/pi.
[ -x node_modules/.bin/pi ] || { echo "node_modules not linked" >> $O/summary.txt; exit 1; }
for s in bus tasks webui; do
env -u NODE_TEST_CONTEXT node --test "packages/$s/tests/*.test.mjs" > $O/$s-tests.log 2>&1; echo "$s rc=$?" >> $O/summary.txt
done
for s in scripts/test-*.sh; do
n=$(basename $s .sh)
if [ $n = test-task ]; then DOCKER_HOST=unix:///nonexistent bash $s > $O/$n.log 2>&1; else bash $s > $O/$n.log 2>&1; fi
echo "$n rc=$?" >> $O/summary.txt
done
echo DONE >> $O/summary.txt