Repository navigation
ci: make codecov wait for all coverage uploads - #1391
Merged
Merged
Conversation
The .github/codecov.yml settings never applied because codecov finds the root .codecov.yml first. Merge after_n_builds into the root file and remove the shadowed one. Assisted-by: ClaudeCode:claude-fable-5
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1391 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 19 19
Lines 5225 5225
Branches 1131 1130 -1
=========================================
Hits 5225 5225 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
🤖 AI text below 🤖
The
codecov/projectstatus can report a spurious drop (e.g. 99.96% on #1389, a docs-only PR) because codecov computes it as soon as the first coverage report arrives, while the base commit has 8 merged sessions..github/codecov.ymlalready setafter_n_builds: 8, but it never applied: codecov reads only the first config it finds, and the root.codecov.ymlshadows.github/. This merges the setting into the root file and removes the shadowed one. The shadowed file'sinformational: truefor the project status is intentionally not carried over, since it never took effect and would keep the check from ever failing.The merged config passes
codecov.io/validate.