openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

Memory Tree stuck with 165 failed pipeline jobs — Gmail 155 pending chunks not processing, Sync button has no effect

Open Giri-Aayush opened this issue 6 months ago • 2 comments

User connected multiple accounts on the free plan, which immediately consumed their $1 free credit. They then upgraded to the Basic Plan. Despite upgrading, the Memory Tree is stuck in an error state.

Memory Tree status (from screenshot) Status: Error — 165 failed job(s) in pipeline Last Sync: 20 min ago Total Chunks: 349 | Wiki Size: 113.6 KiB Gmail: Idle — 346 chunks, last chunk 20m ago, 155 pending

The failed job count and pending Gmail chunks are not decreasing across multiple 20-minute heartbeat cycles. Clicking the Sync button repeatedly has no effect. Auto-sync is enabled.

The pipeline appears stalled — jobs are queued but not being processed. Possible causes: credit exhaustion blocking job execution even after upgrade, a pipeline worker failure, or a state sync issue between the free→paid plan transition. User is unable to use the memory feature as intended.

Discord handle not confirmed — ticket submitted via screenshot + text description only.


Reported by: dejjem Discord ticket: https://discord.com/channels/1470856511193616498/1510392667106836572 Priority: high Attachments (1): image.webp — ask support team for files

Giri-Aayush avatar May 31 '26 21:05 Giri-Aayush

resolved in the next build.

senamakel avatar Jun 01 '26 01:06 senamakel

Resolved on main — closing per @senamakel's "resolved in the next build" note. Every symptom is addressed across three merged PRs:

  • #3113 — Retry failed jobs on sync (all terminally-failed pipeline jobs reset to ready on any sync) + per-source sync mutex → fixes stuck failed-job count and the no-op Sync button. Also adds graceful embedding degradation so Voyage 429 rate limits log-and-continue instead of failing jobs → unblocks the pending Gmail chunks.
  • #3076 — Pipeline hardening: typed transient vs. unrecoverable failures (no more retry-storm on hard 4xx), memory_tree_retry_failed RPC + requeue-on-sync, memory-doctor diagnostic, and honest degraded/first_blocking_cause status so a stalled pipeline reports why.
  • #3121 — Detects the managed-backend "Insufficient budget" 400 and shows actionable guidance (top up or switch to your own model) instead of a generic error → covers the credit-exhaustion-after-upgrade root cause.

Fixes are live on main; the next build clears this. Please reopen if it recurs after updating.

oxoxDev avatar Jun 03 '26 10:06 oxoxDev