Files
jason.woltje 6bad02612a lead: commit dewey's untracked evidence (721 files: queue-124-review queue-143 queue-149 queue-165-review queue-170 queue-175 queue-177 queue-184 queue-191)
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.
2026-11-02 15:05:14 -06:00

15 lines
1.1 KiB
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/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"