[Bug]: outdated / mismatched a2a.proto on grpc spec for compat-0.3
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
Research direction
Start with compat-0.3/spec-grpc/src/main/proto/a2a.proto and inspect the Part message alongside the referenced Python definition at src/a2a/compat/v0_3/a2a_v0_3.proto. Confirm how the optional metadata field is represented and update the Java protocol definition so responses containing it are parsed; done means the schemas are compatible and the relevant parsing behavior is covered by the existing test suite.
Written by the indexing model from the issue text.
Description
This is the Part definition in compat-0.3/spec-grpc/src/main/proto/a2a.proto. It seems to be missing the optional metadata field, according to python's a2a sdk for compat-0.3 there is a
java (compat-0.3/spec-grpc/src/main/proto/a2a.proto)
message Part {
oneof part {
string text = 1;
FilePart file = 2;
DataPart data = 3;
}
}
python (src/a2a/compat/v0_3/a2a_v0_3.proto)
message Part {
oneof part {
string text = 1;
FilePart file = 2;
DataPart data = 3;
}
// Optional metadata associated with this part.
google.protobuf.Struct metadata = 4;
}
This results in the SDK failing to parse the metadata field from responses that includes it.
- Dominant language
- Java
- Stars
- 495
- Forks
- 174
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 48
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from a2aproject/a2a-java
-
[Bug]: NullPointerException in A2ACommonFieldMapper when a struct field has an explicit null value Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
a2aproject/a2a-java#1160 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
a2aproject/a2a-java#1142 · 1 assignee ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
a2aproject/a2a-java#1012 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
a2aproject/a2a-java#464 · 1 comment ·
-
sample
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
a2aproject/a2a-java#375 · 5 comments · 1 assignee ·
All issues in a2aproject/a2a-java
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100