chore(deps): backport go-libs migrator index name fix to release/v2.4#1334
Open
Dav-14 wants to merge 1 commit into
Open
chore(deps): backport go-libs migrator index name fix to release/v2.4#1334Dav-14 wants to merge 1 commit into
Dav-14 wants to merge 1 commit into
Conversation
Pulls in formancehq/go-libs#597 (backport to release/v4, tagged as v4.1.4) which fixes a hardcoded `idx_version_id` name collision between migrators sharing a schema. The bug crashes services with `SQLSTATE 42P10` at startup. Affected DBs self-heal on next deploy - no manual SQL required. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
|
Caution Review failedAn error occurred during the review process. Please try again later. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/v2.4 #1334 +/- ##
================================================
+ Coverage 80.15% 81.10% +0.94%
================================================
Files 205 205
Lines 11087 11071 -16
================================================
+ Hits 8887 8979 +92
+ Misses 1574 1551 -23
+ Partials 626 541 -85 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
4 tasks
flemzord
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Backport of the go-libs migrator index name fix to ledger
release/v2.4. Bumpsgithub.com/formancehq/go-libs/v4fromv4.0.0tov4.1.4.Pulls in formancehq/go-libs#597 (backport of #594 to
release/v4) which fixes a hardcodedidx_version_idname collision between migrators sharing a schema. The bug crashes services withSQLSTATE 42P10at startup. Affected DBs self-heal on next deploy — no manual SQL required.Companion to #1331 (main), #1332 (release/v2.2), #1333 (release/v2.3).
Test plan
go mod tidycleango build ./...succeeds🤖 Generated with Claude Code