Hi all,
If you use the mwscript-k8s tool to launch MediaWiki maintenance scripts on Kubernetes at WMF, or anticipate doing so due to deprecation of the classic mwscript tool, then this message is relevant to you.
*What is changing?*
Starting Thursday, 8th of May, the mwscript-k8s tool will *only* support launching maintenance scripts on PHP 8.1. From that point forward, selecting 7.4 via the --php_version flag is no longer supported.
This follows an earlier change to default to PHP 8.1 on the 2nd of April. See "Maintenance scripts launched with mwscript-k8s will migrate to PHP 8.1" [0] or [1] for details.
*What actions should I take?*
* If you have not yet adopted mwscript-k8s for launching maintenance scripts, we recommend that you do so. The ability to launch scripts (e.g., on maintenance servers) using the classic mwscript tool will go away soon. See also "Maintenance scripts are moving to Kubernetes" [2]. * If you have adopted mwscript-k8s, but have not used it since the switch to PHP 8.1 on 2nd of April, we recommend that you do so in order to test your script(s) on 8.1.
If you encounter an issue specific to PHP 8.1 compatibility, please open a sub-task of [3] to report it.
*What about periodic maintenance jobs launched automatically on a timer?*
As before, this announcement pertains only to manually launching maintenance scripts using the mwscript-k8s tool.
There is an ongoing parallel effort to migrate periodic jobs from the maintenance servers to Kubernetes [4], where they already use PHP 8.1.
Please feel free to reach out if you have any questions or concerns, either by responding to this email or reaching me on IRC (swfrench-wmf).
Many thanks, Scott French Service Ops SRE
[0] https://lists.wikimedia.org/hyperkitty/list/[email protected]/t... [1] https://phabricator.wikimedia.org/T387917 [2] https://lists.wikimedia.org/hyperkitty/list/[email protected]/t... [3] https://phabricator.wikimedia.org/T379874 [4] https://phabricator.wikimedia.org/T341555