The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(a2a): say the orphan sweep follows A2A_REPLY_TIMEOUT and live waiters
teknium18abe6ab8ffca
diff --git a/plugins/platforms/a2a/README.md b/plugins/platforms/a2a/README.mdindex 9f6e3d7b26a..2d18bc3f7c8 100644--- a/plugins/platforms/a2a/README.md+++ b/plugins/platforms/a2a/README.md@@ -83,7 +83,7 @@ via `tasks/get`.| `A2A_ALLOW_ALL_USERS` | `false` | Allow any authed peer (dev only). || `A2A_RATE_LIMIT` | `60` | Requests/minute per identity. || `A2A_MAX_PINGPONG_TURNS` | `5` | Anti-loop turn cap per context (max 20). |-| `A2A_REPLY_TIMEOUT` | `300` | Seconds to wait for the agent's reply. |+| `A2A_REPLY_TIMEOUT` | `300` | Seconds to wait for the agent's reply; the orphan sweep never fails a task before this window (floor 300s) or while a request still waits on it. || `A2A_PUSH_SECRET` | bearer token | HMAC secret for push signing. || `A2A_ADVERTISED_TOOLSETS` | all registered | Restrict skills on the Agent Card. |diff --git a/website/docs/user-guide/messaging/a2a.md b/website/docs/user-guide/messaging/a2a.mdindex 92d98d19d94..24b716fa56d 100644--- a/website/docs/user-guide/messaging/a2a.md+++ b/website/docs/user-guide/messaging/a2a.md@@ -102,7 +102,7 @@ Secure by default; every widening step is explicit:| `A2A_ALLOW_ALL_USERS` | `false` | Allow any authenticated peer (dev only) || `A2A_RATE_LIMIT` | `60` | Requests/minute per identity || `A2A_MAX_PINGPONG_TURNS` | `5` | Anti-loop turn cap per context (max 20) |-| `A2A_REPLY_TIMEOUT` | `300` | Seconds to wait for the agent's reply |+| `A2A_REPLY_TIMEOUT` | `300` | Seconds to wait for the agent's reply. The orphan-task sweep never fails a task before this window elapses (floor 300s), and never while a request is still waiting on it || `A2A_PUSH_SECRET` | bearer token | HMAC secret for push-notification signing || `A2A_ADVERTISED_TOOLSETS` | all registered | Restrict which skills appear on the Agent Card |@@ -127,4 +127,4 @@ curl -X POST http://your-host:9900/ \- **Peers can't reach the card URL** — the card was advertising your bind address; set `A2A_PUBLIC_URL` to the externally routable URL.- **`401 Unauthorized`** — token mismatch; check `A2A_PEER_TOKENS`/`A2A_BEARER_TOKEN` on the server and the peer's `auth:` block.- **Server won't bind non-localhost** — by design: set a bearer token first, then `A2A_HOST=0.0.0.0`.-- **Replies time out on long tasks** — raise `A2A_REPLY_TIMEOUT`, or have the caller register a push-notification config and poll `GetTask`.+- **Replies time out on long tasks** — raise `A2A_REPLY_TIMEOUT` (the orphan sweep follows it, so a late reply is stored, not discarded), or have the caller register a push-notification config and poll `GetTask`.