Repository navigation
fix(agent): persist WebUI transcript event timestamps - #524
Merged
Merged
Conversation
syzsunshine219
requested review from
Wang-Daoji and
ZongYue99
as code owners
September 22, 2026 10:12
syzsunshine219
force-pushed
the
fix/memmy-434-webui-timestamps
branch
from
September 22, 2026 10:19
773cdba to
90c24b9
Compare
syzsunshine219
marked this pull request as draft
September 22, 2026 10:39
Memtensor-AI
marked this pull request as ready for review
September 22, 2026 11:01
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.
Problem
MEMMY-434 reports that WebUI JSONL rows have no event-level timestamp, so replay falls back to role order and can display a later assistant response with an earlier turn's time.
Change
Persist monotonic event timestamps at both GUI mirror and WebSocket transcript boundaries. Replay now prefers event timestamps while preserving legacy session-message fallback behavior.
Validation
npm --prefix App/memmy-agent exec vitest run tests/entrypoints/frontend-bridge/webui-transcript.test.ts tests/entrypoints/frontend-bridge/gui-transcript-sync.test.ts tests/integrations/channels/websocket-channel.test.ts