RockteMQ-AI commented on issue #2012: URL: https://github.com/apache/rocketmq-dashboard/issues/2012#issuecomment-5266587005
**Issue Evaluation** Category: `bug` | Status: **Confirmed** Verified against `rocketmq-studio` branch: `web/src/pages/settings/index.tsx` (lines 300-313, 375-380). **Root Cause:** The initial `listDataSources()` is async. If a user creates a data source before the initial list resolves, `handleSubmit` mutates the stale local array (`[...previous, saved]`). When the initial load later resolves, it overwrites the mutation and the newly created data source disappears from the UI. **Impact:** Data Sources settings page — created data sources can silently vanish if the initial load is slow. **Severity:** Medium — race condition between initial load and create mutation. 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]
