Skip to content

test(imagegen): double the chromium timeout headroom for loaded CI runners - #110

Merged
nibzard merged 2 commits into
mainfrom
fix/imagegen-test-timeout-headroom
Jul 31, 2026
Merged

test(imagegen): double the chromium timeout headroom for loaded CI runners#110
nibzard merged 2 commits into
mainfrom
fix/imagegen-test-timeout-headroom

Conversation

@nibzard

@nibzard nibzard commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Three of the last five CI runs on main failed on imagegen integration tests timing out at exactly 120s. The slow step is launching a fresh headless Chromium per render on a loaded two-core runner; the OpenAI image call is already faked in these tests. Raises setDefaultTimeout from 120s to 240s in the three imagegen test files and updates the comments to match the observed worst case.

Test plan

  • bun test tests/imagegen: 79 pass, 0 fail (5.8s locally; the timeout only matters under CI load)
  • bun run check: clean

Note: main's typecheck is currently red from #108 (fixed by #109); unrelated to this change.

@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Jul 31, 2026 1:17pm

Request Review

@nibzard
nibzard merged commit 633f914 into main Jul 31, 2026
3 checks passed
@nibzard
nibzard deleted the fix/imagegen-test-timeout-headroom branch July 31, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant