Skip to content

[FEAT] Run MariaDB 11+ matrix entries on ubuntu-latest #358

Backlog

Description

@damienwebdev

Feature Name

Run MariaDB 11+ matrix entries on ubuntu-latest

The Desired Behavior

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.

Prior Work

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions