Adds the final measurement of the prerendering feature
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+4
-2
@@ -455,7 +455,7 @@ The riskiest mechanism is the nginx block (a `map`, a server-level `if` and `rew
|
||||
|
||||
Preconditions for Part I: Step 21 green; the main session has confirmed that it holds port 4173 for this work; `git status --short` recorded to `<scratch>/status-before.txt`; `pnpm build` just run. The method is the one of `construction/display-fallbacks/code/measurement-display.md`: `lhci collect`, **3 runs per URL**, median, same PC and Node version as units 1 and 2, `config/previewServer.ts` on port 4173. The configs are not edited for this (`numberOfRuns` stays 1 in the files; the 3 runs come from the command-line option). Runs may be backgrounded; wait for them.
|
||||
|
||||
### Step 22: Run the measurement, mobile and desktop, all pages [ ]
|
||||
### Step 22: Run the measurement, mobile and desktop, all pages [x]
|
||||
|
||||
- Executor: Haiku for the runs, Sonnet for the script.
|
||||
- Implements: NFR-PR-P-01, P-02, S-01; V9.
|
||||
@@ -466,14 +466,16 @@ Preconditions for Part I: Step 21 green; the main session has confirmed that it
|
||||
4. Stop every process you started; confirm port 4173 is free again.
|
||||
- Done when: both folders contain 3 reports per URL (36 per preset); the script output exists.
|
||||
- Record: paths of the output folders.
|
||||
- Done. 36 reports per preset, no errors. Output: `C:\Users\Bryan\AppData\Local\Temp\claude\k--Development-SlpSoftware-Projects-AndreaSlopFotografie\bb0a550e-5427-462f-b99b-f9db012a172a\scratch\final\mobile` and `\final\desktop` (`.lighthouseci` inside), summaries `final-mobile-summary.txt` and `final-desktop-summary.txt` in the same scratch folder. V9: not-found page best practices 1, accessibility 1, no runtime error.
|
||||
|
||||
### Step 23: Measurement report for the owner's decisions [ ]
|
||||
### Step 23: Measurement report for the owner's decisions [x]
|
||||
|
||||
- Executor: Sonnet.
|
||||
- Implements: NFR-PR-P-01, P-02, S-01; BR-HST-21, 23.
|
||||
- Do: write `aidlc-docs/features/prerendering/construction/hosting-and-targets/code/measurement-final.md` in the format of `measurement-display.md`: method (commit, date, Node, 3 runs median, same PC); one table mobile and one desktop with per URL the score at **master / unit 1 (A) / unit 2 (U2) / final**, LCP and FCP likewise, the LCP element, TBT, CLS, script transfer; accessibility, best practices and SEO per URL (must be 1; list any that are not); the not-found row noting that earlier units measured `/404.html` served with 200 and this unit measures the same page through `/__audit/404`; a decision table with one row per page below 0.90 on mobile (score, LCP element, current exception value in `lighthouserc.cjs`) and the options for the owner (keep an exception at a stated floor, work on the page, accept a red `pnpm check`), plus the note that two pages sitting at 0.90 can flip with `numberOfRuns: 1`; a list of pages at 0.90 or higher that today still carry an exception (these would lose it). Neutral reading only; state no recommendation about lowering targets. Take the master, A and U2 figures from `construction/start-migration/code/measurement-gate.md` and `construction/display-fallbacks/code/measurement-display.md` and say which file each came from. Verify that `lighthouserc.cjs` and `lighthouserc.desktop.cjs` have the same SHA-256 as at Step 21 (targets unchanged) and that `git status --short` equals `<scratch>/status-before.txt`; rebuild `dist` from the real code (`pnpm build`).
|
||||
- Done when: **CP5**: the report exists with all 12 URLs in both tables; checksums equal; `dist` current.
|
||||
- Record: one line with the number of pages below 0.90 on mobile.
|
||||
- Done (CP5). 3 pages below 0.90 on mobile (`/` 0.85, gezin 0.89, loveshoot 0.88); report `measurement-final.md`; checksums equal to Step 21; `git status --short` unchanged apart from the plan and the new report; `dist` current.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user