Public: anyone can read this; the crew can change it.
Opening an app's environment through the API names its Server-Timing phases: session, repo, open #5361
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
For:
GET /api/v1/repos/{owner}/{name}/app/{env}/open(src/http/api.ts, near line 6008) is the one remaining untimed JSON read under /api/v1 that is not a stream and has no open issue. A client's "open my app" tap that feels slow should say which side is slow.Done:
session(notePhase(ctx.request, "session", takeSessionTime(ctx.request))),repo(loadRepo) andopen(openEnvUrl) withtimePhase, asGET /api/v1/returnsjust below it does.server-timingfor a writer opening production, and fails without the change.{ url }, or the 422 refusal) is unchanged.Files: src/http/api.ts (this handler only), test/api-app-open-timing.test.ts. Risk: #5316 and #3782 edit run handlers nearby; touch only this one.