GoogleChrome / lighthouse

Automated auditing, performance metrics, and best practices for the web.
https://developer.chrome.com/docs/lighthouse/overview/
Apache License 2.0
28.05k stars 9.32k forks source link

TraceElements: `impactedNodes` is not iterable #15870

Open SamTyurenkov opened 3 months ago

SamTyurenkov commented 3 months ago

FAQ

URL

https://play-best-games.com/atomic-heart/

What happened?

Actually, in lighthouse it works: image

However I wanted to report pagespeed.web.dev version, which errors on multiple checks image

What did you expect?

I expect pagespeed.web.dev to show same results as browsers lighthouse feature or at least show the checks results properly, without error.

What have you tried?

I have really no idea, what should I try on my side to debug lighthouse behavior. Please suggest.

How were you running Lighthouse?

web.dev

Lighthouse Version

i used the version that is used on pagespeed.web.dev

Chrome Version

122.0.6261.129

Node Version

-

OS

Windows 11

Relevant log output

-
adamraine commented 3 months ago

I can reproduce this but not consistently. Looks like TraceElements is throwing an error saying impactedNodes is not iterable.

What's weird is that we handle the undefined/null case so in theory this isn't possible:

https://github.com/GoogleChrome/lighthouse/blob/1d2a380d3c15e5848381fc1dd625837c5dc28ff6/core/gather/gatherers/trace-elements.js#L130

adamraine commented 3 months ago

Artifacts from failing PSI run impacted-nodes.artifacts.json.gz

RodrigoTomeES commented 3 months ago

We are experimented the same error in our website => https://pagespeed.web.dev/analysis/https-bigcrafters-com/5sactpqqk8?form_factor=mobile