~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
docs(test): clarify test_handles_errors_gracefully is intentional behavior (#4292)
LearningCircuite7431b2a2301
diff --git a/tests/database/test_initialize_functions.py b/tests/database/test_initialize_functions.pyindex 7f328edecb..1211f9c20e 100644--- a/tests/database/test_initialize_functions.py+++ b/tests/database/test_initialize_functions.py@@ -159,7 +159,21 @@ class TestInitializeDefaultSettings:mock_settings_mgr.load_from_defaults_file.assert_not_called()def test_handles_errors_gracefully(self):- """_initialize_default_settings handles errors without raising."""+ """_initialize_default_settings swallows SettingsManager errors.++ Background: PR #2235 originally tried to make DB errors propagate+ through this code path. PR #2118 (Feb 22 2026, commit 76524cc4de)+ walked that change back because masking failures here was causing+ runtime bugs / CI failure masking — startup must be resilient+ even when the user's settings DB is corrupt or missing. The+ current contract is: SettingsManager errors during initial+ defaults seeding are logged-and-swallowed, not raised. This test+ pins that contract.++ PUNCHLIST historically flagged this as H5_SWALLOWS_ERROR. That+ flag is a false positive against the current SUT — see+ settings/manager.py:780-786 for the catch-and-log site.+ """from local_deep_research.database.initialize import (_initialize_default_settings,)@@ -171,7 +185,7 @@ class TestInitializeDefaultSettings:) as MockSettingsManager:MockSettingsManager.side_effect = Exception("Settings error")- # Should not raise+ # Must not raise — startup-resilience contract per PR #2118._initialize_default_settings(mock_session)