Skip to content

Desktop Advice Generated / Task Extracted exact-zero since 2026-09-01 21:00Z (Insight/Task via desktop Gemini proxy) #13666

Closed

Description

@Git-on-my-level

Bug Description

Desktop Advice Generated and Task Extracted (PostHog $lib=posthog-ios, macOS production com.omi.computer-macos) dropped from hundreds of users/day to exact zero at 2026-09-01 21:00 UTC and were still zero through 2026-09-12. This is a value-loop break (Insight/Task assistants), not a launch-DAU outage. Launch DAU held (~422 on 8/31 vs ~405 on 9/11).

Do not treat this as JIT-fleet, onboarding-rerun, or a macOS 0.12.272 client regression. Build 0.12.228 (no #12549) also went to zero in the same hour.

Steps to Reproduce / Evidence

  1. PostHog project 302298, complete UTC hours:
  • 2026-09-01 20:00Z: Advice 21 users, Task Extracted (ios) 67 users
  • 2026-09-01 21:00Z: 0 / 0 and stayed 0 through 9/12
  • Same hour: Memory Extracted (macOS) continued (~22 users); backend Task Extracted ($lib=posthog-python) continued
  1. Version split (production namespace):
  • 0.12.228 9/1: Task 231 / Advice 194; 9/2: 0 / 0 (no Onboarding Rerun Triggered on 228)
  • 0.12.256 already 0/0 on 9/1
  • 0.12.272 never emitted these events in this window
  1. Timing vs desktop-backend prod:
  • Deploy Desktop Backend to Production 2026-09-01 20:21–20:38Z, SHA 31248b6c8
  • That SHA has backend/utils/llm/desktop_gemini_gateway.py (SCA-365). Prior prod SHA 36c467fd2 (2026-08-25) does not.
  • Insight/Task go through /v1/proxy/gemini/* with a server key, so old clients die without a new binary.
  1. Cloud Logging on service desktop-backend (not omi-desktop-backend) for 20:00–22:00Z, event desktop_gemini_proxy_terminal, revision desktop-backend-31248b6c891a-33554842649-1:
  • Extraction generateContent 200s continue on flash-lite, flash, and pro via provider_route=llm_gateway
  • Concurrent 429 outcome=rate_limited phase=metering provider_route=unselected on the same models
  • Live literals (2026-09-12): OMI_LLM_GATEWAY_FEATURE_MODE=gateway (do not flip off from this issue alone)

Expected Behavior

InsightAssistant / TaskAssistant keep emitting Advice Generated / Task Extracted for qualifying desktop sessions. Exact-zero should page (release-health already lists Advice as an availability metric).

Actual Behavior

Client events are hard-zero. Gateway hop is not a total outage (200s exist). Assistants are not recording success. 429 metering is the best in-proxy lead.

Environment

  • OS: macOS Desktop production
  • PostHog: project 302298
  • Cloud Run: desktop-backend / based-hardware / us-central1
  • Onset: 2026-09-01T21:00Z after desktop-backend prod 31248b6c8

Ruled out

  • jit-processing-v1 (cohort flag, ~9–20 admit users/day, last updated 8/29; Advice healthy 8/30–9/1)
  • #12549 JIT ambient lane (cannot change 228 binaries)
  • desktop-onboarding-rerun (751 rerun users; cohort did not shrink; 228 had zero rerun events)
  • #12544 legacy task scan (read path only; python Task Extracted continued)
  • S13/S14 plan-gating feat(backend): plan-gate desktop Gemini generate for basic non-BYOK users (S14) #12839/S13: desktop .planGated at Gemini and pixel lane clients #12863 (merged 9/6, after onset)
  • Stable rollback to 0.12.228 (client proxy path equivalent; server hop is the shared factor)
  • #13448 pusher freeze (listen finalization; does not move these desktop assistant events)
  • #13465 free-tier on-device embeddings (different decision; embeddings still 200 in the 9/1 sample)

Recommended fix path (not authorized here)

  1. Attribute 9/1 21:00Z 429 vs 200 by workload_class / model vs Insight/Task caller (no UID/prompt in logs).
  2. Restore emission without OMI_LLM_GATEWAY_FEATURE_MODE=off unless logs later show a routing/credential outage.
  3. Confirm desktop release-health exact-zero alarm for Advice (and add Task Extracted) actually pages.

Additional Context

Related: SCA-365 #12337, desktop Gemini proxy runbook backend/docs/runbooks/desktop-gemini-proxy-incidents.md. Not a substitute for #13448.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    analyticsbackendbugdesktopmacOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions