Files
AndreaSlopFotografie/aidlc-docs/features/frontend-shell/operations/plans/lighthouse-ci-questions.md
T
SluijsensandClaude Opus 5.5 23f7020ff5
Continuous Integration / check (pull_request) Successful in 5m56s
Continuous Integration / lighthouse (pull_request) Successful in 12m13s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / deploy-production (pull_request) Skipped
Makes Lighthouse performance report-only in CI
Lighthouse slows the CPU 4x relative to the measuring machine, so the
Raspberry Pi runner scores performance 30-40 points lower than a PC for
the same build. In CI the performance assertions now only warn;
accessibility, best practices and SEO still block, and performance still
blocks in `pnpm check` on a PC. Mobile and desktop reports go to
separate folders and are attached to every run as an artifact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 01:23:06 +02:00

1.5 KiB
Raw Blame History

Lighthouse in CI — vraag

Situatie (run 529)

  • Lighthouse draait nu op alle 7 pagina's op de runner. Toegankelijkheid, Best Practices en SEO halen hun doelen (100).
  • Performance faalt overal: 0,49–0,66 op de Raspberry Pi, tegen 0,82–0,95 op een pc. Het is dezelfde build.
  • Oorzaak: Lighthouse simuleert een middelmatige telefoon door de CPU 4× te vertragen ten opzichte van de meetmachine, en gaat ervan uit dat die meetmachine een snelle desktop is (pc: benchmarkIndex ≈ 4200). Een Pi is zelf al veel trager, en daar komt die 4× bovenop. Lighthouse waarschuwt zelf dat performance op zwakke hardware niet representatief is.

Vraag 1: Wat doet Performance in de pipeline?

A) In CI Performance alleen melden (waarschuwing in de log, met de rapporten als download bij de run). Toegankelijkheid, Best Practices en SEO blijven blokkerend. De blokkerende Performance-controle blijft in pnpm check op je pc, waar de meting wel klopt. (aanbevolen) De CI blijft betrouwbaar en vangt toegankelijkheid en SEO toch op. B) Performance in CI blijft blokkerend, maar de CPU-vertraging wordt aangepast aan de snelheid van de Pi (minder dan 4×), zodat de meting dichter bij een pc komt. Nauwkeuriger te maken, maar de juiste vertraging moet ik met een paar runs afstemmen, en een Pi onder wisselende belasting (andere builds) geeft wisselende scores. Kans op af en toe een onterecht rode pipeline. C) Lighthouse helemaal uit de pipeline, alleen lokaal in pnpm check X) Anders (beschrijf hieronder na de Answer:-tag)