Skip to content

feat(nimbus): warn on deprecated fxms-message placeholder features - #17154

Merged
jaredlockhart merged 6 commits into
mainfrom
17149
Sep 22, 2026
Merged

jaredlockhart merged 6 commits into
mainfrom
17149

Conversation

@jaredlockhart

Copy link
Copy Markdown
Collaborator

Because

  • The numbered fxms-message placeholder features cannot co-enroll with other deliveries.
  • Firefox 152 added a single co-enrolling fxms-message feature that replaces them.

This commit

  • Warns when a desktop delivery uses a numbered placeholder and every targeted version supports the co-enrolling feature.
  • Determines availability from the feature manifest rather than a hardcoded version.

Fixes #17149

Because

* The numbered fxms-message placeholder features cannot co-enroll with other deliveries.
* Firefox 152 added a single co-enrolling fxms-message feature that replaces them.

This commit

* Warns when a desktop delivery uses a numbered placeholder and every targeted version supports the co-enrolling feature.
* Determines availability from the feature manifest rather than a hardcoded version.

Fixes #17149
@jaredlockhart

jaredlockhart commented Sep 10, 2026 •

Copy link
Copy Markdown
Collaborator Author

Local render on a seeded draft desktop experiment attaching fxms-message-1 with a 152 version floor.

The warning appears as a bullet on the existing warning card. It is non-blocking, and it has no Learn more link of its own.

Warning card showing the deprecation message

The message is the bullet's own text rather than a hover tooltip, and it names the deprecated feature IDs first and the replacement second. One placeholder reads fxms-message-1 is deprecated. Please use fxms-message instead, which allows multiple simultaneous enrollments. Several read fxms-message-1, fxms-message-2 are deprecated. Please use fxms-message instead, which allows multiple simultaneous enrollments.

Because

* The instruction to use fxms-message was buried behind the rationale.

This commit

* Leads the warning with the deprecated feature IDs and the replacement to use.
* Picks the verb from the placeholder count so one or several IDs both read correctly.

Fixes #17149

@RJAK11 RJAK11 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it locally and it worked well for me!

Because

* The deprecation warning's message was only reachable by hovering the
  card's tooltip, while the card itself showed a short static label.
* The message names both the deprecated feature and its replacement, so it
  is the text a reviewer needs to see without hovering.

This commit

* Renders the serializer message as the warning card's visible text for the
  fxms-message deprecation warning.
* Drops the tooltip icon for warnings whose message is the visible text.

Fixes #17149
# Conflicts:
#	experimenter/experimenter/experiments/models.py
@jaredlockhart
jaredlockhart added this pull request to the merge queue Sep 22, 2026
Merged via the queue into main with commit 3b53cde Sep 22, 2026
32 checks passed
@jaredlockhart
jaredlockhart deleted the 17149 branch September 22, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warn when a desktop delivery uses deprecated fxms-message-N placeholder features

2 participants