Skip to content

~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.

fix(tests): reduce KDF iterations in auth route tests for CI (#2908)

LearningCircuitff57b74164cd
diff --git a/tests/auth_tests/test_auth_routes.py b/tests/auth_tests/test_auth_routes.py
index 85a3593cdb..3c9eb773cb 100644
--- a/tests/auth_tests/test_auth_routes.py
+++ b/tests/auth_tests/test_auth_routes.py
@@ -35,6 +35,10 @@ def app(temp_data_dir, monkeypatch):
# Disable rate limiting for tests
monkeypatch.setenv("DISABLE_RATE_LIMITING", "true")
+ # Use fast KDF iterations for tests (default 256000 is too slow in CI
+ # after lru_cache removal from _get_key_from_password)
+ monkeypatch.setenv("LDR_DB_CONFIG_KDF_ITERATIONS", "1000")
+
# Clear database manager state
db_manager.close_all_databases()