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
Follow-up bundle for the embeddings utility. The biggest crash group of the triage (macOS exit 6) should already be fixed by merged-but-unreleased PRs — this issue tracks release verification plus one real gap: the model-download retry loop has no backoff/breaker.
One win32 install, 10-minute window (07-21 10:47→10:57): Embeddings:Worker — Failed to load embedding model {message:'fetch failed'}×48, each mirrored by an Embeddings stderr line (96 log lines total). Model download failing (offline/proxy/blocked CDN) → tight retry loop, no backoff.
Noise: Embeddings stderr — Unable to determine content-length from response headers… ×10 / 9 installs (informational, logged as error).
After release: re-query Loki, confirm the exit-6 crash group disappears for the new version ({app="desktop",kind="error"} |= "Utility:crashed:Embeddings" filtered by app_version).
Summary
Follow-up bundle for the embeddings utility. The biggest crash group of the triage (macOS exit 6) should already be fixed by merged-but-unreleased PRs — this issue tracks release verification plus one real gap: the model-download retry loop has no backoff/breaker.
Evidence (Loki, prod, Jul 19–22)
Utility:crashed:Embeddingschild_process_goneexit 6 — ×42 / 8 installs, all darwin, all v2026.719.2. Fixes fix(updater): stop embeddings utility process on quit (#805) #820 (stop utility process on quit) and fix(vault): defer embeddings out of the index pass so vault-open never hangs (#803) #821 (defer during index + loadFailed breaker) are merged onmain, butgit tag --contains 582db0cb3is empty → they are in no shipped release.Embeddings:Worker—Failed to load embedding model {message:'fetch failed'}×48, each mirrored by anEmbeddingsstderr line (96 log lines total). Model download failing (offline/proxy/blocked CDN) → tight retry loop, no backoff.Embeddingsstderr —Unable to determine content-length from response headers…×10 / 9 installs (informational, logged as error).Actions
{app="desktop",kind="error"} |= "Utility:crashed:Embeddings"filtered byapp_version).loadFailedbreaker actually covers repeated downloadfetch failed(not just model-load failures). If not, add exponential backoff + circuit breaker (stop after N failures until next app start or network-online event).Code pointers
apps/desktop/src/main/lib/embeddings.ts(utility lifecycle, stderr forwarding)Is the log data sufficient?
Yes. Crash + retry-loop patterns are fully characterized; this is release + verification + a targeted backoff fix.
Part of #836 (prod log triage epic).