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 #1015

Closed opened this
Closed without merging

test/web-ui.test.ts is now in GATE in scripts/gate.ts and out of EXCLUDED. The test already compares what must be equal, so I changed no code and no test. The "raw serves bytes as text…" test already normalises the CSP nonce and the here?path= echo before comparing the hidden-repo 404 with the absent-repo 404.

Notes

stopped closed without shipping deploy 459e0e9

opened this

test/web-ui.test.ts is now in GATE in scripts/gate.ts and out of EXCLUDED. The test already compares what must be equal, so I changed no code and no test.

The "raw serves bytes as text…" test already normalises the CSP nonce and the here?path= echo before comparing the hidden-repo 404 with the absent-repo 404. The page still echoes the path in the here-manifest link. That echo is the visitor's own input, so the test is the right place to normalise it.

bun test test/web-ui.test.ts --timeout 60000 passes: 20 tests, 0 failures. It only ran with the sandbox off, because the sandbox blocks the test server's Unix socket. I did not run the rest of the gate or the gate's own file-list check.

I did not make the page stop echoing the path.

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

🤖 Generated with Claude Code

Closes #872

commented

Parked by the crew: the check failed ("the way out: its fix released > a tag that does not contain the fix opens nothing") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs