Replies: 4 comments
-
To reduce rate limits:
So basically cache helps with downloads, not API rate limits |
Beta Was this translation helpful? Give feedback.
This comment was marked as low quality.
This comment was marked as low quality.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
🛠️ Resolving API Rate Limits on Self-Hosted RunnersThe 1. Authenticate the Runner
2. Implement Runner Caching Strategy
3. Optimize Workflow Configuration
4. Vendor Critical Actions
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Question
💬 Feature/Topic Area
ARC (Actions Runner Controller)
Discussion Details
I am using a self-hosted runner in my Kubernetes cluster.
Due to API rate limiting while resolving actions, I have configured a static Persistent Volume (PV) to cache the actions used in my workflow by setting the ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE environment variable in the runner to point to my static PV.
After enabling debug logs during a workflow rerun, I can see that the actions are being copied from the PV. However, I still sometimes hit the API rate limit even though the actions are present in the PV and the ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE environment variable is configured.
I also tried using the commit SHA instead of the version tag (e.g., actions/checkout@), but I still occasionally encounter API rate limits.
Getting the below error:
##[debug]GitHub.DistributedTask.WebApi.UnresolvableActionDownloadInfoException: API rate limit exceeded while resolving action docker/login-action@c94ce9f.
Beta Was this translation helpful? Give feedback.
All reactions