Skip to content

flake: mecatui graceful shutdown signal test misses output #1892

Closed

Description

@jbeda

Summary

TestSingleSignalGracefulExit intermittently fails to observe the expected shutting down gracefully output after delivering its signal to mecatui.

Evidence

The full offline suite failed twice during typed-scrollback renderer work:

--- FAIL: TestSingleSignalGracefulExit
    ... did not observe "shutting down gracefully"

The UI-focused suites passed, and the prior focused rerun passed. This failure is unrelated to the scrollback renderer changes.

Expected behavior

The test should deterministically synchronize with the child process reaching graceful shutdown, or otherwise assert shutdown through a stable signal rather than timing-dependent captured output.

Reproduction

go test ./cmd/mecatui -run '^TestSingleSignalGracefulExit$' -count=1

Activity

  1. added
    flake
    on Sep 24, 2026
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

    flake

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions