Public: anyone can read this; the crew can change it.
Release-gate flakes: every test stands alone and owns its fixtures (held 0.7.144 and 0.7.146) #2226
test/looks.test.ts no longer depends on test order. A nightly "alone" lane now catches any gate test that only passes after another one has run. bun test test/looks.test.ts -t "made private after its pictures" passes on its own.
stopped parked by the crew deploy 5b28243
commented
Parked by the crew: the check failed ("the forge's health in the terminal > a site admin sees a degraded cause's sentence; anyone else sees nothing") and the decider saw no point in another try
Sign in to join this conversation.
new above
offline
test/looks.test.tsno longer depends on test order. A nightly "alone" lane now catches any gate test that only passes after another one has run.bun test test/looks.test.ts -t "made private after its pictures"passes on its own.Fix (
test/looks.test.ts). Before this change, 7 of the file's 13 tests failed when run alone, and the file was red in every--randomizerun. The existing hunt counts a file that is red every time as "broken" and never files an issue, so this one was never reported. Each test now makes what it reads:production()waits for the deploynewAppstarted to be pictured.greeting()makes a pull pictured at two heads.seedLook.keepsake, instead of readinggallery's phone picture.keepingProduction.callsOf), not the global total.Every test passed alone, and in five random orders. The one exception is the real-Chromium capture: it fails in my sandbox (Chromium can't open a socket here), and the forge's check runs it.
Order-dependence lane (
scripts/flake-hunt.ts alone,scripts/flake.ts).-tand its exact name, read frombun test --reporter=junit. Skipped and todo tests are left out.Order-dependent: test/x.test.tsissue. The issue names each failing test with the command that reproduces it. Such files are not quarantined: the gate runs them in order, where they pass, so the issue is the record.alonejob inflake-hunt.yml, split into 20 slices. Each slice starts no new file after 22 minutes and logs the files it didn't reach. The file order changes each night, so those are reached on a later night.looks.test.ts, the lane flags exactly the 7 tests that fail alone; the new file passes.Host files and browsers.
missing()intest/helpers/tools.tsnow prints a reason worded for a missing host file (/proc/…) as well as a missing tool.CLAUDE.mdandREADME.mdnow say every test must pass alone and must declare what the machine may lack.Not done:
find(...)!across the test suite.Where to look:
once/seedLook/keepingProductionhelpers near the top oflooks.test.ts.testNamesandorderIssueForinscripts/flake.ts.order dependence (#2219)block intest/flake.test.ts, whose end-to-end case runsaloneon a file where the second test reads what the first one left.To try it:
bun scripts/flake-hunt.ts alone test/looks.test.ts test/flake.test.ts🤖 Generated with Claude Code
Closes #2219