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(ui-tests): capture ldr-server logs on failure for diagnosis (#3431)

LearningCircuit1385e6e649c0
diff --git a/.github/workflows/docker-tests.yml b/.github/workflows/docker-tests.yml
index 6bcbda13fb..cbb19e6f31 100644
--- a/.github/workflows/docker-tests.yml
+++ b/.github/workflows/docker-tests.yml
@@ -577,6 +577,24 @@ jobs:
${{ env.TEST_IMAGE }} \
sh -c "xvfb-run -a -s '-screen 0 1920x1080x24' node run_all_tests.js"
+ - name: Capture server logs on failure
+ if: failure()
+ run: |
+ mkdir -p /tmp/ldr-ci-logs
+ docker logs ldr-server > /tmp/ldr-ci-logs/server.log 2>&1 || true
+ {
+ echo "## 🪵 ldr-server logs (last 200 lines)"
+ echo ""
+ echo '```'
+ tail -n 200 /tmp/ldr-ci-logs/server.log || true
+ echo '```'
+ echo ""
+ echo "Grepping for SQLAlchemy pool / DB session issues:"
+ echo '```'
+ grep -E "QueuePool|connection timed out|TimeoutError|cleanup_dead_threads|Failed to open database|DatabaseSessionError" /tmp/ldr-ci-logs/server.log | tail -n 50 || true
+ echo '```'
+ } >> "$GITHUB_STEP_SUMMARY"
+
- name: Stop server
if: always()
run: |
@@ -592,6 +610,15 @@ jobs:
tests/screenshots/
tests/ui_tests/screenshots/
+ - name: Upload server logs on failure
+ if: failure()
+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
+ with:
+ name: ui-tests-server-log
+ path: /tmp/ldr-ci-logs/server.log
+ retention-days: 3
+ if-no-files-found: ignore
+
# Run accessibility tests (Playwright a11y + Lighthouse)
accessibility-tests:
runs-on: ubuntu-latest