Skip to content

Regression? GET /v1/dev/user/memories still returns 403 missing_rollout_state for some accounts after #10094 #10203

Closed

Description

@omi-discord-vector

Summary

A Discord help user reports the same GET /v1/dev/user/memories failure is still happening on July 21, 2026, even after the fix in #10094 was merged.

Current behavior

GET /v1/dev/user/memories returns:

{
  "detail": {
    "enabled": false,
    "reason": "missing_rollout_state",
    "consumer": "developer_api",
    "archive_default_visible": false,
    "archive_capability": false
  }
}

Repro / notes

  • User says it started around 2026-07-11 and still reproduces on 2026-07-21.
  • Rotating to a fresh API key does not fix it.
  • GET /v1/dev/user/conversations on the same key returns 200 OK.
  • This still looks account/rollout-state specific rather than key-specific.
  • User had already filed support around 2026-07-17 with no response yet.

Why this looks new

Ask

Please verify whether the #10094 backend fix is fully deployed and whether any remaining account cohorts can still hit missing_rollout_state / archive_capability: false on the Developer API memories endpoint.

Activity

  1. aryanorastar commented on Jul 23, 2026

    @aryanorastar
    Collaborator

    This looks like hypothesis 1 (fix not deployed), not a remaining code path — the error the user got is being served by code that predates the fix.

    Evidence: the reported 403 detail has exactly 5 keys:

    enabled, reason, consumer, archive_default_visible, archive_capability
    

    But on main, _developer_memory_access_not_ready_detail (backend/routers/developer.py:101) now returns 7 keys — it also includes code (developer_memory_access_not_ready) and a message. Those two fields were added on 2026-07-19 (b142462e76). The user hit the 5-key (no code/message) shape on 2026-07-21, so the serving instance was running code from before 07-19 — i.e. before the #10094 legacy fallback for missing_rollout_state.

    On current main the list endpoint (GET /v1/dev/user/memories, developer.py:397) already does the right thing: a missing_rollout_state deny for a pin_memory_system → LEGACY account falls through to the legacy memories collection instead of 403-ing. So the code path the report describes is fixed on main.

    This matches the prod-lag observations in #10048 (prod GKE hadn't absorbed post-#10070 main) and #9923.

    Suggested resolution: confirm the backend-listen/serving image in prod is at or past b142462e76 (2026-07-19) and redeploy if not; then re-verify with the reporter's account. If a 403 with a code/message field (the new shape) ever appears for a legacy-cohort account, that would be a genuine remaining code path — but the current report is the old shape.

    (Note: GET /v1/dev/user/memories/vector/search does intentionally 403 on missing_rollout_state — there's no legacy vector index to fall back to; that contract is test-locked and separate from this list-endpoint report.)

  2. moved this from Someday to In progress in omi TODO / bountieson Jul 24, 2026
  3. aryanorastar commented on Jul 24, 2026

    @aryanorastar
    Collaborator

    Traced this. Two distinct things:

    1. GET /v1/dev/user/memories (the list endpoint the user hit) is already fixed in code — for a legacy-cohort account with no rollout doc it serves the legacy memories collection, never a 403 with missing_rollout_state (the deny branch only 403s on other reasons). So a user still seeing that 403 on the list endpoint points to deploy lag (your possibility Client #1), not a live code path.

    2. A real remaining code gap: GET /v1/dev/user/memories/vector/search never got the fix(dev): serve legacy memories when a legacy-cohort account has no rollout state #10094/fix(mcp): serve legacy memories when a legacy-cohort account has no rollout state #10095 recovery. It failed closed with 403 missing_rollout_state for the same legacy-cohort accounts — and even 403'd on should_use_legacy_fallback (USE_LEGACY_SAFE), the one signal that means serve legacy. So an affected account could list memories but not vector-search them. That's your possibility Add printing BLE device address to serial monitor #3.

    #10485 fixes the vector endpoint to serve legacy vector results (relevance-ranked, locked-content redacted) on the same legacy-cohort signal the list route and MCP already use, keeping the 403 only for other deny reasons. Behavioral + mutation tests added.

    Worth confirming the #10094 deploy reached all regions for the list-endpoint half.

  4. moved this from In progress to In review in omi TODO / bountieson Jul 25, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions