Skip to content

test: limit cache-tests workers on Windows#5309

Merged
mcollina merged 1 commit into
mainfrom
fix-cache-tests-windows-concurrency
May 18, 2026
Merged

test: limit cache-tests workers on Windows#5309
mcollina merged 1 commit into
mainfrom
fix-cache-tests-windows-concurrency

Conversation

@mcollina
Copy link
Copy Markdown
Member

Summary

  • run cache-test environment workers serially on Windows to avoid intermittent worker termination
  • keep existing parallelism on other platforms
  • add CACHE_TEST_WORKER_CONCURRENCY for validation/debugging

Fixes: #5199

Testing

  • npm run lint -- test/cache-interceptor/cache-tests.mjs
  • npm run test:cache-tests
  • CACHE_TEST_WORKER_CONCURRENCY=1 npm run test:cache-tests

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.23%. Comparing base (bd98954) to head (5087839).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5309   +/-   ##
=======================================
  Coverage   93.23%   93.23%           
=======================================
  Files         110      110           
  Lines       36575    36575           
=======================================
+ Hits        34101    34102    +1     
+ Misses       2474     2473    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mcollina mcollina merged commit 53a310b into main May 18, 2026
66 of 67 checks passed
@mcollina mcollina deleted the fix-cache-tests-windows-concurrency branch May 18, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[flaky] test/cache-interceptor/cache-tests.mjs

4 participants