RockteMQ-AI commented on issue #2740: URL: https://github.com/apache/rocketmq-dashboard/issues/2740#issuecomment-5460253467
**Issue Evaluation** Category: `bug` | Status: **Confirmed** This is a classic async race condition in the LLM settings UI. The sequence is: 1. Admin saves provider A → triggers async model list refresh for A 2. Admin switches to provider B before refresh completes 3. Provider A's model list response arrives and overwrites provider B's model options **Root cause:** The post-save model refresh does not capture the provider context at request time, so a stale response can clobber the current form state. **Suggested fix:** - Capture the provider identifier when initiating the refresh request - On response, compare the returned provider with the current form state; discard the response if they differ - Alternatively, disable the provider selector while the refresh is in-flight (simpler but less UX-friendly) **Severity:** Medium — can cause confusing UI behavior but no data corruption. --- *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]
