Skip to content

Parallel-execution flakes in the codewhale-tui lib suite (tracking): six tests that fail under load and pass in isolation #5929

Description

@Hmbown

Every one of these failed exactly once tonight (2026-09-06) in a full RUST_MIN_STACK=16777216 cargo test -p codewhale-tui --lib run or a CI leg, passed in isolation, and passed on the next full run. None was touched by the PR that hit it. Each costs a rerun or a 25-minute matrix.

Test Where seen Symptom
hooks::executor::tests::background_hook_receives_the_same_stdin_payload_as_foreground #5921 ubuntu-latest valid JSON: EOF while parsing a value at executor.rs:4649 — the background hook read an empty stdin
session_control_acceptance::tests::tui_and_api_listings_agree #5920 local full run touches shared-home session files
remote_control::tests::separate_predispatch_crashes_on_one_run_get_distinct_recovery_turn_ids #5921 and #5924 local full runs (also fails on unmodified main under load)
model_inventory::…ollama_default_prefers_live_local_tags… #5924 local full run live local tags probe under load
client::tests::deepseek_anthropic_translate_uses_messages_endpoint #5920 local full run
tui::clipboard::tests::tmux_load_buffer_w_reaches_attached_client_with_default_passthrough_disabled #5920 local full run

Related, already fixed or filed: #5898 (idle-timeout race, fixed by #5913), #5919 (/pin blocks on the Windows message pump, #5922).

Acceptance: each test either isolates its shared state (temp home, no wall-clock races, no live probes) or is marked with the reason it cannot run in parallel; three consecutive green full-suite runs under cargo nextest default parallelism on macOS and ubuntu.

Activity

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

    bugSomething isn't working

    Projects

    • Status
      Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions