test: add homepage performance guardrails - #1355
jderochervlk wants to merge 8 commits into
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
guide | c2468ab | Commit Preview URL Branch Preview URL |
Sep 18 2026, 02:20 PM |
74bc6c1 to
75eb72c
Compare
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Lighthouse baselineNo Lighthouse baseline is available for target branch
Download the full Lighthouse reports and baseline Commit |
Guide Cloudflare deployment⛅️ wrangler 4.130.0 To deploy this version to production traffic use the command wrangler versions deploy Changes to non-versioned settings (config properties 'logpush' or 'tail_consumers') take effect after your next deployment using the command wrangler versions deploy Changes to triggers (routes, custom domains, cron schedules, etc) must be applied with the command wrangler triggers deploy |
Cloudflare deploymentDeployement ID: de571779-71ba-4168-ae7d-138a4ae9b24e ⛅️ wrangler 4.130.0 ✨ Uploading _redirects |
Add production Playwright coverage for prerendering, hydration, navigation, clipboard behavior, and image loading. Track initial asset, DOM, and media baselines in CI before the homepage optimization stack changes them.
Align the Playwright container and deterministic homepage budgets with the React Router, Vite, and Playwright versions now on master.
Run the production prerender build on the standard Ubuntu runner and install Chromium explicitly, avoiding the React Router temporary-server failure inside the Playwright job container.
Run Lighthouse three times against the exact Cloudflare Pages deployment URL and enforce conservative category and Core Web Vitals baselines. Upload the generated reports as workflow artifacts for inspection.
Persist a branch-scoped Lighthouse baseline with the full reports, restore it on the next deployment, and publish a sticky PR comparison comment with a direct artifact link. Cancel stale branch deploys and remove superseded artifacts so each branch retains one current baseline.
Continue collecting and comparing Lighthouse results without failing the performance stack while the homepage optimizations are still in progress.
Restore the Lighthouse artifact for each pull request's base branch instead of the previous artifact from its head branch. Report missing target baselines as N/A so the first stack layer can establish the initial baseline without implying a zero score.
2b41564 to
44b062f
Compare
Query the pull request API when selecting the Lighthouse target artifact so stacked pull requests compare against their current base branch even when the workflow event payload is stale.
Context
Establish regression coverage before the homepage performance stack changes component boundaries, images, route payloads, CSS, effects, and compiler behavior.
Changes
Relates to #1354.
Stack created with GitHub Stacks CLI