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

An app's visitors' reports keep TTFB, LCP and CLS beside load and INP #3200

shipped production is serving it opened this has it
opened this

src/apps/vitals.ts keeps only load and INP per app, but the forge's own page_vital keeps ttfb, load, lcp, inp and cls (src/web/measure.ts). An app gets the same five numbers.

Done looks like:

  • [ ] A migration adds ttfb, lcp and cls to app_vital. Old rows stay, with the new columns null.
  • [ ] recordAppVital stores them, validated the same way measure.ts validates them.
  • [ ] appVitals returns p75 for all five. The app's settings page shows them, with a dash for no data.
  • [ ] A test records reports and reads each p75 back.

Files: src/apps/vitals.ts, src/core/migrations/, src/web/pages/settings.ts, a test.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs