Repository navigation
docs: validate mysql ent+atlas+goose pipeline - #1180
Merged
Merged
Conversation
Owner
Author
This was referenced May 20, 2026
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the design documentation and task list for the migration to Ent and Atlas, marking the MySQL/MariaDB validation spike as completed. The documentation now confirms that Ent's MySQL dialect, Atlas's GooseFormatter, and the Goose migration provider work correctly with MariaDB 11.4.8, eliminating the need for a custom formatter. I have no feedback to provide as there are no review comments.
This was referenced May 21, 2026
This was referenced May 21, 2026
kalbasit
force-pushed
the
feat-add-ent-atlas-goose-deps
branch
from
May 22, 2026 01:47
0ac2733 to
0cdb102
Compare
kalbasit
force-pushed
the
docs-validate-mysql-ent-atlas
branch
from
May 22, 2026 01:47
9050df7 to
84af380
Compare
This was referenced May 22, 2026
kalbasit
enabled auto-merge (squash)
May 22, 2026 03:05
The §1 MySQL spike (now removed) validated that ent v0.14.6 +
ariga.io/atlas v0.36.2-pre + pressly/goose/v3 v3.27.1 work end-to-end
against MariaDB 11.4.8:
- dialect.MySQL produces correct MariaDB DDL (bigint, varchar,
backtick-quoted identifiers, utf8mb4 charset, AUTO_INCREMENT PK).
- sqltool.GooseFormatter emits valid MySQL syntax with proper
-- +goose Up / -- +goose Down markers and reverse DROP TABLE
ordering.
- goose.DialectMySQL applies the baseline cleanly via
goose.NewProvider(..., WithTableName("schema_migrations")).Up(ctx).
- All schema features survive: CHECK constraints, ON DELETE CASCADE
foreign keys, UNIQUE indexes, named indexes — verified via
information_schema queries.
Decision gate result: proceed with the pipeline as planned in §6 and
§9. No custom Goose formatter is required for MySQL.
Updates design.md D7 with the validation evidence. The throwaway
spike (cmd/spike-mysql/ and ent/schema/spike_*.go) is deleted; this
commit captures only the documentation update.
Completes task 1.1-1.4 of the migrate-to-ent-and-atlas change.
kalbasit
disabled auto-merge
May 22, 2026 04:42
kalbasit
force-pushed
the
docs-validate-mysql-ent-atlas
branch
from
May 22, 2026 05:33
84af380 to
4525f58
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1180 +/- ##
=====================================
Coverage 5.04% 5.04%
=====================================
Files 6 6
Lines 436 436
=====================================
Hits 22 22
Misses 410 410
Partials 4 4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The §1 MySQL spike (now removed) validated that ent v0.14.6 +
ariga.io/atlas v0.36.2-pre + pressly/goose/v3 v3.27.1 work end-to-end
against MariaDB 11.4.8:
backtick-quoted identifiers, utf8mb4 charset, AUTO_INCREMENT PK).
-- +goose Up / -- +goose Down markers and reverse DROP TABLE
ordering.
goose.NewProvider(..., WithTableName("schema_migrations")).Up(ctx).
foreign keys, UNIQUE indexes, named indexes — verified via
information_schema queries.
Decision gate result: proceed with the pipeline as planned in §6 and
§9. No custom Goose formatter is required for MySQL.
Updates design.md D7 with the validation evidence. The throwaway
spike (cmd/spike-mysql/ and ent/schema/spike_*.go) is deleted; this
commit captures only the documentation update.
Completes task 1.1-1.4 of the migrate-to-ent-and-atlas change.