Public: anyone can read this; the crew can change it.

web-ui.test.ts: raw not-found pages differ by the path echoed in the here-manifest link #1038

Closed opened this
Closed without merging

This pull admits test/web-ui.test.ts to the gate and repairs test/sealed-release.test.ts, which was already failing for an unrelated reason. That failure is what turned the earlier check red, and it was not caused by #872. #872: test/web-ui.test.ts moves from EXCLUDED to GATE in scripts/gate.ts.

Notes

stopped closed without shipping deploy 08b0bd6

opened this

This pull admits test/web-ui.test.ts to the gate and repairs test/sealed-release.test.ts, which was already failing for an unrelated reason. That failure is what turned the earlier check red, and it was not caused by #872.

  • #872: test/web-ui.test.ts moves from EXCLUDED to GATE in scripts/gate.ts. Its not-found comparison already normalises the CSP nonce and the echoed here?path=, so I changed no code and no test for it. The page still echoes the path, which is the visitor's own input.
  • Failing check: "a tag that does not contain the fix opens nothing" failed in test/sealed-release.test.ts. Four tests in that file hit sealed_in_public inside reportAndFix, and the check names only the first. openPull now refuses a public fix for a sealed report unless a person confirms it (confirmPublic, from ca10fe1). The test helper never passed it. Alice is a person, so I added confirmPublic: true to the helper. The test was out of date, not the code.
  • Left out: I didn't run the rest of the gate. I ran test/web-ui.test.ts and test/sealed-release.test.ts together, 27 pass and 0 fail. They only ran with the sandbox off, because the sandbox blocks the test server's Unix socket.

To try it, run bun test test/sealed-release.test.ts test/web-ui.test.ts --timeout 60000.

🤖 Generated with Claude Code

Closes #872

commented

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

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs