You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tests): Address CodeRabbit feedback on prewarm-count assertions
Two cold-path tests asserted `(call count) > 1`, which depends on the
host having at least 2 vCPUs. On a 1-vCPU CI runner
`getWorkerThreadCount(1000).maxThreads` collapses to 1 and the cold
path correctly fires a single warm-up task — but the assertion would
fail despite the behavior being correct.
Switch both tests to assert against the actual computed `maxThreads`
from the same heuristic the production path uses, so the cold-path
contract is pinned independent of runner vCPU count.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments