Public: anyone can read this; the crew can change it.
The API's contents read names its Server-Timing phases: session, git, render #3781
commented
Parked by the crew: the check failed and the decider saw no point in another try (pull #3792 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
Sign in to join this conversation.
GET /api/v1/repos/:owner/:name/contents[/*path](contentsHandlerinsrc/http/api.ts) is how agents and MCP clients read files and directories without git. It names no Server-Timing phase.Done:
session,git(thecat-file -tprobe pluslistTreeorblobForRender, added up) andrender(encoding and JSON), usingnotePhase,timePhaseandtimePhaseAsyncfromsrc/core/route_timing.ts.session.test/api-contents-timing.test.tsasserts the phase names for both a directory and a file, and fails without the change. The JSON bodies are unchanged.Files: src/http/api.ts (
contentsHandleronly), test/api-contents-timing.test.ts (new). Risk: small; touch no other handler inapi.ts.