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

   ### 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
   
   rocketmq-studio at 127c47b06a268cc74224d5f34c56ec7c36ac0d55
   
   ### Runtime Environment
   
   Frontend regression reproduction in Vitest/jsdom, Node 24.19. Signed-in 
browser with Mock selected; the data-mode toggle reloads but retains the login 
cookie.
   
   ### Connected RocketMQ Cluster
   
   None needed: controlled persisted-conversation API fixtures reproduce the 
frontend boundary. No live cluster was contacted.
   
   ### Build Toolchain
   
   _No response_
   
   ### Describe the Bug
   
   In Mock mode, AI history still requests the real persisted conversation list 
and offers its archive/delete controls. A direct /ai/c/<id> route loads the 
real timeline and attaches an active run. A Home draft handoff creates a real 
conversation and clears the prompt; with an existing conversation route it can 
open the real run stream.
   
   ### Steps to Reproduce
   
   1. Enable Mock while signed in.
   2. Open AI history from the composer or Home history action.
   3. Reload an existing active conversation URL /ai/c/<id>.
   4. Submit a Home draft, both with a bare /ai route and with an existing 
conversation route.
   Regression evidence: seven real AiPage cases fail on unchanged production, 
covering EN/ZH history entry points, active deep link, and both draft routes.
   
   ### What Did You Expect to See?
   
   Mock AI should explain its mode without reading or mutating persisted real 
conversations. Deep links should not load or attach real runs. Home draft text 
should stay available locally without creating a real conversation or opening a 
run stream. Real-mode behavior should remain unchanged.
   
   ### What Did You See Instead?
   
   The real list, timeline, attach, createConversation and openRunStream mocks 
are called by the affected paths; real transcript content appears beneath the 
Mock notice and the Home prompt is cleared.
   
   ### Additional Context
   
   All-state issue/PR searches completed. Related #2017/#2018/#2309 predate 
persisted REST conversations: their patches use the old stream and 
sessionStorage history, not ConversationListModal or persisted timeline APIs. 
This is the missing persisted-history migration boundary, not a replacement 
provider or backend authorization change. Proposed scope: suppress real 
conversation identity/history panel in Mock and consume the Home draft into the 
local composer without auto-send. AI assistance used for investigation and 
regression authoring.
   
   ### Are You Willing to Submit a Pull Request?
   
   - [x] Yes, I am willing to submit a pull request.


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