Skip to content

Conversation

@Jerrynh770
Copy link

Fix resumable streaming ordering: resuming connections no longer receive live chunks before sending ACK.

Track pending resume connections on the server and exclude them from live broadcasts until ACK, then replay stored chunks.

Added a unit test covering “no live chunks before ACK” behavior.

@changeset-bot
Copy link

changeset-bot bot commented Jan 25, 2026

🦋 Changeset detected

Latest commit: e2fecc9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@cloudflare/ai-chat Patch
agents Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Jerrynh770 Jerrynh770 changed the title feat: implement pending resume connections handling in AIChatAgent fix: implement pending resume connections handling in AIChatAgent Jan 25, 2026
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