You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flaky tests under a 1-CPU stress run: doctor::catalog_flags_an_unreachable_provider and tui_host tree_after_fork #712
Closed 2026-11-17 as not reproducible. Under taskset -c 0 with 3 parallel streams of busy loops and --test-threads 32, doctor::tests::catalog_flags_an_unreachable_provider and tui_host::tests::tree_after_fork_shows_the_new_session_under_the_source_and_switches_back ran inside the whole tole-cli lib suite 105 times with 0 failures; the doctor test already carries the #712 fix (a listener held open that hangs up on every connection). The remaining items named here (session_effort_e2e, wire_size_missions, the delegate test) were read and stress-run (100 and 8 loops, 0 failures) and the delegate test race behind a real CI failure was fixed in #884 (#702). Reopen with a failing CI run or a recorded stress failure if either test flakes again.
Found while fixing #702 (PR #711). Each failed once during a stress run pinned to one CPU; neither was reproduced in the normal runs, so neither is fixed.
doctor::tests::catalog_flags_an_unreachable_provider: a None unwrap at doctor.rs:1168.
tui_host::tests::tree_after_fork_shows_the_new_session_under_the_source_and_switches_back: a session writer lock held by another pid.
To do
Reproduce each in a loop under taskset -c 0 plus CPU load.
Find the cause (a race on timing or a lock handed over too early) and fix it with a condition wait or by making the test hermetic. Do not skip or quarantine.
Status 2026-11-15: the shared wait_until helper (#823) and the nightly one-CPU workflow (#824, green on develop, run 43689185320) now cover this class of failure. The two tests named here were not reproduced in the stress runs of #823. Keeping this issue open; close it if the nightly stays green for a week. A new flake of the same kind is tracked in #828.
Activity
fix: wait out a transient writer-lock duplicate and make the lock and…
fix(storage): gate the lock-identity probe to unix so windows builds …
test: wait for conditions instead of fixed sleeps, shared wait_until …
ajianaz commentedon Nov 15, 2026
Status 2026-11-15: the shared
wait_untilhelper (#823) and the nightly one-CPU workflow (#824, green on develop, run 43689185320) now cover this class of failure. The two tests named here were not reproduced in the stress runs of #823. Keeping this issue open; close it if the nightly stays green for a week. A new flake of the same kind is tracked in #828.Generated by Claude Code
fix(delegation): probe a child's liveness once per recovery pass (#712)…
fix(test): wait for the TUI to be idle before the next input and drai…
fix(test): write the fake reporter's argv and env atomically and clea…