Skip to content

CI: unblock MySQL 9.7 matrix job by making removed InnoDB option non-fatal - #1804

Closed
methane with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-github-actions-job-test-ubuntu-latest
Closed

CI: unblock MySQL 9.7 matrix job by making removed InnoDB option non-fatal#1804
methane with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-github-actions-job-test-ubuntu-latest

Conversation

Copilot AI commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The test (ubuntu-latest, 1.27, 9.7) Actions job failed before tests started because MySQL 9.7 rejects innodb_log_file_size at startup. This change updates CI MySQL config so newer versions ignore that legacy option instead of aborting initialization.

  • Root cause

    • MySQL setup in .github/workflows/test.yml passed innodb_log_file_size=256MB via my-cnf.
    • On MySQL 9.7, that variable is unknown and causes mysqld --initialize-insecure to fail.
  • Change

    • Switched to the loose- variant for cross-version compatibility in workflow config:
      • innodb_log_file_size=256MBloose-innodb_log_file_size=256MB
  • Why this is safe across matrix versions

    • Older MySQL versions still apply the option.
    • Versions that removed it ignore it without failing startup.
my-cnf: |
  loose-innodb_log_file_size=256MB
  innodb_buffer_pool_size=512MB
  max_allowed_packet=48MB

Co-authored-by: methane <199592+methane@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job test (ubuntu-latest, 1.27, 9.7) CI: unblock MySQL 9.7 matrix job by making removed InnoDB option non-fatal Sep 2, 2026
Copilot AI requested a review from methane September 2, 2026 09:44
@methane methane closed this Sep 2, 2026
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.

2 participants