Machine runner jobs remain queued

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

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.