From 24d13c4b3d1d87af19f8e621ca5ea60ed120d9f5 Mon Sep 17 00:00:00 2001 From: Sarah Chung Date: Wed, 27 May 2026 15:37:25 -0400 Subject: [PATCH] feat(nimbus): add advanced targeting for win10 existing users with trainhop --- .../experimenter/targeting/constants.py | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/experimenter/experimenter/targeting/constants.py b/experimenter/experimenter/targeting/constants.py index bc289d55d..7566d4b95 100644 --- a/experimenter/experimenter/targeting/constants.py +++ b/experimenter/experimenter/targeting/constants.py @@ -4490,6 +4490,40 @@ def __post_init__(self): application_choice_names=(Application.DESKTOP.name,), ) +FX_152_TRAINHOP_WIN10_EXISTING_USERS = NimbusTargetingConfig( + name="Existing Windows 10 users with New Tab Fx152 May-04 Trainhop", + slug="newtab-152-0504-trainhop-win10-existing-users", + description=( + "Windows 10 existing users with profiles older than 28 days, " + "having the New Tab 152.0.20260504.33143 train hop, " + "which includes users of Fx150" + ), + targeting=( + f"{FX_152_TRAINHOP.targeting} && {PROFILE28DAYS} && {WIN10_NOT_WIN11.targeting}" + ), + desktop_telemetry="", + sticky_required=False, + is_first_run_required=False, + application_choice_names=(Application.DESKTOP.name,), +) + +FX_152_2_TRAINHOP_WIN10_EXISTING_USERS = NimbusTargetingConfig( + name="Existing Windows 10 users with New Tab Fx152 May-15 Trainhop", + slug="newtab-152-0515-trainhop-win10-existing-users", + description=( + "Windows 10 existing users with profiles older than 28 days, " + "having the New Tab 152.2.20260515.174901 train hop, " + "which includes users of Fx151" + ), + targeting=( + f"{FX_152_2_TRAINHOP.targeting} && {PROFILE28DAYS} && {WIN10_NOT_WIN11.targeting}" + ), + desktop_telemetry="", + sticky_required=False, + is_first_run_required=False, + application_choice_names=(Application.DESKTOP.name,), +) + BUILDID_20251006095753 = NimbusTargetingConfig( name="Build ID 20251006095753 or higher", slug="buildid-20251006095753",