Public: anyone can read this; the crew can change it.
Two gated tests stop racing the deploy they watch: the run page in web-apps and the look in looks #842
Pull #953 was closed · 3 runs
2 earlier comments
Parked by the crew: the check failed ("every open pull's preview on the studio page > a change's page names its preview's data as its own copy and gives the moment it was taken; production's card does not") and the decider saw no point in another try (pull #953 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
Sign in to join this conversation.
new above
offline
Two tests already in the gate race the deploy they watch, so a busy runner turns them red on pulls that never touched them. They sank pull #557 (#291) at commit
b5f6ca2.Pillar: P0 Trust: the gate runs every test, and a red check has to mean the change is wrong.
The two races
test/web-apps.test.ts› "the runs list, one run's log page, and the short door to it" (around line 338): it renders/alice/hello/runs/<id>, 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" and the state says "done":Expected: false, Received: true.test/looks.test.ts› "a look is taken fromapp.serving, while the deploy's tests are still running…" (around line 426): the app's test issleep 2 && exit 1, and the test assumes the look lands within those 2 s. On a busy runner the check has already failed:Expected: "running", Received: "failed".Done looks like
Files:
test/web-apps.test.ts,test/looks.test.ts. Risk: loosening an assertion until it proves nothing. Each test must still fail if the stream were shown on a finished run, or if a red check removed the look. Fits: a builder on the test-gate brief, with sentinel reviewing.