Skip to content

chore(nimbus): Update application-services#15002

Open
experimenter-github-app[bot] wants to merge 1 commit intomainfrom
update-application-services
Open

chore(nimbus): Update application-services#15002
experimenter-github-app[bot] wants to merge 1 commit intomainfrom
update-application-services

Conversation

@experimenter-github-app
Copy link
Contributor

No description provided.

@experimenter-github-app experimenter-github-app bot force-pushed the update-application-services branch 4 times, most recently from d9f88dd to a4217de Compare March 23, 2026 21:08
jaredlockhart added a commit that referenced this pull request Mar 23, 2026
Because

* The FmlClient constructor can raise FmlError.ValidationError when a
  feature manifest has validation errors (e.g. a variable with both
  gecko-pref and default, which are now mutually exclusive)
* NimbusFmlLoader.fml_client() did not catch this, causing a 500 on any
  page that calls get_invalid_fields_errors() for affected experiments
* This was discovered via failing Fenix integration tests on PR #15002

This commit

* Wraps the FmlClient() constructor in a try/except FmlError so invalid
  manifests are logged and skipped rather than crashing the page
* Adds unit tests for the graceful degradation in both fml_client() and
  get_fml_errors()

Fixes #15018
@experimenter-github-app experimenter-github-app bot force-pushed the update-application-services branch from a4217de to 36ba604 Compare March 23, 2026 22:08
github-merge-queue bot pushed a commit that referenced this pull request Mar 23, 2026
…15019)

Because

* The `FmlClient` constructor can raise `FmlError.ValidationError` when
a feature manifest has validation errors (e.g., a variable with both
`gecko-pref` and `default`, which are now mutually exclusive as of the
latest application-services build)
* `NimbusFmlLoader.fml_client()` did not catch this exception, so it
propagated up and caused a 500 error on any page that calls
`get_invalid_fields_errors()` (including the audience page during
experiment creation)
* This was discovered via failing Fenix integration tests on PR #15002
(application-services version bump) — all `FIREFOX_FENIX` UI tests
failed with `TimeoutException` because the audience page returned a 500

This commit

* Wraps the `FmlClient()` constructor in a `try/except FmlError` so
invalid manifests are logged and skipped rather than crashing the page
* Adds unit tests for the graceful degradation in both `fml_client()`
and `get_fml_errors()`

Fixes #15018
@experimenter-github-app experimenter-github-app bot force-pushed the update-application-services branch from 11c23e2 to 4beaada Compare March 24, 2026 06: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.

0 participants