Loyal-Young opened a new pull request, #5787: URL: https://github.com/apache/rocketmq-dashboard/pull/5787
## What is the purpose of the change Fixes #5781. Invalidate pending conversation creation when the initiating route changes or unmounts. Check ownership after default-instance lookup and after creation, and suppress obsolete error callbacks. Preserve the existing route-arrival auto-send behavior. ## Brief changelog - Track the lifetime of the route that started creation. - Prevent abandoned operations from navigating, sending, or starting a dependent creation request. - Add deferred hook tests for navigation, unmount, lookup cancellation, errors, and successful delivery. ## Verifying this change - Before the fix: 4 new lifecycle regressions failed; 2 control cases passed. - After the fix: all 6 useAiSend tests passed. - TypeScript app check, ESLint for changed files, and git diff --check passed. - Full app build and backend tests were not run for this frontend-only change. ## AI assistance AI assisted with tracing the asynchronous route lifecycle, drafting the guard and deferred tests, and reviewing test results. The patch was checked against the current source and validated with the commands above. An already submitted server request is not cancelled; only its obsolete client-side effects are discarded. -- 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]
