BILLYisavailable opened a new pull request, #20:
URL: https://github.com/apache/rocketmq-ai/pull/20

   The constructor accepts and stores an AgentCard, but never initializes 
`needsExtendedCard` from its advertised capability. Since `getAgentCard` only 
initializes that flag when the cached card is null, a supplied card with 
`supportsAuthenticatedExtendedCard=true` silently bypasses the 
authenticated-card RPC.
   
   Initialize the flag from the constructor's card. Regression tests check that 
the advertised extension is fetched, unsupported cards do not issue the RPC, 
and server authentication errors reach the caller.
   
   Validation (JDK 17, Maven 3.9.11): all 7 module tests pass. The 
extension-fetch and error-propagation tests fail against the original 
production code. Tests use in-memory transport doubles and the real response 
dispatcher, without a live broker.
   


-- 
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]

Reply via email to