fix(e2e): run server tests sequentially - #230
Closed
SulimanAbdulrazzaq wants to merge 1 commit into
Closed
Conversation
Parallel full-server startups exceed the existing hook budget on supported developer machines. Closes co-l#225
Owner
|
Thanks for digging into this — the diagnosis (parallel full-server startups blowing the hook budget) is spot on. We went with a gentler fix on
The concern with merging this PR as-is was that hardcoding Closing this one; if your machine still can't cope with the env var set low, reopen and we can look at a smarter default (e.g. derived from CPU count). |
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
Closes #225.
Each E2E test file starts a full OpenFox server. Starting up to 12 of these servers concurrently can exhaust local CPU and memory long enough for
createTestServer()to exceed the existing 10-second hook timeout.Run server-backed E2E files sequentially, matching the already reliable CI worker policy. This addresses the resource contention directly without increasing test or hook timeouts.
A regression assertion now protects the worker policy.
Validation:
e2e/timeouts.test.ts: 4 tests passedAI-Enhanced Development
Cache Impact