Page MenuHomePhabricator

Verify Add Link's readiness for partial deployment
Closed, ResolvedPublic

Description

As part of T377631: Add a link (Structured task): Release to a subset of newcomers on English Wikipedia, we want to deploy Add Link to a percentage of English Wikipedia newcomers. To be able to do that, we introduced the no-link-recommendation variant in T377787. This task tracks verifying Add Link is ready for partial deployment to English Wikipedia (see T377631 for the deployment checklist).

Verification options

There are multiple different ways how to verify Add Link's readiness for deployment. We have agreed to pursue verification option #3 (Deploy Add Link partially to testwiki).

  1. Switch test accounts to no-link-recommendation variant manually: Starting Nov 19, 05:00 UTC (with wmf.4 train), the no-link-recommendation variant should be testable at test.wikipedia.org. We can manually switch to that variant using ge.utils.setUserVariant( 'no-link-recommendation' ) and verify it works correctly. This variant is already available in beta (and we can easily backport if we want to speed testing up).
  2. Deploy Add Link partially to enwiki beta: We can deploy the full experiment to English Wikipedia beta, as it would be later deployed to English Wikipedia production. Assuming Beta's stability lets us, we should be able to do an end-to-end test. This might give us more confidence everything is working correctly, including the variant assignment.
  3. Deploy Add Link partially to testwiki: We can deploy the full experiment to test.wikipedia.org, as it would be later deployed to English Wikipedia. This would allow us to do an end to end test in production, eliminating "Beta being Beta" as a possible way to miss bugs.
  4. Deploy Add Link partially to test2wiki: We can deploy the full experiment to test2.wikipedia.org, as it would be later deployed to English Wikipedia. This would allow us to do an end to end test in production, eliminating "Beta being Beta" as a possible way to miss bugs. It would also ensure Community Updates are still enabled at test.wikipedia.org.
    • NOTE: To do this, we would need to set Add Link up at test2.wikipedia.org (currently, it does not work there properly). While that is possible, it would mean more work we would need to do.
    • ALTERNATIVE: If we want to keep both Community Updates and partial Add Link, we can do option 3, and also enable Community Updates at test2.wikipedia.org (that would be much simpler to do than setting up Add Link at another wiki).
Checklist
QA testing notes:

@KStoller-WMF is hoping we can test:

Given I'm an Admin viewing Community Configuration of Suggested Edits.
When the Add a link (Structured task) in enabled on my wiki, but only to a percentage of newcomers due to an experiment,
Then I still have the ability to disable the task in Community Configuration

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@KStoller-WMF Final call is yours of course, but I would aim for option 3 (deploy partial Add Link to testwiki and undeploying the Community Updates experiment from there). We would still have Community Updates in Beta and if we do need it in a production testwiki, we can easily enable it at test2.wikipedia.org instead.

Thanks, @Urbanecm_WMF, for explaining our various verification options!
I double-checked with @Sgs as well, and we both agree that #3 makes sense.

I'll also follow-up in the enwiki thread today so interested community members know about our current progress. Thanks!

This comment was removed by Urbanecm.
Urbanecm_WMF changed the task status from Open to Stalled.Nov 18 2024, 6:04 PM
Urbanecm_WMF triaged this task as High priority.
Urbanecm_WMF changed the task status from Stalled to Open.Nov 18 2024, 10:03 PM
Urbanecm_WMF reassigned this task from Urbanecm_WMF to Etonkovidova.

Should now be ready for testing.

Add Link (structured) and Add Link (legacy) should now be deployed to 50% users each at test.wikipedia.org. Let me know if anything does not work as intended/expected.

Add Link (structured) and Add Link (legacy) should now be deployed to 50% users each at test.wikipedia.org. Let me know if anything does not work as intended/expected.

Note this split only affects new users. All legacy users will have only the template based Add Link enabled.

Add Link (structured) and Add Link (legacy) should now be deployed to 50% users each at test.wikipedia.org. Let me know if anything does not work as intended/expected.

Note this split only affects new users. All legacy users will have only the template based Add Link enabled.

@Urbanecm_WMF, thanks for the clarification! Checked testwiki wmf.4 - all works as expected

  • half of new users have
  • old accounts do not have structured link recommendation
  • ge.utils.setUserVariant( 'no-link-recommendation' ) works to manually switch to a user without structured link recommendation