showen 4edbd34797 feat: implement ConfigReloadRequest handler in ServiceManager
Complete the config hot-reload flow:
- ServiceManager receives ConfigReloadRequest from HTTP plugin
- Reloads config from source_path using AppConfig::from_file
- Updates internal config Arc
- Broadcasts ConfigReloaded(new_config) to all plugins
- Logs error on reload failure without crashing

This closes the P0 gap identified by architect Wang Siyuan:
the HTTP /api/config save endpoint promised hot-reload but
ServiceManager only had a TODO placeholder.

cargo check: 0 warnings, cargo test: 22/22 passed

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 12:43:33 +08:00
2026-03-12 06:38:37 +08:00
2026-03-12 07:02:30 +08:00
Description
No description provided
28 MiB
Languages
Rust 74.6%
Dart 25.1%
Shell 0.2%
Java 0.1%