Disable TransientKeepAlivePolicy in TabManagerTests. [chromium/src : main]

0 views
Skip to first unread message

Alex Attar (Gerrit)

unread,
11:23 AM (10 hours ago) 11:23 AM
to Chromium LUCI CQ, chromium...@chromium.org, chrome-gr...@chromium.org
Attention needed from Joe Mason

Alex Attar voted and added 1 comment

Votes added by Alex Attar

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Alex Attar . resolved

PTAL,
Thanks

Open in Gerrit

Related details

Attention is currently required from:
  • Joe Mason
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: I8fead6e9f83e8e253e703eb15912af26f3659dd4
Gerrit-Change-Number: 7697633
Gerrit-PatchSet: 2
Gerrit-Owner: Alex Attar <aat...@google.com>
Gerrit-Reviewer: Alex Attar <aat...@google.com>
Gerrit-Reviewer: Joe Mason <joenot...@google.com>
Gerrit-Attention: Joe Mason <joenot...@google.com>
Gerrit-Comment-Date: Tue, 24 Mar 2026 15:23:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Joe Mason (Gerrit)

unread,
3:10 PM (7 hours ago) 3:10 PM
to Alex Attar, Chromium LUCI CQ, chromium...@chromium.org, chrome-gr...@chromium.org
Attention needed from Alex Attar

Joe Mason voted and added 1 comment

Votes added by Joe Mason

Code-Review+1

1 comment

File chrome/browser/resource_coordinator/tab_manager_browsertest.cc
Line 187, Patchset 2 (Latest): {performance_manager::features::kTransientKeepAlivePolicy, false}});
Joe Mason . unresolved

If it's important that the process ends immediately - important enough to test - doesn't this failure mean that TransientKeepAlivePolicy is broken? It seems like if we're ok with TransientKeepAlive we should just stop testing that the process ends, since it's really not important.

Also this test is gonna break if we launch TransientKeepAlivePolicy, and we'll have to fix it then.

OTOH if we're just experimenting with TransientKeepAlivePolicy to see if it's worth pursuing, maybe it's not worth fixing the test until we're ready to consider launching it anyway, so I'll +1 this and let you decide whether to land as-is.

Open in Gerrit

Related details

Attention is currently required from:
  • Alex Attar
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: I8fead6e9f83e8e253e703eb15912af26f3659dd4
Gerrit-Change-Number: 7697633
Gerrit-PatchSet: 2
Gerrit-Owner: Alex Attar <aat...@google.com>
Gerrit-Reviewer: Alex Attar <aat...@google.com>
Gerrit-Reviewer: Joe Mason <joenot...@google.com>
Gerrit-Attention: Alex Attar <aat...@google.com>
Gerrit-Comment-Date: Tue, 24 Mar 2026 19:10:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Alex Attar (Gerrit)

unread,
3:31 PM (6 hours ago) 3:31 PM
to Chromium LUCI CQ, chromium...@chromium.org, chrome-gr...@chromium.org

Alex Attar added 1 comment

File chrome/browser/resource_coordinator/tab_manager_browsertest.cc
Line 187, Patchset 2 (Latest): {performance_manager::features::kTransientKeepAlivePolicy, false}});
Joe Mason . resolved

If it's important that the process ends immediately - important enough to test - doesn't this failure mean that TransientKeepAlivePolicy is broken? It seems like if we're ok with TransientKeepAlive we should just stop testing that the process ends, since it's really not important.

Also this test is gonna break if we launch TransientKeepAlivePolicy, and we'll have to fix it then.

OTOH if we're just experimenting with TransientKeepAlivePolicy to see if it's worth pursuing, maybe it's not worth fixing the test until we're ready to consider launching it anyway, so I'll +1 this and let you decide whether to land as-is.

Alex Attar

Thanks! For now we are only exploring if it's worth to have this feature or not. I agree if the feature is worth enabling by default we should look at either fixing the test or removing it as the conditions for a process to terminate would become different to what it is now.

I'll leave as is for now since it's mostly experimental for now and depending on the results will adjust the tests where this feature was disabled.

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: I8fead6e9f83e8e253e703eb15912af26f3659dd4
    Gerrit-Change-Number: 7697633
    Gerrit-PatchSet: 2
    Gerrit-Owner: Alex Attar <aat...@google.com>
    Gerrit-Reviewer: Alex Attar <aat...@google.com>
    Gerrit-Reviewer: Joe Mason <joenot...@google.com>
    Gerrit-Comment-Date: Tue, 24 Mar 2026 19:31:14 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Joe Mason <joenot...@google.com>
    satisfied_requirement
    open
    diffy

    Alex Attar (Gerrit)

    unread,
    3:31 PM (6 hours ago) 3:31 PM
    to Chromium LUCI CQ, chromium...@chromium.org, chrome-gr...@chromium.org

    Alex Attar voted Commit-Queue+2

    Commit-Queue+2
    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: I8fead6e9f83e8e253e703eb15912af26f3659dd4
    Gerrit-Change-Number: 7697633
    Gerrit-PatchSet: 2
    Gerrit-Owner: Alex Attar <aat...@google.com>
    Gerrit-Reviewer: Alex Attar <aat...@google.com>
    Gerrit-Reviewer: Joe Mason <joenot...@google.com>
    Gerrit-Comment-Date: Tue, 24 Mar 2026 19:31:17 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    3:36 PM (6 hours ago) 3:36 PM
    to Alex Attar, chromium...@chromium.org, chrome-gr...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    Disable TransientKeepAlivePolicy in TabManagerTests.

    The `TransientKeepAlivePolicy` feature extends the renderer process
    lifecycle before destruction, causing failures in `TabManagerTest` and
    `TabManagerTestWithTwoTabs` due to conflicting expectations of immediate
    process termination. This CL explicitly disables the feature in these
    tests to ensure their stability.
    Bug: 403216940
    Change-Id: I8fead6e9f83e8e253e703eb15912af26f3659dd4
    Commit-Queue: Alex Attar <aat...@google.com>
    Reviewed-by: Joe Mason <joenot...@google.com>
    Cr-Commit-Position: refs/heads/main@{#1604306}
    Files:
    • M chrome/browser/resource_coordinator/tab_manager_browsertest.cc
    Change size: XS
    Delta: 1 file changed, 6 insertions(+), 3 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Joe Mason
    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: I8fead6e9f83e8e253e703eb15912af26f3659dd4
    Gerrit-Change-Number: 7697633
    Gerrit-PatchSet: 3
    Gerrit-Owner: Alex Attar <aat...@google.com>
    Gerrit-Reviewer: Alex Attar <aat...@google.com>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Joe Mason <joenot...@google.com>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages