Page MenuHomePhabricator

Remove obsolete GENewcomerTasksGuidanceEnabled feature flag
Closed, ResolvedPublic

Description

This task is very similar to the task for removing other obsolete feature flags (T379566), except that GENewcomerTasksGuidanceEnabled exists not only in GrowthExperiments, but also in two strange "speed-tests" files in mediawiki-config:

This task exists to figure out what's up with those files and how to remove our obsolete config variable from them as well without breaking things.

Acceptance criteria:

Event Timeline

Change #1138089 had a related patch set uploaded (by Cyndywikime; author: Cyndywikime):

[mediawiki/extensions/GrowthExperiments@master] Remove GENewcomerTasksGuidanceEnabled feature flag

https://gerrit.wikimedia.org/r/1138089

Change #1138350 had a related patch set uploaded (by Cyndywikime; author: Cyndywikime):

[operations/mediawiki-config@master] Regenerate speed-test snapshot without GENewcomerTasksGuidanceEnabled

https://gerrit.wikimedia.org/r/1138350

I tried to review the speed tests change but I have actually no clue how these work, run or need to be re-generated. From which environment are they supposed to be generated? Where is this outcome consumed?

ftr: I locally tried php tests/captureSpeedtest.php Oceanic.enwiki.1046871765 https://en.wikipedia.org/wiki/Oceanic_Airlines, the output was a bunch of added files and a modified index.html but not the same as in 1138350 Regenerate speed-test snapshot without GENewcomerTasksGuidanceEnabled, so I'm not sure how to review the patch.

@Krinkle, since you were the script creator, could you help us answer some of these questions? Thank you!

Reviewing I found GENewcomerTasksGuidanceRequiresOptIn which was introduced in T253794 for pre-enabling testing purposes. We probably should remove it along with GENewcomerTasksGuidanceEnabled as its only purpose was to modify the behavior of the global switch. cc @Cyndymediawiksim

Change #1138350 abandoned by Cyndywikime:

[operations/mediawiki-config@master] Regenerate speed-test snapshot without GENewcomerTasksGuidanceEnabled

Reason:

Based upon Timo's review, we do not touch any live data, snapshots can stay as they are

https://gerrit.wikimedia.org/r/1138350

Change #1138089 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Remove GENewcomerTasksGuidanceEnabled feature flag

https://gerrit.wikimedia.org/r/1138089

Sgs raised the priority of this task from Medium to High.May 7 2025, 12:04 PM
Sgs renamed this task from Remove obsolete GENewcomerTasksGuidanceEnabled feature flag (incl. figure out how) to Remove obsolete GENewcomerTasksGuidanceEnabled feature flag.May 7 2025, 5:02 PM

@Cyndymediawiksim and @Sgs I'm only seeing code search matches on the speedtest and cvn-infrastructure, other than that the second acceptance criteria has been met.

If these matches found don't mean anything to us the task can be marked as closed.

@DMburugu , these matches shouldn't affect the task.

Tested on en.wikipedia.beta, from desktop:

From an existing account that has Growth features enabled, I tested to ensure the (Newcomer guidance) Help panel works as expected and respects the associated Community Configuration settings.

✅ The Current Beta configuration settings were respected and worked as expected:

Namespaces where the help panel is available in reading mode

  • User
  • Wikipedia
  • Help

Namespaces to include in the help panel's free text search for help:

  • Wikipedia
  • Help

Also tested:
✅ Help panel displays within VE and Source Editor
✅ Help panel DOES NOT display within mainspace Read / article view.

@Cyndymediawiksim Then the task description can be updated to indicate that the criteria has been met and we plan to close this after it's deployed to production.

Etonkovidova subscribed.

@Cyndymediawiksim Then the task description can be updated to indicate that the criteria has been met and we plan to close this after it's deployed to production.

Checked on wmf.2 and updated the task description.
I marked the followint as Done - two speed tests are still present, but they are not in the scope of this task.