Skip to content

chore(deps): upgrade testcontainers-go to v0.42.0#161

Merged
appleboy merged 2 commits intomainfrom
chore/update-testcontainers-v0.42.0
Apr 10, 2026
Merged

chore(deps): upgrade testcontainers-go to v0.42.0#161
appleboy merged 2 commits intomainfrom
chore/update-testcontainers-v0.42.0

Conversation

@appleboy
Copy link
Copy Markdown
Member

Summary

  • 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 (moby/client v0.4.0, moby/api v1.54.1)

Test plan

  • make build compiles successfully
  • go test ./internal/store/... passes (Docker not available, test correctly skipped)
  • PostgreSQL integration test with Docker available

🤖 Generated with Claude Code

- 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>
Copilot AI review requested due to automatic review settings April 10, 2026 01:48
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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-go and modules/postgres from v0.41.0v0.42.0.
  • Update transitive Docker client stack dependencies (notably moving from github.com/docker/docker to github.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
Copy link

Copilot AI Apr 10, 2026

Choose a reason for hiding this comment

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

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.

Suggested change
github.com/swaggo/swag v1.16.6
github.com/swaggo/swag v1.16.6 // indirect

Copilot uses AI. Check for mistakes.
Comment on lines +26 to +27
github.com/testcontainers/testcontainers-go v0.42.0
github.com/testcontainers/testcontainers-go/modules/postgres v0.42.0
Copy link

Copilot AI Apr 10, 2026

Choose a reason for hiding this comment

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

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.

Copilot uses AI. Check for mistakes.
- 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>
@appleboy appleboy merged commit a667657 into main Apr 10, 2026
17 checks passed
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