ci(forgejo): journal test timeout + surface db:push error
Some checks failed
CI / Dockerfile Package Check (push) Successful in 30s
CI / OpenSpec Validate (push) Successful in 1m54s
CI / Security Scan (push) Successful in 3m41s
CI / Typecheck (push) Successful in 4m17s
CI / Lint (push) Successful in 5m37s
CI / Unit Tests (push) Successful in 3m50s
CI / Build (push) Successful in 2m23s
CI / Journal Image Smoke Test (push) Failing after 5m52s
CI / Visual Tests (push) Successful in 13m4s
CI / E2E Tests (push) Failing after 9m47s

- @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) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-07-22 21:29:47 +02:00
parent 159d3f3348
commit f31eb26981
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
2 changed files with 7 additions and 3 deletions

View file

@ -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 .

View file

@ -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",