~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
perf: add PDM, Node.js, and Puppeteer caching to CI workflows (#1249)
LearningCircuitc053465ae93c
diff --git a/.github/workflows/critical-ui-tests.yml b/.github/workflows/critical-ui-tests.ymlindex 51fec632a0..cbf4e25c9a 100644--- a/.github/workflows/critical-ui-tests.yml+++ b/.github/workflows/critical-ui-tests.yml@@ -24,6 +24,7 @@ jobs:uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: '3.11'+ cache: true- name: Cache pip packagesuses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4diff --git a/.github/workflows/extended-ui-tests.yml b/.github/workflows/extended-ui-tests.ymlindex 06b528f38b..14ec54dcb7 100644--- a/.github/workflows/extended-ui-tests.yml+++ b/.github/workflows/extended-ui-tests.yml@@ -30,11 +30,14 @@ jobs:uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6with:node-version: '18'+ cache: 'npm'+ cache-dependency-path: tests/ui_tests/package.json- name: Set up PDMuses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: '3.12'+ cache: true- name: Install system dependenciesrun: |@@ -46,6 +49,12 @@ jobs:pdm sync -dcd tests/ui_tests && npm install+ - name: Cache Puppeteer Chrome+ uses: actions/cache@v4+ with:+ path: ~/.cache/puppeteer+ key: ${{ runner.os }}-puppeteer-${{ hashFiles('tests/ui_tests/package.json') }}+- name: Install browserrun: |npx puppeteer browsers install chromediff --git a/.github/workflows/followup-research-tests.yml b/.github/workflows/followup-research-tests.ymlindex f396d6ebdf..7ef8770caa 100644--- a/.github/workflows/followup-research-tests.yml+++ b/.github/workflows/followup-research-tests.yml@@ -82,7 +82,7 @@ jobs:- name: Run API testsrun: |- pdm run pytest tests/test_followup_api.py -v --tb=short+ pdm run pytest tests/test_followup_api.py -v --tb=short -n auto- name: Run UI testsenv:diff --git a/.github/workflows/library-tests.yml b/.github/workflows/library-tests.ymlindex fb9dd6e2f1..d2226d4bb0 100644--- a/.github/workflows/library-tests.yml+++ b/.github/workflows/library-tests.yml@@ -291,6 +291,7 @@ jobs:uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: '3.12'+ cache: true- name: Install system dependencies for SQLCipherrun: |diff --git a/.github/workflows/metrics-analytics-tests.yml b/.github/workflows/metrics-analytics-tests.ymlindex 1c50869bc1..6f9b58a4fb 100644--- a/.github/workflows/metrics-analytics-tests.yml+++ b/.github/workflows/metrics-analytics-tests.yml@@ -35,11 +35,14 @@ jobs:uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6with:node-version: '18'+ cache: 'npm'+ cache-dependency-path: tests/ui_tests/package.json- name: Set up PDMuses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: '3.12'+ cache: true- name: Install system dependenciesrun: |@@ -51,6 +54,12 @@ jobs:pdm sync -dcd tests/ui_tests && npm install+ - name: Cache Puppeteer Chrome+ uses: actions/cache@v4+ with:+ path: ~/.cache/puppeteer+ key: ${{ runner.os }}-puppeteer-${{ hashFiles('tests/ui_tests/package.json') }}+- name: Install browserrun: |npx puppeteer browsers install chromediff --git a/.github/workflows/news-tests.yml b/.github/workflows/news-tests.ymlindex 610392b0f9..d20c1a5b02 100644--- a/.github/workflows/news-tests.yml+++ b/.github/workflows/news-tests.yml@@ -31,11 +31,14 @@ jobs:uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6with:node-version: '18'+ cache: 'npm'+ cache-dependency-path: tests/ui_tests/package.json- name: Set up PDMuses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: '3.12'+ cache: true- name: Install system dependenciesrun: |@@ -47,6 +50,12 @@ jobs:pdm sync -dcd tests/ui_tests && npm install+ - name: Cache Puppeteer Chrome+ uses: actions/cache@v4+ with:+ path: ~/.cache/puppeteer+ key: ${{ runner.os }}-puppeteer-${{ hashFiles('tests/ui_tests/package.json') }}+- name: Install browserrun: |npx puppeteer browsers install chromediff --git a/.github/workflows/notification-tests.yml b/.github/workflows/notification-tests.ymlindex b407a1c5ed..680ffa6218 100644--- a/.github/workflows/notification-tests.yml+++ b/.github/workflows/notification-tests.yml@@ -33,6 +33,7 @@ jobs:uses: pdm-project/setup-pdm@v4with:python-version: '3.12'+ cache: true- name: Install system dependencies for SQLCipherrun: |@@ -46,7 +47,7 @@ jobs:- name: Run notification testsrun: |- pdm run pytest tests/notifications/ -v --tb=short+ pdm run pytest tests/notifications/ -v --tb=short -n auto- name: Run coverage reportrun: |diff --git a/.github/workflows/text-optimization-tests.yml b/.github/workflows/text-optimization-tests.ymlindex ea92efd099..c4fdcc1c80 100644--- a/.github/workflows/text-optimization-tests.yml+++ b/.github/workflows/text-optimization-tests.yml@@ -33,6 +33,7 @@ jobs:uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: '3.12'+ cache: true- name: Install system dependencies for SQLCipherrun: |@@ -46,7 +47,7 @@ jobs:- name: Run text optimization testsrun: |- pdm run pytest tests/text_optimization/ -v --tb=short+ pdm run pytest tests/text_optimization/ -v --tb=short -n auto- name: Run coverage reportrun: |diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.ymlindex 2a7e47650a..bca3df0f8a 100644--- a/.github/workflows/ui-tests.yml+++ b/.github/workflows/ui-tests.yml@@ -38,11 +38,14 @@ jobs:uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6with:node-version: '18'+ cache: 'npm'+ cache-dependency-path: tests/ui_tests/package.json- name: Set up PDMuses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4with:python-version: '3.12'+ cache: true- name: Install system dependencies for SQLCipherrun: |@@ -55,6 +58,12 @@ jobs:pdm sync -dcd tests && npm install+ - name: Cache Puppeteer Chrome+ uses: actions/cache@v4+ with:+ path: ~/.cache/puppeteer+ key: ${{ runner.os }}-puppeteer-${{ hashFiles('tests/ui_tests/package.json') }}+- name: Install browser dependenciesrun: |# Install Chrome for Puppeteerdiff --git a/pdm.lock b/pdm.lockindex 01ed4df4da..d752516377 100644--- a/pdm.lock+++ b/pdm.lock@@ -5,7 +5,7 @@groups = ["default", "dev"]strategy = ["inherit_metadata"]lock_version = "4.5.0"-content_hash = "sha256:69b5d35669860b57f6bfab85d8ad29aa69c2c49d11194f03dc5dd988c1193528"+content_hash = "sha256:4743c803fdc2afa0afec438b4d64f940a9469fb40942bf3c7513a5eea787a05b"[[metadata.targets]]requires_python = ">=3.11,<3.15"@@ -1420,6 +1420,17 @@ files = [{file = "emoji-2.15.0.tar.gz", hash = "sha256:eae4ab7d86456a70a00a985125a03263a5eac54cd55e51d7e184b1ed3b6757e4"},]+[[package]]+name = "execnet"+version = "2.1.2"+requires_python = ">=3.8"+summary = "execnet: rapid multi-Python deployment"+groups = ["dev"]+files = [+ {file = "execnet-2.1.2-py3-none-any.whl", hash = "sha256:67fba928dd5a544b783f6056f449e5e3931a5c378b128bc18501f7ea79e296ec"},+ {file = "execnet-2.1.2.tar.gz", hash = "sha256:63d83bfdd9a23e35b9c6a3261412324f964c2ec8dcd8d3c6916ee9373e0befcd"},+]+[[package]]name = "executing"version = "2.2.1"@@ -5167,6 +5178,21 @@ files = [{file = "pytest_timeout-2.4.0.tar.gz", hash = "sha256:7e68e90b01f9eff71332b25001f85c75495fc4e3a836701876183c4bcfd0540a"},]+[[package]]+name = "pytest-xdist"+version = "3.8.0"+requires_python = ">=3.9"+summary = "pytest xdist plugin for distributed testing, most importantly across multiple CPUs"+groups = ["dev"]+dependencies = [+ "execnet>=2.1",+ "pytest>=7.0.0",+]+files = [+ {file = "pytest_xdist-3.8.0-py3-none-any.whl", hash = "sha256:202ca578cfeb7370784a8c33d6d05bc6e13b4f25b5053c30a152269fd10f0b88"},+ {file = "pytest_xdist-3.8.0.tar.gz", hash = "sha256:7e578125ec9bc6050861aa93f2d59f1d8d085595d6551c2c90b6f4fad8d3a9f1"},+]+[[package]]name = "python-dateutil"version = "2.9.0.post0"diff --git a/pyproject.toml b/pyproject.tomlindex d9094afad3..e63f4b28cc 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -139,7 +139,7 @@ dev = ["pytest-cov~=7.0","pytest-timeout~=2.4","pytest-asyncio~=1.3",- "pytest-xdist>=3.5",+ "pytest-xdist~=3.5","ruff~=0.14","freezegun~=1.5","mypy~=1.19",