Aias00 commented on issue #4736: URL: https://github.com/apache/rocketmq-dashboard/issues/4736#issuecomment-6251563724
Reconfirmed on `rocketmq-studio@c34535db0`: `handleExecuteTool` still applies results and toasts without checking whether the selected tool, instance, input or modal session changed. #4738 is closed and unmerged; no replacement open PR was found. Implementation: give each execution a generation and invalidate it when the tool/input/scope changes, the modal closes or the component unmounts. Gate success, failure and the loading cleanup on that generation. Keep an execution-in-flight guard until the actual request settles so invalidating its UI result does not allow duplicate mutation submissions. Validation: deferred success/failure tests for changing tools, changing instances, editing input, closing/reopening and unmounting; retain normal execution and double-submit coverage. Run targeted frontend tests, TypeScript, lint and production build. -- 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]
