fix(test): widen worker pool retry timeout to prevent CI flake (#1323)#1354
Merged
magyargergo merged 1 commit intoMay 5, 2026
Merged
Conversation
…yanpatwari#1323) The retry-timeout test used a 150ms idle timeout, leaving almost no headroom under CI load. Widen to 500ms (with the 4x backoff factor the retry fires at 2s) so the worker has time to respond before the assertion window closes.
|
@azizur100389 is attempting to deploy a commit to the NexusCore Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
CI Report✅ All checks passed Pipeline Status
Test Results
✅ All 8022 tests passed 1 test(s) skipped — expand for details
Code CoverageTests
📋 View full run · Generated by CI |
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
replaces a timed-out worker and retries with a longer timeouttest used a 150 ms idle timeout (subBatchIdleTimeoutMs: 150), leaving almost no headroom when CI runners are under load.timeoutBackoffFactor: 4, the retry fires at 2 000 ms instead of 600 ms, giving the worker time to respond before the assertion window closes.'Retrying with 0.6s timeout'to'Retrying with 2s timeout'.Test plan
npx vitest run test/integration/worker-pool.test.ts— all 22 tests passCloses #1323