Skip to content

Memory sources fails to load sync status because statuses are missing #1292

@Al629176

Description

@Al629176

Summary

Memory sources fails to load sync status because statuses are missing from the response.

Problem

In Settings > Developer Options > Memory Data, the Memory sources section shows an error: Failed to load sync status: Invalid response from openhuman.memory_sync_status_list: missing statuses[].

Expected behavior is that memory sync status should load successfully, or the UI should handle empty/missing sync status data gracefully without showing a raw internal RPC validation error.

Steps to reproduce:

  1. Open OpenHuman desktop app.
  2. Go to Settings > Developer Options > Memory Data.
  3. Look at the Memory sources section.
  4. Observe the error: missing statuses[].

Environment:

  • Desktop app
  • Settings > Developer Options > Memory Data
  • RPC method: openhuman.memory_sync_status_list
  • Platform/version unknown

Solution optional

Check the openhuman.memory_sync_status_list response schema and frontend validation. Ensure the core always returns a statuses array, even when empty, and make the frontend handle missing/empty statuses safely.

Acceptance criteria

  • Repro gone - Memory sources no longer shows missing statuses[] for valid empty or populated sync status responses.
  • Regression safety - Unit, integration, or E2E coverage added or updated for memory sync status response handling.
  • Diff coverage >= 80% - Fix PR meets changed-lines coverage gate.
  • Schema consistency - openhuman.memory_sync_status_list always returns the expected statuses array or documented equivalent.
  • Graceful UI - Empty or unavailable sync status displays a friendly empty/error state instead of raw RPC validation text.

Related

Screenshot provided showing Failed to load sync status: Invalid response from openhuman.memory_sync_status_list: missing statuses[].

Metadata

Metadata

Assignees

Labels

mcp-rpcMCP transport, tool registry, JSON-RPC, and core relay surfaces.memoryMemory store, memory tree, recall, summarization, and embeddings in src/openhuman/memory/.priority: highImportant work that should be pulled forward.react-uiReact app work in app/src: pages, components, providers, store, and UX.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions