Skip to content

I would like failed builds to persist until I'm done debugging them #105

Closed

Description

@utako

I would ideally like this to be configurable such that I can apply this logic to pipelines, jobs, tasks, etc. depending on my needs, instead of setting a concourse deployment-wide default_container_grace_time. I would also like the option to turn this feature on and off.

The workflow I have in mind is as follows:

  1. I see that a build has failed, possibly a few hours or a day after the fact. This job has been flaky for a while and I haven't been able to get to the bottom of it.
  2. This container has not yet been destroyed and I am able to fly intercept in and look around.
  3. Once I am done poking around, I press a button that allows the relevant container(s) to be destroyed.

Activity

  1. concourse-bot commented on Aug 5, 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:

    • #95456308 A job's most recent build's containers should be kept alive until the next build starts, if it failed

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

  2. robdimsdale commented on Aug 6, 2015

    @robdimsdale
    Contributor

    maybe there's a secondary feature request here, which is the 'button to destroy the relevant containers' could be implemented in fly instead: fly intercept -d, or something similar.

    I'm sure we can come up with a non politically-correct way to destroy something that is currently being hijacked/intercepted...

  3. vito commented on Jun 2, 2016

    @vito
    Contributor

    I think manually releasing containers would be a bit too hands-on, and potentially leads to using too many resources if you don't stay on top of it. A simple step we can take is to keep the containers around for a job's latest failed build, and let them expire once the job's next build goes green. We can later expand on this if it's not enough, by e.g. keeping the last N failed build's containers.

    We already had a story for this scheduled, so I'll tag this issue with it.

  4. concourse-bot commented on Jul 6, 2016

    @concourse-bot

    Hello again!

    All stories related to this issue have been accepted, so I'm going to automatically close this issue.

    At the time of writing, the following stories have been accepted:

    • #95456308 A job's most recent build's containers should be kept alive until the next build starts, if it failed

    If you feel there is still more to be done, or if you have any questions, leave a comment and we'll reopen if necessary!

  5. added a commit that references this issue on Aug 17, 2016
  6. added a commit that references this issue on Mar 15, 2018
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