You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(vector-store): fail remote connection tests instead of validating local fallbacks #59
The connection-test API reports success for an unreachable remote Qdrant or Chroma endpoint because the backend constructor falls back to local disk storage.
Connection tests must validate the exact requested target and fail when it cannot be reached.
Explicit remote deployments must not silently change durability/storage location; any supported fallback should be opt-in and visibly degraded.
Report configured and effective backend/mode separately where fallback is supported.
Add unreachable/refused/timeout tests for both remote backends, plus successful live-remote checks.
Live remote Chroma passed a separate ingestion/restart test. Live remote Qdrant could not be exercised without an available approved server artifact/endpoint; this issue does not claim that its happy path failed.
Component: Vector Store Management (app/services/vector_store/manager.py, qdrant_store.py, chroma_store.py)
2. Root Cause & Context
POST /admin/api/vector-store/test tests remote vector endpoints. However, store constructors catch remote connection errors and fall back to embedded local storage, causing the test endpoint to return success=true, mode=remote for unreachable remote addresses (e.g. http://127.0.0.1:1).
3. Implementation Plan
Add an allow_fallback: bool = True parameter to QdrantStore and ChromaStore constructors.
In the connection test endpoint (/admin/api/vector-store/test), instantiate stores with allow_fallback=False.
If the remote endpoint is unreachable or refuses connections, raise an exception and return HTTP 400 with the exact connection failure.
4. Acceptance Criteria
Testing an unreachable remote URL returns success=false with a descriptive connection failure.
Activity
spelech commentedon Oct 27, 2026
Triage & Implementation Brief
1. Scope & Effort
app/services/vector_store/manager.py,qdrant_store.py,chroma_store.py)2. Root Cause & Context
POST /admin/api/vector-store/testtests remote vector endpoints. However, store constructors catch remote connection errors and fall back to embedded local storage, causing the test endpoint to returnsuccess=true, mode=remotefor unreachable remote addresses (e.g.http://127.0.0.1:1).3. Implementation Plan
allow_fallback: bool = Trueparameter toQdrantStoreandChromaStoreconstructors./admin/api/vector-store/test), instantiate stores withallow_fallback=False.4. Acceptance Criteria
success=falsewith a descriptive connection failure.success=true.google-labs-jules commentedon Oct 27, 2026
Jules is on it. When finished, you will see another comment and be able to review a PR.
google-labs-jules commentedon Oct 27, 2026
Ready for a review! A PR has been created.