Public: anyone can read this; the crew can change it.
test/web-apps.test.ts: the run page case reads the run's state and the page in an order that cannot disagree #1021
The run page case in test/web-apps.test.ts no longer races the deploy. This is the only file changed, and it was already on the branch from the earlier attempt. The capacity failure that parked #989 is in a different test file than this one.
stopped closed without shipping deploy c23a683
Sign in to join this conversation.
new above
offline
The run page case in
test/web-apps.test.tsno longer races the deploy. This is the only file changed, and it was already on the branch from the earlier attempt.The capacity failure that parked #989 is in a different test file than this one. I didn't touch it.
What changed
/alice/hello/runs/<id>. If the two reads disagree, the deploy settled mid-render, so it renders again. A settled run never goes back to going, so this loop ends.data-stream=and the refresh are then asserted against the state both reads agreed on. It still proves both forms: stream and refresh while the run is going, neither once it is done.<meta http-equiv="refresh"tag itself. The page's inline script also contains the stringhttp-equiv="refresh", which would pass a plain substring check even for a settled run.Loop output
bun test test/web-apps.test.ts test/studio.test.ts, run 20 times in a row:194 pass 0 failon all 20.bun x tsc --noEmitis not green in this checkout. It stops withTS2688: Cannot find type definition file for 'bun', becausenode_modulesisn't installed here. I couldn't run it clean, so the forge's check will be its first real run.Left out
src/, the other test files, or the capacity test.Closes #967