harlan-zw / unlighthouse

Scan your entire site with Google Lighthouse in 2 minutes (on average). Open source, fully configurable with minimal setup.
https://unlighthouse.dev
MIT License
3.65k stars 105 forks source link

is it normal to see "WARN Lighthouse failed to run performance audits for "/business", adding back to queue." #203

Open Dale-777 opened 2 months ago

Dale-777 commented 2 months ago

Details

I have set a fixed list of urls in my config, and I often get this warning, for all the urls provided

WARN Lighthouse failed to run performance audits for "/business", adding back to queue.

I was using Puppeteer to authenticate the app, and just a single worker, and often I see the LH fail and then requeue, about 3/4 times before a result is available, it takes quite some time. I thought this was odd, so I tried the same against some bbc.com pages and found I got the same (without the Puppeteer hook).

Is this normal?

harlan-zw commented 2 months ago

Hi @Dale-777, thanks for the issue.

The logic for a route to be requeued relates to the Lighthouse report not having any performance data. I noticed when updating Lighthouse to the latest version that the results were a lot more flaky.

I don't really have a solution besides the requeuing as it seems to be an upstream issue with Lighthouse, I can only hope they will fix it on their end in an upcoming release.

Dale-777 commented 2 months ago

@harlan-zw might you know the last stable version of lighthouse that worked for you without flake? I will roll back to that and retry (this is my first try with unlighthouse, thanks for the awesome work).

harlan-zw commented 2 months ago

Before 0.11.0 should be more stable