Candidate manifest sha256 710d50866e77055b7231a53e3601bd2bab7686b722160f81ddda030875f67e9b, 30 files. Targeted gate green, 77 of 77 mutants killed, repro DIGESTS_OK. Co-Authored-By: Claude Opus 5.5 <[email protected]>
31 lines
1.8 KiB
Bash
Executable File
31 lines
1.8 KiB
Bash
Executable File
#!/bin/bash
|
||
# Row 121 (#1615) round 2 targeted builder gate (decision 136). The four owned
|
||
# packages in full, plus every package and script whose source or tests
|
||
# import a changed module: harness (runner, tools, gate), plugins (loader
|
||
# test), tasks, webui (bus, cli, reads) and scripts/land-work (read.mjs opens
|
||
# the bus schema). cli/tests/stack-copy.test.mjs covers scripts/stack-copy.sh.
|
||
set -o pipefail
|
||
G=~/darkwing-scratch/r121/r2wt
|
||
OUT=~/darkwing-scratch/r121/pkt2/gate
|
||
mkdir -p "$OUT"
|
||
cd "$G" || exit 9
|
||
[ -d "$G/node_modules" ] || { echo "STOP no node_modules in $G"; exit 8; }
|
||
for f in packages/bus/tests/threads.test.mjs packages/bus/tests/thread-migration.test.mjs packages/bus/tests/fixtures/schema-3d.sql packages/bus/src/migrations/3d-3e.sql packages/cli/tests/thread-launch.test.mjs packages/cli/tests/fixtures/thread-adapter.mjs scripts/test-land-work.sh; do
|
||
[ -f "$f" ] || { echo "STOP missing $f"; exit 7; }
|
||
done
|
||
echo "base $(git rev-parse --short HEAD) start $(date -u +%H:%M:%S)"
|
||
run() { local name="$1" dir="$2" cmd="$3"
|
||
(cd "$G/$dir" && TMPDIR=~/darkwing-scratch/r121/tmp bash -c "$cmd") > "$OUT/$name.log" 2>&1; local rc=$?
|
||
echo "$name rc=$rc $(grep -E '^ℹ (pass|fail|skipped) [0-9]+' "$OUT/$name.log" | tr '\n' ' ')"
|
||
[ $rc -eq 0 ] || { echo "STOP $name"; exit $rc; }; }
|
||
run pkg-bus packages/bus 'node --test tests/*.test.mjs'
|
||
run pkg-seat packages/seat 'node --test tests/'
|
||
run pkg-cli packages/cli 'node --test tests/*.test.mjs'
|
||
run pkg-business packages/business 'node --test tests/'
|
||
run pkg-harness packages/harness 'node --test tests/*.test.mjs'
|
||
run pkg-plugins packages/plugins 'node --test tests/'
|
||
run pkg-tasks packages/tasks 'node --test tests/*.test.mjs'
|
||
run pkg-webui packages/webui 'node --test tests/'
|
||
run land-work . 'bash scripts/test-land-work.sh'
|
||
echo "GATE_PASSED $(date -u +%H:%M:%S)"
|