Page MenuHomePhabricator

Deploy the Metrics Platform extension
Closed, ResolvedPublic

Description

Background

Create the Metrics Platform MediaWiki extension T360737

https://www.mediawiki.org/wiki/Writing_an_extension_for_deployment

Description

Deploy the Metrics Platform extension

Checklist
Preparing for deployment

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

  • Create a deployment tracking task - checklist recursion!
  • Deploy to Beta Cluster T366460
  • Passed reviews:
    • Security T366233
    • Performance - after deploying to beta << pending T368253
  • Deploy on testwiki
  • Make sure extension is automatically branched by make-wmf-branch
  • Write config patches
  • Request a dedicated deployment window
  • Schedule the config patches for deployment
  • Deploy to production wikis

Targets

The extension should be enabled on testwiki only for now.

Related Objects

Event Timeline

Hi, per "Request a project in Phabricator to track bugs and feature requests for your extension." on https://www.mediawiki.org/wiki/Writing_an_extension_for_deployment , I'm afraid #Metrics_Platform_Backlog is not a dedicated codebase project that anyone outside of a team would find to report bugs. Furthermore, while WMF teams occasionally get renamed/dissolved/reorganized, codebases will remain, thus they should be decoupled in Wikimedia Phabricator (team project to organize team work vs code project to collect issues in that very codebase). Thanks!

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

[operations/mediawiki-config@master] extension-list: Add Metrics Platform

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

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

[operations/mediawiki-config@master] Deploy MetricsPlatform to beta cluster

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

Change #1046710 merged by jenkins-bot:

[operations/mediawiki-config@master] extension-list: Add Metrics Platform

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

Mentioned in SAL (#wikimedia-operations) [2024-07-01T20:55:28Z] <cjming@deploy1002> Started scap sync-world: Backport for [[gerrit:1046710|extension-list: Add Metrics Platform (T366234)]]

Mentioned in SAL (#wikimedia-operations) [2024-07-01T21:16:08Z] <cjming@deploy1002> cjming: Backport for [[gerrit:1046710|extension-list: Add Metrics Platform (T366234)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-07-01T21:23:44Z] <cjming@deploy1002> Finished scap: Backport for [[gerrit:1046710|extension-list: Add Metrics Platform (T366234)]] (duration: 28m 16s)

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

[operations/puppet@production] Add MPIC service listener proxy

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

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

[operations/puppet@production] Add MPIC service port

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

Change #1056163 merged by Btullis:

[operations/puppet@production] Add MPIC service port

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

Change #1056062 merged by Btullis:

[operations/puppet@production] Add MPIC service listener proxy

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

Mentioned in SAL (#wikimedia-operations) [2024-07-25T11:51:29Z] <cgoubert@deploy1002> Started scap sync-world: Deploying mpic envoy listener - 1056163 - T366234

Mentioned in SAL (#wikimedia-operations) [2024-07-25T12:08:44Z] <cgoubert@deploy1002> sync-world aborted: Deploying mpic envoy listener - 1056163 - T366234 (duration: 17m 59s)

Change #1046732 merged by jenkins-bot:

[operations/mediawiki-config@master] Deploy MetricsPlatform to beta cluster

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

Mentioned in SAL (#wikimedia-operations) [2024-07-30T21:11:19Z] <cjming@deploy1003> Started scap sync-world: Backport for [[gerrit:1046732|Deploy MetricsPlatform to beta cluster (T366234)]]

Mentioned in SAL (#wikimedia-operations) [2024-07-30T21:14:51Z] <cjming@deploy1003> cjming: Backport for [[gerrit:1046732|Deploy MetricsPlatform to beta cluster (T366234)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-07-30T21:23:01Z] <cjming@deploy1003> Finished scap: Backport for [[gerrit:1046732|Deploy MetricsPlatform to beta cluster (T366234)]] (duration: 11m 41s)

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

[operations/mediawiki-config@master] Fix labs config for Metrics Platform vars

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

Change #1060445 merged by jenkins-bot:

[operations/mediawiki-config@master] Fix labs config for Metrics Platform vars

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

Confirmed that testwiki on beta cluster has the MP extension enabled 🎉

Screenshot 2024-08-08 at 10.59.37 AM.png (2,742×803 px, 381 KB)

Tagged security team for the application review in T366233#10059779

In terms of next steps, not sure if we want to deploy to testwiki on production?

I think that this could be moved to done and any further deployment/responding to points in the Application Security Review can be done in other tasks /cc @VirginiaPoundstone @WDoranWMF