Page MenuHomePhabricator

mediawiki-vendor submodule doesn't get automatically bumped on release branches
Open, HighPublic


Parsoid 0.13.0-a4 was tagged and merged into mediawiki-vendor on Monday night (late, since we were waiting for testing to complete). It appeared we'd missed the branch of mediawiki-vendor for 1.36.0-wmf.3 by a few hours, so we cherry-picked the parsoid bump onto the 1.36.0-wmf.3 branch of mediawiki-vendor, where it was merged and currently sits:

But 1.36.0-wmf.3 as deployed on production servers does not have the latest mediawiki-vendor; in particular, it still have the 0.13.0-a3 version of Parsoid:

How did this happen? Is this a bug with our understanding of the release process, or a bug in how the release was done?

Event Timeline

cscott created this task.Aug 6 2020, 7:43 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 6 2020, 7:43 PM

(I'm adding this to the blocker task for 1.36.0-wmf.3, but to be clear we don't actually consider this a blocker; there's no show-stopper bug fixed in parsoid 0.13.0-a4, we can wait to get our code deployed on the next train. But I wanted to make sure it was seen by the train-runners for wmf.3 so we can fix this issue for future releases.)

Legoktm added a subscriber: Legoktm.Aug 6 2020, 7:46 PM

For some reason Gerrit didn't automatically create a submodule bump in mediawiki/core...

Change 618808 had a related patch set uploaded (by Legoktm; owner: Legoktm):
[mediawiki/core@refs/meta/config] Enable automatic submodule bumps for mediawiki/vendor

Mentioned in SAL (#wikimedia-operations) [2020-08-06T20:19:55Z] <brennen> manually updating the vendor submodule on 1.36.0 for T259832

Change 618852 had a related patch set uploaded (by C. Scott Ananian; owner: C. Scott Ananian):
[mediawiki/core@wmf/1.36.0-wmf.3] Update git submodules

Change 618852 abandoned by C. Scott Ananian:
[mediawiki/core@wmf/1.36.0-wmf.3] Update git submodules

In favor of Ic2af8c89fc64feb6e2f931a47a9b625792d1b883

Mentioned in SAL (#wikimedia-operations) [2020-08-06T21:33:20Z] <brennen@deploy1001> Synchronized php-1.36.0-wmf.3/vendor: [[gerrit:618850|Update git submodules (vendor)]] (T259832) (duration: 01m 08s)

brennen added subscribers: thcipriani, brennen.

The correct commit should now be synced for wmf/1.36.0-wmf.3.

We should still address the underlying Gerrit config, since this is clunky to do by hand and it's sure to be needed again now that Parsoid is deployed this way. Discussed this with @thcipriani and it seems like this was set up a while ago for extensions/ and skins/ and probably just hasn't come up all that often for vendor/.

brennen renamed this task from Deployed 1.36.0-wmf.3 does not have the 1.36.0-wmf.3 branch of mediawiki-vendor to mediawiki-vendor submodule doesn't get automatically bumped on release branches.Aug 6 2020, 9:47 PM
brennen triaged this task as High priority.