chore(deps): upgrade testcontainers-go to v0.42.0#161
Conversation
- Bump testcontainers-go from v0.41.0 to v0.42.0 - Bump testcontainers-go/modules/postgres from v0.41.0 to v0.42.0 - Update transitive dependencies for moby modules migration Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Pull request overview
Upgrades the project’s Testcontainers dependencies (and related Docker/moby transitive modules) to keep integration-test infrastructure current and compatible with upstream dependency migrations.
Changes:
- Bump
github.com/testcontainers/testcontainers-goandmodules/postgresfromv0.41.0→v0.42.0. - Update transitive Docker client stack dependencies (notably moving from
github.com/docker/dockertogithub.com/moby/moby/...modules). - Refresh module metadata (
go.mod/go.sum) accordingly.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| go.mod | Updates direct/indirect module requirements to the new Testcontainers version and updated moby-related transitive deps. |
| go.sum | Updates checksums to match the resolved module graph after the dependency bump and transitive migration. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| github.com/swaggo/gin-swagger v1.6.1 | ||
| github.com/testcontainers/testcontainers-go v0.41.0 | ||
| github.com/testcontainers/testcontainers-go/modules/postgres v0.41.0 | ||
| github.com/swaggo/swag v1.16.6 |
There was a problem hiding this comment.
github.com/swaggo/swag was promoted from an indirect dependency to a direct require, but I can’t find any Go imports of github.com/swaggo/swag in the repo (only files/gin-swagger). If this module doesn’t directly import swag, consider reverting it back to // indirect (or removing it) to keep the direct dependency set accurate; if it’s only needed for generated swagger docs, ensure go mod tidy is run after generating those files so the classification reflects actual imports.
| github.com/swaggo/swag v1.16.6 | |
| github.com/swaggo/swag v1.16.6 // indirect |
| github.com/testcontainers/testcontainers-go v0.42.0 | ||
| github.com/testcontainers/testcontainers-go/modules/postgres v0.42.0 |
There was a problem hiding this comment.
This upgrade changes the testcontainers-go API surface used by internal/store/store_test.go (Postgres container tests). The PR description notes Docker isn’t available and the integration test wasn’t run; before merging, it would be good to run the Postgres integration test with Docker available (or ensure CI covers it) to catch any runtime/container startup behavior changes introduced by v0.42.0.
- Bump go.opentelemetry.io/otel/sdk from v1.41.0 to v1.43.0 - Fixes HIGH severity CVE-2026-39883 (BSD kenv PATH hijacking) - Also upgrades otel, otel/metric, otel/trace, otel/sdk/metric to v1.43.0 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
testcontainers-gofrom v0.41.0 to v0.42.0testcontainers-go/modules/postgresfrom v0.41.0 to v0.42.0Test plan
make buildcompiles successfullygo test ./internal/store/...passes (Docker not available, test correctly skipped)🤖 Generated with Claude Code