Test speedup (2) - #415
Open
razzmatazz wants to merge 1 commit into
Open
Conversation
… of live-instance cap `activeClientsSemaphore` already limits how many server instances can be alive at once (idle, leased, or booting), but placed no limit on how many `LoadSolution` boots -- process spawn + prebuild `dotnet build` callback + MSBuild solution load, the CPU/disk-heavy phase -- run concurrently. Profiling a local run showed CPU usage dropping to near-idle for long stretches between fixture-test bursts, suspected to be boot-phase contention (concurrent nested `dotnet build` calls racing MSBuild's own build node). Adds a second, independent throttle in `poolManager`'s own state: `InFlightBoots` tracks the actual `Task` for each in-flight boot (not just a count), admitting a new boot immediately if under `maxConcurrentBoots`, otherwise queuing it (FIFO) until a slot frees up. Scales with core count (one slot per 4 logical cores, floor, minimum 1) rather than a flat constant, so small CI runners (e.g. 4-vCPU GitHub Actions) get exactly 1 concurrent boot instead of racing several. 🤖 Generated with [ECA](https://eca.dev) (anthropic/claude-sonnet-5) Co-Authored-By: eca-agent <git@eca.dev>
razzmatazz
force-pushed
the
test-speedup-2
branch
from
August 24, 2026 08:47
8244224 to
9002f6d
Compare
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.
No description provided.