Skip to content

fix(ci): upgrade Testcontainers to 1.21.4 for Docker Engine 29 API - #569

Merged
tcheeric merged 1 commit into
developfrom
fix/ci-testcontainers-docker-api
Nov 25, 2026
Merged

tcheeric merged 1 commit into
developfrom
fix/ci-testcontainers-docker-api

Conversation

@tcheeric

Copy link
Copy Markdown
Owner

Summary

The Integration tests (Docker) job fails on ubuntu-26.04 runners (e.g. run 45691015099): Testcontainers 1.21.3 talks Docker API 1.32 and Docker Engine 29 rejects it (Minimum supported API version is 1.40).

Type of change

  • fix - Bug fix (non-breaking)
  • chore - Build, CI, or tooling changes

What changed?

  • Root pom.xml: import testcontainers-bom 1.21.4 before nostr-java-bom, so it overrides the 1.21.3 the BOM pins. 1.21.4 negotiates a modern Docker API.
  • ci.yml: the Docker IT job used to run only on push. It now runs on pull requests too, so regressions show up before merge.
  • CHANGELOG entry under Unreleased.

Testing

  • Locally (Docker 28.2.2): mvn verify -pl nostr-java-api -am -Dit.test=McpSpecAssumptionsIT,NostrClientRoundTripIT → BUILD SUCCESS (NostrClientRoundTripIT 2/2, McpSpecAssumptionsIT 10/10).
  • CI: the Docker IT job runs on this PR.

Known issues

NostrMcpServerStdioIT.aHostCanSeeWhichIdentitiesTheServerHolds (nostr-java-mcp) is a known, separate failure that is being tracked elsewhere.

Docker 29 on ubuntu-26.04 runners rejects API 1.32.
Import testcontainers-bom 1.21.4 ahead of nostr-java-bom.
Run the Docker IT job on pull requests too.
@tcheeric
tcheeric force-pushed the fix/ci-testcontainers-docker-api branch from 01b29ec to 57c7636 Compare November 25, 2026 21:04
@tcheeric
tcheeric merged commit a414ac5 into develop Nov 25, 2026
5 checks passed
This was referenced Nov 25, 2026
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