Skip to content

ci: make codecov wait for all coverage uploads - #1391

Merged
henryiii merged 1 commit into
mainfrom
codecov-wait
Jul 30, 2026
Merged

henryiii merged 1 commit into
mainfrom
codecov-wait

Conversation

@henryiii

Copy link
Copy Markdown
Collaborator

🤖 AI text below 🤖

The codecov/project status 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.yml already set after_n_builds: 8, but it never applied: codecov reads only the first config it finds, and the root .codecov.yml shadows .github/. This merges the setting into the root file and removes the shadowed one. The shadowed file's informational: true for 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.

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

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (4d2aa8c) to head (6b1d081).

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.
📢 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.

@henryiii
henryiii merged commit 3946652 into main Jul 30, 2026
74 checks passed
@henryiii
henryiii deleted the codecov-wait branch July 30, 2026 00:17
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