luigidemasi opened a new pull request, #31358: URL: https://github.com/apache/camel/pull/31358
A route could emit an artifact successfully, then lose it when the consumer replaced the running task with the final reply. This left both the blocking `SendMessage` reply and subsequent `GetTask` calls without the emitted artifact. [CAMEL-28108](https://issues.apache.org/jira/browse/CAMEL-28108) Blocking and asynchronous completion now copy the stored artifacts into the final task while holding the same lock as `A2AProgress.emitArtifact`. The blocking caller receives the task that was saved. The component guide and its catalog copy describe how clients can retrieve the artifacts. - [x] Targets `main`. The commit is signed and includes Signed-off-by and AI co-authorship trailers. - [x] Both JSON-RPC regression cases failed on the parent commit. They now pass and verify the emitted artifact ID and parts in the blocking reply and in `GetTask` after completion in either mode. - [x] All 588 `camel-a2a` tests passed. The full root build passed with `mvnd -T 3 clean install -DskipTests`. Generated by OpenAI Codex via /oss-fix-issue on behalf of Luigi De Masi (@luigidemasi). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
