Skip to content

fix(dev-env): address deprecations in myloader#2772

Merged
sjinks merged 1 commit intotrunkfrom
myloader-deprecations
Mar 12, 2026
Merged

fix(dev-env): address deprecations in myloader#2772
sjinks merged 1 commit intotrunkfrom
myloader-deprecations

Conversation

@sjinks
Copy link
Member

@sjinks sjinks commented Mar 12, 2026

Description

This PR fixes the following error that happens during vip dev-env import sql:

** (myloader:1344): CRITICAL **: 03:04:32.710: Option --innodb-optimize-keys is deprecated use --optimize-keys instead

Changelog Description

Fixed

  • Compatibility with mydumper 0.21.3-1

Pull request checklist

New release checklist

Steps to Test

See 222938-z

@sjinks sjinks requested a review from Copilot March 12, 2026 03:10
@sjinks sjinks self-assigned this Mar 12, 2026
@github-actions
Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@sonarqubecloud
Copy link

Comment on lines 13952 to 13954
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit unrelated; fixes a high-severity vulnerability in tar

Ref: CVE-2026-31802

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a deprecation warning in myloader by replacing the deprecated --innodb-optimize-keys flag with the new --optimize-keys flag, ensuring compatibility with mydumper 0.21.3-1. It also includes a minor tar dependency bump.

Changes:

  • Replace deprecated --innodb-optimize-keys with --optimize-keys in the SQL import command
  • Bump tar dependency from 7.5.10 to 7.5.11

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
src/commands/dev-env-import-sql.ts Replace deprecated myloader flag --innodb-optimize-keys with --optimize-keys
npm-shrinkwrap.json Bump tar from 7.5.10 to 7.5.11
Files not reviewed (1)
  • npm-shrinkwrap.json: Language not supported

You can also share your feedback on Copilot code review. Take the survey.

@sjinks sjinks merged commit 25be97a into trunk Mar 12, 2026
30 of 31 checks passed
@sjinks sjinks deleted the myloader-deprecations branch March 12, 2026 11:30
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.

3 participants