Commit db8a4bb
fix(lighthouse-ci): unblock nextjs-16 + astro-5; drop react-router-7-spa
Last CI run (b766f80) was a big step forward — 21 of 30 cells succeeded,
proving the pipeline works end-to-end. Three apps still failed:
1. nextjs-16 — build-time TypeScript error:
Type error: '"@sentry/nextjs"' has no exported member named 'Integration'.
The previous SENTRY_LIGHTHOUSE_MODE refactor introduced
const integrations: Sentry.Integration[] = []
but `@sentry/nextjs` doesn't re-export the `Integration` type. Fix by
inlining a spread-based array literal in Sentry.init() so no explicit
type annotation is needed. TypeScript infers integration types from
the individual integration factories.
2. astro-5 — Lighthouse hit chrome-error://chromewebdata/ (CHROME_INTERSTITIAL_ERROR):
The @astrojs/node adapter defaults to port 4321, not 3000. The server
started fine and printed "Listening on localhost:4321" — matching our
readyPattern: 'localhost' — but LHCI then navigated to
http://localhost:3000/, where nothing was listening, and Chrome
bounced to its error page. Fix: prefix the start command with
PORT=3000 so the Astro server binds to the port Lighthouse audits.
3. react-router-7-spa — Lighthouse reported NO_FCP across all three modes:
the bundle loads, no obvious error in the log, but the page never paints
within the navigation timeout. Could be a 2-minute fix or a 2-hour
debug — and we already have 7 frontend SDKs reporting cleanly
(browser, react, vue, svelte, sveltekit, astro, nuxt, tanstack-start,
nextjs). Drop it from the matrix to match the previous descope decision
(angular, remix, ember, solidstart). Can be re-added once we figure
out why React Router 7 SPA doesn't paint under headless Chrome with
simulated throttling.
Matrix shape goes from 10 apps × 3 modes (30 cells) to 9 apps × 3 modes
(27 cells).
Co-Authored-By: Claude claude-opus-4-5 <noreply@anthropic.com>1 parent b766f80 commit db8a4bb
3 files changed
Lines changed: 25 additions & 35 deletions
File tree
- dev-packages
- e2e-tests/test-applications/nextjs-16
- lighthouse-tests
Lines changed: 14 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 13 | | |
34 | 14 | | |
35 | 15 | | |
| |||
38 | 18 | | |
39 | 19 | | |
40 | 20 | | |
41 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
42 | 35 | | |
43 | 36 | | |
44 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 63 | | |
67 | 64 | | |
68 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments