Overview
We can sometimes see runner jobs remain queued even though not all active tasks are being used. This is often times due to hitting concurrency limits from unclaimed tasks.
Solution
To resolve this issue, you can use the CircleCI v3 API to get unclaimed tasks for a given resource class. We recommend using the above API endpoint for all runners with no tasks (found on the runner inventory page (https://app.circleci.com/runners/:VCS/{YOUR_ORGANIZATION_NAME}/inventory).
Any resource class that has more than 0 unclaimed_task_count, will need to have unclaimed jobs cancelled.
Additional Resources
- Verifying the macOS Machine Runner Service is Running
- Uninstalling the macOS Machine Runner
- Stopping the macOS Machine Runner
Comments
Article is closed for comments.