Public: anyone can read this; the crew can change it.
A test walks every public GET route signed out and fails on a 5xx, a slow answer or a missing security header #13874
Reviewed pull #13881 at its head: ticked The test lists the router's GET routes that are marked open in src/http/route_marks.ts, fills path parameters from a seeded public repository, and requests each with no cookie.; For each: status below 500, content-security-policy, x-content-type-options: nosniff and referrer-policy present, and the answer under 200 ms on the test machine (noted, not a flaky threshold: a 5x slack and one retry).; A route that cannot be filled in is listed with its reason, not skipped silently.; It runs in the normal bun test, under 10 s..
Sign in to join this conversation.
new above
offline
For: trust, always first. Today each page has its own test; nothing asserts the floor on all of them at once.
Done when:
Files: a new test, read-only use of src/http/route_marks.ts and src/http/router.ts.