fix(workspace): include ~1KB sanitized stderr in A2A error responses #454

Merged
infra-runtime-be merged 1 commits from fix/stderr-include-a2a-error-response into staging 2026-05-11 11:57:45 +00:00

1 Commits

Author SHA1 Message Date
7290d9727f fix(workspace): include ~1KB sanitized stderr in A2A error responses
Some checks failed
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 21s
sop-tier-check / tier-check (pull_request) Failing after 14s
audit-force-merge / audit (pull_request) Successful in 11s
Adds an optional `stderr` parameter to sanitize_agent_error(). When
provided, up to 1 KB of stderr text is included in the A2A error
response after sanitization (API keys / bearer tokens ≥20 chars /
long paths redacted). The existing generic form is preserved when
stderr is absent. Updates both the main a2a_executor and the google-adk
adapter.

Closes: roadmap item — SDK executor stderr swallowing.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 10:32:11 +00:00