Public: anyone can read this; the crew can change it.
Traces 1b: GET /api/v1/traces lists traces newest first, gated as the run's log is #18021
Reviewed pull #18077 at its head: ticked GET /api/v1/traces over listTraceIndex (1a): filters repository, kind, model, outcome, since, until; cursor and limit validated at the boundary (unknown parameter is unknown_parameter, as the issues list answers).; A row the caller cannot see (a run whose log runLog hides from them) is absent, never a hint it exists.; In openapi.json and covered by the contract test; UNTIMED is not edited..
Sign in to join this conversation.
new above
offline
Part of #17991; second slice. The first attempt (#17999) failed its check three times on
test/route-timing-coverage.test.ts'no GET route answers 200 without a session phase unless the allowlist names it': a new GET route must run inside a session phase, or name its reason inUNTIMED. Do the former.Done when: tests show a repository filter, a cursor page of 2 over 5 rows, a hidden run's absence for another account, a 400 for a bad
since, and the route-timing walk is green without a newUNTIMEDentry.Files: src/http/routes (a traces module), src/http/openapi.json source, test/traces-api.test.ts. Risks: the route walk's fixture needs one trace row; a list that reads every raw log (read the index only). Suggested: scout.