Skip to content

Stop shipping example migrations in the released jar - #8

Merged
crinklywrappr merged 1 commit into
masterfrom
dont-ship-example-migrations
Sep 30, 2026
Merged

crinklywrappr merged 1 commit into
masterfrom
dont-ship-example-migrations

Conversation

@crinklywrappr

Copy link
Copy Markdown
Owner

The example migrations were test fixtures under resources/migrations/, so the packaged jar carried them onto every consumer classpath. A consumer uberjar merged them next to its own migrations/ resource and then loaded and ran them, which broke startup on a fresh store. Move them to test/resources/migrations/ and drop resources from the packaged paths. The suite loads them from the test classpath, so it stays green (66 tests, 1506 assertions).

The example migrations were test fixtures under resources/migrations/, so the
packaged jar carried them onto every consumer classpath. A consumer uberjar
merged them next to its own migrations/ resource and then loaded and ran them,
which broke startup on a fresh store. Move them to test/resources/migrations/
and drop resources from the packaged paths. The suite loads them from the test
classpath, so it stays green (66 tests, 1506 assertions).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@crinklywrappr
crinklywrappr merged commit bb56806 into master Sep 30, 2026
7 checks passed
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.

1 participant