feat(T-6.5): lighthouse perf pass (≥80 on 8 pages)#243
Merged
Conversation
58faacb to
9d5c0fb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pnpm --filter @commit-analyzer/web lh:fullbuilds the web app with stub env, boots the e2e mock API +next start, then audits 8 pages with the Supabase auth cookie pre-set (extraHeaders: { Cookie }). Exits non-zero if any page < 0.80 perf..github/workflows/lighthouse.ymlrunslh:build+lhon every PR touchingapps/web/**orpackages/**and uploadslighthouse/(HTML + JSON + summary.md) as an artifact.next/dynamicwithssr: falseand skeleton placeholders. CodeMirror was already dynamic.Local results (desktop preset, perf threshold 0.80)
Reports also uploaded as
lighthouse-reportsCI artifact (docs/is gitignored in this repo, so the committed-reports route was not viable).Test plan
pnpm -r typecheckgreenpnpm -r lintgreen (only pre-existing i18next warnings on shadcn dialog/sheet sr-only labels)pnpm --filter @commit-analyzer/web test(message catalogs in sync)pnpm --filter @commit-analyzer/web lh:full— all 8 pages ≥ 80Closes #70