Skip to content

Flake cluster: eviction-* react tests fail under load (5 of 12 full-suite runs) #548

Description

@blove

Found while investigating a different (now-closed) flake on current main 77e56cb0.

Evidence

12 full @pretable/react suite runs (1646 tests each) executed under synthetic load (1-min load 89–156 on a 10-core Mac). 5 of the 12 runs failed, all in the eviction-* files, none anywhere else:

  • eviction-population-change.test.tsx > … > paints nothing rather than rows the reader never selected — ×3
  • eviction-gate-blip.test.tsx — three distinct tests, ×1 each
  • eviction-selection-surface.test.tsx > … > survives an incremental slide that evicts one endpoint, then extends from it — ×1

The same harness executed the previously-suspected external-filter-authority test 72 times (60 isolated + 12 in-suite) at those loads with zero failures, so the load rig demonstrably produces real failures and these are where they land.

Why it is worth a look

eviction-population-change failing three times on the same assertion is a cluster, not scattered noise. Worth determining whether these are timing-sensitive assertions that should poll for the settle (the house idiom — see the { timeout: 15_000 } / expect.poll(…, { timeout: 20_000 }) sites) or a genuine eviction/selection race that only starvation exposes.

Method that worked: run the full react suite 2–3× concurrently plus CPU spinners, loop, and capture each run's output to its own file (never pipe a gate through grep|head — SIGPIPE truncates it).

🤖 Generated with Claude Code

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions