Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(codecov): merge coverage for a single upload by workflow #1190

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

gfanton
Copy link
Member

@gfanton gfanton commented Oct 3, 2023

It appears that the retry system introduced in #1186 was not sufficient, as we still hit API limits when running multiple checks concurrently.
This PR merges all coverage files into a single upload. As a result, we now have 3 uploads instead of 16, which should drastically reduce the number of Codecov upload failures.


Note: It still appears to fail randomly, but we might need to wait some time until our API rate decreases. I believe it's still preferable to have 3 uploads rather than 16, which seemed to overwhelm Codecov.

Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
@gfanton gfanton self-assigned this Oct 3, 2023
@gfanton gfanton requested a review from a team as a code owner October 3, 2023 16:12
@codecov
Copy link

codecov bot commented Oct 3, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (39ab2da) 47.01% compared to head (4e15554) 47.39%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1190      +/-   ##
==========================================
+ Coverage   47.01%   47.39%   +0.37%     
==========================================
  Files         365      367       +2     
  Lines       61156    62118     +962     
==========================================
+ Hits        28753    29439     +686     
- Misses      30039    30290     +251     
- Partials     2364     2389      +25     

see 10 files with indirect coverage changes

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

@moul moul merged commit c315db6 into gnolang:master Oct 3, 2023
178 checks passed
@gfanton gfanton deleted the backup/fix/codecov-merge branch October 3, 2023 17:07
gfanton added a commit to gfanton/gno that referenced this pull request Nov 9, 2023
…#1190)

It appears that the retry system introduced in gnolang#1186 was not sufficient,
as we still hit API limits when running multiple checks concurrently.
This PR merges all coverage files into a single upload at the of each
testing workflows. As a result, we now have 3 uploads instead of 16,
which should drastically reduce the number of Codecov upload failures.

Note: It still appears to fail randomly, but we might need to wait some
time until our API rate decreases. I believe it's still preferable to
have 3 uploads rather than 16, which seemed to overwhelm Codecov.

---------

Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants