Gather failed device bound session request details into SessionError [chromium/src : main]

0 views
Skip to first unread message

thefrog (Gerrit)

unread,
Feb 18, 2026, 4:41:27 PM (3 days ago) Feb 18
to Daniel Rubery, Maks Orlovich, Alex Ilin, Ali Hijazi, Chromium LUCI CQ, chromium...@chromium.org, druber...@chromium.org, net-r...@chromium.org
Attention needed from Daniel Rubery and Maks Orlovich

thefrog added 1 comment

Patchset-level comments
File-level comment, Patchset 6 (Latest):
thefrog . resolved

Please review the following:
@dru...@chromium.org: whole CL
@morl...@chromium.org: BUILD.gn

Open in Gerrit

Related details

Attention is currently required from:
  • Daniel Rubery
  • Maks Orlovich
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: I93ac6f698bb270d99a39918bc7311c2f7eface2d
Gerrit-Change-Number: 7585498
Gerrit-PatchSet: 6
Gerrit-Owner: thefrog <the...@chromium.org>
Gerrit-Reviewer: Daniel Rubery <dru...@chromium.org>
Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
Gerrit-Reviewer: thefrog <the...@chromium.org>
Gerrit-CC: Alex Ilin <alex...@chromium.org>
Gerrit-CC: Ali Hijazi <ahi...@chromium.org>
Gerrit-Attention: Maks Orlovich <morl...@chromium.org>
Gerrit-Attention: Daniel Rubery <dru...@chromium.org>
Gerrit-Comment-Date: Wed, 18 Feb 2026 21:41:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Daniel Rubery (Gerrit)

unread,
Feb 19, 2026, 1:52:14 PM (2 days ago) Feb 19
to thefrog, Maks Orlovich, Alex Ilin, Ali Hijazi, Chromium LUCI CQ, chromium...@chromium.org, druber...@chromium.org, net-r...@chromium.org
Attention needed from Maks Orlovich and thefrog

Daniel Rubery voted and added 2 comments

Votes added by Daniel Rubery

Code-Review+1

2 comments

File net/device_bound_sessions/registration_result.cc
Line 52, Patchset 6 (Latest):const FailedRequest* RegistrationResult::SessionErrorFailedRequestForTesting()
Daniel Rubery . unresolved

Do you anticipate more fields after `failed_request`? If so, maybe we want to go back to one accessor to get the whole `SessionError`, then tests assert on whatever fields they care about.

File net/device_bound_sessions/url_fetcher.h
Line 27, Patchset 6 (Latest): std::string take_data_received() { return std::move(data_received_); }
Daniel Rubery . unresolved

Nit: this isn't a simple accessor so it should be `TakeDataReceived`

Open in Gerrit

Related details

Attention is currently required from:
  • Maks Orlovich
  • thefrog
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not 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: I93ac6f698bb270d99a39918bc7311c2f7eface2d
    Gerrit-Change-Number: 7585498
    Gerrit-PatchSet: 6
    Gerrit-Owner: thefrog <the...@chromium.org>
    Gerrit-Reviewer: Daniel Rubery <dru...@chromium.org>
    Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
    Gerrit-Reviewer: thefrog <the...@chromium.org>
    Gerrit-CC: Alex Ilin <alex...@chromium.org>
    Gerrit-CC: Ali Hijazi <ahi...@chromium.org>
    Gerrit-Attention: thefrog <the...@chromium.org>
    Gerrit-Attention: Maks Orlovich <morl...@chromium.org>
    Gerrit-Comment-Date: Thu, 19 Feb 2026 18:52:05 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Maks Orlovich (Gerrit)

    unread,
    Feb 19, 2026, 2:16:05 PM (2 days ago) Feb 19
    to thefrog, Daniel Rubery, Alex Ilin, Ali Hijazi, Chromium LUCI CQ, chromium...@chromium.org, druber...@chromium.org, net-r...@chromium.org
    Attention needed from thefrog

    Maks Orlovich voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • thefrog
    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: I93ac6f698bb270d99a39918bc7311c2f7eface2d
    Gerrit-Change-Number: 7585498
    Gerrit-PatchSet: 6
    Gerrit-Owner: thefrog <the...@chromium.org>
    Gerrit-Reviewer: Daniel Rubery <dru...@chromium.org>
    Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
    Gerrit-Reviewer: thefrog <the...@chromium.org>
    Gerrit-CC: Alex Ilin <alex...@chromium.org>
    Gerrit-CC: Ali Hijazi <ahi...@chromium.org>
    Gerrit-Attention: thefrog <the...@chromium.org>
    Gerrit-Comment-Date: Thu, 19 Feb 2026 19:16:00 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    thefrog (Gerrit)

    unread,
    Feb 19, 2026, 4:22:28 PM (2 days ago) Feb 19
    to Maks Orlovich, Daniel Rubery, Alex Ilin, Ali Hijazi, Chromium LUCI CQ, chromium...@chromium.org, druber...@chromium.org, net-r...@chromium.org
    Attention needed from Daniel Rubery, Maks Orlovich and thefrog

    thefrog added 2 comments

    File net/device_bound_sessions/registration_result.cc
    Line 52, Patchset 6:const FailedRequest* RegistrationResult::SessionErrorFailedRequestForTesting()
    Daniel Rubery . resolved

    Do you anticipate more fields after `failed_request`? If so, maybe we want to go back to one accessor to get the whole `SessionError`, then tests assert on whatever fields they care about.

    thefrog

    Thanks, I'm not sure we'll have more fields, but there's no need for two anyway. Updated the previous CL and rebased + modified into this one.

    File net/device_bound_sessions/url_fetcher.h
    Line 27, Patchset 6: std::string take_data_received() { return std::move(data_received_); }
    Daniel Rubery . resolved

    Nit: this isn't a simple accessor so it should be `TakeDataReceived`

    thefrog

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Daniel Rubery
    • Maks Orlovich
    • thefrog
    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: I93ac6f698bb270d99a39918bc7311c2f7eface2d
      Gerrit-Change-Number: 7585498
      Gerrit-PatchSet: 8
      Gerrit-Owner: thefrog <the...@chromium.org>
      Gerrit-Reviewer: Daniel Rubery <dru...@chromium.org>
      Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
      Gerrit-Reviewer: thefrog <the...@chromium.org>
      Gerrit-CC: Alex Ilin <alex...@chromium.org>
      Gerrit-CC: Ali Hijazi <ahi...@chromium.org>
      Gerrit-Attention: thefrog <the...@chromium.org>
      Gerrit-Attention: Maks Orlovich <morl...@chromium.org>
      Gerrit-Attention: Daniel Rubery <dru...@chromium.org>
      Gerrit-Comment-Date: Thu, 19 Feb 2026 21:22:22 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Daniel Rubery <dru...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      thefrog (Gerrit)

      unread,
      Feb 19, 2026, 4:26:43 PM (2 days ago) Feb 19
      to Maks Orlovich, Daniel Rubery, Alex Ilin, Ali Hijazi, Chromium LUCI CQ, chromium...@chromium.org, druber...@chromium.org, net-r...@chromium.org
      Attention needed from Daniel Rubery and Maks Orlovich

      thefrog voted Auto-Submit+1

      Auto-Submit+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Daniel Rubery
      • Maks Orlovich
      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: I93ac6f698bb270d99a39918bc7311c2f7eface2d
      Gerrit-Change-Number: 7585498
      Gerrit-PatchSet: 8
      Gerrit-Owner: thefrog <the...@chromium.org>
      Gerrit-Reviewer: Daniel Rubery <dru...@chromium.org>
      Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
      Gerrit-Reviewer: thefrog <the...@chromium.org>
      Gerrit-CC: Alex Ilin <alex...@chromium.org>
      Gerrit-CC: Ali Hijazi <ahi...@chromium.org>
      Gerrit-Attention: Maks Orlovich <morl...@chromium.org>
      Gerrit-Attention: Daniel Rubery <dru...@chromium.org>
      Gerrit-Comment-Date: Thu, 19 Feb 2026 21:26:38 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Maks Orlovich (Gerrit)

      unread,
      Feb 19, 2026, 4:28:21 PM (2 days ago) Feb 19
      to thefrog, Daniel Rubery, Alex Ilin, Ali Hijazi, Chromium LUCI CQ, chromium...@chromium.org, druber...@chromium.org, net-r...@chromium.org
      Attention needed from Daniel Rubery

      Maks Orlovich voted

      Code-Review+1
      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Daniel Rubery
      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: I93ac6f698bb270d99a39918bc7311c2f7eface2d
        Gerrit-Change-Number: 7585498
        Gerrit-PatchSet: 8
        Gerrit-Owner: thefrog <the...@chromium.org>
        Gerrit-Reviewer: Daniel Rubery <dru...@chromium.org>
        Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
        Gerrit-Reviewer: thefrog <the...@chromium.org>
        Gerrit-CC: Alex Ilin <alex...@chromium.org>
        Gerrit-CC: Ali Hijazi <ahi...@chromium.org>
        Gerrit-Attention: Daniel Rubery <dru...@chromium.org>
        Gerrit-Comment-Date: Thu, 19 Feb 2026 21:28:17 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Maks Orlovich (Gerrit)

        unread,
        Feb 19, 2026, 4:28:53 PM (2 days ago) Feb 19
        to thefrog, Daniel Rubery, Alex Ilin, Ali Hijazi, Chromium LUCI CQ, chromium...@chromium.org, druber...@chromium.org, net-r...@chromium.org
        Attention needed from Daniel Rubery and thefrog

        Maks Orlovich voted and added 1 comment

        Votes added by Maks Orlovich

        Commit-Queue+0

        1 comment

        Patchset-level comments
        File-level comment, Patchset 8 (Latest):
        Maks Orlovich . resolved

        ...Didn't want to +2, want to leave that to you or Daniel...

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Daniel Rubery
        • thefrog
        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: I93ac6f698bb270d99a39918bc7311c2f7eface2d
        Gerrit-Change-Number: 7585498
        Gerrit-PatchSet: 8
        Gerrit-Owner: thefrog <the...@chromium.org>
        Gerrit-Reviewer: Daniel Rubery <dru...@chromium.org>
        Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
        Gerrit-Reviewer: thefrog <the...@chromium.org>
        Gerrit-CC: Alex Ilin <alex...@chromium.org>
        Gerrit-CC: Ali Hijazi <ahi...@chromium.org>
        Gerrit-Attention: thefrog <the...@chromium.org>
        Gerrit-Attention: Daniel Rubery <dru...@chromium.org>
        Gerrit-Comment-Date: Thu, 19 Feb 2026 21:28:48 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        thefrog (Gerrit)

        unread,
        Feb 19, 2026, 7:48:18 PM (2 days ago) Feb 19
        to Maks Orlovich, Daniel Rubery, Alex Ilin, Ali Hijazi, Chromium LUCI CQ, chromium...@chromium.org, druber...@chromium.org, net-r...@chromium.org
        Attention needed from Maks Orlovich

        thefrog voted Auto-Submit+0

        Auto-Submit+0
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Maks Orlovich
        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: I93ac6f698bb270d99a39918bc7311c2f7eface2d
          Gerrit-Change-Number: 7585498
          Gerrit-PatchSet: 11
          Gerrit-Owner: thefrog <the...@chromium.org>
          Gerrit-Reviewer: Daniel Rubery <dru...@chromium.org>
          Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
          Gerrit-Reviewer: thefrog <the...@chromium.org>
          Gerrit-CC: Alex Ilin <alex...@chromium.org>
          Gerrit-CC: Ali Hijazi <ahi...@chromium.org>
          Gerrit-Attention: Maks Orlovich <morl...@chromium.org>
          Gerrit-Comment-Date: Fri, 20 Feb 2026 00:48:12 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Daniel Rubery (Gerrit)

          unread,
          Feb 20, 2026, 12:16:43 PM (21 hours ago) Feb 20
          to thefrog, AyeAye Python Dispatcher, Maks Orlovich, Alex Ilin, Ali Hijazi, Chromium LUCI CQ, chromium...@chromium.org, druber...@chromium.org, net-r...@chromium.org
          Attention needed from Maks Orlovich and thefrog

          Daniel Rubery voted and added 1 comment

          Votes added by Daniel Rubery

          Code-Review+1

          1 comment

          Patchset-level comments
          File-level comment, Patchset 11 (Latest):
          Daniel Rubery . resolved

          Still LGTM

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Maks Orlovich
          • thefrog
          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: I93ac6f698bb270d99a39918bc7311c2f7eface2d
            Gerrit-Change-Number: 7585498
            Gerrit-PatchSet: 11
            Gerrit-Owner: thefrog <the...@chromium.org>
            Gerrit-Reviewer: Daniel Rubery <dru...@chromium.org>
            Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
            Gerrit-Reviewer: thefrog <the...@chromium.org>
            Gerrit-CC: Alex Ilin <alex...@chromium.org>
            Gerrit-CC: Ali Hijazi <ahi...@chromium.org>
            Gerrit-CC: AyeAye Python Dispatcher <android-build-ayeay...@system.gserviceaccount.com>
            Gerrit-Attention: thefrog <the...@chromium.org>
            Gerrit-Attention: Maks Orlovich <morl...@chromium.org>
            Gerrit-Comment-Date: Fri, 20 Feb 2026 17:16:36 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            open
            diffy

            Chromium LUCI CQ (Gerrit)

            unread,
            Feb 20, 2026, 12:25:52 PM (21 hours ago) Feb 20
            to thefrog, Daniel Rubery, AyeAye Python Dispatcher, Maks Orlovich, Alex Ilin, Ali Hijazi, chromium...@chromium.org, druber...@chromium.org, net-r...@chromium.org

            Chromium LUCI CQ submitted the change

            Change information

            Commit message:
            Gather failed device bound session request details into SessionError

            This CL:
            - Continues reading the network response when the response code is not
            in [200, 300).
            - Populates the new `failed_request` property in SessionError if there
            was a network request failure during registration/refresh.

            These will later be surfaced in DevTools for developer debugging.
            Bug: 471017387
            Change-Id: I93ac6f698bb270d99a39918bc7311c2f7eface2d
            Reviewed-by: Daniel Rubery <dru...@chromium.org>
            Commit-Queue: thefrog <the...@chromium.org>
            Cr-Commit-Position: refs/heads/main@{#1587895}
            Files:
            • M net/BUILD.gn
            • A net/device_bound_sessions/failed_request.cc
            • A net/device_bound_sessions/failed_request.h
            • M net/device_bound_sessions/registration_fetcher.cc
            • M net/device_bound_sessions/registration_fetcher_unittest.cc
            • M net/device_bound_sessions/session_error.h
            • M net/device_bound_sessions/url_fetcher.cc
            • M net/device_bound_sessions/url_fetcher.h
            • M net/device_bound_sessions/url_fetcher_unittest.cc
            Change size: M
            Delta: 9 files changed, 196 insertions(+), 53 deletions(-)
            Branch: refs/heads/main
            Submit Requirements:
            • requirement satisfiedCode-Review: +1 by Daniel Rubery
            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: I93ac6f698bb270d99a39918bc7311c2f7eface2d
            Gerrit-Change-Number: 7585498
            Gerrit-PatchSet: 12
            Gerrit-Owner: thefrog <the...@chromium.org>
            Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
            Gerrit-Reviewer: Daniel Rubery <dru...@chromium.org>
            Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
            Gerrit-Reviewer: thefrog <the...@chromium.org>
            Gerrit-CC: Alex Ilin <alex...@chromium.org>
            Gerrit-CC: Ali Hijazi <ahi...@chromium.org>
            Gerrit-CC: AyeAye Python Dispatcher <android-build-ayeay...@system.gserviceaccount.com>
            open
            diffy
            satisfied_requirement
            Reply all
            Reply to author
            Forward
            0 new messages