Skip to content

Repo: codecov coverage reports are not longer uploaded #9265

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

Closed
Vinccool96 opened this issue Jun 4, 2024 · 1 comment · Fixed by #9442
Closed

Repo: codecov coverage reports are not longer uploaded #9265

Vinccool96 opened this issue Jun 4, 2024 · 1 comment · Fixed by #9442
Labels
locked due to age Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing. repo maintenance things to do with maintenance of the repo, and not with code/docs team assigned A member of the typescript-eslint team should work on this. tests anything to do with testing

Comments

@Vinccool96
Copy link
Contributor

Suggestion

When running the job Upload Codecov Coverage, it often doesn't work. Take for example #9086 where, despite my multiple rebases, the coverage was never uploaded. Compare with #9167, where it worked once.

Looking at the job, we have these messages:

[2024-06-04T18:24:31.374Z] ['error'] There was an error running the uploader: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 429 - {'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 2810s.', code='throttled')}
[2024-06-04T18:24:31.375Z] ['info'] Codecov will exit with status code 0. If you are expecting a non-zero exit code, please pass in the `-Z` flag

It looks like the Codecov repository upload token is either missing or outdated.

@Vinccool96 Vinccool96 added repo maintenance things to do with maintenance of the repo, and not with code/docs triage Waiting for team members to take a look labels Jun 4, 2024
@JoshuaKGoldberg
Copy link
Member

Blurgh, this annoying thing. The root issue is described in codecov/codecov-action#1293 & codecov/feedback#315. In summary, Codecov removed tokenless uploads without sending much communication to the community or changing the uploader to error on failure. We're still seeing repositories such as this one magically discovering that their Codecov uploads were broken.

The fix will be to put a token in. We can take this on as a team.

Thanks for spotting @Vinccool96!

@JoshuaKGoldberg JoshuaKGoldberg added team assigned A member of the typescript-eslint team should work on this. tests anything to do with testing and removed triage Waiting for team members to take a look labels Jun 27, 2024
@github-actions github-actions bot added the locked due to age Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing. label Jul 8, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked due to age Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing. repo maintenance things to do with maintenance of the repo, and not with code/docs team assigned A member of the typescript-eslint team should work on this. tests anything to do with testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants