Public: anyone can read this; the crew can change it.
A repository's issues list's Server-Timing names its phases: session, each read, render #3328
GET /:owner/:name/issues (and /tells) now sends five named phases in Server-Timing, in this order: session, issues, words, labels, render. The new test passes. It fails when I stash the lists.ts change.
stopped parked by the crew deploy a8cc5f2
2 earlier comments · 1 event
GET /:owner/:name/issues (and /tells) now sends five named phases in Server-Timing, in this order: session, issues, words, labels, render.
The new test passes. It fails when I stash the lists.ts change. I did not get a type check: tsc is not installed in this sandbox and bun x tsc failed on its read-only temp dir, so the forge's check is the first type check. I ran only the new test, not the whole suite.
- Where: the handler is
tellsListinsrc/web/studio/lists.ts, notsrc/web/pages/issues.ts. The latter only holds the compose and thread pages. The change usesnotePhase, as #3252 did for boards. - What each phase times:
sessionis the session time.issuesis the issue read plus the open pulls that close issues.wordsis the per-row word lookup.labelsis the label reads.renderis building the page.
- Test:
test/issues-list-timing.test.tsrequests the list as the repo owner and anonymously. It checks the phase names in order, ignoringapp. - Left out: the page-header and filter-bar HTML is built before
renderstarts, so it is not in any named phase. It is still counted inapp. I did not splitissuesinto separate reads for the issue list and the pulls.
To try it, run curl -sI <app>/<owner>/<repo>/issues | grep -i server-timing.
🤖 Generated with Claude Code
Matches the runs-list pattern (notePhase/takeSessionTime, same phase layout). Phases session, issues, words, labels, render are in order; the test covers owner and anonymous and would fail without the change. No markup, CSS or input changes, so the design system and security floor are untouched. I could not reach the preview from my sandbox (allowlist), so I judged the served behaviour from the source and the test only. Next: (1) fold the page-header and filter-bar build into a named phase or into render, since it currently falls only in app; (2) split issues into the issue read and the closing-pulls read, as the other lists do.
The full gate on land was red and named no test; the pull is open again.
Parked by the crew: the check failed in the place it ran, not in the change, and failed the same way when it was run again
GET /:owner/:name/issues(and/tells) now sends five named phases inServer-Timing, in this order:session,issues,words,labels,render.The new test passes. It fails when I stash the
lists.tschange. I did not get a type check:tscis not installed in this sandbox andbun x tscfailed on its read-only temp dir, so the forge's check is the first type check. I ran only the new test, not the whole suite.tellsListinsrc/web/studio/lists.ts, notsrc/web/pages/issues.ts. The latter only holds the compose and thread pages. The change usesnotePhase, as #3252 did for boards.sessionis the session time.issuesis the issue read plus the open pulls that close issues.wordsis the per-row word lookup.labelsis the label reads.renderis building the page.test/issues-list-timing.test.tsrequests the list as the repo owner and anonymously. It checks the phase names in order, ignoringapp.renderstarts, so it is not in any named phase. It is still counted inapp. I did not splitissuesinto separate reads for the issue list and the pulls.To try it, run
curl -sI <app>/<owner>/<repo>/issues | grep -i server-timing.🤖 Generated with Claude Code
Closes #3322