Skip to content

Fixes 36113: Ship and test MySQL 8.4.13 (2.0 backport) - #38172

Merged
mohityadav766 merged 4 commits into
2.0from
backport/2.0-mysql-8.4.13
Nov 19, 2026
Merged

mohityadav766 merged 4 commits into
2.0from
backport/2.0-mysql-8.4.13

Conversation

@mohityadav766

@mohityadav766 mohityadav766 commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Description

Fixes #36113. Backport of #36416 to 2.0.

Replace the bundled mysql/mysql-server:latest base (MySQL 8.0) with exact mysql:8.4.13, and align development Compose, ingestion client stages, all MySQL test-image defaults, and the Snyk target. Adds deployment/upgrade instructions and the decision record while preserving MySQL 8.0 ingestion-source support.

Type of change

  • Improvement

High-level design

Use the same supported LTS patch across shipped and tested images. The 2.0 adaptation includes AuditLogEntityTypeIndexTest and the shared ingestion/data-quality fixtures present on this branch; main-only tests are not introduced.

Release dependency

The Collate 2.0 companion (https://github.com/open-metadata/openmetadata-collate/pull/8700) must consume this change through its OpenMetadata 2.0 submodule branch. Rebuild and publish both releases' database images after merge; this PR does not replace already-published images. Do not automatically restart the new database image against the only copy of an existing volume.

Tests

  • Passed: scoped mvn spotless:apply, git diff --check, changed Python/XML parsing, Ruff formatting, both changed distributed Compose files' docker compose config --quiet.
  • Ruff lint reports pre-existing ICN001 in test_null_missing_count_metric.py; reproduced from the untouched upstream/2.0 version.
  • Database-level evidence on the main companion: built the 8.4.13 image, verified both application databases/accounts initialize, and verified an isolated 8.0.44 volume upgrades with existing JSON and Airflow rows preserved. The copied 8.4.13 mysqldump executes in the exact Airflow 3.3.2 base. This is not evidence of 2.0 application migrations.
  • Passed: branch-specific Maven package build and 12 tests across AuditLogEntityTypeIndexTest, EntityExtensionCollationAlignmentTest, McpGrantRevocationSqlTest and McpPendingConsentSqlTest on MySQL 8.4.13. Ingestion/CLI E2E, full MySQL integration lanes and Playwright remain pending. Draft until required validation is complete.
  • Self-review: independent review of final 4d26a801 against the shared review bar found no remaining blockers after fixing two floating mysql:8 fixtures.

Decision record

docs/decisions/2026-11-19-shipped-mysql-uses-the-8-4-lts-line.md.

UI recording/coverage: not applicable to image pins and documentation; no application logic or UI flow changed.

RetriggerView in GreptileConfidence Score: 5/5

No blocking code issues were found; the author's remaining release checks still need to finish.

Summary

This PR aligns shipped MySQL images, ingestion client stages, development environments, and test defaults on MySQL 8.4.13. It also adds deployment and upgrade guidance.

  • The bundled database and ingestion image use MySQL 8.4.13.
  • MySQL integration and profiler tests run on version 8.4.13.

No actionable issues found. mohityadav766 explicitly notes that ingestion/CLI E2E, full MySQL integration lanes, and Playwright validation remain pending.

Reviews (1) · Last reviewed commit: "Keep every MySQL test on 8.4.13" · Reviewed by Greptile

Copy link
Copy Markdown
Member Author

Copy link
Copy Markdown
Member Author

CI update: the dispatched MySQL/Elasticsearch run is still in progress, but retry-queue and global-state have failed before test execution during artifact verification: The build artifact does not match the checked-out commit. This is not a MySQL test assertion failure and has not yet been diagnosed beyond that guard.

The separate Python and paired Collate runs were also dispatched; no overall passing-CI claim.

@gitar-bot

gitar-bot Bot commented Nov 19, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🔴 High risk

Replacing the bundled MySQL 8.0 image with 8.4.13 upgrades existing data volumes, so a failed upgrade could disrupt metadata availability or prevent rollback to MySQL 8.0.

Replaces the bundled MySQL base image with pinned mysql:8.4.13 and aligns Compose, ingestion client stages, MySQL test-image defaults, and the Snyk target, while keeping MySQL 8.0 ingestion-source support. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@mohityadav766
mohityadav766 marked this pull request as ready for review November 19, 2026 15:57
@mohityadav766
mohityadav766 requested review from stout-yeoman and removed request for a team November 19, 2026 15:57
@mohityadav766
mohityadav766 merged commit 0feb819 into 2.0 Nov 19, 2026
78 of 81 checks passed
@mohityadav766
mohityadav766 deleted the backport/2.0-mysql-8.4.13 branch November 19, 2026 15:57
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

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.

4 participants