SAFE in packages/seat/src/checkout.mjs adds maintenance.auto=false and gc.auto=0; probe, tests, mutants m1-m3 (all killed), targeted gate (seat 132/0, cli 184/0) and the leftover sweep. Candidate is build.patch against 2727dd3ec; manifest digests check out. Co-Authored-By: Claude Opus 5.5 <[email protected]>
19 lines
901 B
Bash
Executable File
19 lines
901 B
Bash
Executable File
#!/bin/bash
|
||
# Row 118 targeted builder gate (#271, decision 136): packages/seat, and
|
||
# packages/cli, whose launcher.mjs is the one caller of ensureCheckouts. No
|
||
# scripts/test-*.sh reads a changed path.
|
||
set -o pipefail
|
||
G=~/darkwing-scratch/r118/wt
|
||
OUT=~/darkwing-scratch/r118/pkt/gate
|
||
mkdir -p "$OUT"
|
||
cd "$G" || exit 9
|
||
[ -d "$G/node_modules" ] || { echo "STOP no node_modules in $G"; exit 8; }
|
||
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/r118/tmp bash -c "$cmd") > "$OUT/$name.log" 2>&1; local rc=$?
|
||
echo "$name rc=$rc $(grep -E '^ℹ (pass|fail) [0-9]+' "$OUT/$name.log" | tr '\n' ' ')"
|
||
[ $rc -eq 0 ] || { echo "STOP $name"; exit $rc; }; }
|
||
run pkg-seat packages/seat 'node --test tests/'
|
||
run pkg-cli packages/cli 'node --test tests/*.test.mjs'
|
||
echo "GATE_PASSED $(date -u +%H:%M:%S)"
|