question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`perf-diagnostics-third-party` is broken with FR runner

See original GitHub issue

Some OOPIF requests are emitting a Network.responseReceived event but no Network.requestWillBeSent event.

Bisect range on yarn smoke perf-diagnostics-third-party --fraggle-rock: https://chromium.googlesource.com/chromium/src/+log/e2e042f4c34cff4555412fc4bba955cf963e4e39..26600153b33329939cc181a06f5978552283d9ad

This CL is probably where the issues started: https://chromium.googlesource.com/chromium/src/+/b03884a3a1ffb3ad8ec269590843203db9e7a386

Disabling some of the features from that CL did fix the issue with perf-diagnostics-third-party https://github.com/GoogleChrome/lighthouse/pull/14081

Min repro: https://gist.github.com/adamraine/e9ae2e811bde239db24a47535008e228

I used the min repro to bisect again, and it returned the same commit range as doing yarn smoke perf-diagnostics-third-party --fraggle-rock, so it could be helpful when debugging.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
adamrainecommented, Jun 7, 2022

I debugged this with @caseq today.

Puppeteer does it’s own Target.setAutoAttach that happens before we do it and they set waitForDebugger to false: https://github.com/puppeteer/puppeteer/blob/353358a996dcaa1cda75ec79e4111252c91f243d/src/common/FrameManager.ts#L143-L146

When we set our own Target.setAutoAttach after this, it doesn’t override the value originally set by Puppeteer, so we are not actually waiting for the debugger when using Lighthouse driven by Puppeteer (i.e. fraggle rock).

Perhaps the issue with oopif-scripts is similar where the DT frontend calls Target.setAutoAttach before us, and our call gets negated. Or maybe it’s coming from pptr again because we do use pptr to drive the DT smokes. I haven’t verified this yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix common Wi-Fi problems with the macOS built-in ...
The easiest way to get an idea of how to fix your Wi-Fi using Wireless Diagnostics is to let the app make determinations...
Read more >
Everything You Need To Know About OBD, OBD II
From dongles to diagnostics, here's all you need to know about OBD/OBD II · Modern vehicles' sophisticated electronics go far beyond the simple ......
Read more >
How to Test Performance on Mac | Run Apple Diagnostics
Run the Apple Diagnostics tests you have right on your Mac, or use a third-party tool to determine if you really have a...
Read more >
Troubleshooting | BIG-IP Edge Client operations guide - AskF5
Open BIG-IP Edge Client. Select View Details > Diagnostics Report. OPSWAT OESIS endpoint diagnostic tool. BIG-IP Edge Client includes third- ...
Read more >
Should You Repair or Replace Your Broken Dishwasher?
A broken dishwasher might not turn your life upside down like a busted ... Most brands have a diagnostic mode meant specifically for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found