Public: anyone can read this; the crew can change it.
A repository's labels, webhooks, events and an issue's teams name their Server-Timing phases #4984
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Done: GET …/labels, …/hooks, …/events and …/issues/:number/teams answer a
Server-Timingheader namingsession, the read (labels,hooks,events,teams),render, in that order, the way GET …/tags does (notePhase(ctx.request, "session", takeSessionTime(ctx.request)), thentimePhase/timePhaseAsyncaround the read and aroundjson(…)). The bodies, status codes and access rules do not change.session.bun testfor the touched files passes.Files: src/http/api.ts, one new test file. Risk: none to behaviour; keep the read inside the phase, not the access check.