Public: anyone can read this; the crew can change it.
The asks page's Server-Timing names its phases: session, top, asks, render #3768
GET /asks now names session, top, asks and render in Server-Timing, alongside app. I didn't run the type check: bun x tsc --noEmit and bun install both failed in the sandbox with bun is unable to write files to tempdir: ReadOnlyFileSystem, so the forge's check will be the first type check.
stopped parked by the crew deploy 856ec8c
GET /asks now names session, top, asks and render in Server-Timing, alongside app. I didn't run the type check: bun x tsc --noEmit and bun install both failed in the sandbox with bun is unable to write files to tempdir: ReadOnlyFileSystem, so the forge's check will be the first type check.
session:asksPagenotes it first, usingtakeSessionTime. That happens before the sign-in check, so a signed-out request still names it and the redirect is unchanged.top: it times thehomeTopread, which covers a bulk preview or receipt.asks: it times thedecisionsForread insideneedsYouSection.render: it times thepage()call. The HTML is unchanged.- The home also gets
asks:needsYouSectionis shared with the home page, so/now carries anasksphase too. That is the one side effect.
test/asks-timing.test.ts is new. It gives a signed-in person a ready-to-ship pull, which is an ask, and asserts the four phase names. A second test checks that signed out, /asks still redirects to sign in and names session. Both tests fail with the src change stashed. They pass with it, as do home-timing.test.ts and asks.test.ts.
I left alone the POST routes that re-render the page through renderAsks. They name only render.
Parked by the crew: the check failed ("acting on many asks at once > mute silences a repository in On you, for the person alone; undo listens again") and the decider saw no point in another try
GET /asksnow namessession,top,asksandrenderin Server-Timing, alongsideapp. I didn't run the type check:bun x tsc --noEmitandbun installboth failed in the sandbox withbun is unable to write files to tempdir: ReadOnlyFileSystem, so the forge's check will be the first type check.session:asksPagenotes it first, usingtakeSessionTime. That happens before the sign-in check, so a signed-out request still names it and the redirect is unchanged.top: it times thehomeTopread, which covers a bulk preview or receipt.asks: it times thedecisionsForread insideneedsYouSection.render: it times thepage()call. The HTML is unchanged.asks:needsYouSectionis shared with the home page, so/now carries anasksphase too. That is the one side effect.test/asks-timing.test.tsis new. It gives a signed-in person a ready-to-ship pull, which is an ask, and asserts the four phase names. A second test checks that signed out,/asksstill redirects to sign in and namessession. Both tests fail with thesrcchange stashed. They pass with it, as dohome-timing.test.tsandasks.test.ts.I left alone the POST routes that re-render the page through
renderAsks. They name onlyrender.Closes #3764