fix(heavy-tests): use supported init flag (#3412)

Co-authored-by: mzkarami <1917371+mzkarami@users.noreply.github.com>
This commit is contained in:
mzkarami
2026-07-27 13:27:08 -07:00
committed by GitHub
co-authored by mzkarami
parent 3fafb69b07
commit ea08effd02
+1 -1
View File
@@ -83,7 +83,7 @@ echo "[fm_wallclock] fixture seeded in ${SEED_ELAPSED}s" | tee -a "$LOG"
# This script measures doctor's frontmatter-scan wallclock — it never embeds —
# so the CI runner doesn't need OPENAI_API_KEY / ZEROENTROPY_API_KEY / VOYAGE_API_KEY.
echo "[fm_wallclock] init brain..." | tee -a "$LOG"
timeout 120s bun run src/cli.ts init --pglite --yes --no-embedding >> "$LOG" 2>&1 || {
timeout 120s bun run src/cli.ts init --pglite --non-interactive --no-embedding >> "$LOG" 2>&1 || {
echo "[fm_wallclock] FAIL: gbrain init exited non-zero" >&2
echo "Log tail:" >&2
tail -30 "$LOG" >&2