Skip to content

version: every misses some versions #2028

Closed

Description

@krishicks

Bug Report

version: every misses some versions. I have a github-pullrequest-resource that emits the correct versions but every now and then a build is not scheduled for some versions. Newer versions may appear and have tests run for them but some old versions remain buildless.

Disabling the newer versions for which builds have run then causes a build to be immediately scheduled for the version that was previously missed.

  • Concourse version: 3.8.0
  • Deployment type (BOSH/Docker/binary): BOSH
  • Infrastructure/IaaS: GCP
  • Did this used to work? Maybe?

Activity

  1. vito commented on Feb 13, 2018

    @vito
    Contributor

    This is caused by the PR resource re-ordering version history as things like comments are left on pull requests. version: every will never go backwards; if there is a more recent version that builds have been scheduled for, that's the new starting point.

    The current work-around is to leave comments on PRs to "bump" them. The long-term fix is to have a new spaces-aware (#1707) flow for pull requests. The current implementation hacks around resource version emitting in an attempt to achieve spatial versioning, and this is one of the big pitfalls.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions