Page MenuHomePhabricator

Prepare dumps-on-k8s (mediawiki-dumps-legacy) for migration to PHP 8.3
Closed, ResolvedPublic

Description

We are preparing to migrate production MediaWiki from PHP 8.1 to 8.3 (T360995). The CLI images used by mediawiki-dumps-legacy will migrate as part of this effort.

The purpose of this task is to audit the configuration of mediawiki-dumps-legacy etc. for potential incompatibilities with 8.3 and resolve them.

Timeline: We're currently targeting the start of Q2 to begin migrating production traffic-serving workloads. Ideally, any preparation work required for dumps would complete on a similar time frame, to unblock initial testing of dumps on 8.3 in parallel with that.

As of this writing, the only known incompatibilities are explicit references to /usr/bin/php8.1 in configuration files bundled with chart carried over from puppet. Those should be straightforward to switch to /usr/bin/php.

Event Timeline

Change #1182745 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] mediawiki-dumps-legacy: rely on the plain php binary instead of defining the version

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

Change #1182745 merged by Brouberol:

[operations/deployment-charts@master] mediawiki-dumps-legacy: rely on the plain php binary instead of defining the version

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

I think this is safe to close. Nothing else should be done to prepare for the php8.3 migration on the dumps side.