Resources in Concourse 8.2.4 with check_every: never gets stuck in pending
search cancel

Resources in Concourse 8.2.4 with check_every: never gets stuck in pending

book

Article ID: 450957

calendar_today

Updated On:

Products

Concourse for VMware Tanzu

Issue/Introduction

In Concourse 8.2.4, when using a pipeline that has a job with serial: true whose trigger: true input has check_every: never will not get that resource's initial automatic check. The build sits in pending ("waiting for a suitable set of input versions... latest version of resource not found") forever, until a fly check-resource is run manually.

Environment

Concourse 8.2.4

Cause

This was caused by the timing when Concourse checks if the builds max_in_flight has been reached. In Concourse 8.2.4, it checks this before checking if inputs need to be determined. This blocks jobs with serial: true because their inputs never get determined.

Resolution

This has been fixed in Concourse 8.2.5+

More details on this can be read here:

https://github.com/concourse/concourse/pull/9670

https://github.com/concourse/concourse/issues/9665