Add Feature Flag for Task Manager on Clank [chromium/src : main]

1 view
Skip to first unread message

Erik Chen (Gerrit)

unread,
Oct 3, 2024, 8:36:56 PM10/3/24
to Michael Wojcicka, Keigo Oka, Achuith Bhandarkar, Chromium Metrics Reviews, chromium...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, jmedle...@chromium.org
Attention needed from Keigo Oka and Michael Wojcicka

Erik Chen added 2 comments

File chrome/browser/browser_features.h
Line 182, Patchset 1 (Latest):BASE_DECLARE_FEATURE(kTaskManagerClank);
Erik Chen . unresolved

please move this elsewhere. please see file comment:


"""
// WARNING: do not add new entries here. If a feature is only used in one
// translation unit it should be inlined in that translation unit. If a feature
// is referenced in multiple places, it should be scoped to that module, e.g.
// //chrome/browser/<foo_module>/features.h
"""

File chrome/browser/flag-metadata.json
Line 4117, Patchset 1 (Latest): "erik...@chromium.org",
Erik Chen . unresolved

why am I added as a owner?

Open in Gerrit

Related details

Attention is currently required from:
  • Keigo Oka
  • Michael Wojcicka
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
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: Ia3e1462dd9aee896029c04f076c1bdc8d2c24961
Gerrit-Change-Number: 5908814
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Wojcicka <mw...@google.com>
Gerrit-Reviewer: Erik Chen <erik...@chromium.org>
Gerrit-Reviewer: Keigo Oka <o...@chromium.org>
Gerrit-CC: Achuith Bhandarkar <ach...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Michael Wojcicka <mw...@google.com>
Gerrit-Attention: Keigo Oka <o...@chromium.org>
Gerrit-Comment-Date: Fri, 04 Oct 2024 00:36:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Wojcicka (Gerrit)

unread,
Oct 3, 2024, 9:37:03 PM10/3/24
to Keigo Oka, Erik Chen, Achuith Bhandarkar, Chromium Metrics Reviews, chromium...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, jmedle...@chromium.org
Attention needed from Erik Chen and Keigo Oka

Michael Wojcicka added 2 comments

File chrome/browser/browser_features.h
Line 182, Patchset 1 (Latest):BASE_DECLARE_FEATURE(kTaskManagerClank);
Erik Chen . unresolved

please move this elsewhere. please see file comment:


"""
// WARNING: do not add new entries here. If a feature is only used in one
// translation unit it should be inlined in that translation unit. If a feature
// is referenced in multiple places, it should be scoped to that module, e.g.
// //chrome/browser/<foo_module>/features.h
"""

Michael Wojcicka

In that case, do you think that it makes more sense to make a new feature.h file in `chrome/browser/task_manager/` ?

One doesn't already exist, but I guess if there is a lot of work that is going on in this directory it might be worth while.

File chrome/browser/flag-metadata.json
Erik Chen . unresolved

why am I added as a owner?

Michael Wojcicka

Are owners usually only people who are committing code under the flag?

Open in Gerrit

Related details

Attention is currently required from:
  • Erik Chen
  • Keigo Oka
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
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: Ia3e1462dd9aee896029c04f076c1bdc8d2c24961
Gerrit-Change-Number: 5908814
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Wojcicka <mw...@google.com>
Gerrit-Reviewer: Erik Chen <erik...@chromium.org>
Gerrit-Reviewer: Keigo Oka <o...@chromium.org>
Gerrit-CC: Achuith Bhandarkar <ach...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Keigo Oka <o...@chromium.org>
Gerrit-Attention: Erik Chen <erik...@chromium.org>
Gerrit-Comment-Date: Fri, 04 Oct 2024 01:36:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Erik Chen <erik...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Keigo Oka (Gerrit)

unread,
Oct 3, 2024, 9:40:10 PM10/3/24
to Michael Wojcicka, Erik Chen, Achuith Bhandarkar, Chromium Metrics Reviews, chromium...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, jmedle...@chromium.org
Attention needed from Erik Chen and Michael Wojcicka

Keigo Oka voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Erik Chen
  • Michael Wojcicka
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
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: Ia3e1462dd9aee896029c04f076c1bdc8d2c24961
Gerrit-Change-Number: 5908814
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Wojcicka <mw...@google.com>
Gerrit-Reviewer: Erik Chen <erik...@chromium.org>
Gerrit-Reviewer: Keigo Oka <o...@chromium.org>
Gerrit-CC: Achuith Bhandarkar <ach...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Michael Wojcicka <mw...@google.com>
Gerrit-Attention: Erik Chen <erik...@chromium.org>
Gerrit-Comment-Date: Fri, 04 Oct 2024 01:39:59 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Erik Chen (Gerrit)

unread,
Oct 4, 2024, 12:51:20 AM10/4/24
to Michael Wojcicka, Keigo Oka, Achuith Bhandarkar, Chromium Metrics Reviews, chromium...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, jmedle...@chromium.org
Attention needed from Michael Wojcicka

Erik Chen added 2 comments

File chrome/browser/browser_features.h
Line 182, Patchset 1 (Latest):BASE_DECLARE_FEATURE(kTaskManagerClank);
Erik Chen . unresolved

please move this elsewhere. please see file comment:


"""
// WARNING: do not add new entries here. If a feature is only used in one
// translation unit it should be inlined in that translation unit. If a feature
// is referenced in multiple places, it should be scoped to that module, e.g.
// //chrome/browser/<foo_module>/features.h
"""

Michael Wojcicka

In that case, do you think that it makes more sense to make a new feature.h file in `chrome/browser/task_manager/` ?

One doesn't already exist, but I guess if there is a lot of work that is going on in this directory it might be worth while.

Erik Chen

yep, that sounds good

File chrome/browser/flag-metadata.json
Erik Chen . unresolved

why am I added as a owner?

Michael Wojcicka

Are owners usually only people who are committing code under the flag?

Erik Chen

owners are people who are responsible for the feature -- e.g. let's say that in 3 years someone wants to know if it's okay to remove the flag, an owner would have the context necessary to answer that or other questions

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Wojcicka
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
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: Ia3e1462dd9aee896029c04f076c1bdc8d2c24961
Gerrit-Change-Number: 5908814
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Wojcicka <mw...@google.com>
Gerrit-Reviewer: Erik Chen <erik...@chromium.org>
Gerrit-Reviewer: Keigo Oka <o...@chromium.org>
Gerrit-CC: Achuith Bhandarkar <ach...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Michael Wojcicka <mw...@google.com>
Gerrit-Comment-Date: Fri, 04 Oct 2024 04:51:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Michael Wojcicka <mw...@google.com>
Comment-In-Reply-To: Erik Chen <erik...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Achuith Bhandarkar (Gerrit)

unread,
Oct 4, 2024, 9:25:27 AM10/4/24
to Michael Wojcicka, Keigo Oka, Erik Chen, Chromium Metrics Reviews, chromium...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, jmedle...@chromium.org
Attention needed from Michael Wojcicka

Achuith Bhandarkar added 3 comments

File chrome/browser/flag-metadata.json
Line 4119, Patchset 1 (Latest): "mw...@google.com"
Achuith Bhandarkar . unresolved

We should probably add the eng-velocity group as well

File chrome/browser/flag_descriptions.h
Line 4733, Patchset 1 (Latest):#if !BUILDFLAG(IS_ANDROID)
Achuith Bhandarkar . unresolved

should you just #else here?

File chrome/browser/flag_descriptions.cc
Line 8119, Patchset 1 (Latest):#if !BUILDFLAG(IS_ANDROID)
Achuith Bhandarkar . unresolved

ditto

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Wojcicka
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
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: Ia3e1462dd9aee896029c04f076c1bdc8d2c24961
Gerrit-Change-Number: 5908814
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Wojcicka <mw...@google.com>
Gerrit-Reviewer: Erik Chen <erik...@chromium.org>
Gerrit-Reviewer: Keigo Oka <o...@chromium.org>
Gerrit-CC: Achuith Bhandarkar <ach...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Michael Wojcicka <mw...@google.com>
Gerrit-Comment-Date: Fri, 04 Oct 2024 13:25:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Wojcicka (Gerrit)

unread,
Oct 4, 2024, 2:28:34 PM10/4/24
to Keigo Oka, Erik Chen, Achuith Bhandarkar, Chromium Metrics Reviews, chromium...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, jmedle...@chromium.org
Attention needed from Achuith Bhandarkar and Erik Chen

Michael Wojcicka added 4 comments

File chrome/browser/flag-metadata.json

why am I added as a owner?

Michael Wojcicka

Are owners usually only people who are committing code under the flag?

Erik Chen

owners are people who are responsible for the feature -- e.g. let's say that in 3 years someone wants to know if it's okay to remove the flag, an owner would have the context necessary to answer that or other questions

Michael Wojcicka

Ah so sorry, wrong Eric! It should be lok...@google.com.

Line 4119, Patchset 1: "mw...@google.com"
Achuith Bhandarkar . resolved

We should probably add the eng-velocity group as well

Michael Wojcicka

Done.

File chrome/browser/flag_descriptions.h
Line 4733, Patchset 1:#if !BUILDFLAG(IS_ANDROID)
Achuith Bhandarkar . resolved

should you just #else here?

Michael Wojcicka

Done.

File chrome/browser/flag_descriptions.cc
Line 8119, Patchset 1:#if !BUILDFLAG(IS_ANDROID)
Achuith Bhandarkar . resolved

ditto

Michael Wojcicka

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Achuith Bhandarkar
  • Erik Chen
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
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: Ia3e1462dd9aee896029c04f076c1bdc8d2c24961
Gerrit-Change-Number: 5908814
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Wojcicka <mw...@google.com>
Gerrit-Reviewer: Erik Chen <erik...@chromium.org>
Gerrit-Reviewer: Keigo Oka <o...@chromium.org>
Gerrit-CC: Achuith Bhandarkar <ach...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Achuith Bhandarkar <ach...@chromium.org>
Gerrit-Attention: Erik Chen <erik...@chromium.org>
Gerrit-Comment-Date: Fri, 04 Oct 2024 18:28:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Achuith Bhandarkar <ach...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Wojcicka (Gerrit)

unread,
Oct 5, 2024, 2:28:14 AM10/5/24
to Keigo Oka, Erik Chen, Achuith Bhandarkar, Chromium Metrics Reviews, chromium...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, jmedle...@chromium.org
Attention needed from Erik Chen and Keigo Oka

Michael Wojcicka added 1 comment

File chrome/browser/browser_features.h
Line 182, Patchset 1:BASE_DECLARE_FEATURE(kTaskManagerClank);
Erik Chen . resolved

please move this elsewhere. please see file comment:


"""
// WARNING: do not add new entries here. If a feature is only used in one
// translation unit it should be inlined in that translation unit. If a feature
// is referenced in multiple places, it should be scoped to that module, e.g.
// //chrome/browser/<foo_module>/features.h
"""

Michael Wojcicka

In that case, do you think that it makes more sense to make a new feature.h file in `chrome/browser/task_manager/` ?

One doesn't already exist, but I guess if there is a lot of work that is going on in this directory it might be worth while.

Erik Chen

yep, that sounds good

Michael Wojcicka

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Erik Chen
  • Keigo Oka
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
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: Ia3e1462dd9aee896029c04f076c1bdc8d2c24961
Gerrit-Change-Number: 5908814
Gerrit-PatchSet: 5
Gerrit-Owner: Michael Wojcicka <mw...@google.com>
Gerrit-Reviewer: Erik Chen <erik...@chromium.org>
Gerrit-Reviewer: Keigo Oka <o...@chromium.org>
Gerrit-CC: Achuith Bhandarkar <ach...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Keigo Oka <o...@chromium.org>
Gerrit-Attention: Erik Chen <erik...@chromium.org>
Gerrit-Comment-Date: Sat, 05 Oct 2024 06:28:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Erik Chen (Gerrit)

unread,
Oct 6, 2024, 6:09:34 PM10/6/24
to Michael Wojcicka, Keigo Oka, Achuith Bhandarkar, Chromium Metrics Reviews, chromium...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, jmedle...@chromium.org
Attention needed from Keigo Oka and Michael Wojcicka

Erik Chen voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Keigo Oka
  • Michael Wojcicka
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
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: Ia3e1462dd9aee896029c04f076c1bdc8d2c24961
Gerrit-Change-Number: 5908814
Gerrit-PatchSet: 5
Gerrit-Owner: Michael Wojcicka <mw...@google.com>
Gerrit-Reviewer: Erik Chen <erik...@chromium.org>
Gerrit-Reviewer: Keigo Oka <o...@chromium.org>
Gerrit-CC: Achuith Bhandarkar <ach...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Michael Wojcicka <mw...@google.com>
Gerrit-Attention: Keigo Oka <o...@chromium.org>
Gerrit-Comment-Date: Sun, 06 Oct 2024 22:09:23 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Michael Wojcicka (Gerrit)

unread,
Oct 6, 2024, 7:25:53 PM10/6/24
to Chromium LUCI CQ, Erik Chen, Keigo Oka, Achuith Bhandarkar, Chromium Metrics Reviews, chromium...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, jmedle...@chromium.org
Attention needed from Keigo Oka

Michael Wojcicka voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Keigo Oka
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
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: Ia3e1462dd9aee896029c04f076c1bdc8d2c24961
Gerrit-Change-Number: 5908814
Gerrit-PatchSet: 5
Gerrit-Owner: Michael Wojcicka <mw...@google.com>
Gerrit-Reviewer: Erik Chen <erik...@chromium.org>
Gerrit-Reviewer: Keigo Oka <o...@chromium.org>
Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
Gerrit-CC: Achuith Bhandarkar <ach...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Keigo Oka <o...@chromium.org>
Gerrit-Comment-Date: Sun, 06 Oct 2024 23:25:45 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Oct 6, 2024, 7:29:17 PM10/6/24
to Michael Wojcicka, Erik Chen, Keigo Oka, Achuith Bhandarkar, Chromium Metrics Reviews, chromium...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, jmedle...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
Add Feature Flag for Task Manager on Clank
Change-Id: Ia3e1462dd9aee896029c04f076c1bdc8d2c24961
Bug: b:371440535
Reviewed-by: Erik Chen <erik...@chromium.org>
Commit-Queue: Michael Wojcicka <mw...@google.com>
Cr-Commit-Position: refs/heads/main@{#1364739}
Files:
  • M chrome/browser/BUILD.gn
  • M chrome/browser/about_flags.cc
  • M chrome/browser/flag-metadata.json
  • M chrome/browser/flag_descriptions.cc
  • M chrome/browser/flag_descriptions.h
  • A chrome/browser/task_manager/task_manager_features.cc
  • A chrome/browser/task_manager/task_manager_features.h
  • M tools/metrics/histograms/enums.xml
Change size: M
Delta: 8 files changed, 63 insertions(+), 3 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Erik Chen
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: Ia3e1462dd9aee896029c04f076c1bdc8d2c24961
Gerrit-Change-Number: 5908814
Gerrit-PatchSet: 6
Gerrit-Owner: Michael Wojcicka <mw...@google.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Erik Chen <erik...@chromium.org>
Gerrit-Reviewer: Keigo Oka <o...@chromium.org>
Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
Gerrit-CC: Achuith Bhandarkar <ach...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages