You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Check all resources for a job before starting it when automatically triggered #9787
Use-case: A job has multiple git inputs that trigger the job. We need to ensure the latest versions of these git resources are used. When one of the resources triggers the job, there's no guarantee that the other triggering resources have their latest versions. Concourse has always behaved this way.
Currently when a job is automatically triggered, only non-triggering resources that have surpassed their check interval are checked. Triggering resources are automatically checked by lidar, so the job scheduler doesn't check these. This is done to minimize the number of checks we run.
The exception to this is manually triggered jobs; all input resources are checked regardless of their check interval.
Proposed Solution
Add a new config option to jobs (e.g. always_check_inputs or something similar), when set to true, causes automatic triggers of jobs to check all resources, similar to when the job is manually checked.
Activity