@smheidrich, if you go to GitLab applications, are you able to see what scope Codecov has at the bottom? If it does not have read api, can you revoke the token, log out of Codecov and try signing back in?
Iām just having a look at our project settings - and it doesnāt look like the global yaml is propagating to the individual projects - I have the bot set in the yaml for the group reductech:edr but current bot is showing up as Current Bot: None for all the projects in that group. Do i have to specify the bot individually for each project, it canāt be done at group level?
It had api permissions which I guess includes read_api. I tried revoking, logging out and logging in again anyway; the new authorization has api permissions as well so I guess thatās all fine.
Hi @tom,
I can confirm the issue is that the global YAML does not propagate to any of the repositories. Iāve added the bot config to codecov.yml in one of our repos, and that project is now getting the reports in the merge requests.
This is a workaround for now, but itād be great not to have to set up the same yaml across all our projects.
Thanks, Antony
@antonyoni apologies I lost track of this. Do you have a recent commit where this is not happening? Iāll take a look and see why global YAML is not working.
It turns out that itās only our private repos that work with a codecov.yml. Iāve added a codecov.yml to one of our public repos, but still get a Current Bot: None in the settings:
To those who are still struggling with the issue,
On Codecov website, check the Settings tab, panel Default Branch Name.
The field for me contained the text b'master'.
After changing it to master, the charts and the graph have reapeared auto-magically.
b'master' looks like a git command, So maybe a kind of data corruption has occured at some point (end of June) ? Maybe something related to a bogus command line parsing ?
I had a look and all our repos have the correct main/master branch set in codecov, without any additional characters or quotes. We donāt have any issues with viewing the charts in codecov, but all our commits are still showing up as āUnable to find commit in Gitlabā and codecov is not updating any of our Merge Requests with a summary in GitLab.
Are you now seeing the codecov summaries in Merge Requests on GitLab?
Hi @tom - itās looking good on our side too. Weāre getting summaries posted to MRs and no more āUnable to find commitā errors in codecov. Thank you!