Skip to content

Resource with check_every: never cause jobs to get stuck in pending state #9592

Closed

Description

@jzho987

Summary

Our scheduled jobs running on concourse are getting stuck in the pending state, although all the resources checks have reported back a ✔️, which to me indicates that its ready for a run.

Image

This is the configuration below for the time based trigger resource.

  - name: dbt-build-hourly-trigger
    type: time
    source:
      interval: 1h
      start: 00:30 AM
      stop: 11:59 PM
      location: UTC
    icon: clock-outline
    check_every: 1m

And this is the input section to the job getting stuck.

  - name: dbt-build-hourly-prod
    max_in_flight: 1
    serial: true
    plan:
      - in_parallel:
        - get: src
          resource: dbt-src
          passed: [dbt-build-prod
        - get: ci
        - get: image
        - get: dbt-build-hourly-trigger
          trigger: true

Steps to Reproduce

  1. upgrade to concourse version 8.2.3
  2. configure a concourse pipeline with a time based trigger.
  3. wait for a job to get triggered based off of that.
  4. job gets stuck with every check passing.

Expected Results

I expected these jobs to start runing since the UI, and past runs indicate that the build should start.

Actual Results

The job gets stuck in pending state.

Web Node(s) configuration

We recently upgraded to concourse version 8.2.3.

Worker(s) configuration

No response

Concourse Version

8.2.3

Browser (if applicable)

No response

Did this use to work?

Yes

Activity

  1. jzho987 commented on Jun 7, 2026

    @jzho987
    ContributorAuthor

    Just started working on a work around internally, and looks like part of the reason for this problem was that some of the triggers had a check_every: never clause, which seemed to have worked fine before, but no longer works in the new version.

    We're removed that clause, seeing that it might have been an incorrect configuration. This has solved it for us for now.

  2. taylorsilva commented on Jun 8, 2026

    @taylorsilva
    Member

    Thanks for that last bit about check_every: never. I think I missed testing that case when I did #9492

    Will look at this along with #9590

  3. moved this from Icebox to Backlog in Concourse Roadmapon Jun 8, 2026
  4. added this to the v8.2.4 milestone on Jun 10, 2026
  5. changed the title [-]Time based trigger jobs gets stuck in pending state.[/-] [+]Resource with `check_every: never` cause jobs to get stuck in pending state[/+] on Jun 10, 2026
  6. taylorsilva commented on Jun 10, 2026

    @taylorsilva
    Member

    Simple reproducible:

    resources:
      - name: never
        type: mock
        check_every: never
        source:
          initial_version: never
    
      - name: trigger
        type: mock
    
    jobs:
      - name: job
        plan:
          - get: trigger
            trigger: true
          - get: never

    After setting and unpausing, the job will never trigger. Manually checking the never resource causes the first build to finally get scheduled and start.

    Creating a new version for the trigger resource: fly -t l cr -r test/trigger -f version:v1 creates a pending build that never starts:

    Image

    Manually checking the resource never gets the pending build started.


    Manually triggering a build of the job does cause both resources to be checked, and the build starts.

  7. moved this from Backlog to In progress in Concourse Roadmapon Jun 10, 2026
  8. taylorsilva commented on Jun 11, 2026

    @taylorsilva
    Member

    Closed by #9598

    There will be a patch release (8.2.4) with this fix.

  9. moved this from In progress to Done in Concourse Roadmapon Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions