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.

ci: remove redundant followup-research-tests workflow (#1791)

LearningCircuit9ced7b00a016
diff --git a/.github/workflows/followup-research-tests.yml b/.github/workflows/followup-research-tests.yml
deleted file mode 100644
index 525343ccbd..0000000000
--- a/.github/workflows/followup-research-tests.yml
+++ /dev/null
@@ -1,133 +0,0 @@
-name: Follow-up Research Tests
-
-on:
- pull_request:
- types: [opened, synchronize, reopened]
- paths:
- - 'src/local_deep_research/followup_research/**'
- - 'src/local_deep_research/advanced_search_system/strategies/contextual_followup_strategy.py'
- - 'tests/test_followup_api.py'
- - 'tests/ui_tests/test_followup_research.js'
- workflow_dispatch:
-
-permissions:
- contents: read
-
-jobs:
- test-followup-research:
- runs-on: ubuntu-latest
- timeout-minutes: 30
-
- steps:
- - name: Harden the runner (Audit all outbound calls)
- uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
- with:
- egress-policy: audit
-
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
-
- with:
- persist-credentials: false
-
- - name: Set up Python
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
- with:
- python-version: '3.11'
-
- - name: Install PDM
- uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4
- with:
- python-version: '3.11'
- cache: true
-
- - name: Install Node.js
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
- with:
- node-version: '20'
-
- - name: Install dependencies
- run: |
- pdm sync -d
- cd tests/ui_tests && npm ci
-
- - name: Install browser
- run: |
- npx playwright install chromium
-
- - name: Create test directories
- run: |
- mkdir -p data
- mkdir -p tests/ui_tests/screenshots/followup
- mkdir -p tests/ui_tests/results/followup
-
- - name: Start server
- run: |
- export CI=true
- export LDR_USE_FALLBACK_LLM=true
- export DISABLE_RATE_LIMITING=true
- export PYTHONPATH=$PWD/src:$PYTHONPATH
- pdm run python -m local_deep_research.web.app 2>&1 | tee server.log &
- echo $! > server.pid
-
- # Wait for server
- for i in {1..30}; do
- if curl -f http://localhost:5000/api/v1/health 2>/dev/null; then
- echo "Server ready after $i seconds"
- break
- fi
- echo "Waiting for server... ($i/30)"
- sleep 1
- done
-
- # Final check
- curl -f http://localhost:5000/api/v1/health || (echo "Server failed to start" && cat server.log && exit 1)
-
- - name: Run API tests
- run: |
- pdm run pytest tests/test_followup_api.py -v --tb=short -n auto
-
- - name: Run UI tests
- env:
- HEADLESS: true
- DISPLAY: ':99'
- run: |
- export DISPLAY=:99
- cd tests/ui_tests
-
- # Run follow-up research UI test
- timeout 300 node test_followup_research.js || {
- echo "Follow-up research test failed or timed out"
- exit 1
- }
-
- - name: Upload screenshots
- if: always()
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
- with:
- name: followup-test-screenshots
- path: tests/ui_tests/screenshots/followup/
-
- - name: Upload test results
- if: always()
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
- with:
- name: followup-test-results
- path: |
- tests/ui_tests/results/followup/
- server.log
-
- - name: Stop server
- if: always()
- run: |
- if [ -f server.pid ]; then
- kill "$(cat server.pid)" || true
- fi
-
- - name: Test Summary
- if: always()
- run: |
- echo "Follow-up Research Tests completed"
- echo "API tests and UI tests have been executed"
- if [ -f tests/ui_tests/results/followup/test_report.json ]; then
- cat tests/ui_tests/results/followup/test_report.json
- fi