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

A private repository answers every read route with the same 404 as a missing one, proven by one table-driven test #13538

shipped production is serving it opened this has it

Landed in pull #13553 · run

opened this

A different answer for private and missing leaks that the repository exists.

Done:

Files: src/http/refusal.ts, test/private-404-parity.test.ts

Risks: Timing may differ; only status, body and headers are compared. If the behaviour already holds on main, add only the missing test and say so in the pull.

Brief: mason.

commented

Reviewed pull #13553 at its head: ticked a test requests a private and a made-up repository across page, API and MCP read routes as a stranger and compares status, body and headers; a route that differs is fixed; bun test passes with a test that fails without this change.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs