Skip to content

T102 test services mysql mariadb - #109

Merged
niden merged 2 commits into
T97-make-database-existing-projectfrom
T102-test-services-mysql-mariadb
Nov 27, 2026
Merged

niden merged 2 commits into
T97-make-database-existing-projectfrom
T102-test-services-mysql-mariadb

Conversation

@niden

@niden niden commented Nov 27, 2026

Copy link
Copy Markdown
Member

Hello!

In raising this pull request, I confirm the following:

  • I have checked that another pull request for this purpose does not exist
  • I wrote some tests for this PR
  • composer test, composer cs and composer analyze all pass
  • I have created a PR for the documentation about this change, if user facing

The database servers of the crest tests move to MySQL 8.4 and MariaDB 11.4, the versions that crest new --database writes (project-compose-mysql.stub, project-compose-mariadb.stub). MySQL 8.0 and MariaDB 10.6 are past their end of life.

  • docker-compose.yml: mysql:8.4 and mariadb:11.4.
  • CI: the same images for the MySQL and MariaDB jobs. The MariaDB service checks its health with healthcheck.sh --connect --innodb_initialized, as the stub of crest new does: the 11.4 image has no mysqladmin.
  • README.md: the versions of the database tests.

The MySQL and MariaDB suites pass on MySQL 8.4.13 and MariaDB 11.4.13, on the C extension and on phalcon/phalcon, with the same counts as on 8.0 and 10.6. No difference in behavior: a BOOLEAN column is still tinyint(1) on both, as the docs say (#65).

A local MariaDB volume from 10.6 works with 11.4: the image upgrades InnoDB, and skips the upgrade of the system tables (MARIADB_AUTO_UPGRADE is not set). The suites pass on it.

Stacked on #108.

Thanks

@niden niden mentioned this pull request Nov 27, 2026
3 of 4 tasks
@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown

Code Metrics Report

master (e599c9f) #109 (3092b5b) +/-
Coverage 99.8% 99.8% +0.0%
Test Execution Time 11s 12s +1s
Details
  |                     | master (e599c9f) | #109 (3092b5b) |  +/-  |
  |---------------------|------------------|----------------|-------|
+ | Coverage            |            99.8% |          99.8% | +0.0% |
  |   Files             |               97 |             97 |     0 |
  |   Lines             |             4003 |           4028 |   +25 |
+ |   Covered           |             3996 |           4021 |   +25 |
- | Test Execution Time |              11s |            12s |   +1s |

Reported by octocov

@niden
niden merged commit 7f7cc85 into T97-make-database-existing-project Nov 27, 2026
40 checks passed
@niden
niden deleted the T102-test-services-mysql-mariadb branch November 27, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant