Warn when a messaging experiment's branches use different triggers
Maintainers usually reply within 1 day
@jaredlockhart is already working on this.
Since Oct 7, 2026.
Assessment
This issue has not been assessed yet.
Description
A messaging experiment's exposure-basis comparison only holds if every branch shows its message under the same conditions. When one branch's messages use a different trigger from the others, the branches' exposed populations come from different moments in the browser, and the exposure event carries no message id to separate them. Across desktop and mobile messaging experiments, branches almost always share the same triggers, so a branch that differs is usually a configuration mistake.
Proposal
Add a non-blocking review warning for experiments (not rollouts) on desktop and mobile messaging features: if the triggers on any branch are not the same as on the rest, warn and name the feature and the branch or branches that differ. Stay silent when every branch's triggers match.
- Compare each branch's set of message triggers. Desktop: the message's
triggerobject (idplus anyparamsorpatterns), across a single message or every message in amultivalue. Mobile (messagingfeature): each message'strigger-if-allnames, resolved through the branch's owntriggersmap where the recipe defines them. - Skip branches with no messages, and template-less dummy control messages on desktop (
is-controlmessages on mobile). A dummy control that doesn't match its treatment is already covered by the existing control-message warnings.
Acceptance criteria
- Non-blocking warning on the review warning card naming the feature and the branches whose triggers differ.
- Fires on desktop and on mobile messaging experiments.
- Silent when all compared branches have the same triggers, for rollouts, for experiments with fewer than two branches carrying messages, and for non-messaging features.
┆Issue is synchronized with this Jira Task
- Dominant language
- Python
- Stars
- 152
- Forks
- 231
- Avg merge
- 23h 54m
- Merged PRs (30d)
- 201
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla/experimenter
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
mozilla/experimenter#18288 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mozilla/experimenter#18281 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
mozilla/experimenter#18132 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
mozilla/experimenter#18079 ·
Maintainers usually reply within 1 day
-
Targeting version check uses whichever version was cached first: `TargetingContextFields.for_application` ignores versionMay be free again @user-Param claimed this 21 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mozilla/experimenter#17974 · 1 comment ·
Maintainers usually reply within 1 day
All issues in mozilla/experimenter
Similar issues
-
eegprep-lean: set channel types from the Zarr group's channel_typePossibly taken @claude claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
sccn/eegprep#668 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
blacklanternsecurity/bbot#3679 ·
Maintainers usually reply within 2 days
-
Link Checker ReportOpenBot Type: Bug Type: Documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
speakeasy-api/speakeasy#2159 ·
Maintainers usually reply within 1 day