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 #1076
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Replaces #967, parked twice:
Those checks went red on tests this change does not touch. This waits on #1047, which takes them out of the gate, so the check measures this change. Start from today's main. What done looks like is #967's, unchanged:
---
Pillar: P0 Trust (#586). Split from #842, which was parked twice on other files' flakes.
"the runs list, one run's log page, and the short door to it" (test/web-apps.test.ts, around line 338) renders
/alice/hello/runs/<id>and then reads the run's state to decide whetherdata-stream=should be on the page. If the deploy finishes in between, the page says "going" while the state says "done":Expected: false, Received: true.Done looks like
test/web-apps.test.tschanges. It passes 20 times in a row withtest/studio.test.tsrunning alongside. Quote the loop's output.bun x tsc --noEmitand the test files this touches, and quote both in the pull.🤖 Generated with Claude Code