Skip to content

Temporary containers can survive failed or interrupted validation #97

Open

Description

@jacobtomlinson-bot

Temporary validation containers are not guaranteed to be removed when validation exits unexpectedly. Cleanup is tied to selected UI events rather than the full lifetime of the validation run.

Verified on main at 1f65961: normal completion and the handled quit keys request removal, but startup returns directly when container inspection fails, a program error after startup has no equivalent cleanup path, and process termination is not handled. Containers are started without automatic removal or identifying labels, so one missed path can leave an opaque canary-runner-* container behind.

Debug mode intentionally retaining a failed container is not the problem; that behavior should remain explicit and distinguishable from accidental leftovers.

Expected behavior

Every controllable failure, cancellation, and termination path should make a best-effort attempt to remove temporary containers. Any container intentionally retained for debugging should be clearly identifiable.

Activity

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