Skip to content

phase2(post): a2a-gateway Dockerfile must COPY tests/ workspace members - #128

Merged
Pal Lakatos-Toth (pallakatos) merged 2 commits into
mainfrom
dev
Apr 30, 2026
Merged

Pal Lakatos-Toth (pallakatos) merged 2 commits into
mainfrom
dev

Conversation

@pallakatos

Copy link
Copy Markdown
Collaborator

Post-merge follow-up to PR #125. The a2a-gateway image build (which runs against main) failed because a2a-gateway/Dockerfile uses per-member Cargo.toml + src copies (rather than the workspace-wide style of controller/inference-router); after S16 + S17 added tests/chaos and tests/cncf-conformance to the workspace members list, cargo refuses to load /work/Cargo.toml without their manifests.

Fix: add the two tests/* Cargo.toml + src copies before the cargo-build invocation. Mirrors the fix already shipped to the other two Rust image Dockerfiles in 23a6614.

No code-behavior change.

a2a-gateway/Dockerfile uses per-member Cargo.toml + src copies (rather
than the workspace-wide style of controller/inference-router); after S16
+ S17 added tests/chaos and tests/cncf-conformance to the workspace
members list, cargo refuses to load /work/Cargo.toml without their
manifests. Add the two tests/* Cargo.toml + src copies before the
cargo-build invocation. Mirrors the fix already shipped to the other
two Rust image Dockerfiles in 23a6614.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…r}/benches

The benches directories are referenced from each crate's Cargo.toml as
[[bench]] entries; cargo refuses to parse the workspace manifest if the
named bench files don't exist in the build context. controller/Dockerfile
and inference-router/Dockerfile copy the whole crate dir so they are
fine; a2a-gateway/Dockerfile takes the per-subdir slice approach and
needs the benches/ dirs added explicitly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pallakatos
Pal Lakatos-Toth (pallakatos) merged commit 8a2338d into main Apr 30, 2026
50 checks passed
Pal Lakatos-Toth (pallakatos) added a commit that referenced this pull request May 12, 2026
phase2(post): a2a-gateway Dockerfile must COPY tests/ workspace members
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