Skip to content

fix: report --stream inactivity timeouts as a timeout - #75

Merged
yarolegovich merged 1 commit into
a2aproject:mainfrom
ConnorMoss02:fix/stream-timeout-exit-code
Sep 24, 2026
Merged

yarolegovich merged 1 commit into
a2aproject:mainfrom
ConnorMoss02:fix/stream-timeout-exit-code

Conversation

@ConnorMoss02

Copy link
Copy Markdown
Contributor

When --timeout expired, send --stream returned A2ACLI_ERR_INTERNAL, exit 1. The inactivity error in internal/utils/timeout.go now wraps context.DeadlineExceeded, so it returns A2ACLI_ERR_TIMEOUT, exit 5.

Fixes #74

@yarolegovich yarolegovich left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@yarolegovich
yarolegovich merged commit 9465221 into a2aproject:main Sep 24, 2026
4 checks passed
yarolegovich pushed a commit that referenced this pull request Sep 24, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.3.0](v0.2.0...v0.3.0)
(2026-09-24)


### Features

* --save-fileparts flag for get, send and subscribe
([ed5d983](ed5d983)),
closes [#41](#41)
* a2a skill command
([#72](#72))
([d459480](d459480))
* add command plugin framework for extending a2a CLI
([#58](#58))
([f255bb2](f255bb2)),
closes [#57](#57)
* add support for setting global flags with config files
([#67](#67))
([4ee9f74](4ee9f74)),
closes [#66](#66)


### Bug Fixes

* disable command plugins by default
([#71](#71))
([6823186](6823186)),
closes [#57](#57)
* pass values from configs to transport plugin
([#73](#73))
([6745b8b](6745b8b)),
closes [#20](#20)
* report --stream inactivity timeouts as a timeout
([#75](#75))
([9465221](9465221)),
closes [#74](#74)
* send --svc-param headers on the agent card request
([#63](#63))
([d8d9493](d8d9493)),
closes [#56](#56)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

bug: --stream reports an inactivity timeout as an internal error, exit 1

2 participants