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(compose-integration): hardening follow-ups (--no-build + drop curl -f) (#3898)

LearningCircuitb829c2d65a8f
diff --git a/.github/workflows/compose-integration-test.yml b/.github/workflows/compose-integration-test.yml
index 7026ed7aec..af37c382ee 100644
--- a/.github/workflows/compose-integration-test.yml
+++ b/.github/workflows/compose-integration-test.yml
@@ -74,7 +74,10 @@ jobs:
# (default pull_policy: missing), so ollama and searxng are pulled
# inline. The LDR image is the locally-built one from the previous
# step — compose sees it's already present and uses it as-is.
- run: docker compose up -d
+ # `--no-build` defends against a future docker-compose.yml change
+ # adding a `build:` directive — we want the image we tagged above,
+ # not a fresh build that bypasses the cache strategy.
+ run: docker compose up -d --no-build
- name: Wait for the stack to be healthy and serving
# Budget: 6 min covers cold daemon startup + LDR migrations + flask
@@ -141,12 +144,20 @@ jobs:
- name: Probe LDR HTTP endpoint
# Avoids `curl ... | grep` so we don't need pipefail to surface curl
# failures — the HTTP code is captured directly via -w and checked
- # with a case statement. `|| echo "000"` means a curl error (network,
- # connection refused, etc.) gets a sentinel code we can log on retry.
+ # with a case statement. `|| echo "000"` is the sentinel for true
+ # network failures (connection refused, DNS, etc.) so we can log
+ # on retry.
+ #
+ # Deliberately no `-f`: with `-f`, curl exits non-zero on HTTP
+ # 4xx/5xx AND suppresses -w output — which would collapse "404",
+ # "503", and network-error all into "000" and erase the most
+ # interesting failure signal (LDR up but serving an error page).
+ # Without -f, every HTTP response gives us its real code; only
+ # true network failures fall through to "000".
run: |
set -euo pipefail
for i in $(seq 1 30); do
- code=$(curl -fsS -o /dev/null -w "%{http_code}" http://localhost:5000/ 2>/dev/null || echo "000")
+ code=$(curl -sS -o /dev/null -w "%{http_code}" http://localhost:5000/ 2>/dev/null || echo "000")
case "$code" in
200|301|302|303|307|308)
echo "LDR is serving on :5000 (HTTP $code)"