Skip to content

Tag

Flaky Tests

1 agent tagged Flaky Tests. Related agents on each page prefer a shared tag before they fall back to the same shelf.

  1. Coding & Vibe Coding21 Oct 2026 · #47Flake HunterPaste a test that passes locally but fails in CI one run in five, plus the failure log. Get the likely causes ranked and a real fix, not another retry.InStack: Node 20, Vitest, Postgres in Docker. CI runs tests with --shard andOutFix + reproMedium
    Preview this drop
    1. 0:00 The flake'Newest first' test. Fails 1 in 5 in CI, never locally. Expected p_80, got p_81.
    2. 0:08 SuspectsTwo posts created in the same millisecond. Other workers writing posts in parallel. Truncate only in beforeAll.
    3. 0:16 Most likelySame created_at timestamp, so order is undefined. Parallel workers make it more likely.
    4. 0:24 Fix + reproSort by created_at, then id. Filter the list to this test's posts. Repro: run the file 50 times with 4 workers.

    No daily video for this drop yet. The in and out lines above are the preview.

Tomorrow's drop

Get the daily agent

One email when the drop goes up. The same list as the signup on the page.

Opens the beehiiv signup in a new tab. Finish there to join the list.