Skip to content

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

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

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

Conversation

@Dav-14
Copy link
Copy Markdown
Contributor

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

Summary

Backport of the go-libs migrator index name fix to flows `release/v2.1`. Bumps `github.com/formancehq/go-libs/v2` from `v2.0.1-pre` to `v2.2.5`.

The `release/v2.1` branch was created from the `v2.1.1` tag specifically to host this backport — flows previously didn't have a v2.1 release branch (the tag was cut from main at the time). This unblocks the v3.0 stack in regions chart (orchestration v2.1.1).

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.

Larger diff than other backports because this branch was on go-libs `v2.0.1-pre`, so the bump spans several minor versions plus transitive deps.

Companion to #171 (main, still open), #172 (release/v2.6), #173 (release/v2.4).

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.

Note: this branch was on go-libs v2.0.1-pre; bumps span several minor
versions of go-libs and pull in transitive dep updates.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 30, 2026

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: 9b0843e2-e6b3-412c-9bfc-4ab7aa542074

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.1/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.

Dav-14 added a commit to formancehq/helm that referenced this pull request Apr 30, 2026
Bumps v3.0 stack orchestration v2.1.1 -> v2.1.2 (formancehq/flows#174,
backport on freshly-created release/v2.1) and v3.2 stack transactionplane
v0.2.1 -> v0.2.2 (formancehq/transaction-plane#85, backport on freshly-
created release/v0.2).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant