Skip to content

Canceling porter should cancel the invocation image #2234

@carolynvs

Description

@carolynvs

Describe the bug

When I realize that a bundle is "hung" and won't finish, I would like to be able to use CTRL+C to stop porter AND the bundle from continuing to run.

To Reproduce

  1. Create a bundle that just has a really long sleep in it
  2. Run porter install
  3. Use CTRL+C to abort porter install.

Only porter stops, the invocation image keeps going uninterrupted, and then the records aren't persisted for the run.

Expected behavior

The invocation image should stop too. If we can do anything to mark the run as failed that's great, but no one should be having to use docker rm to get rid of dangling invocation images.

Version

1.0.0-beta.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugOops, sorry!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions