Skip to content

Update module github.com/golang-migrate/migrate/v4 to v4.20.1 - #2341

Merged
red-hat-konflux[bot] merged 1 commit into
masterfrom
konflux/mintmaker/master/github.com-golang-migrate-migrate-v4-4.x
Sep 21, 2026
Merged

red-hat-konflux[bot] merged 1 commit into
masterfrom
konflux/mintmaker/master/github.com-golang-migrate-migrate-v4-4.x

Conversation

@red-hat-konflux

@red-hat-konflux red-hat-konflux Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/golang-migrate/migrate/v4 v4.19.1 → v4.20.1 age confidence

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

golang-migrate/migrate (github.com/golang-migrate/migrate/v4)

v4.20.1

Compare Source

[!NOTE]
This release is the immediate mitigation of the CI / release failure in v4.20.0, to distribute the latest version to all registries.

What's Changed

Full Changelog: golang-migrate/migrate@v4.20.0...v4.20.1

v4.20.0

Compare Source

[!WARNING]
Due to a bug in the release workflow, GoReleaser failed and v4.20.0 was not published to Docker or other package registries. We did not want to re-tag (due to the possible impacts of that action), so we will attempt to backfill this shortly.

To mitigate this in the immediate term, v4.20.1 is being released with the patched workflow and distributed to all registries.

What's Changed

New Contributors

Full Changelog: golang-migrate/migrate@v4.19.1...v4.20.0


Configuration

📅 Schedule: (in timezone Europe/Prague)

  • Branch creation
    • Between 03:00 AM and 10:59 AM, only on Monday (* 3-10 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

Summary by Sourcery

Update golang-migrate to v4.20.1 and refresh its transitive Go dependencies.

Enhancements:

  • Update the golang-migrate dependency to v4.20.1, bringing in its upstream fixes and improvements, including migration source handling and performance updates.

Chores:

  • Refresh indirect Google API and RPC genproto dependencies and associated checksums.

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux
red-hat-konflux Bot requested a review from a team as a code owner September 21, 2026 04:47
@red-hat-konflux
red-hat-konflux Bot enabled auto-merge (squash) September 21, 2026 04:47
@red-hat-konflux

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 2 additional dependencies were updated

Details:

Package Change
google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa -> v0.0.0-20260630182238-925bb5da69e7
google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa -> v0.0.0-20260630182238-925bb5da69e7

@sourcery-ai

sourcery-ai Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This dependency-only PR upgrades golang-migrate from v4.19.1 to v4.20.1, including refreshed go.sum entries and transitive genproto modules; reviewers should validate compatibility with the upstream v4.20.x driver/source fixes and the project’s migration and build/test workflows.

File-Level Changes

Change Details Files
Upgrade the migrate dependency and refresh the transitive module graph.
  • Update github.com/golang-migrate/migrate/v4 from v4.19.1 to v4.20.1.
  • Regenerate checksums and update indirect genproto API/RPC versions pulled into go.mod.
go.mod
go.sum
Adopt upstream migrate v4.20.x fixes and improvements.
  • Review the upstream release changes affecting database drivers, migration source handling, startup performance, dependency security, and compatibility.
  • Verify the updated release/build tooling does not alter runtime behavior or artifact expectations for this project.
github.com/golang-migrate/migrate/v4 (upstream dependency)

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Needs a human reviewer. The updated migration engine can change how database migrations are applied, so a defect could write an incorrect schema or data that remains after reverting the dependency. The affected state is generally bounded and can be repaired or migrations rerun, rather than creating an inherently unbounded impact.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@red-hat-konflux
red-hat-konflux Bot merged commit c87d7b7 into master Sep 21, 2026
9 of 12 checks passed
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.94%. Comparing base (8f881c8) to head (03b8931).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2341   +/-   ##
=======================================
  Coverage   58.94%   58.94%           
=======================================
  Files         150      150           
  Lines        9596     9596           
=======================================
  Hits         5656     5656           
  Misses       3347     3347           
  Partials      593      593           
Flag Coverage Δ
unittests 58.94% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@red-hat-konflux
red-hat-konflux Bot deleted the konflux/mintmaker/master/github.com-golang-migrate-migrate-v4-4.x branch September 21, 2026 05:06
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