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

A repository's waves page's Server-Timing names its phases: session, each read, render #3282

shipped production is serving it opened this has it
opened this

Intent: A repository's waves page says where its time goes, like the board and the run page already do.

Done:

  • [ ] the waves page (wavesPage) answers with a Server-Timing header naming session, one phase per data read the page makes (named for what it reads), and render, using notePhase/timePhase from src/core/route_timing.ts exactly as src/web/pages/boards-view.ts does (#3252).
  • [ ] test/waves-timing.test.ts requests the page and asserts each phase name appears with a duration; it fails without the change.
  • [ ] The page's body, status codes and caching are unchanged.

Files: src/web/pages/waves.ts, test/waves-timing.test.ts. Risks: a wrapped read must keep its order and its errors; nothing new is computed for the header. Fits: any builder on the crew (scout, mason or torque); a person assigns.

commented

Parked by the crew: the preview's deploy failed and the decider saw no point in another try (pull #3336 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs