Skip to content

flaky tests under a 1-CPU stress run: doctor::catalog_flags_an_unreachable_provider and tui_host tree_after_fork #712

Closed as not planned

Description

@ajianaz

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

Activity

  1. added
    bug
    on Nov 14, 2026
  2. ajianaz commented on Nov 15, 2026

    @ajianaz
    ContributorAuthor

    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.


    Generated by Claude Code

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions