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

Disable codecoverage job since it shows wrong data #238

Conversation

tigrannajaryan
Copy link
Member

Need help for someone to figure out how to fix this. I wasn't able to.

Need help for someone to figure out how to fix this.
I wasn't able to.
@tigrannajaryan tigrannajaryan requested a review from a team January 11, 2024 15:41
@tigrannajaryan tigrannajaryan changed the title Disable codecoverage job since it shows nonce data Disable codecoverage job since it shows wrong data Jan 12, 2024
@srikanthccv
Copy link
Member

Do you know why jobs on main point to your fork of repo on codecov app? Here is the output of latest merge to main run
Screenshot 2024-01-13 at 10 36 33 PM

@srikanthccv
Copy link
Member

I believe that is the issue. From what I understand Codecov uses the last successfully uploaded commit as the base commit to compare against when running the checks on PR. The coverage reports on merge to main are getting uploaded here https://app.codecov.io/github/tigrannajaryan/opamp-go/commits instead of here https://app.codecov.io/github/open-telemetry/opamp-go/commits.

@tigrannajaryan
Copy link
Member Author

Do you know why jobs on main point to your fork of repo on codecov app?

No idea :-(

I thought maybe codecov job is using a wrong token (my personal), so I updated it to make sure it is a token from open-telemetry org. Doesn't seem to make a difference.

@tigrannajaryan
Copy link
Member Author

I manually re-triggered main branch build and it seems to have uploading a new commit: https://app.codecov.io/gh/open-telemetry/opamp-go/commits which is good news.

@tigrannajaryan
Copy link
Member Author

Re-triggered PR build: #242

@tigrannajaryan
Copy link
Member Author

OK, now in codecov's website the report looks correct: https://app.codecov.io/gh/open-telemetry/opamp-go/pull/242 although the comment in the PR posted 2 days ago is wrong. I don't know if there is a way to tell it update the comment and whether this solved the problem completely.

@tigrannajaryan
Copy link
Member Author

No, doesn't work. I created a new PR and the same problem: #243

@srikanthccv
Copy link
Member

Let's see if we can get some help from codecov team to get this issue sorted out codecov/feedback#123.

@srikanthccv
Copy link
Member

srikanthccv commented Jan 17, 2024

codecov/project 72.70% (+0.04%) compared to 62d8b60

This is from the latest PR #244

@tigrannajaryan I think it is using correct base commit for new PRs created after this successful upload

@tigrannajaryan
Copy link
Member Author

codecov/project 72.70% (+0.04%) compared to 62d8b60

This is from the latest PR #244

@tigrannajaryan I think it is using correct base commit for new PRs created after this successful upload

OK, it is possible. Let's keep an eye on new PRs.

@tigrannajaryan tigrannajaryan marked this pull request as draft January 22, 2024 16:11
@tigrannajaryan
Copy link
Member Author

Looks like new PRs work properly.

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.

2 participants