Page MenuHomePhabricator

Rename Metrics Platform Extension to Test Kitchen
Open, MediumPublic5 Estimated Story Points

Description

Background

@cjming suggested following T366234: Deploy the Metrics Platform extension

It will take a couple weeks just to propagate a new extension because the code needs to be running on every prod branch before it's enabled.

@Sfaci suggested:

I'm also wondering if we could rename the extension in isolation and then start working on refactoring and testing all the pieces that refer to it. I'm probably wrong and there is a clear process to do something like this (can we map two different names to only one specific extension at least temporarily?), but I wonder how we would coordinate all this to be able to rename the extension itself and refactor all the related codebases.
According to the codesearch result there are 16 different repositories where MetricsPlatform is mentioned (we own three of them). In most of them there are only a few usages but the number of different repositories and teams involved are significant.

Description

Deploy the Test Kitchen extension.

Duplicate the Metrics Platform extension as Test Kitchen as a new project and code repository.

Checklist
Preparing for deployment

Per https://www.mediawiki.org/wiki/Writing_an_extension_for_deployment#Preparing_for_deployment

Acceptance Criteria

Repository: https://gerrit.wikimedia.org/g/mediawiki/extensions/MetricsPlatform

Artifacts

Event Timeline

JVanderhoop-WMF renamed this task from Rename Metrics Platform Extension and SDKs to Rename Metrics Platform Extension.Oct 20 2025, 10:51 PM
JVanderhoop-WMF updated the task description. (Show Details)
JVanderhoop-WMF updated the task description. (Show Details)
JVanderhoop-WMF added a subscriber: Sfaci.

I suspect the way to do this is to create a brand new extension called Test Kitchen and have that deployed with all the renamed bits, get it propagated, point all references to the new extension, and then decommission the old extension?

confirmed yes ^^

cjming renamed this task from Rename Metrics Platform Extension to Rename Metrics Platform Extension to Test Kitchen.Mon, Dec 1, 8:59 PM
cjming updated the task description. (Show Details)
cjming updated the task description. (Show Details)
cjming updated the task description. (Show Details)
cjming updated the task description. (Show Details)
cjming added a subscriber: Mstyles.

If the Metrics Platform Extension (#metrics_platform = Metrics Platform) will be renamed to Test Kitchen, how not to collide with the existing #Test_Kitchen tag at https://phabricator.wikimedia.org/project/profile/6630/ ? What is supposed to get renamed in Phabricator? cf T407900

If the Metrics Platform Extension (#metrics_platform = Metrics Platform) will be renamed to Test Kitchen, how not to collide with the existing #Test_Kitchen tag at https://phabricator.wikimedia.org/project/profile/6630/ ? What is supposed to get renamed in Phabricator?

hi @Aklapper - i'm not sure what the fate of Metrics Platform should be - aiui, it's not an active board we use -- I already went ahead and renamed our project and workboard in Phab (previously Experimentation Lab) to Test Kitchen - https://phabricator.wikimedia.org/project/board/6630/

@JVanderhoop-WMF @Milimetric @KReid-WMF - should Metrics Platform be retired/removed?

I'm removing mentions (and making sure they land on the Test Kitchen board) - then we can delete the Metrics Platform board. Please hold.

Change #1214551 had a related patch set uploaded (by Reedy; author: Reedy):

[integration/config@master] zuul: Copy MetricsPlatform CI to TestKitchen

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

Change #1214551 merged by jenkins-bot:

[integration/config@master] zuul: Copy MetricsPlatform CI to TestKitchen

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

Change #1216705 had a related patch set uploaded (by Clare Ming; author: Clare Ming):

[mediawiki/extensions/TestKitchen@master] Initialize Test Kitchen with revised files from Metrics Platform

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

Change #1216847 had a related patch set uploaded (by Clare Ming; author: Clare Ming):

[operations/mediawiki-config@master] extension-list: Add Test Kitchen

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

Change #1217360 had a related patch set uploaded (by Clare Ming; author: Clare Ming):

[operations/mediawiki-config@master] Deploy TestKitchen to Beta Cluster

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

Since this is a simple extension rename, an application security review is not needed

awaiting branch cut from Release Engineering (they have been at an offsite this week) - posted to #developer-experience channel in Slack looking for someone to merge

yay! so branch has been cut - leaving this in blocked for now until release branch has fully propagated

cjming set the point value for this task to 5.Wed, Dec 17, 11:06 PM