Ah, `nimbus.targeting.environment.pref_values` is indeed a metric with `type: object`. If that code's running in those tests, then artefact builds will not work. ni?beth - Is it possible that `recordPrefValues` is being run in these failing tests? If so, we'll need to guard the use of the metric on whether it's there [like so](https://searchfox.org/mozilla-central/rev/9a66d18cb35595c89f499a1011c9dd7e573fce77/browser/modules/BrowserUsageTelemetry.sys.mjs#1083-1093).
Bug 1775795 Comment 103 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Ah, `nimbus.targeting.environment.pref_values` is indeed a metric with `type: object`. If that code's running in those tests, then in artefact builds it will throw, probably messing with tests. ni?beth - Is it possible that `recordPrefValues` is being run in these failing tests? If so, we'll need to guard the use of the metric on whether it's there [like so](https://searchfox.org/mozilla-central/rev/9a66d18cb35595c89f499a1011c9dd7e573fce77/browser/modules/BrowserUsageTelemetry.sys.mjs#1083-1093).