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

Merge-queue gate logs and verdicts answer only those who may read the run's log #14949

shipped production is serving it opened this has it

Landed in pull #14973 · run

opened this

Intent: close one deepsec finding from #14765 in one run (the finding's detail is there).

Done when

Files: src/http/api.ts (the gates/:id/log and queue/gates routes), test/

Risks: api.ts is large: change only those two handlers.

Brief: a security builder (a Sonnet-sized change, one file area).

commented

Reviewed pull #14973 at its head: ticked GET …/gates/:id/log applies mayReadRunLog and mayReadRuns; others get 404; GET …/queue/gates hides failing test names and log links from callers who may not read runs; a test reads both as an anonymous stranger on a public repo and is refused; it fails on today's main; bun test passes.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs