Page MenuHomePhabricator

mediawiki: migrate from image-suggestion to data-gateway
Open, LowPublic

Description

The new data-gateway service is up (T364921) and should be ready to take over for the image-suggestion service currently used by mediawiki (along with supporting new use cases, such as commons-impact-analytics).

We will need to:

  • Update all Data Gateway and image-suggestion documentation to reflect the new state of the world
  • Migrate the image-suggestions extension to use data-gateway
  • Turn down the image-suggestion service

Event Timeline

For the actual migration:

The service mesh listener already exists (https://gerrit.wikimedia.org/r/1032599), but is not yet enabled anywhere.

We'll need to (1) enable the new listener for mediawiki and (2) deploy a wmf-config/ProductionServices.php change to switch to the new local port (6036).

@Eevans - Can you think of other blockers before mediawiki migrates?

The one thing that comes to mind is "completeness" of staging for the purposes of release validation, as Cassandra-staging does not contain the image-suggestion dataset IIRC.

@Eevans - Can you think of other blockers before mediawiki migrates?

The one thing that comes to mind is "completeness" of staging for the purposes of release validation, as Cassandra-staging does not contain the image-suggestion dataset IIRC.

Good question: Everything is setup in Staging (cassandra-dev), some image suggestions data could be loaded pretty easily, but...I'm not sure there is any way of staging the extension from there either way. @Cparle are you still the right person to circle in on this? What do you think we should do to validate the data-gateway service prior to migrating ImageSuggestions to it?