From f31eb269814022b6f290470346ce518af122ba4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Wed, 22 Jul 2026 21:29:47 +0200 Subject: [PATCH] ci(forgejo): journal test timeout + surface db:push error - @trails-cool/journal test --testTimeout=20000 (heavy fedify/drizzle/RR cold import; payloads + api.v1.routes tests hit the 5s default). - e2e/image-smoke db:push piped through cat so drizzle-kit prints the real error instead of a TTY spinner that swallows it. Co-Authored-By: Claude Opus 4.8 (1M context) --- .forgejo/workflows/ci.yml | 8 ++++++-- apps/journal/package.json | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 4a6077d..151f50f 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -233,7 +233,9 @@ jobs: done - name: Push database schema - run: pnpm db:push + # Pipe through cat so drizzle-kit prints plain output (no TTY spinner + # that hides the real error) and we see any failure. + run: pnpm db:push 2>&1 | cat - name: Seed database run: pnpm db:seed @@ -341,7 +343,9 @@ jobs: - run: pnpm install --frozen-lockfile - name: Push database schema - run: pnpm db:push + # Pipe through cat so drizzle-kit prints plain output (no TTY spinner + # that hides the real error) and we see any failure. + run: pnpm db:push 2>&1 | cat - name: Build journal runtime image run: docker build --target runtime -f apps/journal/Dockerfile -t journal-smoke . diff --git a/apps/journal/package.json b/apps/journal/package.json index 659169b..30dbe0a 100644 --- a/apps/journal/package.json +++ b/apps/journal/package.json @@ -9,7 +9,7 @@ "start": "node --experimental-strip-types server.ts", "typecheck": "react-router typegen && tsc", "lint": "eslint .", - "test": "vitest run" + "test": "vitest run --testTimeout=20000" }, "dependencies": { "@fedify/fedify": "2.3.1",