Repository navigation
Description
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:
- Not platform-correlated. In the same run, the test passed on
test (macos)andcollect affected coverage (linux), but failed ontest (linux)andcollect affected coverage (macos). The same OS both passed and failed depending on the job leg — the failures track whichever leg was most resource-starved, not the platform. - First completed run with this test. The test was added in feat(switch): keep the alt-r picker cursor on the removed row's slot #3199 (
599c4bab9), the commit immediately before feat(switch): show a scrollbar on the interactive picker list #3198. feat(switch): keep the alt-r picker cursor on the removed row's slot #3199's own CI run was cancelled by concurrency, so feat(switch): show a scrollbar on the interactive picker list #3198's run was the first CI run to ever execute this test to completion. - Causally unrelated to the scrollbar change. feat(switch): show a scrollbar on the interactive picker list #3198 only draws skim's
▐thumb when the list overflows the viewport. This test renders 3 rows (main,wt-keep,wt-drop) in a 30-row terminal, so no scrollbar is ever drawn and the changed code path is not exercised. - Already green on a later main commit. Run 28125123262 on
ac23cece8(fix(switch): keep the picker gutter sigil when filtering #3213, which also modified the picker, so cargo-affected re-ran this test) passedteston linux, macos, and windows. - Not reproducible locally. Passed 20+ consecutive runs, including the whole
switch_pickersuite (32 tests) run 3× with all CPU cores saturated by backgroundyesloops.
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. mainis 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
worktrunk-bot commentedon Jun 24, 2026
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.