-
Notifications
You must be signed in to change notification settings - Fork 3
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
[GH Request] need a codecov token for frontend-app-learner-record #1308
Comments
Thank you for your report! @openedx/axim-oncall will triage within a business day. Simple requests usually take 2-3 business days to resolve; more complex requests could take longer. |
@deborahgu I notice our reference codecov (https://openedx.atlassian.net/wiki/spaces/COMM/pages/3438280709/Adding+Codecov#1.-Code-Changes-(done-by-any-developer%2C-merged-by-someone-with-repo-write-access)) defines some stuff that's not defined in https://github.com/openedx/frontend-app-learner-record/blob/master/codecov.yml, like |
OK, as per https://openedx.atlassian.net/wiki/spaces/COMM/pages/3438280709/Adding+Codecov#4.-Add-a-CodeCov-repository-secret-(done-by-a-GitHub-org-admin%2C-at-Axim-for-openedx), we have codecov token globally so I shouldn't have to add something specific to your repo. Could you check that codecov has ever run? Do you know how codecov is working on other repos? |
Thanks for looking into this. So here's what I can find debugging this:
So I pulled the raw logs from the failing run (on learner record) and the successful run (on learner dashboard) and diffed them. The very first difference in the raw logs is that the run on learner dashboard which succeeds, says
while the run on learner record, which fails, says
And then later reports
after which the logs obviously diverge. Is there a chance there's a repo setting preventing the token from being read, here? Th actions on the two repos look identical for this part. |
Huh, that's weird. I don't see anything in settings or branch protection rules that are different between the two repos. @feanil is on call today and may be more familiar with this than I am - Feanil, any ideas? |
The only difference I could spot is that the learner record repo has a custom codecov config file which the other example does not. I confirmed that both should have access to the same token value and that the codecov app has the same level of access to both. The next thing to try is to probably make the PR yourself instead of via the github action bot and see if it's something to do with the dependabot related permissions which are different from standard users. If that doesn't work, we can reach out to codecov support and see if they can shed some light on what's going on. |
that seems to have worked. Computers, amirite? Thanks so much to both of you! |
actually I suppose there is a follow-up question which is, now that codecov is about to be on version 5, will the rest of our dependbot fail for lack of permissions, or was this a one-time problem because of the version change? Should I leave this ticket open until we have verified or should I just reopen if it comes back for new dependabot PRs? |
Repository
frontend-app-learner-record
Urgency
Low (2 weeks)
Requested Change
It looks like the repository might be missing a codecov access token.
Reasoning
The PR to update codecov failed, even though the token is called for in the action.
https://github.com/openedx/frontend-app-learner-record/actions/runs/11883989894/job/33164769383?pr=443
The text was updated successfully, but these errors were encountered: