Skip to content

Don't re-run all Tasks when re-running a Job #157

Closed

Description

@kavinderd

As discussed on the slack channel last week. A performance improvement that would be really nice is if tasks within a job could be cached. So if I make a change to something affecting Task 3 in Job A, Task 1 & 2 don't need to be re-run. A lot of our jobs involve making a docker image, then testing some property of it and then pushing it somewhere, and we're usually only iterating on the second half of our tasks.

Activity

  1. concourse-bot commented on Oct 2, 2015

    @concourse-bot

    Hi there!

    We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

    The current status is as follows:

    • #140235667 Don't re-run all Tasks when re-running a Job
    • #104768192 I can re-run a specific step in a build

    This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

  2. jvshahid commented on Apr 8, 2016

    @jvshahid
    Contributor

    I really like this idea. I think this should be an optional config option per task. This will avoid having concourse understand how the task script run, for example if it depends on current time or external services.

  3. vito commented on Jul 27, 2016

    @vito
    Contributor

    This is much more doable/useful with the new container retention semantics, wherein all containers for a failed build are kept as long as it's the current build.

  4. added a commit that references this issue on Aug 4, 2016
  5. added a commit that references this issue on Mar 28, 2017
  6. vito commented on Nov 28, 2017

    @vito
    Contributor

    I don't see us targeting this feature in the forseeable future, but if someone wants to chime in with more details in a new proposal, feel free. This sounds like a "nice to have" but the devil will be in the details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions