Skip to content

ci: assert migration version uniqueness (parallel-PR collision guard)#185

Merged
tayy-i merged 1 commit into
mainfrom
feat/183-migration-version-guard
Jul 21, 2026
Merged

ci: assert migration version uniqueness (parallel-PR collision guard)#185
tayy-i merged 1 commit into
mainfrom
feat/183-migration-version-guard

Conversation

@tayy-i

@tayy-i tayy-i commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Fixes #183. Adds scripts/check-migration-versions (fails on duplicate version prefixes or malformed migration filenames, listing offenders) and wires it into the static job after the file-size ratchet. Written generically — validates both the pre- and post-#182 trees. Self-tested against the current tree (pass) and a synthetic collision (fail). codex-authored, verify-loop clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01C9RTnbCyhqEUSPc7xCK76p

Reject malformed SQL migration filenames and duplicate numeric versions in the static CI job.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C9RTnbCyhqEUSPc7xCK76p
@tayy-i
tayy-i merged commit e931932 into main Jul 21, 2026
10 checks passed
@tayy-i
tayy-i deleted the feat/183-migration-version-guard branch July 21, 2026 03:12
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.

guard: assert migration version uniqueness in CI (parallel-PR collision class)

2 participants