You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEAT] Run MariaDB 11+ matrix entries on ubuntu-latest #358
Matrix entries with MariaDB 11+ (Magento 2.4.9, Mage-OS 3.x and 4.x) are pinned to ubuntu-24.04 (mage-os/github-actions#400, #349). They should be able to run on ubuntu-latest again.
Why they can't today:
ubuntu-latest is Ubuntu 26.04, which ships the MySQL 8.4 client.
The integration test framework (dev/tests/integration/framework/Magento/TestFramework/Db/Mysql.php) only adds --column-statistics=0 when mysqldump --version matches 8.0..
mysqldump 8.x only skips column statistics on its own when the server reports a version below 8.0.2. MariaDB 10.x reports 5.5.5-10.x, but MariaDB 11+ dropped that prefix.
So mysqldump 8.4 queries information_schema.COLUMN_STATISTICS, which MariaDB doesn't have, and the post-install dump fails.
What needs to change (any one of these):
Upstream: fix isMysqlDumpVersion8() to match any 8.x+ client, or skip the flag when the server is MariaDB. Still unpatched on 2.4-develop. Only helps versions that ship the fix.
In integration.yaml: install the MariaDB client on MariaDB entries so mysqldump is mariadb-dump, or put a mysqldump wrapper on PATH that adds --skip-column-statistics.
Once one of these lands, revert the os fields to ubuntu-latest and drop the runner OS test in get-versions-for-project.spec.ts.
Your Use Case
As a module maintainer, I'd like MariaDB 11+ versions to run on the same runner as everything else, so they don't break when ubuntu-24.04 is retired.
Activity