Repository navigation
test: serialize PostgreSQL integration suites - #531
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
No substantive issues found. The workflow now consistently uses the serialized PostgreSQL test script while leaving the default test path parallel.
PR Bot Information
Version: 1.32.18
- File Content Strategy: Full file content
- LLM:
gpt-5.6-sol - Correlation ID:
03191630-c6fc-11f1-88de-8686aa194ba0 - Event Trigger:
pull_request.opened
sjvans
commented
Oct 13, 2026
sjvans
marked this pull request as ready for review
October 13, 2026 14:38
Contributor
SummaryThe following content is AI-generated and provides a summary of the pull request: Prevent PostgreSQL Integration Test Races with Serial ExecutionBug Fix🐛 Run PostgreSQL integration suites in a single Jest process to prevent shared outbox messages from being consumed by competing workers. Non-PostgreSQL test suites remain parallel. Changes
Validation
PR Bot InformationVersion:
|
Contributor
There was a problem hiding this comment.
No substantive issues found. The changes consistently serialize PostgreSQL tests while preserving parallel execution for other test suites.
PR Bot Information
Version: 1.33.0
- File Content Strategy: Full file content
- Correlation ID:
b844d1e0-c713-11f1-9185-614a847cb600 - Event Trigger:
pull_request.ready_for_review - LLM:
gpt-5.6-sol
1 task
holgpar
approved these changes
Oct 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
test:postgresscriptWhy
The integration files share one PostgreSQL-backed outbox. With Jest workers running in parallel, a worker can consume another worker's outbox message. The process-local
DeleteAttachmentwaiter then times out even though the message was dispatched and the outbox is empty.Validation
npm test -- --runInBand --testPathPatterns=tests/unit— 114 tests passednpm run test:postgres -- --showConfig—runInBand: true,maxWorkers: 1package.jsonand.github/workflows/test.yml