Files
CLIProxyAPI/internal/watcher
Luis Pater 628e54abf3 fix(watcher): update active auth directory and fsnotify watch on runtime auth-dir changes
- Synchronize Watcher.authDir and rebind the fsnotify directory watch when SetConfig or reloadConfig updates the authentication directory.
- Read the active auth directory across snapshots, full rescans, and incremental file events while discarding stale pre-switch directory events.
- Add regression tests covering runtime auth-dir reloads, shared credential filenames, concurrent SetConfig updates, and stale event isolation.

Closes: #7160
Co-authored-by: Dylan <1990016@gmail.com>
2026-11-10 01:27:39 +08:00
..