[lighthouse] Use CDPConnection instead of parallel connection [devtools/devtools-frontend : main]

0 views
Skip to first unread message

Simon Zünd (Gerrit)

unread,
Nov 3, 2025, 9:32:28 AM (2 days ago) Nov 3
to Connor Clark, Paul Irish, AyeAye, Devtools-frontend LUCI CQ, devtools-rev...@chromium.org, lighthouse-en...@google.com
Attention needed from Connor Clark and Paul Irish

Simon Zünd added 1 comment

Patchset-level comments
File-level comment, Patchset 7 (Latest):
Simon Zünd . resolved

Polished the CL and I think this is good to land. Today we already switched over the "Recording player" in the recorder panel. So LH is the last user of the "parallel connection" thing. PTAL and let me know what you think.

Open in Gerrit

Related details

Attention is currently required from:
  • Connor Clark
  • Paul Irish
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I737816f4ce657210079413ba888e9c26897dac82
Gerrit-Change-Number: 7106261
Gerrit-PatchSet: 7
Gerrit-Owner: Simon Zünd <szu...@chromium.org>
Gerrit-Reviewer: Connor Clark <cja...@chromium.org>
Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
Gerrit-Reviewer: Simon Zünd <szu...@chromium.org>
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Connor Clark <cja...@chromium.org>
Gerrit-Attention: Paul Irish <paul...@chromium.org>
Gerrit-Comment-Date: Mon, 03 Nov 2025 14:32:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Connor Clark (Gerrit)

unread,
Nov 3, 2025, 4:19:09 PM (2 days ago) Nov 3
to Simon Zünd, Paul Irish, AyeAye, Devtools-frontend LUCI CQ, devtools-rev...@chromium.org, lighthouse-en...@google.com
Attention needed from Paul Irish and Simon Zünd

Connor Clark voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Paul Irish
  • Simon Zünd
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I737816f4ce657210079413ba888e9c26897dac82
Gerrit-Change-Number: 7106261
Gerrit-PatchSet: 7
Gerrit-Owner: Simon Zünd <szu...@chromium.org>
Gerrit-Reviewer: Connor Clark <cja...@chromium.org>
Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
Gerrit-Reviewer: Simon Zünd <szu...@chromium.org>
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Paul Irish <paul...@chromium.org>
Gerrit-Attention: Simon Zünd <szu...@chromium.org>
Gerrit-Comment-Date: Mon, 03 Nov 2025 21:19:06 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Paul Irish (Gerrit)

unread,
Nov 3, 2025, 5:43:28 PM (2 days ago) Nov 3
to Simon Zünd, Connor Clark, AyeAye, Devtools-frontend LUCI CQ, devtools-rev...@chromium.org, lighthouse-en...@google.com
Attention needed from Simon Zünd

Paul Irish voted and added 2 comments

Votes added by Paul Irish

Code-Review+1

2 comments

Patchset-level comments
Paul Irish . resolved

Thanks for sorting this out!

File front_end/panels/lighthouse/LighthouseProtocolService.ts
Line 44, Patchset 7 (Latest): * - All messages over the CDPConnection speak pure CDP.
Paul Irish . resolved

appreciate these updates! :)

Open in Gerrit

Related details

Attention is currently required from:
  • Simon Zünd
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I737816f4ce657210079413ba888e9c26897dac82
Gerrit-Change-Number: 7106261
Gerrit-PatchSet: 7
Gerrit-Owner: Simon Zünd <szu...@chromium.org>
Gerrit-Reviewer: Connor Clark <cja...@chromium.org>
Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
Gerrit-Reviewer: Simon Zünd <szu...@chromium.org>
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Simon Zünd <szu...@chromium.org>
Gerrit-Comment-Date: Mon, 03 Nov 2025 22:43:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Simon Zünd (Gerrit)

unread,
Nov 4, 2025, 12:09:16 AM (yesterday) Nov 4
to Paul Irish, Connor Clark, AyeAye, Devtools-frontend LUCI CQ, devtools-rev...@chromium.org, lighthouse-en...@google.com

Simon Zünd voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I737816f4ce657210079413ba888e9c26897dac82
Gerrit-Change-Number: 7106261
Gerrit-PatchSet: 7
Gerrit-Owner: Simon Zünd <szu...@chromium.org>
Gerrit-Reviewer: Connor Clark <cja...@chromium.org>
Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
Gerrit-Reviewer: Simon Zünd <szu...@chromium.org>
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Comment-Date: Tue, 04 Nov 2025 05:09:11 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Devtools-frontend LUCI CQ (Gerrit)

unread,
Nov 4, 2025, 12:11:46 AM (yesterday) Nov 4
to Simon Zünd, Paul Irish, Connor Clark, AyeAye, devtools-rev...@chromium.org, lighthouse-en...@google.com

Devtools-frontend LUCI CQ submitted the change

Change information

Commit message:
[lighthouse] Use CDPConnection instead of parallel connection

Both on the frontend-side and the worker-side, this CL updates
Lighthouse to use the new CDPConnection.

On the frontend-side, we create a new CDP session and then use
the standard CDPConnection to send/receive messages, which
are forwarded nearly 1:1 to the worker.

On the worker-side, we create a custom transport with
a CDPConnection, and then wrap it with the new puppeteer
adapter.
Bug: 453469270
Change-Id: I737816f4ce657210079413ba888e9c26897dac82
Reviewed-by: Connor Clark <cja...@chromium.org>
Reviewed-by: Paul Irish <paul...@chromium.org>
Commit-Queue: Simon Zünd <szu...@chromium.org>
Files:
  • M front_end/entrypoints/lighthouse_worker/BUILD.gn
  • M front_end/entrypoints/lighthouse_worker/LighthouseWorkerService.ts
  • M front_end/panels/lighthouse/BUILD.gn
  • M front_end/panels/lighthouse/LighthouseProtocolService.test.ts
  • M front_end/panels/lighthouse/LighthouseProtocolService.ts
Change size: M
Delta: 5 files changed, 86 insertions(+), 77 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Paul Irish, +1 by Connor Clark
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I737816f4ce657210079413ba888e9c26897dac82
Gerrit-Change-Number: 7106261
Gerrit-PatchSet: 8
Gerrit-Owner: Simon Zünd <szu...@chromium.org>
Gerrit-Reviewer: Connor Clark <cja...@chromium.org>
Gerrit-Reviewer: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages