[remoting] Fix DesktopSessionAgentTest crash on POSIX [chromium/src : main]

1 view
Skip to first unread message

Joe Downing (Gerrit)

unread,
Mar 23, 2026, 6:51:40 PM (11 days ago) Mar 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

Auto-Submit+1

1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Joe Downing . resolved

PTAL!

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: I004711fc4c9fa514eeb474e2b8528b4d74bd0d92
Gerrit-Change-Number: 7694955
Gerrit-PatchSet: 3
Gerrit-Owner: Joe Downing <joe...@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: Mon, 23 Mar 2026 22:51:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Yuwei Huang (Gerrit)

unread,
Mar 23, 2026, 7:06:03 PM (11 days ago) Mar 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 . unresolved

It's weird that this hadn't fail the trybot. I suspect a different code path is reached when the socket already exists and needs to be deleted.

In addition to this change, I wonder if we should call [SetSecurityKeySocketName](https://source.chromium.org/chromium/chromium/src/+/main:remoting/host/security_key/security_key_auth_handler_posix.h) to point to a temp file. The test may pass without this change, but it will destroy the SSH socket of your CRD session.

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 satisfiedNo-Unresolved-Comments
    • 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: I004711fc4c9fa514eeb474e2b8528b4d74bd0d92
    Gerrit-Change-Number: 7694955
    Gerrit-PatchSet: 3
    Gerrit-Owner: Joe Downing <joe...@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: Mon, 23 Mar 2026 23:05:54 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Joe Downing (Gerrit)

    unread,
    Mar 23, 2026, 8:19:42 PM (11 days ago) Mar 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 . unresolved

    It's weird that this hadn't fail the trybot. I suspect a different code path is reached when the socket already exists and needs to be deleted.

    In addition to this change, I wonder if we should call [SetSecurityKeySocketName](https://source.chromium.org/chromium/chromium/src/+/main:remoting/host/security_key/security_key_auth_handler_posix.h) to point to a temp file. The test may pass without this change, but it will destroy the SSH socket of your CRD session.

    Joe Downing

    Hah, you're right. I tested it and then reconnected and my socket was fine but then running the test again showed it was cleaned up. I'll follow up once I have a better solution 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 satisfiedNo-Unresolved-Comments
    • 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: I004711fc4c9fa514eeb474e2b8528b4d74bd0d92
    Gerrit-Change-Number: 7694955
    Gerrit-PatchSet: 3
    Gerrit-Owner: Joe Downing <joe...@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: Tue, 24 Mar 2026 00:19:33 +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,
    Mar 24, 2026, 2:57:18 PM (10 days ago) Mar 24
    to Joe Downing, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org
    Attention needed from Joe Downing

    Yuwei Huang added 2 comments

    Patchset-level comments
    File-level comment, Patchset 4 (Latest):
    Yuwei Huang . unresolved

    Is it just for fixing `DesktopSessionAgentTest`? I thought simply calling `SecurityKeyAuthHandlerPosix::SetSecurityKeySocketName` with a temporary path would work? Alternatively you could either pass an empty string to `SetSecurityKeySocketName()`, or just revert to the previous behavior where the default socket name is an empty string instead of [GetDefaultSecurityKeySocketName](https://source.chromium.org/chromium/chromium/src/+/main:remoting/host/security_key/security_key_auth_handler_posix.cc;l=66;drc=52fc662d9aba70cf27ffef3b0246cdb00f3dd59b); either of these will disable the SK handler.

    File remoting/host/desktop_session_agent.cc
    Line 255, Patchset 4 (Latest): base::FilePath security_key_socket_name = options.security_key_socket_name();
    Yuwei Huang . unresolved

    I'm not sure if I understand this change. For the multi-process host, the security key socket name is initialized to the default path, which is `$XDG_RUNTIME_DIR/crd_ssh_auth_sock` ([cs](https://source.chromium.org/chromium/chromium/src/+/main:remoting/host/security_key/security_key_auth_handler_posix.cc;l=43;drc=52fc662d9aba70cf27ffef3b0246cdb00f3dd59b)). `kAuthSocknameSwitchName` is always empty in the network process.

    If you find this confusing, you could make it so that the default path is not automatically applied, and instead needs to be passed to `SecurityKeyAuthHandlerPosix::SetSecurityKeySocketName()`, which is reverting to the behavior prior to my change.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Joe Downing
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: I004711fc4c9fa514eeb474e2b8528b4d74bd0d92
    Gerrit-Change-Number: 7694955
    Gerrit-PatchSet: 4
    Gerrit-Owner: Joe Downing <joe...@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: Tue, 24 Mar 2026 18:57:08 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Joe Downing (Gerrit)

    unread,
    Mar 24, 2026, 2:58:32 PM (10 days ago) Mar 24
    to AyeAye, Yuwei Huang, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org
    Attention needed from Yuwei Huang

    Joe Downing voted and added 2 comments

    Votes added by Joe Downing

    Auto-Submit+0

    2 comments

    Patchset-level comments
    Yuwei Huang . resolved

    Is it just for fixing `DesktopSessionAgentTest`? I thought simply calling `SecurityKeyAuthHandlerPosix::SetSecurityKeySocketName` with a temporary path would work? Alternatively you could either pass an empty string to `SetSecurityKeySocketName()`, or just revert to the previous behavior where the default socket name is an empty string instead of [GetDefaultSecurityKeySocketName](https://source.chromium.org/chromium/chromium/src/+/main:remoting/host/security_key/security_key_auth_handler_posix.cc;l=66;drc=52fc662d9aba70cf27ffef3b0246cdb00f3dd59b); either of these will disable the SK handler.

    Joe Downing

    I wasn't ready to ask you to review this, please ignore until I close the original thread and ask you to take a look ^_^

    File remoting/host/desktop_session_agent.cc
    Line 255, Patchset 4 (Latest): base::FilePath security_key_socket_name = options.security_key_socket_name();
    Yuwei Huang . resolved

    I'm not sure if I understand this change. For the multi-process host, the security key socket name is initialized to the default path, which is `$XDG_RUNTIME_DIR/crd_ssh_auth_sock` ([cs](https://source.chromium.org/chromium/chromium/src/+/main:remoting/host/security_key/security_key_auth_handler_posix.cc;l=43;drc=52fc662d9aba70cf27ffef3b0246cdb00f3dd59b)). `kAuthSocknameSwitchName` is always empty in the network process.

    If you find this confusing, you could make it so that the default path is not automatically applied, and instead needs to be passed to `SecurityKeyAuthHandlerPosix::SetSecurityKeySocketName()`, which is reverting to the behavior prior to my change.

    Joe Downing

    Acknowledged

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Yuwei Huang
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: I004711fc4c9fa514eeb474e2b8528b4d74bd0d92
    Gerrit-Change-Number: 7694955
    Gerrit-PatchSet: 4
    Gerrit-Owner: Joe Downing <joe...@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: Tue, 24 Mar 2026 18:58:22 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Yuwei Huang <yuw...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Yuwei Huang (Gerrit)

    unread,
    Mar 24, 2026, 3:05:32 PM (10 days ago) Mar 24
    to Joe Downing, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org
    Attention needed from Joe Downing

    Yuwei Huang added 1 comment

    Patchset-level comments
    Yuwei Huang . resolved

    Haha, I did wonder if it was vibe coding. Please add me back to the attention list once you are ready :)

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Joe Downing
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: I004711fc4c9fa514eeb474e2b8528b4d74bd0d92
    Gerrit-Change-Number: 7694955
    Gerrit-PatchSet: 4
    Gerrit-Owner: Joe Downing <joe...@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: Tue, 24 Mar 2026 19:05:23 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Joe Downing (Gerrit)

    unread,
    Mar 24, 2026, 3:06:42 PM (10 days ago) Mar 24
    to AyeAye, Yuwei Huang, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org
    Attention needed from Yuwei Huang

    Joe Downing added 1 comment

    Patchset-level comments
    Yuwei Huang . resolved

    Haha, I did wonder if it was vibe coding. Please add me back to the attention list once you are ready :)

    Joe Downing

    It was generated by an agent and I uploaded to review, suffice to say I have provided feedback on the approach and am iterating ^_^

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Yuwei Huang
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: I004711fc4c9fa514eeb474e2b8528b4d74bd0d92
    Gerrit-Change-Number: 7694955
    Gerrit-PatchSet: 4
    Gerrit-Owner: Joe Downing <joe...@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: Tue, 24 Mar 2026 19:06:32 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Yuwei Huang <yuw...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Joe Downing (Gerrit)

    unread,
    Mar 27, 2026, 7:11:13 PM (7 days ago) Mar 27
    to AyeAye, Yuwei Huang, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org
    Attention needed from Yuwei Huang

    Joe Downing added 2 comments

    Patchset-level comments
    File-level comment, Patchset 3:
    Yuwei Huang . resolved

    It's weird that this hadn't fail the trybot. I suspect a different code path is reached when the socket already exists and needs to be deleted.

    In addition to this change, I wonder if we should call [SetSecurityKeySocketName](https://source.chromium.org/chromium/chromium/src/+/main:remoting/host/security_key/security_key_auth_handler_posix.h) to point to a temp file. The test may pass without this change, but it will destroy the SSH socket of your CRD session.

    Joe Downing

    Hah, you're right. I tested it and then reconnected and my socket was fine but then running the test again showed it was cleaned up. I'll follow up once I have a better solution to review.

    Joe Downing . resolved

    PTAL!

    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: I004711fc4c9fa514eeb474e2b8528b4d74bd0d92
    Gerrit-Change-Number: 7694955
    Gerrit-PatchSet: 11
    Gerrit-Owner: Joe Downing <joe...@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: Fri, 27 Mar 2026 23:11:04 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Joe Downing <joe...@chromium.org>
    Comment-In-Reply-To: Yuwei Huang <yuw...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Joe Downing (Gerrit)

    unread,
    Mar 27, 2026, 7:24:49 PM (7 days ago) Mar 27
    to AyeAye, Yuwei Huang, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org
    Attention needed from Yuwei Huang

    Joe Downing added 1 comment

    Patchset-level comments
    Joe Downing . resolved

    FYI, I've updating the BUILD files so the new functions are not built on Windows which will address the build error.

    Gerrit-Comment-Date: Fri, 27 Mar 2026 23:24:40 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Yuwei Huang (Gerrit)

    unread,
    Mar 27, 2026, 7:35:02 PM (7 days ago) Mar 27
    to Joe Downing, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org

    Yuwei Huang added 3 comments

    File remoting/base/base_export.h
    Line 10, Patchset 11 (Latest):namespace remoting {
    Yuwei Huang . unresolved

    From AI:

    Macros are evaluated by the preprocessor and do not respect C++ namespaces. Wrapping `#define` inside `namespace remoting { ... }` is misleading and unnecessary. You should remove the `namespace remoting {` and `} // namespace remoting` lines.

    Line 1, Patchset 11 (Latest):// Copyright 2026 The Chromium Authors
    Yuwei Huang . unresolved

    I wonder if we should just move `remoting/host/host_export.h` to `remoting/base`. You are already using `HOST_IMPLEMENTATION` in this file, so I wouldn't worry about having "host" in the filename.

    File remoting/host/security_key/security_key_auth_handler_posix.h
    Line 36, Patchset 11 (Latest): static void SetSecurityKeySocketName(
    Yuwei Huang . unresolved

    I wonder if this is still useful given you can override the default socket name with the function in `remoting/base/security_key_socket_name.h`? Is it easier to just remove "Default" from the names of those functions then remove the getter and setter in this file?

    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 satisfiedNo-Unresolved-Comments
      • 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: I004711fc4c9fa514eeb474e2b8528b4d74bd0d92
      Gerrit-Change-Number: 7694955
      Gerrit-PatchSet: 11
      Gerrit-Owner: Joe Downing <joe...@chromium.org>
      Gerrit-Reviewer: Joe Downing <joe...@chromium.org>
      Gerrit-Reviewer: Yuwei Huang <yuw...@chromium.org>
      Gerrit-Comment-Date: Fri, 27 Mar 2026 23:34:51 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Joe Downing (Gerrit)

      unread,
      Mar 30, 2026, 1:24:35 PM (4 days ago) Mar 30
      to AyeAye, Yuwei Huang, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org
      Attention needed from Yuwei Huang

      Joe Downing added 4 comments

      Patchset-level comments
      File remoting/base/base_export.h
      Line 10, Patchset 11:namespace remoting {
      Yuwei Huang . resolved

      From AI:

      Macros are evaluated by the preprocessor and do not respect C++ namespaces. Wrapping `#define` inside `namespace remoting { ... }` is misleading and unnecessary. You should remove the `namespace remoting {` and `} // namespace remoting` lines.

      Joe Downing

      Done

      Line 1, Patchset 11:// Copyright 2026 The Chromium Authors
      Yuwei Huang . resolved

      I wonder if we should just move `remoting/host/host_export.h` to `remoting/base`. You are already using `HOST_IMPLEMENTATION` in this file, so I wouldn't worry about having "host" in the filename.

      Joe Downing

      I think that's fine but I'd prefer to do that in a follow-up.

      File remoting/host/security_key/security_key_auth_handler_posix.h
      Line 36, Patchset 11: static void SetSecurityKeySocketName(
      Yuwei Huang . resolved

      I wonder if this is still useful given you can override the default socket name with the function in `remoting/base/security_key_socket_name.h`? Is it easier to just remove "Default" from the names of those functions then remove the getter and setter in this file?

      Joe Downing

      Acknowledged - I'd prefer to keep the getter/setter in the class which uses it and only split out the 'default' or initial value. Kinda like how we often handle constants or or initial values. The only reason the default value is in base is to keep the deps cycle clean, otherwise it would have been in this dir.

      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: I004711fc4c9fa514eeb474e2b8528b4d74bd0d92
        Gerrit-Change-Number: 7694955
        Gerrit-PatchSet: 12
        Gerrit-Owner: Joe Downing <joe...@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: Mon, 30 Mar 2026 17:24:26 +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,
        Mar 30, 2026, 2:08:28 PM (4 days ago) Mar 30
        to Joe Downing, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org
        Attention needed from Joe Downing

        Yuwei Huang voted and added 1 comment

        Votes added by Yuwei Huang

        Code-Review+1

        1 comment

        File remoting/base/BUILD.gn
        Line 59, Patchset 13 (Latest): if (is_posix) {
        Yuwei Huang . unresolved

        Should it guard the whole `source_set` instead?

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Joe Downing
        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: I004711fc4c9fa514eeb474e2b8528b4d74bd0d92
          Gerrit-Change-Number: 7694955
          Gerrit-PatchSet: 13
          Gerrit-Owner: Joe Downing <joe...@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: Mon, 30 Mar 2026 18:08:17 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Joe Downing (Gerrit)

          unread,
          Mar 30, 2026, 2:25:12 PM (4 days ago) Mar 30
          to Yuwei Huang, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org

          Joe Downing voted and added 2 comments

          Votes added by Joe Downing

          Commit-Queue+2

          2 comments

          Patchset-level comments
          File-level comment, Patchset 13:
          Joe Downing . resolved

          Thanks!

          File remoting/base/BUILD.gn
          Line 59, Patchset 13: if (is_posix) {
          Yuwei Huang . resolved

          Should it guard the whole `source_set` instead?

          Joe Downing

          Sure, that's fine.

          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: I004711fc4c9fa514eeb474e2b8528b4d74bd0d92
            Gerrit-Change-Number: 7694955
            Gerrit-PatchSet: 14
            Gerrit-Owner: Joe Downing <joe...@chromium.org>
            Gerrit-Reviewer: Joe Downing <joe...@chromium.org>
            Gerrit-Reviewer: Yuwei Huang <yuw...@chromium.org>
            Gerrit-Comment-Date: Mon, 30 Mar 2026 18:25:02 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            Comment-In-Reply-To: Yuwei Huang <yuw...@chromium.org>
            satisfied_requirement
            open
            diffy

            Chromium LUCI CQ (Gerrit)

            unread,
            Mar 30, 2026, 3:32:19 PM (4 days ago) Mar 30
            to Joe Downing, Yuwei Huang, AyeAye, chromium...@chromium.org, chromotin...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org

            Chromium LUCI CQ submitted the change with unreviewed changes

            Unreviewed changes

            13 is the latest approved patch-set.
            The change was submitted with unreviewed changes in the following files:

            ```
            The name of the file: remoting/base/BUILD.gn
            Insertions: 2, Deletions: 2.

            @@ -55,8 +55,8 @@
            }
            }

            -source_set("security_key_socket_name") {
            - if (is_posix) {
            +if (is_posix) {
            + source_set("security_key_socket_name") {
            sources = [
            "security_key_socket_name.cc",
            "security_key_socket_name.h",
            ```

            Change information

            Commit message:
            [remoting] Fix DesktopSessionAgentTest crash on POSIX

            DesktopSessionAgent tries to initialize the security key auth handler
            on POSIX but the handler requires an IO message pump. This is not the
            default so the test would fail. This CL updates the test environment
            to provide one.
            Bug: 495497699
            Change-Id: I004711fc4c9fa514eeb474e2b8528b4d74bd0d92
            Reviewed-by: Yuwei Huang <yuw...@chromium.org>
            Commit-Queue: Joe Downing <joe...@chromium.org>
            Cr-Commit-Position: refs/heads/main@{#1607303}
            Files:
            • M remoting/BUILD.gn
            • M remoting/base/BUILD.gn
            • A remoting/base/base_export.h
            • M remoting/base/run_all_unittests.cc
            • A remoting/base/security_key_socket_name.cc
            • A remoting/base/security_key_socket_name.h
            • M remoting/host/BUILD.gn
            • M remoting/host/desktop_session_agent_unittest.cc
            • M remoting/host/linux/remote_session_info_main.cc
            • M remoting/host/security_key/BUILD.gn
            • M remoting/host/security_key/security_key_auth_handler_posix.cc
            • M remoting/host/security_key/security_key_auth_handler_posix.h
            Change size: M
            Delta: 12 files changed, 147 insertions(+), 26 deletions(-)
            Branch: refs/heads/main
            Submit Requirements:
            • requirement satisfiedCode-Review: +1 by Yuwei Huang
            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: I004711fc4c9fa514eeb474e2b8528b4d74bd0d92
            Gerrit-Change-Number: 7694955
            Gerrit-PatchSet: 15
            Gerrit-Owner: Joe Downing <joe...@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