use parallel mode for coverage - #3215
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3215 +/- ##
==========================================
- Coverage 97.23% 95.62% -1.61%
==========================================
Files 40 177 +137
Lines 4522 20877 +16355
Branches 0 2102 +2102
==========================================
+ Hits 4397 19964 +15567
- Misses 125 725 +600
- Partials 0 188 +188 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
joeycarter
approved these changes
Sep 14, 2026
joeycarter
left a comment
Contributor
There was a problem hiding this comment.
In Opus 5 we trust.
(But yes, this solutions agrees with the description in the CodeCov docs).
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.
Context:
make
lit-coverageruns lit with-j$(nproc)while every worker does coverage run --appendinto one shared.coverage.lit. That file is a SQLite database and does not tolerate concurrent writers, so workers intermittently abort.Description of the Change:
frontend/test/lit/lit.cfg.py: --append → --parallel-mode, so each worker writes its own.coverage.lit.<host>.<pid>.<random>Makefile: merge them at the end of
lit-coveragewith coverage combine--data-file=$(MK_DIR)/.coverage.litBenefits:
Possible Drawbacks:
Related GitHub Issues:
Assisted by: Claude Opus 5