~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
fix: Add auth_tests and security tests to Unit Tests with proper CI config
LearningCircuit08e31738073d
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex de16238625..283803eb98 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -54,11 +54,15 @@ jobs:run: |docker run --rm \-v "$PWD":/app \+ -e CI=true \+ -e GITHUB_ACTIONS=true \-e LDR_USE_FALLBACK_LLM=true \-e LDR_TESTING_WITH_MOCKS=true \+ -e DISABLE_RATE_LIMITING=true \-w /app \ldr-test \sh -c "python -m pytest -v \+ --ignore=tests/auth_tests/test_auth_rate_limiting.py \tests/test_settings_manager.py \tests/test_google_pse.py \tests/test_wikipedia_url_security.py \@@ -69,6 +73,8 @@ jobs:tests/retriever_integration/ \tests/feature_tests/ \tests/fix_tests/ \+ tests/auth_tests/ \+ tests/security/ \tests/deletion/ \tests/database/test_sqlcipher_missing.py \tests/database/test_encryption_threads.py \diff --git a/Dockerfile b/Dockerfileindex ffa152e2fb..7493c5a052 100644--- a/Dockerfile+++ b/Dockerfile@@ -7,8 +7,9 @@ FROM python:3.13.9-slim@sha256:326df678c20c78d465db501563f3492d17c42a4afe33a1f2bSHELL ["/bin/bash", "-o", "pipefail", "-c"]# Install system dependencies for SQLCipher and Node.js for frontend build-RUN apt-get update && apt-get upgrade -y \- && apt-get install -y --no-install-recommends \+# Using Acquire::Retries to handle transient Debian mirror errors during CI+RUN apt-get update -o Acquire::Retries=3 && apt-get upgrade -y -o Acquire::Retries=3 \+ && apt-get install -y --no-install-recommends -o Acquire::Retries=3 \libsqlcipher-dev \sqlcipher \libsqlcipher1 \@@ -84,8 +85,9 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]# Install additional runtime dependencies for testing tools# Note: Node.js is already installed from builder-base-RUN apt-get update && apt-get upgrade -y \- && apt-get install -y --no-install-recommends \+# Using Acquire::Retries to handle transient Debian mirror errors during CI+RUN apt-get update -o Acquire::Retries=3 && apt-get upgrade -y -o Acquire::Retries=3 \+ && apt-get install -y --no-install-recommends -o Acquire::Retries=3 \xauth \xvfb \# Dependencies for Chromiumdiff --git a/tests/auth_tests/test_auth_routes.py b/tests/auth_tests/test_auth_routes.pyindex 725c3e7810..0634249ecd 100644--- a/tests/auth_tests/test_auth_routes.py+++ b/tests/auth_tests/test_auth_routes.py@@ -173,6 +173,9 @@ class TestAuthRoutes:},)+ # Logout so we can try registering again+ client.post("/auth/logout")+# Try to register same usernameresponse = client.post("/auth/register",@@ -184,7 +187,11 @@ class TestAuthRoutes:},)assert response.status_code == 400- assert b"Username already exists" in response.data+ # Error message uses generic text to prevent account enumeration+ assert (+ b"Registration failed. Please try a different username"+ in response.data+ )def test_successful_login(self, client):"""Test successful login."""