Repository navigation
Description
Failure
ci run 28273302130 on main @ 0b0f10497 (chore: bump taiki-e/install-action from 2.82.3 to 2.82.4, #3255 — a dependabot action-version bump with no source change).
Failing legs:
test (windows)collect affected coverage (linux)collect affected coverage (windows)
All failed the same test:
integration_tests::switch_picker::test_switch_picker_preview_auto_refreshes_when_compute_lands
thread '…' panicked at tests/integration_tests/switch_picker.rs:680:9:
Timed out after 30s waiting for AUTOREFRESHMARK to appear on screen.
This is the wait_for_stable_until describe-timeout path: the picker's comments tab opened while the mocked gh pr view fetch (held behind a deliberate 3000ms delay) was still in flight, and the comment (AUTOREFRESHMARK) never surfaced via the PreviewNotifier auto-repaint within the 30s STABILIZE_TIMEOUT.
Diagnosis
Transient, load-driven timing flake in a PTY/TUI test — not a regression.
Evidence the failure is load-driven, not deterministic:
- No code change. The triggering commit (chore: bump taiki-e/install-action from 2.82.3 to 2.82.4 #3255) only bumps the
taiki-e/install-actionpin in CI workflows. Nothing in the picker / preview path changed. - Not platform-correlated. In the same run the test passed on
test (linux),test (macos),code-coverage, andcollect affected coverage (macos), but failed ontest (windows),collect affected coverage (linux), andcollect affected coverage (windows). Linux both passed (test) and failed (collect affected coverage) — the failures track whichever leg was most resource-starved, not the OS. - Same mechanism as the previously-recorded picker flake. #3216 recorded the same load-driven async-preview starvation for a different picker PTY test (
test_switch_picker_alt_r_keeps_cursor_sticky, since de-flaked). Mechanism: under heavy full-suite parallelism (≈4200 tests; coverage instrumentation adds further slowdown), the delayed mock subprocess + the product-side repaint poke were starved long enough to exceed the test's 30s stabilization window.
Mechanism detail: the test asserts an auto-refresh — the comment must appear with no further keystroke once the 3000ms-delayed gh pr view resolves and the picker repaints itself via PreviewNotifier. Both the delayed subprocess and the repaint poke are subject to scheduler starvation; under a saturated runner the chain can exceed STABILIZE_TIMEOUT (30s).
Why no fix was produced
- First occurrence of this specific test failing — per the repo's
running-tendflaky-test rule, a first-seen PTY/timing flake gets no PR. - Any robustness change (bumping
STABILIZE_TIMEOUT, restructuring the wait) would be an unverifiable guess against an interactive PTY path the CI sandbox cannot drive reliably, and the failure does not reproduce deterministically. mainhas already advanced past the failing commit to6fc6b37b6(feat(step): add require-include option + CLI flags to copy-ignored #3196, an unrelatedwt step copy-ignoredchange); the full-suite legs there re-exercise this test, so there is nothing to fix forward on the dependabot commit.
Recorded (and closed) so a recurrence of this same shape — test_switch_picker_preview_auto_refreshes_when_compute_lands timing out on AUTOREFRESHMARK — can be detected per the repeat-occurrence escalation path. If it times out again on a future run, the test's auto-refresh stabilization should be hardened.
Activity
worktrunk-bot commentedon Jun 27, 2026
Transient load-driven flake in a PTY/TUI timing test — closing as diagnosed. No fix PR per the running-tend flaky-test rule (first occurrence; unverifiable timeout change against an interactive path the CI sandbox can't drive). Recorded for repeat-occurrence detection.
skills(running-tend): cite ci-fix 3a (transient), not 3b, for picker …