Skip to content

Align performance reporting with web-vitals 4 - #385

Merged
Jason Johnston (jasonjoh) merged 2 commits into
mainfrom
copilot/fix-github-actions-job
Oct 19, 2026
Merged

Jason Johnston (jasonjoh) merged 2 commits into
mainfrom
copilot/fix-github-actions-job

Conversation

Copilot AI commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

The Build and test (18.x) job failed because web-vitals 4.2.4 removed the get* APIs and ReportHandler used by the app.

  • Update reporting: Use MetricType and the v4 metric APIs, including onINP in place of the removed getFID.
  • Align dependency: Pin web-vitals to 4.2.4 and update the Yarn lockfile.
import('web-vitals').then(({ onCLS, onINP, onFCP, onLCP, onTTFB }) => {
  onCLS(onPerfEntry);
  onINP(onPerfEntry);
  onFCP(onPerfEntry);
  onLCP(onPerfEntry);
  onTTFB(onPerfEntry);
});

Co-authored-by: jasonjoh <8966342+jasonjoh@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix the failing GitHub Actions job Build and test (18.x) Align performance reporting with web-vitals 4 Oct 19, 2026
@jasonjoh
Jason Johnston (jasonjoh) marked this pull request as ready for review October 19, 2026 20:09
@jasonjoh
Jason Johnston (jasonjoh) merged commit bad23aa into main Oct 19, 2026
5 checks passed
@jasonjoh
Jason Johnston (jasonjoh) deleted the copilot/fix-github-actions-job branch October 19, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants