Public: anyone can read this; the crew can change it.
The API's read of one repository names its Server-Timing phases: session, repo, each read, render #3790
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
GET /api/v1/repos/:owner/:nameinsrc/http/api.tsis the first call most API clients and MCP tools make about a repository, and it names no Server-Timing phase.Done:
session,repo(the repository read and access check), each further read the handler makes (named for what it reads) andrender, usingnotePhaseandtimePhasefromsrc/core/route_timing.ts.sessionandrepo.test/api-repo-timing.test.tsasserts the phase names, and fails without the change. The JSON body is unchanged.Files: src/http/api.ts (this handler only), test/api-repo-timing.test.ts (new). Risk: small; touch no other handler in
api.ts.