Skip to content

fix(cloud): avoid recursive SSE failures#1440

Merged
tatoalo merged 1 commit intomainfrom
fix/cloud-agent/permission-request-sse-failures
Apr 2, 2026
Merged

fix(cloud): avoid recursive SSE failures#1440
tatoalo merged 1 commit intomainfrom
fix/cloud-agent/permission-request-sse-failures

Conversation

@tatoalo
Copy link
Copy Markdown
Contributor

@tatoalo tatoalo commented Apr 2, 2026

Problem

cloud runs could get into a state where tool permission requests started failing with Internal error / Maximum call stack size exceeded, which then blocked later Bash-backed git actions like branch creation and commits.

root cause seems to be in the agent-server console log forwarding: once an SSE stream started throwing, the SSE error path logged through the same forwarded logger, which recursively re-entered console log emission and broke subsequent requests

@tatoalo tatoalo self-assigned this Apr 2, 2026
@tatoalo tatoalo marked this pull request as ready for review April 2, 2026 10:27
@tatoalo tatoalo requested a review from a team April 2, 2026 10:29
@tatoalo tatoalo merged commit c672079 into main Apr 2, 2026
15 checks passed
@tatoalo tatoalo deleted the fix/cloud-agent/permission-request-sse-failures branch April 2, 2026 10:35
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.

2 participants