Repository navigation
fix(chat): bump Testcontainers to 1.21.4 so CI finds Docker Engine 29 - #178
Merged
Merged
Conversation
The GitHub runner now ships Docker Engine 29, which rejects Docker API versions below 1.40. Testcontainers 1.20.4 pings the daemon with API 1.32, so it reports "Could not find a valid Docker environment" and all 9 Testcontainers-backed chat-service tests error out on every branch. 1.21.4 pings with API 1.44 first and falls back to 1.32 for older engines. The property overrides the Testcontainers BOM, so the testcontainers, junit-jupiter and mongodb modules move together. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
nguyenhoangdung245
added a commit
that referenced
this pull request
Oct 28, 2026
nguyenhoangdung245
added a commit
that referenced
this pull request
Oct 28, 2026
4 tasks done
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Chat Service (Spring Boot)fails on every branch since the GitHub runner moved to Docker Engine 29(e.g. run 40726443808 on
dev):Testcontainers before 1.21.4 always pings the daemon with Docker API 1.32, so it finds no Docker
environment and all 9 Testcontainers-backed tests error out. Nothing in our code changed.
What
testcontainers.version1.20.4 → 1.21.4 (last 1.x). Its only functional change istestcontainers-java#11346:
ping with API 1.44 first, fall back to 1.32 for older engines.
so
testcontainers,junit-jupiterandmongodball resolve to 1.21.4 (docker-java 3.4.2).DOCKER_API_VERSIONoverride, no test skipped. Stayed on 1.x rather than 2.0.xbecause 2.0 renames the module artifacts and packages (
org.testcontainers.mongodb.MongoDBContainer).Verification
CallBusyRegistryRedisTestfails with the sameCould not find a valid Docker environment/BadRequestException.mvn clean testinapps/server/chat-service→ 842 tests, 0 failures, 0 errors (Spotlesscheck included). Testcontainers connects to Docker 29.6.2 (API 1.55); all 9 previously failing classes pass:
MeetingStoreTest,MeetingChatServiceTest,MeetingNotesServiceTest,CallBusyRegistryRedisTest,MessageServicePaginationTest,AssistantTokenStoreTest,CallSessionWriterTest,DirectConversationLookupTest,TokenUsageRepositoryTest.Chat Service (Spring Boot)job on this PR is the check that matters.🤖 Generated with Claude Code