Skip to content

test(projectors): raise PGlite setup timeout for CI - #47

Merged
dylnslck merged 1 commit into
mainfrom
fix/postgres-event-log-test-timeout
Oct 24, 2026
Merged

dylnslck merged 1 commit into
mainfrom
fix/postgres-event-log-test-timeout

Conversation

@dylnslck

Copy link
Copy Markdown
Contributor

Summary

  • Cold PGlite WASM load in verify CI exceeded Bun's default hook timeout (~5–7s), so beforeAll never finished and afterAll crashed on undefined sql.
  • Move hooks into the describe, allow 60s for setup/teardown, and null-guard client/server/db cleanup.

Unblocks publish PR #33 after this lands on main (or after the same commit is on changeset-release/main).

Test plan

Made with Cursor

Cold WASM load under a busy verify runner exceeded Bun's default
hook timeout, leaving sql undefined and crashing afterAll.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dylnslck
dylnslck merged commit 6111647 into main Oct 24, 2026
1 check passed
@dylnslck
dylnslck deleted the fix/postgres-event-log-test-timeout branch October 24, 2026 07:56
dylnslck added a commit that referenced this pull request Oct 24, 2026
Cold WASM load under a busy verify runner exceeded Bun's default
hook timeout, leaving sql undefined and crashing afterAll.

Co-authored-by: Cursor <cursoragent@cursor.com>
(cherry picked from commit 6111647)
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