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(ci): Clone repo with higher depth to fix codecov problems #24211

Merged
merged 1 commit into from
Mar 3, 2021

Conversation

untitaker
Copy link
Member

@untitaker untitaker commented Mar 3, 2021

I have had a problem where Codecov either shows too much difference
between my PR and master, or no diff at all. Both states have happened
within the same PR as Codecov processed new webhooks from GitHub, and in
both cases merge commits were involved. With Codecov support I have
found that their uploader throws this particular error message, and
so let's try giving the uploader more commits so maybe next time it
determines the parent commits correctly (?).

In case the actual code diff is wrong, this also has dramatic impact on code coverage, of course. Because you suddenly have uncovered lines in your PR that you didn't touch in the first place.

I have had a problem where Codecov either shows too much difference
between my PR and master, or no diff at all. Both states have happened
within the same PR as Codecov processed new webhooks from GitHub, and in
both cases merge commits were involved. With Codecov support I have
found that their uploader throws this particular error message, and
so let's try giving the uploader more commits so maybe next time it
determines the parent commits correctly (?).
@untitaker untitaker requested a review from a team as a code owner March 3, 2021 15:52
@untitaker
Copy link
Member Author

@untitaker untitaker merged commit 0f7b6f8 into master Mar 3, 2021
@untitaker untitaker deleted the ci/codecov-base-fix branch March 3, 2021 16:56
@github-actions github-actions bot locked and limited conversation to collaborators Mar 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants