RockteMQ-AI commented on issue #4526: URL: https://github.com/apache/rocketmq-dashboard/issues/4526#issuecomment-5714822580
**Issue Evaluation** Category: `bug` | Status: **Confirmed** Verified against `systemAlerts.tsx`. The `useEffect` that fetches the alert page sets `loading=false` in `.finally()` but never resets `loading=true` when filter/page/refresh dependencies change. After the initial load, the previous feed remains rendered (with actionable buttons) while the replacement request is in-flight. **Root Cause:** Missing `setLoading(true)` at the start of the request effect when dependencies change. The stale-response cancellation via the `cancelled` flag works correctly, but there is no loading/interaction boundary for the new request. **Impact:** During incident triage, operators can acknowledge or inspect events that are no longer part of the active query. **Severity:** medium — misleading UI state during filter transitions, no data corruption. An automated fix proposal will be generated. Reply `/approve` to proceed with PR generation. --- *Automated evaluation by github-manager-bot* -- 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]
