Repository navigation
fix(web-ui): reconcile peer rollback receipts and late records - #3715
Merged
bobleer merged 1 commit intoNov 3, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
After a successful rollback in Peer Device Mode, the controller could keep the selected message and later turns on screen. Editing that message could also rerun over the stale transcript. This fixes the remaining receipt/replay gaps after #3707 and #3708.
Type and Areas
Type: bug fix
Areas: Web UI, FlowChat, Peer Device Mode
Motivation / Impact
For
test1,test2,test3, rolling back beforetest2leaves onlytest1; editingtest2removes the old suffix before submitting the edited text. A delayed record cannot bring the deleted messages back. No wire protocol, persisted format, backend command, or user-facing copy changes.Verification
FlowChatStore,SessionRollbackService,UserMessageEditService,RelaySessionHistory,SessionRecordReplica,EventHandlerModule,UserMessageItem,storeSync,sessionActivation,sessionSceneLifecycle,sceneStore, andAgentAPI: 540 passed on the rebased commit.pnpm run check:web: passed;pnpm --dir src/web-ui exec tsc --noEmitalso passed after the final ordering fix.pnpm run check:repo-hygiene,git diff --check, andnode scripts/check-git-object-sizes.mjs --base upstream/main --head HEAD: passed.Reviewer Notes
AI-assisted implementation. Testing level: automated regression coverage plus user-confirmed live retest of the reported Peer workflow. The fence stays with the replica rather than a global turn blacklist or fabricated revision, so the host remains authoritative.
Checklist