-
Notifications
You must be signed in to change notification settings - Fork 74
fix migration tests #2958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix migration tests #2958
Conversation
|
Claude finished @mchenani's task —— View job Code Review Complete ✅Review Date: December 16, 2025, 19:22 UTC SummaryThis PR fixes migration directory naming by removing the AnalysisWhat Changed:
Why This Fix Works:
Migration Test Framework:
These tests rely on matching migration names with applied versions by filtering numeric characters only (line 60-68), so the ✅ Approval Factors
No Issues Found
Recommendation: ✅ Approve and merge |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2958 +/- ##
=======================================
Coverage 73.92% 73.93%
=======================================
Files 407 407
Lines 52086 52086
=======================================
+ Hits 38506 38508 +2
+ Misses 13580 13578 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Fix migration tests by renaming migration directories to remove the -0000 suffix across xmtp_db migration pairs
Rename multiple migration
up.sqlanddown.sqlfiles to drop the-0000segment in their directory names, keeping contents unchanged to align test expectations.📍Where to Start
Start by reviewing the directory rename for xmtp_db/migrations/2025-10-28-175920_update_conversation_list_for_unknown_content_types/up.sql and its paired
down.sqlto confirm naming consistency across migrations.Macroscope summarized 823ba24.