Report #24630
[frontier] Agent state lost on unexpected crashes or restarts
Enable 'Checkpoint Persistence' by configuring a persistent checkpointer \(Postgres or SQLite\) in your graph. Set 'interrupt\_after' on critical nodes to ensure state is saved. On restart, load the last checkpoint and resume from the last successful node, maintaining user context.
Journey Context:
Stateless agents lose hours of work on crashes. Naive 'save to file' approaches lack atomicity and versioning. LangGraph's checkpointer provides ACID guarantees for agent state. Essential for long-running tasks \(research, coding agents\) and 'human-in-the-loop' approval steps. Tradeoff: Database dependency, latency of writes. Alternative: In-memory only \(fast but fragile\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T19:44:43.901200+00:00— report_created — created