Skip to content

fix(coderd/database): renumber duplicate MCP migration#24552

Merged
ibetitsmike merged 1 commit intomainfrom
mike/fix-duplicate-migration-1483
Apr 21, 2026
Merged

fix(coderd/database): renumber duplicate MCP migration#24552
ibetitsmike merged 1 commit intomainfrom
mike/fix-duplicate-migration-1483

Conversation

@ibetitsmike
Copy link
Copy Markdown
Collaborator

Summary

  • rename the allow_in_plan_mode migration pair from 000472 to 000473
  • rename the matching fixture file and update its comment
  • remove the duplicate migration version that broke containerized database startup

Testing

  • go test ./coderd/database/migrations -run '^TestMigrate$' -count=1 -timeout 15m
  • validated iofs.New for coderd/database/migrations and coderd/database/migrations/testdata/fixtures

Closes coder/internal#1483

Mux opened this PR on Mike's behalf.

@ibetitsmike ibetitsmike enabled auto-merge (squash) April 21, 2026 11:02
@ibetitsmike ibetitsmike merged commit cb67e71 into main Apr 21, 2026
28 checks passed
@ibetitsmike ibetitsmike deleted the mike/fix-duplicate-migration-1483 branch April 21, 2026 11:10
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flake: Test process crash - duplicate migration number 000472

2 participants