btlqql opened a new issue, #2654: URL: https://github.com/apache/rocketmq-dashboard/issues/2654
### Problem The cloud-credential modal relies on React loading state to discourage repeated saves, but state updates are not synchronous. Two rapid OK actions can enter the submit handler before the button becomes disabled and issue duplicate create or update requests. The modal can also be cancelled while a request is still pending. ### Expected behavior Only one mutation should be in flight for a modal submission, and the editor should remain locked until that mutation settles. ### Proposed fix Add a synchronous in-flight guard, disable dismissal paths while saving, and cover rapid duplicate submission with a deferred-request regression test. -- 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]
