Update `map_gecko_prefs_to_enrollment_slugs_and_update_store` to have a param that prevents updating the experiment with Gecko. Sometimes, we just need the information refreshed. ToDo: * Expand `map_gecko_prefs_to_enrollment_slugs_and_update_store` with a param like `doSetPrefState` that guards `set_gecko_prefs_state` * Update `commit_and_update` to set the flag [here](https://searchfox.org/firefox-main/rev/c001029846a51b9e15898d0900ef0c7cafb55b26/third_party/application-services/components/nimbus/src/stateful/dbcache.rs#78) * Unwind [this change](https://github.com/mozilla/application-services/pull/7258/changes) * Thoroughly test that this behaves as expected Reason for this change is this is causing the dbcache can go out of sync. No identified bugs a this time, but it has the potential to introduce them in the future.
Bug 2038991 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Update `map_gecko_prefs_to_enrollment_slugs_and_update_store` to have a param that prevents updating the experiment with Gecko. Sometimes, we just need the information refreshed. ToDo: * Expand `map_gecko_prefs_to_enrollment_slugs_and_update_store` with a param like `doSetPrefState` that guards `set_gecko_prefs_state` * Update `commit_and_update` to set the flag [here](https://searchfox.org/firefox-main/rev/c001029846a51b9e15898d0900ef0c7cafb55b26/third_party/application-services/components/nimbus/src/stateful/dbcache.rs#78) * Unwind [this change](https://github.com/mozilla/application-services/pull/7258/changes) * Thoroughly test that this behaves as expected Reason for this change is this is causing the dbcache can go out of sync. No identified bugs at this time, but it has the potential to introduce them in the future.
Update `map_gecko_prefs_to_enrollment_slugs_and_update_store` to have a param that prevents updating the experiment with Gecko. Sometimes, we just need the information refreshed. ToDo: * Expand `map_gecko_prefs_to_enrollment_slugs_and_update_store` with a param like `update_gecko` that guards `set_gecko_prefs_state` (maybe others) * Update `commit_and_update` to set the flag [here](https://searchfox.org/firefox-main/rev/c001029846a51b9e15898d0900ef0c7cafb55b26/third_party/application-services/components/nimbus/src/stateful/dbcache.rs#78) * `register_previous_gecko_pref_states` should call `writer.commit()?;` and call `self.database_cache.commit_and_update_without_telling_gecko()`, which calls `map_gecko_prefs_to_enrollment_slugs_and_update_store` with `update_gecko= false` * Thoroughly test that this behaves as expected Reason for this change is this is causing the dbcache can go out of sync. No identified bugs at this time, but it has the potential to introduce them in the future.