fix(a2a): honor configured reply timeout in watchdog - #100312
Closed
rtx9jckz2g-prog wants to merge 1 commit into
Closed
rtx9jckz2g-prog wants to merge 1 commit into
rtx9jckz2g-prog wants to merge 1 commit into
Conversation
Collaborator
|
The |
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A2A_REPLY_TIMEOUTProblem
A2A_REPLY_TIMEOUTcan be configured above 300 seconds, but the orphan watchdog always failed pending tasks after a fixed 300 seconds. A task that legitimately needed longer than five minutes could therefore be marked failed before the configured reply deadline and later still produce a response.Related work
A2A_REPLY_TIMEOUT.Verification
uv run --with pytest pytest -q tests/plugins/test_a2a_plugin.py tests/plugins/test_a2a_phase23.py tests/plugins/test_a2a_schema_registration.py tests/tools/test_a2a_reason_roundtrip.pyuv run python -m py_compile plugins/platforms/a2a/adapter.py tests/plugins/test_a2a_plugin.pyruff check plugins/platforms/a2a/adapter.py tests/plugins/test_a2a_plugin.py