-
-
Notifications
You must be signed in to change notification settings - Fork 11k
Codecov migration to marketplace app #16405
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
Comments
@tylerjereddy is the |
@rgommers if that's true, I'd be happy to help to see how we can make it useful for you. Codecov is free and will always be free for open-source. |
Thanks @thomasrockhu. The reason we aren't looking anymore is that your bot was so noisy and persistent that we had to block it from posting any comments. If we try the new app integration and that's nicer, we know how to fix uploading the Python coverage results. |
@rgommers I totally understand. If the bot is being too noisy, you can always mute it by creating a
Let me know if that is what you're looking for, or if that's not what you had meant. |
yeah we tried, that didn't stop it in the past :) |
The GitHub app integration replaces the bot I hope? |
Yes, the app integration replaces the bot. As for the yaml issue, I'm sorry to hear it didn't work in the past. I'm happy to help you fix that if it isn't working as expected. |
I was noticing this lately, and that would be great to get codecov up and running again in a more accessible/discoverable way. Its running, but I guess we probably don't check it as much as would be useful juts because its a bit hidden... Lets discuss it in the meeting briefly, but I really would like to set this up ASAP even if it requires some iteration to get the noise level to where we want it to be. There are a few larger PRs open, and having code coverage on the PRs would help especially on the C-side. |
@rgommers I think it may still be useful--it is basically copied from the work @pv did to incorporate compiled language coverage into codecov reports in SciPy CI. I suspect if the app "just works" (or, with a bit of iteration), then the same |
I can't make the meeting, but +1 for reactivation of the service (in NumPy & SciPy) now that we have a responsive contact. We saw that having a responsive contact has also been quite productive for swiftly resolving Azure CI matters as well. |
I installed the GitHub App, @seberg and/or @tylerjereddy please go ahead and play/tweak/fix:) |
Standing at the ready for any questions and feedback! |
* given discussion in numpygh-16405, and activation of the codecov app instead of webhook, try turning on patch diffs again to show the coverage for a given PR * not sure if this will show any change before the `yml` is in master; could maybe test on fork initially if needed
It looks like everyone is satisfied with the current setup - if there are any problems in the future please feel free to tweak the configuration or re-open this for further discussion! |
@thomasrockhu in case you can help us out and point to the problem right away (if there is one): Marks a lot of lines as "Added line #L685 was not covered by tests" also for files that are not even touched (below). Getting some additional codecov annotations is sometimes nice, but it feels like it is getting too much. And I am not sure why it is happening, the "Unchanged files with check annotations" may often be fairly new files added to the repository, but even then, I think the PRs are based off the branch including them. Or is there some weird mixup in our setup because of the |
@seberg, nothing comes immediately to mind (but I took a superficial look) except for the possible branch rename. I'll dig into this a little later today if that's ok |
It is confusing me. If I go on the codecov website and select the So that is probably be the issue, but I am not sure why it is using that specific commit every time? And I am not aware of anything changed since that commit happened. |
The The branch rename was a thought. But honestly, it happened much earlier than the commit codecov is comparing too (or the much too verbose output). So maybe it has something to do with things, but I don't think it is stuck on master. |
OK, wrapping up my understanding:
I am suspecting that the "pseudo" 004ad40 is just nonsense, that is a valid PR from a long time ago. So I think what is wrong is that codecov somehow uses the incorrect pseudo/merge commit for the PR. I assume this has something to do with the incorrect merge commit being reported to codecov as the PRs merge commit hash. But I have no clue at all why? |
This looks like a similar problem: https://community.codecov.com/t/nearest-pull-request-base-pseudobase-commit-not-chosen-correctly/2249/4 |
@thomasrockhu it would be awesome if someone at codecov could look into why the |
Hi @seberg, apologies I wasn't able to come to any conclusions last week. I will continue to work out why this is happening on our side, and thanks for the patience. |
@seberg, just a quick update, I'm not sure what is happening in these cases and why |
@seberg, apologies, this is really stumping us. I've escalated again to try to figure out why this is happening. |
Thanks! Let me know if there is anything we can try in NumPy. |
@seberg, looks like this uncovered a pretty difficult bug. Thanks for helping us identify! We believe we have found the root cause and are working on a fix. |
@seberg we have deployed the change. Let me know if you see this in any future PRs. |
Thanks, hopefully it works, then! I guess we may also need to have a new commit on the main branch and the PR based off that? Anyway, I guess we will see, even if that is necessary, I guess things should normalize by Monday then. |
Aha, gh-19547 is correct already, so that is good :). Although the Codcov overview still says "Missing base report": https://app.codecov.io/gh/numpy/numpy/pulls?page=1&state=open&order=-pullid but lets see and wait I guess. I somewhat expect this was also the problem here: https://community.codecov.com/t/nearest-pull-request-base-pseudobase-commit-not-chosen-correctly/2249/4 just in case you want to make a note there. |
Ok, please ping back here if it hasn't normalized by then and thanks for your patience! |
Hi, Tom from Codecov here.
We noticed that you are using Codecov with fairly high frequency, and we’re so excited to see that! However, because you are not using our app, you may have experienced issues with uploading reports or viewing coverage information. This is due to rate-limiting issues from GitHub.
In order to prevent any future outages, we ask that you move over to our GitHub app integration.
The process is extremely simple and shouldn’t require more than a few clicks, and you should not expect any downtime. By moving to our app, you will no longer need an admin or separate account to manage the relationship with GitHub as the team bot.
Let me know if you have any questions, or if I can help at all with this process.
The text was updated successfully, but these errors were encountered: