Skip to content

fix: update module github.com/testcontainers/testcontainers-go to v0.41.0#768

Open
renovate-bot wants to merge 1 commit intogoogleapis:mainfrom
renovate-bot:renovate/testcontainers-go-monorepo
Open

fix: update module github.com/testcontainers/testcontainers-go to v0.41.0#768
renovate-bot wants to merge 1 commit intogoogleapis:mainfrom
renovate-bot:renovate/testcontainers-go-monorepo

Conversation

@renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/testcontainers/testcontainers-go v0.40.0v0.41.0 age confidence

Release Notes

testcontainers/testcontainers-go (github.com/testcontainers/testcontainers-go)

v0.41.0

Compare Source

What's Changed
🚀 Features
🐛 Bug Fixes
📖 Documentation
🧹 Housekeeping
📦 Dependency updates

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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

This PR was generated by Mend Renovate. View the repository job log.

@forking-renovate
Copy link

ℹ️ Artifact update notice

File name: snippets/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):

  • 14 additional dependencies were updated

Details:

Package Change
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 -> v0.0.0-20250102033503-faa5f7b0171c
github.com/ebitengine/purego v0.8.4 -> v0.10.0
github.com/klauspost/compress v1.18.0 -> v1.18.2
github.com/moby/go-archive v0.1.0 -> v0.2.0
github.com/moby/term v0.5.0 -> v0.5.2
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c -> v0.0.0-20240221224432-82ca36839d55
github.com/shirou/gopsutil/v4 v4.25.6 -> v4.26.2
github.com/tklauser/go-sysconf v0.3.12 -> v0.3.16
github.com/tklauser/numcpus v0.6.1 -> v0.11.0
go.opentelemetry.io/otel v1.40.0 -> v1.41.0
go.opentelemetry.io/otel/metric v1.40.0 -> v1.41.0
go.opentelemetry.io/otel/sdk v1.40.0 -> v1.41.0
go.opentelemetry.io/otel/sdk/metric v1.40.0 -> v1.41.0
go.opentelemetry.io/otel/trace v1.40.0 -> v1.41.0

@renovate-bot renovate-bot requested a review from a team as a code owner March 19, 2026 01:02
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 19, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on a routine maintenance update, upgrading the github.com/testcontainers/testcontainers-go module to its latest version, v0.41.0. This update integrates new features, critical bug fixes, and general enhancements from the upstream library, ensuring the project benefits from improved container-based testing capabilities and maintaining compatibility with the latest ecosystem changes. The update also includes necessary adjustments to several indirect dependencies to align with the new primary module version.

Highlights

  • Dependency Update: Updated the primary dependency github.com/testcontainers/testcontainers-go from v0.40.0 to v0.41.0.
  • New Features in Testcontainers-Go: The updated Testcontainers-Go library introduces new modules for TiDB and Forgejo, and improves container conflict detection.
  • Bug Fixes in Testcontainers-Go: Key bug fixes include resolving Docker authentication issues for docker.io images and setting ulimits for Solace containers.
  • Indirect Dependency Updates: Several indirect Go module dependencies were updated, including github.com/Azure/go-ansiterm, github.com/cenkalti/backoff/v5, github.com/ebitengine/purego, github.com/klauspost/compress, github.com/moby/go-archive, github.com/moby/term, github.com/power-devops/perfstat, github.com/shirou/gopsutil/v4, github.com/tklauser/go-sysconf, github.com/tklauser/numcpus, and go.opentelemetry.io/otel related packages.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the github.com/testcontainers/testcontainers-go module from v0.40.0 to v0.41.0, along with its transitive dependencies. The update is straightforward. I've noted that this change introduces a new major version of the github.com/cenkalti/backoff library, resulting in two major versions (v4 and v5) coexisting in the dependency tree. While this is not a blocking issue, it's a point of interest for future dependency management to potentially consolidate to a single version.

Comment on lines 31 to +32
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

This dependency update introduces github.com/cenkalti/backoff/v5 as a transitive dependency, while v4 is also present in the dependency tree. Having two major versions of the same library can increase the final binary size and introduce complexity. While Go modules handle this, it would be beneficial to investigate which dependencies are pulling in the different versions and see if they can be aligned to a single version in a future refactoring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kokoro:force-run Add this label to force Kokoro to re-run the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant