Unclaimed files left in the canonical checkout. Inventory: canonical-cleanup-inventory.md (commit-as-evidence groups). detect-secrets scan clean on 2026-11-02: hits are sha256 pins, git object ids, test sentinels already in tracked tests and unit-file lines.
15 lines
1.1 KiB
Bash
Executable File
15 lines
1.1 KiB
Bash
Executable File
#!/usr/bin/env bash
|
||
# Row 177 (#1675): my own suite runs on the candidate worktree, before the packet. Docker is off
|
||
# (DOCKER_HOST points at a missing socket), so test-task skips its Docker cases; Sage's gate runs them.
|
||
# Usage: b177-gate.sh <worktree> <outdir>
|
||
set -u
|
||
WT=$(cd "$1" && pwd); OUT=$(mkdir -p "$2" && cd "$2" && pwd)
|
||
cd "$WT" || exit 2
|
||
export TMPDIR=$HOME/dewey-scratch/tmp/b177-suites; mkdir -p "$TMPDIR"
|
||
export DOCKER_HOST=unix://$HOME/dewey-scratch/no-docker.sock MOSAIC_CONFIG=$HOME/dewey-scratch/no-config.json
|
||
: > "$OUT/summary.txt"
|
||
run() { local name=$1; shift; setsid -w timeout -k 10 3600 "$@" > "$OUT/$name.log" 2>&1 < /dev/null; echo "$name rc=$? :: $(grep -E '^ℹ (tests|pass|fail|skipped) |passed|failed|PASS:|FAIL:' "$OUT/$name.log" | tail -4 | paste -sd' ')" >> "$OUT/summary.txt"; }
|
||
for p in bus webui conversation cli; do run "pkg-$p" node --test "packages/$p/tests/"; done
|
||
for s in auth conductor config discord extension-package foundation land-work queue release task; do run "test-$s" bash "scripts/test-$s.sh"; done
|
||
echo "DONE $(date -u +%FT%TZ)" >> "$OUT/summary.txt"
|