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

Codecov report uploader throttled #747

Closed
PengZheng opened this issue May 24, 2024 · 2 comments · Fixed by #750
Closed

Codecov report uploader throttled #747

PengZheng opened this issue May 24, 2024 · 2 comments · Fixed by #750
Assignees
Labels
build/environment Categorizes an issue or PR relevant to the build environment.

Comments

@PengZheng
Copy link
Contributor

PengZheng commented May 24, 2024

I found all recent coverage reports failed to be uploaded:

[2024-05-24T03:23:57.885Z] ['info'] Detected GitHub Actions as the CI provider.
[2024-05-24T03:23:58.006Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-3.1.6-uploader-0.7.3&token=*******&branch=master&build=9218112953&build_url=https%3A%2F%2Fgithub.com%2Fapache%2Fcelix%2Factions%2Fruns%2F9218112953%2Fjob%2F25361141947&commit=e4df2aa47fccb39c4cf0694435ef5cb9009dc6d5&job=Celix+Coverage&pr=&service=github-actions&slug=apache%2Fcelix&name=codecov-celix&tag=&flags=&parent=
[2024-05-24T03:23:58.197Z] ['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: 1495s.', code='throttled')}
[2024-05-24T03:23:58.198Z] ['info'] Codecov will exit with status code 0. If you are expecting a non-zero exit code, please pass in the `-Z` flag

Any thoughts on how to deal with it? @rlenferink @pnoltes

@PengZheng PengZheng added the build/environment Categorizes an issue or PR relevant to the build environment. label May 24, 2024
@pnoltes
Copy link
Contributor

pnoltes commented May 27, 2024

Token-less codecov uploads is not supported anymore and we should add a token:
https://issues.apache.org/jira/browse/INFRA-25778

I think we can copy/paste the change done at Apache NIFI:
apache/nifi@5f9f524

@pnoltes pnoltes self-assigned this May 27, 2024
pnoltes added a commit that referenced this issue May 27, 2024
@pnoltes
Copy link
Contributor

pnoltes commented May 31, 2024

I created a INFRA ticket to create a GitHub codecov token secret: https://issues.apache.org/jira/browse/INFRA-25836

pnoltes added a commit that referenced this issue Jun 2, 2024
Also updates to codecov action v4.4.1 using the commit
hash.
pnoltes added a commit that referenced this issue Jun 2, 2024
gh-747: Configure codecov action with upload token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build/environment Categorizes an issue or PR relevant to the build environment.
Projects
None yet
2 participants