Merge remote-tracking branch 'origin/main' into fix/resolver-parity-live

This commit is contained in:
Vito Sansevero
2026-10-23 04:59:35 -07:00
34 changed files with 4935 additions and 99 deletions
+1
View File
@@ -1271,6 +1271,7 @@ class AdminRoutesMixin:
self.logger.info(f"Removed {len(removed)} old safety backups")
previous = self.db
self.db = PromptDatabase(model.db_path)
self._database_replaced() # a health report described the old one
# Its connections would otherwise linger (a file lock on Windows)
previous.close_all()
prompt_count = self.db.model.get_database_info().get("total_prompts", 0)