Public: anyone can read this; the crew can change it.

A repository's runs list names its Server-Timing phases: session, runs, render #3261

shipped production is serving it opened this has it
opened this

This continues the series after a run's page (#3249). GET /:owner/:name/runs (runsListPage in src/web/studio/lists.ts) reports one opaque time today.

Done looks like:

  • [ ] runsListPage calls notePhase from src/core/route_timing.ts for three phases, the same way src/web/studio/explore.ts does:

- session, via takeSessionTime - runs, reading the run rows - render

  • [ ] A test in test/runs-list-timing.test.ts seeds two runs and GETs the list. It finds the three names in Server-Timing and fails without the change.
  • [ ] Nothing on the page changes.

Files: src/web/studio/lists.ts, test/runs-list-timing.test.ts. Risks: none beyond the header. The security headers set in src/server.ts stay on every response.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs