Summary
When ollama embeddings are opted-in but the daemon is unreachable, the code correctly falls back to cloud embeddings. But it fires a Sentry error on every fallback — 472 events. A successful fallback is not an error.
Problem
What happened: User enables local ollama embeddings, but ollama isn't running. The code detects this and falls back to cloud embeddings (correct behavior). But each fallback fires a Sentry error:
ollama embeddings opted-in but daemon unreachable at http://localhost:11434; falling back to cloud embeddings for this session
Expected: This is an expected degraded state, not an error. Should be logged at INFO or WARN level, not ERROR. Sentry should not be flooded.
Impact: 472 events (TAURI-RUST-B), ongoing across 0.54.0 → 0.56.0.
Acceptance criteria
Related
Summary
When ollama embeddings are opted-in but the daemon is unreachable, the code correctly falls back to cloud embeddings. But it fires a Sentry error on every fallback — 472 events. A successful fallback is not an error.
Problem
What happened: User enables local ollama embeddings, but ollama isn't running. The code detects this and falls back to cloud embeddings (correct behavior). But each fallback fires a Sentry error:
Expected: This is an expected degraded state, not an error. Should be logged at INFO or WARN level, not ERROR. Sentry should not be flooded.
Impact: 472 events (TAURI-RUST-B), ongoing across 0.54.0 → 0.56.0.
Acceptance criteria
Related