Skip to content

ci: browser test shards run their test files in parallel - #63

Closed
gmpassos wants to merge 1 commit into
masterfrom
ci/shard-concurrency
Closed

gmpassos wants to merge 1 commit into
masterfrom
ci/shard-concurrency

Conversation

@gmpassos

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • CI green (the timing tests included).
  • Coverage equals master's (codecov/project, no lines lost).
  • Wall time compared with master's ~3 min.

🤖 Generated with Claude Code

Since 3.1.8 a test root shuts down after its tests, waiting for its async
work, so parallel test files should no longer lose coverage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.68%. Comparing base (68e5ba5) to head (95f44e7).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
- Coverage   93.05%   92.68%   -0.38%     
==========================================
  Files          34       34              
  Lines        9537     9537              
==========================================
- Hits         8875     8839      -36     
- Misses        662      698      +36     
Flag Coverage Δ
unittests 92.68% <ø> (-0.38%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

@gmpassos

Copy link
Copy Markdown
Contributor Author

Closing without merging: running 4 test files at once per shard passed every test and cut CI to ~1m49s, but coverage dropped 36 lines (93.05% → 92.68%). The lost lines include synchronous code from tests that ran, which points to package:test's shared-tab Chrome coverage collection (Profiler.takePreciseCoverage per suite) rather than late async work. Browser test shards stay at one file at a time (#61).

@gmpassos gmpassos closed this Oct 20, 2026
@gmpassos
gmpassos deleted the ci/shard-concurrency branch October 20, 2026 05:08
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.

1 participant