You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: agent card resolution ignores --timeout and fails to classify deadline exceeded error #95
When executing commands like a2a card get <url> --timeout 10ms or any command resolving an agent card, the --timeout flag is ignored during agent card resolution because resolveCard uses a hardcoded compatCardResolver with a fixed 30-second HTTP timeout and ignores cfg.httpTransport.
Additionally, if context deadline exceeded occurs while resolving the agent card, it is returned as an unclassified error with exit code 1 instead of being classified as CodeTimeout (exit: 5, hint to increase --timeout).
Finally, --wait, --poll-interval, and --timeout flags were missing from the top-level documentation and skill references.
Steps to reproduce
Run a command pointing to a slow or delayed agent card endpoint with a low timeout:
a2a card get http:// --timeout 10ms
Observe that the request does not terminate at 10ms (it waits up to 30s).
If it times out, observe that the error is not classified as timeout (exit code 1 instead of 5).
Activity