Skip to content

ci-fix: transient picker preview timeout on 28119621424 (test linux + collect affected coverage macos) #3216

Closed as not planned

Description

@worktrunk-bot

Failure

ci run 28119621424 on main @ 321494be7 (feat(switch): show a scrollbar on the interactive picker list, #3198).

Failing legs:

  • test (linux)
  • collect affected coverage (macos)

Both failed the same test:

integration_tests::switch_picker::test_switch_picker_alt_r_keeps_cursor_sticky
thread '…' panicked at tests/integration_tests/switch_picker.rs:463:9:
Timed out after 30s waiting for expected content "wt-keep has no uncommitted changes" to appear on screen.

The captured screen shows the cursor on + wt-keep but the preview pane still holding the previous row's content (○ main has no uncommitted changes) — i.e. the async preview subprocess for the wt-keep row never produced output within the 30s STABILIZE_TIMEOUT.

Diagnosis

Transient timing flake in a newly-added PTY/TUI test, not a regression from #3198.

Evidence the failure is load-driven, not deterministic:

Mechanism: under heavy full-suite parallelism (4182 tests; coverage instrumentation adds further slowdown), the per-row preview subprocess that produces wt-keep has no uncommitted changes was starved long enough to exceed the test's 30s stabilization window.

Why no fix was produced

  • The failure is non-deterministic and could not be reproduced locally despite CPU-saturation stress, so any test-robustness change (e.g. bumping STABILIZE_TIMEOUT) would be an unverifiable guess against a PTY/interactive path the CI sandbox can't drive reliably.
  • main is already green on the latest commit (fix(switch): keep the picker gutter sigil when filtering #3213), so there is nothing to fix forward.

Recorded (and closed) so a recurrence of this same shape can be detected per the repeat-occurrence escalation path. If test_switch_picker_alt_r_keeps_cursor_sticky times out again on a future run, the test's async-preview stabilization should be hardened.

Activity

  1. worktrunk-bot commented on Jun 24, 2026

    @worktrunk-bot
    CollaboratorAuthor

    Transient flake in a newly-added PTY test; main is already green on the latest commit. Closing as diagnosed — kept open-then-closed as a discoverable record for recurrence detection.

  2. added
    tend-outage
    on Jun 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

    tend-outage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions