~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
test(auth): fix structural guard after wrapper/body split (#3511)
LearningCircuit2db27e21670e
diff --git a/tests/database/test_post_login_settings_atomicity.py b/tests/database/test_post_login_settings_atomicity.pyindex e48aeeda4f..dee80c2d7a 100644--- a/tests/database/test_post_login_settings_atomicity.py+++ b/tests/database/test_post_login_settings_atomicity.py@@ -186,17 +186,22 @@ class TestPostLoginSettingsAtomicity:def test_post_login_routes_uses_commit_false_for_both_calls(self):"""- Structural guard: lock in that `_perform_post_login_tasks` calls+ Structural guard: lock in that the post-login task body calls`load_from_defaults_file` and `update_db_version` with`commit=False` and emits a single terminal `db_session.commit()`.Any refactor that regresses to the two-commit form will failthis test before production sees a sticky loop.++ Inspects `_perform_post_login_tasks_body` (not the decorated+ wrapper) because #3489 split the function into a thin+ try/except wrapper + body for daemon-thread exception logging.+ The atomic block lives in the body."""import inspectfrom local_deep_research.web.auth import routes- src = inspect.getsource(routes._perform_post_login_tasks)+ src = inspect.getsource(routes._perform_post_login_tasks_body)assert "load_from_defaults_file(" in srcassert "update_db_version(commit=False)" in src, (