Skip to content

FLOW-2056: Improve chat replay performance and enable immediate user messaging - (Rovo Dev)#1787

Open
mattcolman wants to merge 1 commit into
mainfrom
FLOW-2056-atlascode-chat-replay-performance-c0d18
Open

FLOW-2056: Improve chat replay performance and enable immediate user messaging - (Rovo Dev)#1787
mattcolman wants to merge 1 commit into
mainfrom
FLOW-2056-atlascode-chat-replay-performance-c0d18

Conversation

@mattcolman

@mattcolman mattcolman commented Apr 18, 2026

Copy link
Copy Markdown
Collaborator

This pull request improves the chat replay performance for the Rovo Dev chat provider by changing how the chat history is restored during replay.

Key changes:

  • Refactor chat replay handling to build the entire chat history from replay responses first, then send it in a single message to the webview.
  • Replace streaming of individual replay messages with a single RestoreState message containing the full chat history.
  • Allow users to immediately type new messages after replay restoration without waiting for message streaming to complete.
  • Adjust handling of different replay event kinds to properly build the chat history and skip unnecessary events during replay.
  • Minor changelog update to document the improved chat replay performance.

These changes significantly enhance the user experience by eliminating the slow streaming replay and enabling instant interaction with the chat agent upon session restoration.


Rovo Dev code review: Rovo Dev couldn't review this pull request
The pull request author does not have access to Rovo Dev.

Refactor replay response processing to build the entire chat history first and send it in a single RestoreState message instead of streaming messages one-by-one. This change allows the UI to render the full conversation instantly on session restore, enabling users to immediately type new messages without waiting for replay to finish. Also, adjust handling of tool-call and user-prompt events during replay to align with live chat behavior and skip irrelevant events for cleaner history reconstruction.
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