Page MenuHomePhabricator

[M] Create remote config for YiR
Closed, ResolvedPublic

Description

Background

The Apps team plans to explore if a personalized Wikipedia Year in Review feature that displays insights about a user's reading history, editing history, and donation history is engaging for App users, and inspires them to make a donation to the Wikimedia Foundation. To deploy this feature, we need to ensure it only displays to our initial target countries and wikis. We also need a switch to be able to quickly turn off the feature, if the feature appears to cause strain on APIs.

Task:
  • Create remote config on donatewiki. (similar to how we set up our campaign config).
  • Add target wikis or target country codes
    • Country Codes: IT, FR
    • Language wikis: it, fr
  • Add remote config kill switch for entire feature
  • Add remote config kill switch for Personalized editing slides. We will need a slide identifier in the config to associate with these slide-specific kill switches.
  • Add remote config data population dates for Personalized slides (January 1, 2024 - November 1, 2024 per T376066).
  • These should all be associated with a version number within the config
  • Replace apps existing remote config check with this one.
QA:

Regression test launch times and forgrounding the app, make sure performance does not degrade and there are no crashes during these times. Once T376042 is merged we can test the entry point appearance against values in this remote config (country code, primary app language wiki).

Event Timeline

Tsevener renamed this task from Create remote config on meta wiki for WiR to [M] Create remote config on meta wiki for WiR.Oct 1 2024, 6:21 PM
Tsevener updated the task description. (Show Details)
Tsevener updated the task description. (Show Details)
Tsevener renamed this task from [M] Create remote config on meta wiki for WiR to [M] Create remote config for WiR.Oct 2 2024, 9:22 PM
Tsevener updated the task description. (Show Details)
HNordeenWMF renamed this task from [M] Create remote config for WiR to [M] Create remote config for YiR.Oct 4 2024, 3:15 PM
HNordeenWMF updated the task description. (Show Details)

Since we are going with the globaluserinfo endpoint for T376320, I am removing the "Add max pages to fetch" config flag requirement. We can add it back in later if we have extra time and decide to switch to a paging endpoint for T376320.

Tsevener subscribed.

@Tsevener Checking if this is needed now that we switched back to user contributions API:

Since we are going with the globaluserinfo endpoint for T376320, I am removing the "Add max pages to fetch" config flag requirement. We can add it back in later if we have extra time and decide to switch to a paging endpoint for T376320.

@HNordeenWMF Thanks for checking. We're good, since we're only fetching the first page of the user contributions API, there's no need to add back in the "Add max pages to fetch" part of the config.

Hi @ABorbaWMF, we had to tweak the way we were structuring the remote config. The latest build with this change is in 7.6.1 (4291). Can you test this once more, just some regression testing around launching and foregrounding? Please look out for any crashes. Thanks!