Skip to content

fix(ci): #168 drop lighthouse:no-pwa preset (re-failed every main push)#174

Merged
TortoiseWolfe merged 1 commit into
mainfrom
fix/168-lighthouse-assert-preset
Jul 4, 2026
Merged

fix(ci): #168 drop lighthouse:no-pwa preset (re-failed every main push)#174
TortoiseWolfe merged 1 commit into
mainfrom
fix/168-lighthouse-assert-preset

Conversation

@TortoiseWolfe

Copy link
Copy Markdown
Owner

Follow-up to #172 — the fix worked, and revealed the next layer

Removing continue-on-error in #172 did its job: the post-merge lighthouse run on 82a69ea failed loudly instead of silently. But it failed at assert, not collect — the #172 URL fix worked (collect ran clean against all 3 URLs). The lighthouse:no-pwa preset ships error-level per-audit assertions (errors-in-console, valid-source-maps, legacy-javascript, forced-reflow-insight, …) that fail on a perfectly healthy site — re-creating the exact "red check everyone ignores" #168 set out to kill. (I initially assumed our assertions were all warn-level; the preset overrode that — corrected here.)

Fix

This monitor is a daily/push perf dashboard (commits scores to docs/lighthouse-scores.json, runs on schedule + push-to-main), not a merge gate. Drop the preset; keep only the four warn-level category assertions. Score regressions surface as log warnings without failing the job; a genuine collect failure (site unreachable) still fails loudly (step is no longer continue-on-error).

Also gitignored .lighthouseci/ (local run artifacts).

Verified

lhci assert --config=.github/lighthouse/lighthouserc.json against the live site → exit 0, zero error-level failures (was six ✘ on the 82a69ea run).

Refs #168

🤖 Generated with Claude Code

… push

Follow-up to #172. Removing continue-on-error correctly surfaced a real
problem: the post-merge lighthouse job failed on 82a69ea — but NOT at
collect (the #172 URL fix worked, collect ran clean against all 3 URLs).
It failed at ASSERT: the `lighthouse:no-pwa` preset ships error-level
per-audit assertions (errors-in-console, valid-source-maps,
legacy-javascript, forced-reflow-insight, ...) that fail on a perfectly
healthy site — re-creating the exact "red check everyone ignores" this
issue set out to kill.

This monitor is a daily/push perf DASHBOARD (commits scores to
docs/lighthouse-scores.json, runs on schedule + push-to-main), not a merge
gate. So: drop the preset, keep only the four warn-level category
assertions. Score regressions now surface as warnings in the log without
failing the job; a genuine collect failure (site unreachable) still fails
loudly because the step is no longer continue-on-error.

Verified locally: `lhci assert --config=.github/lighthouse/lighthouserc.json`
against the live site → exit 0, zero error-level failures (was six ✘ on the
82a69ea run).

Refs #168

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@TortoiseWolfe TortoiseWolfe merged commit a3bddfc into main Jul 4, 2026
17 checks passed
@TortoiseWolfe TortoiseWolfe deleted the fix/168-lighthouse-assert-preset branch July 4, 2026 18:09
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