Skip to content

fix(ui): hide echoed queue provisional messages - #769

Open
Kaguya-19 wants to merge 2 commits into
OpenBMB:mainfrom
Kaguya-19:codex/queue-echo-dedup
Open

Kaguya-19 wants to merge 2 commits into
OpenBMB:mainfrom
Kaguya-19:codex/queue-echo-dedup

Conversation

@Kaguya-19

Copy link
Copy Markdown
Collaborator

Problem

When a queued attachment message is dispatched, the provisional queue row and the transcript echo can arrive in separate frontend updates. The same PDF or image message can therefore appear twice briefly, then collapse after refresh.

Change

Hide a provisional queue row as soon as its stable queue id matches the transcript user message runId or turnId. Matching stays identity based, so legitimate identical text messages remain distinct.

Validation

  • Queue integration, provisional rendering, and session-store streaming tests: 3 files, 78 assertions passed.
  • The broader MessagesPane render test was not runnable on the origin/main dependency snapshot because the old branch lacks the mermaid package.
  • No backend, Core, provider, or package-side logic changed.

This branch has not been deployed

No deployments
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