Frun1na opened a new issue, #4922:
URL: https://github.com/apache/rocketmq-dashboard/issues/4922

   ### Before Creating the Bug Report
   
   - [x] I have searched the [open 
issues](https://github.com/apache/rocketmq-dashboard/issues) of this repository 
and believe that this is not a duplicate.
   - [x] This is a defect in RocketMQ Studio, not a usage question and not a 
defect in another Apache RocketMQ repository.
   - [x] I can reproduce this on the current `master` branch, or I have stated 
the exact version I am running below.
   
   ### Studio Version
   
   branch: `rocketmq-studio`
   git commit id: `1ef5d860` (upstream tip at the time of the report)
   deployed as: built from source
   
   ### Runtime Environment
   
   Verified by code tracing and unit tests on `rocketmq-studio` @ `1ef5d860` 
(vitest for `web/`, JUnit for `server/`), not against a specific browser or 
deployment.
   
   ### Connected RocketMQ Cluster
   
   Not cluster-specific: the defect lives in the code path and reproduces on 
any deployment where the trigger condition below holds.
   
   ### Describe the Bug
   
   The AI console renders the operator's question optimistically while the run 
streams (the SSE stream carries no user frame and the persisted transcript is 
refetched only when the run finishes). When the POST fails before the run is 
admitted, the end-of-run refetch still succeeds and the hook unconditionally 
clears the optimistic bubble: the question disappears from the screen entirely.
   
   ### Steps to Reproduce
   
   1. Open the AI console and send a message while the backend is down (or let 
a second tab hold the run so the send 409s).
   2. The stream errors immediately; the timeline refetch succeeds.
   3. The optimistic question bubble is removed and no persisted row replaces 
it - only an error banner remains.
   
   ### What Did You Expect to See?
   
   The question stays visible (as the optimistic bubble) whenever the 
transcript never gained the user row.
   
   ### What Did You See Instead?
   
   The question vanishes; the operator can no longer see what they asked.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to