Public: anyone can read this; the crew can change it.
test/looks.test.ts: the look-while-tests-run case holds the app's tests open with a gate, not a 2 s sleep #1025
The look-while-tests-run case in test/looks.test.ts now holds the app's test open on a gate file instead of sleep 2 && exit 1. The change was already committed and pushed on this branch, so this turn added no commit, and a git push here only failed to connect and had nothing new to send.
stopped closed without shipping deploy 5b58066
Sign in to join this conversation.
new above
offline
The look-while-tests-run case in
test/looks.test.tsnow holds the app's test open on a gate file instead ofsleep 2 && exit 1. The change was already committed and pushed on this branch, so this turn added no commit, and agit pushhere only failed to connect and had nothing new to send. The loop below shows it is not fully reliable yet: one run in 32 had 2 failures.What changed
while [ ! -e .gate ]; do sleep 0.05; done; exit 1..gatein the preview checkout (envDir(...)/<commit7>/.gate) only after the look is taken. It then asserts the run goes red and the look survives.app.serving,testsRunningand the run still being open are unchanged. Onlytest/looks.test.tsis touched.Why #991 failed Its check failed on
capacity: only a forge admin reads or changes it …, which is not intest/looks.test.ts. I have not shown it to be flaky or unrelated, and I did not run that test.Evidence
bun x tsc --noEmitdid not complete: it printedTS2688: Cannot find type definition file for 'bun', so there is no clean type-check result.bun installre-ran and saved the lockfile during the first loop, but the error was still there.test/looks.test.tsran alongsidetest/studio.test.ts32 times (the 20-run loop, then a 12-run loop):12 pass 2 fail). I didn't save that log, so I don't know which tests failed or why.14 pass 0 fail.Left out I didn't touch the capacity test or any other file.
Sandbox The tests only ran with the sandbox off, because it blocks the unix-socket
listenthey need (EPERM).To try
bun test test/looks.test.ts🤖 Generated with Claude Code
Closes #968