mirror of
https://github.com/garrytan/gbrain.git
synced 2026-07-28 14:59:47 +00:00
fix(heavy-tests): use supported init flag (#3412)
Co-authored-by: mzkarami <1917371+mzkarami@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user