yuluo-yx opened a new issue, #2475: URL: https://github.com/apache/rocketmq-dashboard/issues/2475
## Problem AI chat history catches sessionStorage write failures but directly calls getItem during Zustand hydration and removeItem during clearing. Browsers or policies that throw SecurityError for session storage can therefore break AI page initialization or cleanup. ## Expected behavior Degrade failed reads to an empty persisted value and ignore failed removals while preserving in-memory history behavior and clearing pending writes. ## Verification Add focused store tests that simulate SecurityError during hydration and storage removal. -- 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]
