Skip to content

Fix tests to support Docker 29 - #98

Merged
clue merged 1 commit into
clue:1.xfrom
clue-labs:docker29-tests
Oct 11, 2026
Merged

clue merged 1 commit into
clue:1.xfrom
clue-labs:docker29-tests

Conversation

@clue

@clue clue commented Oct 11, 2026

Copy link
Copy Markdown
Owner

This changeset fixes the tests to support Docker 29. Docker 29 no longer reports the deprecated status field for events, so the tests now use the Action field instead, which has been available since Docker 1.10 and is already used by the network test. While at it, the test comments now name the exact Docker versions that changed the number of events.

Our CI still runs Docker 28, so it is not affected yet, but GitHub plans to update its runners to Docker 29 (actions/runner-images#14105). The library itself is not affected, as it passes events through unchanged.

Builds on top of #92 and #80
Refs moby/moby#50832 and actions/runner-images#14105

@clue clue added this to the v1.7.0 milestone Oct 11, 2026
@clue
clue requested a balanced review from Copilot October 11, 2026 00:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The event-field change breaks functional-test compatibility with supported Docker API versions before v1.22.

1 open finding
What changed in this PR

Updates functional tests for Docker 29’s event schema while retaining existing event-count handling.

Changes:

  • Uses the Action event field instead of deprecated status.
  • Documents Docker versions associated with event-count changes.
File Description
tests/​FunctionalClientTest.php Updates event assertions and version comments.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread tests/FunctionalClientTest.php
@clue
clue merged commit 20b91af into clue:1.x Oct 11, 2026
15 checks passed
@clue
clue deleted the docker29-tests branch October 11, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants