Skip to content

integration: test image tag events for builds - #53313

Draft
oozan wants to merge 1 commit into
moby:masterfrom
oozan:agent/build-image-events-api-1785959850
Draft

integration: test image tag events for builds#53313
oozan wants to merge 1 commit into
moby:masterfrom
oozan:agent/build-image-events-api-1785959850

Conversation

@oozan

@oozan oozan commented Aug 5, 2026

Copy link
Copy Markdown

Fixes: #49679

Summary

Expand the direct API integration coverage for build image events.

The test now verifies tagged and untagged builds for both the classic builder and BuildKit. It checks that each build emits one image-create event, tagged builds emit one matching image-tag event, and untagged builds emit no tag event.

Events are filtered using the resulting image ID to avoid counting unrelated daemon activity.

Testing

  • gofmt
  • git diff --check
  • Linux integration-test package compiled successfully
  • Full runtime integration coverage will run in project CI

Release notes

Not applicable because this is a test-only change.

Created with: OpenAI Codex

I reviewed the implementation and test assertions before submission.

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.

Add non-cli counterpart of TestBuildEmitsEvents

1 participant