From 5ea5aecd258860bc5a88e44ed80ac3ce2c0e5aed Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi <3247106+gantoine@users.noreply.github.com> Date: Fri, 8 May 2026 14:26:11 -0400 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- backend/config/config_manager.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/config/config_manager.py b/backend/config/config_manager.py index 667d1b869..4655f1774 100644 --- a/backend/config/config_manager.py +++ b/backend/config/config_manager.py @@ -199,6 +199,9 @@ class ConfigManager: config_file.parent.mkdir(parents=True, exist_ok=True) config_file.touch(exist_ok=True) + # Reset any previously loaded singleton state so parsing reflects + # the newly created empty config file. + self._raw_config = {} self._config_file_mounted = True self._config_file_writable = os.access(self.config_file, os.W_OK) except PermissionError: