Skip to content

fix(e2e): apply migrations before starting app in tests#829

Merged
alexluong merged 1 commit intomainfrom
fix/e2e-apply-migrations-before-startup
Apr 13, 2026
Merged

fix(e2e): apply migrations before starting app in tests#829
alexluong merged 1 commit intomainfrom
fix/e2e-apply-migrations-before-startup

Conversation

@alexluong
Copy link
Copy Markdown
Collaborator

Summary

  • The unified migration CLI (feat: unified outpost migrate CLI (#675) #816) added a startup gate that refuses to start when migrations are pending
  • E2e tests create fresh databases but never applied migrations, so all e2e tests fail
  • Added configs.ApplyMigrations() helper that runs the coordinator's Apply() before app startup in all e2e tests

Test plan

  • make test/e2e passes

🤖 Generated with Claude Code

The unified migration CLI (#816) added a startup gate that refuses to
start when migrations are pending. E2e tests create fresh databases but
never applied migrations, causing all tests to fail.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
outpost-docs Ready Ready Preview, Comment Apr 13, 2026 6:28pm
outpost-website Ready Ready Preview, Comment Apr 13, 2026 6:28pm

Request Review

@alexluong alexluong merged commit c165a5a into main Apr 13, 2026
5 checks passed
@alexluong alexluong deleted the fix/e2e-apply-migrations-before-startup branch April 13, 2026 22:38
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