Because there are things blocked on this event, and until I asked I thought it had already happened. :-)
Description
Event Timeline
Still has open blockers, this task shouldn't be closed until everything is defaulting to using HHVM in the wikimedia cluster.
I strongly suspect that we will bump our requirements only to 5.4 - however some folks out there really want to switch to Hack altogether.
I am not asking about what versions of PHP that MediaWiki ought to work with. This is purely about what the restrictions are for PHP code to be deployed on the WMF cluster, which includes libraries and tools that have nothing to do with MediaWiki. So, PHP 5.6 fine or not?
There's still a handful of production used machines still running PHP 5.3
If they get (all) upgraded to trusty, but not switched to hhvm, then in theory PHP 5.5 would be the minimum for WMF usage at least
Are these production machines that run MediaWiki? I'd like to know if they are relevant for extension development, or just for certain tools written in PHP. Is there an issue for upgrading those machines?
The eqiad video scalers (tmh*), snapshot hosts (snapshot*), deployment machine (tin), maintenance machine (terbium), and wikitech (silver) all run MediaWiki on zend php. These are very relevant to developing extensions for use in Wikimedia production. All are 5.3 except silver which is 5.5.
About silver, I see no point in converting it at the moment, but that may change in the future.
You already said this on the silver blocker. Unfortunately that is still a requirement to get rid of some zend tests and using hack in mediawiki-config.
Do we really want to use hack in mediawiki-config? Who decided to vendor-lock ourselves into HHVM forever?
Also, Zend tests are needed for third-party, for mediawiki; I don't really see a good reason to spend what could be a sizeable engineering time (wikitech runs OSM, which is completely untested with HHVM) to convert wikitech to HHVM. Surely not mine unless a very good case is made for getting rid of it.
I would go as far as to suggest we either:
a) Drop OSM
b) Remove wikitech from the deployment train
@andrewbogott might want to comment on this, btw
Also, Zend tests are needed for third-party, for mediawiki
Yeah, it'd be unfortunate to no longer verify MediaWiki works with Zend PHP. However, does that prevent us from creating extensions that depend on PHP 5.4 or PHP 5.5?
@JeroenDeDauw I think it's referring to zend tests on wmf-only branches, to be fair. My point then would be we don't need those for silver alone.
Is there any ETA on being able to use PHP 5.4 features in WMF deployed extensions yet?
- T104747: Convert tmh100[12] to HHVM and trusty is blocked on T110707: Upgrade Beta Cluster tmh* host(s) to HHVM and Trusty which is blocked by ops on https://gerrit.wikimedia.org/r/#/c/234699/
- T94277: Convert snapshot hosts to use HHVM and trusty is waiting on @ArielGlenn, some activity relatively recently though.
- T87036: Convert work machines (tin, terbium) to Trusty and hhvm usage seems to have some easier deployment-prep parts to get started with, but aren't done yet.
- I don't know about T86096: Switch HAT appservers to trusty's ICU (or newer)
- T98813: Move wikitech (silver) to HHVM can be ignored if you're only interested in PHP 5.4/5.5 features.
snapshot conversion to hhvm is blocked on an upstream bug; see the snapshot task blocking tasks. once that's fixed and either backported or we catch up to the version with that fix, the snapshots can all start using it immediately.
There is exactly zero machines left running PHP 5.3
IMO the real intent of this ticket is now resolved.
This task is a blocker for getting rid of Zend 5.3 Jenkins jobs for WMF branches and master branches deployed on Wikimedia infra ( T94149 ).
There is still three blockers, but they don't seem to have Zend 5.3 running still:
T98813: Move wikitech (silver) to HHVM
T94277: Convert snapshot hosts to use HHVM and trusty
T86096: Switch HAT appservers to trusty's ICU (or newer)
Can subscribers to this task please confirm the three task above are no more for migrating out of Zend 5.3? If nothing left running Zend 5.3 we will get rid of the related Jenkins jobs.
Yes, confirmed. Wikitech and the snapshot hosts are running 5.5.9, and T86096 is blocked by the migration, not blocking it.
With HHVM ditching PHP compatibility, we're going in the direction opposite to this task.
I thought ops still wanted to do this,at least for wikitech to get to a level playing field?
Despite being declined, the Release Engineering and Cloud Services teams between them fixed this last week as part of their work towards the new real goal of T172165: Require either PHP 7.0+ or HHVM in MW 1.31, so for completionism I'll retag this as such. ;-)