Skip to content

Add MariaDB 10.6 and 10.11 worker backends - #146

Merged
vitormattos merged 2 commits into
mainfrom
feat/mariadb-worker-backend
Oct 4, 2026
Merged

vitormattos merged 2 commits into
mainfrom
feat/mariadb-worker-backend

Conversation

@vitormattos

@vitormattos vitormattos commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

Summary

Implement the MariaDB branch of the worker contract introduced by #140/#144.

Changes

  • add explicit MariaDB 10.6 and 10.11 database services with pinned image digests;
  • select the supported MariaDB series programmatically through MARIADB_VERSION;
  • keep DB_TYPE=mariadb separate from DB_HOST and use the MySQL-compatible Nextcloud driver;
  • add a generic DB_SQL_MODE mechanism for deterministic global SQL mode configuration;
  • add db-exec to the worker lifecycle for database-level verification;
  • add Bats coverage for service/version mapping and unsupported versions;
  • add CI matrix coverage for MariaDB 10.6 and 10.11, including ONLY_FULL_GROUP_BY, Nextcloud installation, and two-worker isolation;
  • document the supported versions and SQL-mode contract.

Compatibility

This branch is rebased on the current main, which already includes the SQLite worker backend from #145. Existing SQLite, MySQL and PostgreSQL behavior is preserved; this PR adds only the MariaDB layer.

Validation

  • commit created through the signed Git MCP;
  • DCO trailer matches the configured identity;
  • GitHub reports the OpenPGP signature as verified;
  • CI will exercise Compose, ShellCheck, both MariaDB versions and worker isolation.

Closes #142

@vitormattos vitormattos closed this Oct 4, 2026
@vitormattos
vitormattos force-pushed the feat/mariadb-worker-backend branch from 299c3cc to 40bc7d3 Compare October 4, 2026 03:12
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos vitormattos reopened this Oct 4, 2026
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos merged commit f20e632 into main Oct 4, 2026
11 checks passed
@vitormattos
vitormattos deleted the feat/mariadb-worker-backend branch October 4, 2026 03:24
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.

Add MariaDB as a first-class database backend

1 participant