ai-yang opened a new pull request, #729:
URL: https://github.com/apache/rocketmq-dashboard/pull/729

   Fixes #726
   
   ## What changed
   
   `LlmConfigService.saveConfig` now builds the next settings and runtime 
override without publishing either value early. It persists the settings first 
and replaces the in-memory override only after that call succeeds.
   
   This keeps the previously active provider and model unchanged when 
persistence fails, while preserving the existing synchronized update and public 
API.
   
   ## Validation
   
   - Failure-path regression test: 20/20 consecutive runs on Java 21
   - Complete `LlmConfigServiceTest`: 20/20 tests passed
   - Complete server test suite: 487/487 tests passed
   - `mvn package`: passed
   - Maven Checkstyle: passed
   - `git diff --check`: passed
   
   The project does not configure SpotBugs/FindBugs in its POM.
   


-- 
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]

Reply via email to