remoting: Yak shaving for migrate-host implementation [chromium/src : main]

0 views
Skip to first unread message

Yuwei Huang (Gerrit)

unread,
Apr 23, 2026, 12:53:52 AM (yesterday) Apr 23
to Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org

Yuwei Huang added 1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Yuwei Huang . resolved

PTAL thanks!

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • 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: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: If88269bfe460d589c8dc5fac691199f56e4f4ef5
Gerrit-Change-Number: 7788911
Gerrit-PatchSet: 2
Gerrit-Owner: Yuwei Huang <yuw...@chromium.org>
Gerrit-Reviewer: Yuwei Huang <yuw...@chromium.org>
Gerrit-Comment-Date: Thu, 23 Apr 2026 04:53:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Joe Downing (Gerrit)

unread,
Apr 23, 2026, 1:01:47 AM (yesterday) Apr 23
to Yuwei Huang, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org
Attention needed from Yuwei Huang

Joe Downing added 1 comment

Patchset-level comments
Yuwei Huang . resolved

PTAL thanks!

Joe Downing

It looks like you didn't add a reviewer, would you like Lambros or me to review?

Open in Gerrit

Related details

Attention is currently required from:
  • Yuwei Huang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • 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: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: If88269bfe460d589c8dc5fac691199f56e4f4ef5
Gerrit-Change-Number: 7788911
Gerrit-PatchSet: 2
Gerrit-Owner: Yuwei Huang <yuw...@chromium.org>
Gerrit-Reviewer: Yuwei Huang <yuw...@chromium.org>
Gerrit-CC: Joe Downing <joe...@chromium.org>
Gerrit-Attention: Yuwei Huang <yuw...@chromium.org>
Gerrit-Comment-Date: Thu, 23 Apr 2026 05:01:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Yuwei Huang <yuw...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Yuwei Huang (Gerrit)

unread,
Apr 23, 2026, 2:04:26 AM (yesterday) Apr 23
to Joe Downing, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org
Attention needed from Joe Downing

Yuwei Huang added 1 comment

Patchset-level comments
Yuwei Huang . resolved

Oops! I was meant to add you as the reviewer 😂

Open in Gerrit

Related details

Attention is currently required from:
  • Joe Downing
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • 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: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: If88269bfe460d589c8dc5fac691199f56e4f4ef5
Gerrit-Change-Number: 7788911
Gerrit-PatchSet: 2
Gerrit-Owner: Yuwei Huang <yuw...@chromium.org>
Gerrit-Reviewer: Joe Downing <joe...@chromium.org>
Gerrit-Reviewer: Yuwei Huang <yuw...@chromium.org>
Gerrit-Attention: Joe Downing <joe...@chromium.org>
Gerrit-Comment-Date: Thu, 23 Apr 2026 06:04:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Joe Downing (Gerrit)

unread,
Apr 23, 2026, 12:32:37 PM (17 hours ago) Apr 23
to Yuwei Huang, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org
Attention needed from Yuwei Huang

Joe Downing voted and added 1 comment

Votes added by Joe Downing

Code-Review+1

1 comment

File remoting/host/linux/host_types.cc
Line 62, Patchset 2 (Latest): {"single-process", kSingleProcess.get()},
{"gdm-managed", kGdmManaged.get()},
Joe Downing . unresolved

nit: Feel free to Ack or address in a follow-up. I'm wondering if single-process is descriptive enough as maybe we have a host flavor in the future that is also single-process but not per-user. Maybe we should call it something like 'legacy-x11' and effectively snapshot that impl for DEs like XFCE4. Then if we add support for other DEs, we might add something like 'kde-managed' for example. WDYT?

Open in Gerrit

Related details

Attention is currently required from:
  • Yuwei Huang
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: If88269bfe460d589c8dc5fac691199f56e4f4ef5
    Gerrit-Change-Number: 7788911
    Gerrit-PatchSet: 2
    Gerrit-Owner: Yuwei Huang <yuw...@chromium.org>
    Gerrit-Reviewer: Joe Downing <joe...@chromium.org>
    Gerrit-Reviewer: Yuwei Huang <yuw...@chromium.org>
    Gerrit-Attention: Yuwei Huang <yuw...@chromium.org>
    Gerrit-Comment-Date: Thu, 23 Apr 2026 16:32:29 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Yuwei Huang (Gerrit)

    unread,
    Apr 23, 2026, 2:45:09 PM (15 hours ago) Apr 23
    to Lambros Lambrou, Joe Downing, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org

    Yuwei Huang voted and added 2 comments

    Votes added by Yuwei Huang

    Commit-Queue+2

    2 comments

    Patchset-level comments
    Yuwei Huang . resolved

    Thanks! CCing Lambros in case he has a different thought regarding host type naming and such.

    File remoting/host/linux/host_types.cc
    Line 62, Patchset 2 (Latest): {"single-process", kSingleProcess.get()},
    {"gdm-managed", kGdmManaged.get()},
    Joe Downing . resolved

    nit: Feel free to Ack or address in a follow-up. I'm wondering if single-process is descriptive enough as maybe we have a host flavor in the future that is also single-process but not per-user. Maybe we should call it something like 'legacy-x11' and effectively snapshot that impl for DEs like XFCE4. Then if we add support for other DEs, we might add something like 'kde-managed' for example. WDYT?

    Yuwei Huang

    Ack for now, but this map is easy to change anyway.

    My gut feeling is that we are not going to evolve the single-process code and everything should be moved to multi-process. I'm planning to introduce X11 session support in multi-process, and multi-user should probably be done with host sharing in the directory, if we ever want to support that.

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • 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: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: If88269bfe460d589c8dc5fac691199f56e4f4ef5
      Gerrit-Change-Number: 7788911
      Gerrit-PatchSet: 2
      Gerrit-Owner: Yuwei Huang <yuw...@chromium.org>
      Gerrit-Reviewer: Joe Downing <joe...@chromium.org>
      Gerrit-Reviewer: Yuwei Huang <yuw...@chromium.org>
      Gerrit-CC: Lambros Lambrou <lambros...@chromium.org>
      Gerrit-Comment-Date: Thu, 23 Apr 2026 18:45:01 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Joe Downing <joe...@chromium.org>
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Apr 23, 2026, 2:48:34 PM (15 hours ago) Apr 23
      to Yuwei Huang, Lambros Lambrou, Joe Downing, chromium...@chromium.org, chromotin...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      remoting: Yak shaving for migrate-host implementation

      Split off this CL to make things more focusable.

      - Move SetupMultiProcessPairingRegistry to PairingRegistryDelegateLinux
      so that it can be reused in the migrate-host binary.
      - Exposing config paths in DaemonControllerDelegateLinuxMultiProcess
      and DaemonControllerDelegateLinuxSingleProcess as public static
      methods, allowing migrate-host to access them.
      - Introduce HostType interface and implementations to represent
      and describe different host architectures on Linux. This will also be
      used by the start-host binary in the future.
      - Move migrate_host_main.cc to its own build target to break circular
      references.
      Bug: 502664397
      Change-Id: If88269bfe460d589c8dc5fac691199f56e4f4ef5
      Reviewed-by: Joe Downing <joe...@chromium.org>
      Commit-Queue: Yuwei Huang <yuw...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1619657}
      Files:
      • M remoting/host/BUILD.gn
      • M remoting/host/daemon_process_linux.cc
      • M remoting/host/linux/BUILD.gn
      • A remoting/host/linux/host_types.cc
      • A remoting/host/linux/host_types.h
      • M remoting/host/pairing_registry_delegate_linux.cc
      • M remoting/host/pairing_registry_delegate_linux.h
      • M remoting/host/setup/daemon_controller_delegate_linux_multi_process.cc
      • M remoting/host/setup/daemon_controller_delegate_linux_multi_process.h
      • M remoting/host/setup/daemon_controller_delegate_linux_single_process.cc
      • M remoting/host/setup/daemon_controller_delegate_linux_single_process.h
      Change size: L
      Delta: 11 files changed, 225 insertions(+), 69 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Joe Downing
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: If88269bfe460d589c8dc5fac691199f56e4f4ef5
      Gerrit-Change-Number: 7788911
      Gerrit-PatchSet: 3
      Gerrit-Owner: Yuwei Huang <yuw...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Joe Downing <joe...@chromium.org>
      Gerrit-Reviewer: Yuwei Huang <yuw...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages