ai-yang opened a new pull request, #737: URL: https://github.com/apache/rocketmq-dashboard/pull/737
Fixes #733 ## What changed The LLM settings page now starts initial configuration/model discovery in an effect with cleanup and awaits the complete configuration-plus-model request chain. Lifecycle, provider-interaction, configuration-request, and model-request generations ensure that only work still owned by the mounted page and active provider may publish configuration, model options, warnings, errors, or loading completion. Provider changes and unmounting invalidate older work, and delayed configuration from a discarded StrictMode lifecycle cannot reset the active form. This PR is intentionally limited to initial configuration and model-list request ownership. It does not change the LLM API/provider format or the save/connection-test contract. ## Validation - Both issue business assertions failed in 5/5 isolated processes on the unmodified `rocketmq-studio` baseline (stale OpenAI model and premature loading completion) - Controlled-Promise regression file: 20/20 isolated Node 20.19.5 processes, 5/5 tests per process (100/100 total) - Related LLM/API/client tests: 29/29 passed - Complete frontend suite on the committed diff: 64 files, 270/270 tests passed - ESLint: 0 errors (4 pre-existing Fast Refresh warnings) - TypeScript and production Vite build: passed (7,979 modules) - Repository pre-commit hook and `git diff --check`: passed -- 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]
