Skip to content

Quitting validation does not cancel in-flight checks #88

Open

Description

@jacobtomlinson-bot

Stopping validation does not notify checks that are already running. Initial delays and retry intervals continue sleeping, and network or Docker operations have no validation-level cancellation signal.

For example, a check with a long initialDelaySeconds starts concurrently with the other checks. Pressing q or Ctrl+C begins container shutdown, but the sleeping check is not told to stop. The same limitation applies to a check waiting in a probe operation or retry interval.

This makes graceful shutdown nondeterministic and can leave probe work or child processes running until the main process exits.

Expected behavior

When validation is stopped, outstanding delays, retries, and probe operations should end promptly. Container cleanup should complete without validation work continuing in the background.

This issue is limited to cancellation of validation work; broader TUI or output changes are out of scope.

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