-
Notifications
You must be signed in to change notification settings - Fork 10
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
[Self-hosted] Missing Base Commit error #601
Comments
cc @drazisil-codecov 🙏 |
Sentry error that seems related perhaps:
I've attached the json log below: |
Also note that commits in the branch are all 'Merge' commits
|
Note: There are other SHA in between those being uploaded to Codecov, but the uploads to Codecov only happen on specific intervals i.e. nightly. But chronologically, there will always be an older SHA in Codecov to compare against as the "base commit". However, there is no coverage reporting happening in the PR level. At the time of the upload, there could be a new tip on the branch, which hasn't got a report uploaded to Codecov |
Could passing the Edit: tried doing a |
Hi @vlad-ko. Hope you are well! Would this be something you could share some light on? Let me know if you need any more information. Thank you. Appreciate it 🙏 |
Describe the bug
On a bigger repository with an upload size of about 240mb, approximately 80% of the time we get a Missing Base Commit error. This prevents the carryforward flags to process too.
Note: This is a branch that only has 'Merge' GitHub commits, and the report is generated and uploaded to Codecov from these commits. No Pull Request information is captured. Only interested in changes on that main branch.
At the time of the upload, there could be a new tip on the branch, which hasn't got a report uploaded to Codecov
i.e.
codecov.exe upload-process --disable-search --disable-file-fixes --plugin none --fail-on-error --git-service github_enterprise --file report1.xml -t *** --branch main --sha 7cf17ae7ef70fc6c8bc9c8a4337a26cfa631dda3 --name "report1" --flag Report1
codecov.exe upload-process --disable-search --disable-file-fixes --plugin none --fail-on-error --git-service github_enterprise --file report2.xml -t *** --branch main --sha 7cf17ae7ef70fc6c8bc9c8a4337a26cfa631dda3 --name "report2" --flag Report2
codecov.exe upload-process --disable-search --disable-file-fixes --plugin none --fail-on-error --git-service github_enterprise --file report1.xml -t *** --branch main --sha e18014d72d1e341ec2310cd132622d323f977ed2 --name "report1" --flag Report1
codecov.exe upload-process --disable-search --disable-file-fixes --plugin none --fail-on-error --git-service github_enterprise --file report2.xml -t *** --branch main --sha e18014d72d1e341ec2310cd132622d323f977ed2 --name "report2" --flag Report2
Note: There are other SHAs in between those two, or even a new tip, but the uploads to Codecov only happen on specific intervals i.e. nightly. But chronologically, there will always be an older SHA in Codecov to compare against as the "base commit".
Environment (please complete the following information):
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No 'Missing Base Commit' error shown and carryforward flags are processed as expected, since there is a Codecov entry for an older SHA to compare to
Screenshots
Additional context
codecov.yml used:
The branch context is the main branch. Base is the main branch too.
The text was updated successfully, but these errors were encountered: