Skip to content

Fix Claude Code stream idle timeouts#19

Merged
gitcommit90 merged 1 commit into
mainfrom
fix/sse-idle-heartbeat
Jul 23, 2026
Merged

Fix Claude Code stream idle timeouts#19
gitcommit90 merged 1 commit into
mainfrom
fix/sse-idle-heartbeat

Conversation

@gitcommit90

@gitcommit90 gitcommit90 commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • send zero-impact Anthropic stream liveness deltas only to Claude Code clients
  • keep other Anthropic, OpenAI Chat Completions, and Responses streams unchanged
  • preserve upstream cancellation and 499 activity accounting

Validation

  • npm test (314 passing)
  • real Claude Code 2.1.218 completed after 315 seconds of downstream model silence
  • exact output remained unchanged (DELTA_OK)
  • client disconnect regression records 499/canceled

Open in Devin Review

@gitcommit90
gitcommit90 merged commit 9fa3f9b into main Jul 23, 2026
1 of 2 checks passed
@gitcommit90
gitcommit90 deleted the fix/sse-idle-heartbeat branch July 23, 2026 20:52

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

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.

1 participant