Skip to content

chore(deps): backport go-libs migrator index name fix to release/v2.2#1332

Open
Dav-14 wants to merge 1 commit into
release/v2.2from
hotfix/v2.2/go-libs-migrator-index
Open

chore(deps): backport go-libs migrator index name fix to release/v2.2#1332
Dav-14 wants to merge 1 commit into
release/v2.2from
hotfix/v2.2/go-libs-migrator-index

Conversation

@Dav-14

@Dav-14 Dav-14 commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Backport of the go-libs migrator index name fix to ledger release/v2.2. Bumps github.com/formancehq/go-libs/v2 from v2.2.4 to v2.2.5.

Pulls in formancehq/go-libs#595 (backport of #594 to release/v2.2) 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.

Companion to #1331 (main).

Test plan

  • go mod tidy clean
  • go build ./... succeeds
  • CI green

🤖 Generated with Claude Code

Pulls in formancehq/go-libs#595 (backport to release/v2.2, tagged as
v2.2.5) 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>
@coderabbitai

coderabbitai Bot commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • main

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 244b6184-de8f-4014-b8cc-c60a99c92d17

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch hotfix/v2.2/go-libs-migrator-index

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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