RockteMQ-AI commented on issue #4694: URL: https://github.com/apache/rocketmq-dashboard/issues/4694#issuecomment-5756682556
**Issue Evaluation** Category: `bug` | Status: **Confirmed** This is a valid state recovery bug. When a remembered agent session no longer exists (e.g., agent deleted, session expired), the conversation becomes permanently broken because the UI tries to restore the stale session reference on every load. **Root Cause:** The conversation restoration logic does not handle the case where the referenced agent session has been removed. It retries the stale reference indefinitely instead of falling back to a fresh session or prompting the user. **Impact:** Affected conversations become permanently unusable. Users must delete and recreate the conversation, losing history. **Severity:** Medium — affects conversation persistence reliability. No data corruption, but conversation becomes a dead-end. **Suggested Fix:** 1. On session restoration failure, detect "session not found" vs transient errors 2. For permanent failures, clear the stale session reference and offer to start a new session 3. Show a user-friendly error instead of an infinite error loop PR #4693 addresses this. --- *Automated evaluation by RockteMQ-AI* -- 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]
