DEV Community

Christian Mรผnch
Christian Mรผnch

Posted on

๐Ÿ› ๏ธ ๐—ก๐—ฒ๐˜„ ๐—ถ๐—ป ๐—ป๐Ÿต๐Ÿด-๐—บ๐—ฎ๐—ด๐—ฒ๐—ฟ๐˜‚๐—ป๐Ÿฎ: ๐—œ๐—ป๐˜๐—ฟ๐—ผ๐—ฑ๐˜‚๐—ฐ๐—ถ๐—ป๐—ด ๐—ฑ๐—ฏ:๐—ฐ๐—ผ๐—บ๐—ฝ๐—ฎ๐˜๐—ถ๐—ฏ๐—ถ๐—น๐—ถ๐˜๐˜†!

Planning database migrations or version upgrades in Magento/Mage-OS setups often means cross-referencing compatibility matrices, release notes, and EOL calendars. To make this frictionless, Iโ€™m currently wrapping up a major addition to n98-magerun2: PR #2158 introduces the read-only db:compatibility command.

What it does: It automatically checks whether your installed (or target) Magento Open Source, Adobe Commerce, or Mage-OS release is officially supported on your current MySQL or MariaDB engine.

Key technical highlights:

โ€ข Dedicated Mage-OS Detection: Detects Mage-OS as its own first-class product with its own versioning (e.g., 3.0.0), rather than silently treating it as plain upstream Magento.
โ€ข Schema-Validated & Live-Enriched: Backed by a versioned dataset generated from magento.watch (no hand-authored guesswork). Running with --online fetches real-time updates directly.
โ€ข MariaDB Lifecycle Data: Enriches status, support type, and EOL dates on the fly via the MariaDB Foundation REST APIโ€”kept strictly separate from the compatibility verdict.
โ€ข Automation & CI Friendly: Clean standard CLI output by default, verbose (-v) breakdown with full citations/lifecycle tables, and comprehensive --format=json export.
โ€ข Robust Pipeline: Bundled dataset validation via JSON Schema in build.sh, complete with atomic refresh logic and agent maintenance skills (.agents/skills/).

Feedback and reviews from the community are very welcome! Check out the pull request:
๐Ÿ”— https://github.com/netz98/n98-magerun2/pull/2158

Magento #AdobeCommerce #MageOS #MySQL #MariaDB #PHP #OpenSource #DevOps #WebDevelopment #Database

Top comments (0)