Closed (fixed)
Project:
Drupal core
Version:
11.3.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Nov 2025 at 15:33 UTC
Updated:
8 Dec 2025 at 11:54 UTC
Jump to comment: Most recent
Comments
Comment #3
mondrakeSide note: I found 8.4 and 8.5 on SQLite quite consistently failing. I think we’ll have challenges there.
Comment #4
alexpottComment #5
mondrakeI think a couple of glitches - see inline
Comment #6
mondrake#3 is most database lock errors in functional/javascript tests. I have an hypothesis - PHP is faster and the db connection in the SUT is still active after a test involving sending a request returns fro the request, and the test code is trying to access the db. I will try to run tests over PHP 8.5 in #3406985: Convert all transactions in core to use explicit ::commitOrRelease() and see if explicit commit makes things any better.
Comment #7
mondrake#6 no, explicit transaction do not seem to do any better here https://git.drupalcode.org/issue/drupal-3406985/-/pipelines/669312
Comment #8
alexpottComment #9
mondrakeLooks good to me. Given the extent of changes needed to support PHP 8.5, default testing on it for 11.x seems obvious. Not sure about 11.3.x - maybe we want to leave that at 8.4 which is the recommended PHP version?
Comment #10
catchCouple of comments on the MR - looks like job names not updated when we made 8.4 the default.
I'd also lean slightly towards only making this change in 11.x and leaving 11.3 as-is per #9, but on the other hand keeping gitlab yaml in sync helps with other changes, and we have the branch jobs still.
Comment #13
catchComments on the MR were wrongheaded from mis-reading the YAML.
Decided go backport this to 11.3.x - keeping the yaml in sync has a lot of benefits, we usually only run pipelines against 11.3.x after a backport anyway.
Committed/pushed to 11.x and cherry-picked to 11.3.x, thanks!