Skip to content

Conversation

@amd-aliem
Copy link
Contributor

The build-images GH action is sometimes failing to fetch repo latest tags. Adding some debug prints showed it was getting rate limited. GH rate limits by IP for unauthenticated requests. Fix by using GH token to fetch the tag.

I did not want to pass the token itself as it seems insecure, so passing tag payload mkosi variable. Alternate solution could be to introduce some waits, but according to API unauthenticated requests are 60/hour... https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28

Not sure why downloading the release assets doesn't appear to be hitting this limit, but in the meantime I've run the entire build 3 times and haven't seen failures so far.

building image jobs are sometimes failing to fetch repo latest
tags. printing debug showed it was getting rate limited.
GH rate limits by IP for unauthenticated requests. Fix by using
GH token.

Signed-off-by: Amanda Liem <[email protected]>
@amd-aliem amd-aliem enabled auto-merge (rebase) December 18, 2025 18:18
@amd-aliem amd-aliem merged commit ada516d into AMDEPYC:main Dec 19, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants