You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perf/lcp-hints: aggregated lcp-preload warning keeps candidates for only one of N pages #1656
The per-check details.page/candidates fix names one page correctly, but an aggregated multi-page lcp-preload warning retains candidate details for only one page. In a stored report from 2026-11-08 (v0.0.173), 170 affected pages have only one page-associated candidate; 169 pages cannot be proven or fixed from the report.
Request: retain bounded candidate/preload details per affected page, or export a page-addressed evidence list.
Closure: a two-page fixture with different missing-preload candidates retains both page-to-image associations, without projecting one page's image onto the other.
Triage
Confirmed by reading the code. lcp-preload is a per-page check, and the JSON report groups matching page checks into one finding. The grouped details deliberately represent a single page (see packages/report/tests/lcp-preload-grouping-1074.test.ts, which pins that behaviour and says rule_results stay the source for every page's evidence). So a grouped warning over N pages exposes the candidates of one page only, and the other pages' evidence is only reachable through the raw rule results. Related, closed: #1074, #1221, #516.
Acceptance Criteria
A grouped lcp-preload finding over several pages keeps bounded candidate details for each affected page, or exports a page-addressed evidence list
A two-page fixture with different missing-preload candidates retains both page-to-image associations
One page's candidate image is never projected onto another page's entry
The per-page evidence stays bounded in size on a site with hundreds of affected pages
Activity
fix(report): keep per-page lcp-preload candidates in grouped findings #…
fix(report): bound lcp-preload page evidence by bytes as well as count …
nc9 commentedon Nov 12, 2026
Shipped in v0.0.179: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.179
Acceptance criteria checked against the tag; the change is 354a82f.
nik