Canvas Auto Recovery: Agentic Task Resumption

In-progress agentic generation tasks resume automatically after a page reload.

·Musein Team

Canvas Auto Recovery ensures that in-progress agentic generation tasks are not lost due to an accidental page refresh or browser crash. The system can resume pending tasks automatically.

auto recovery
Snapshot
Detect
Recover
Verify

How Auto Recovery Works

When you reload the page, the recovery system checks the backend for any pending agentic tasks associated with the current canvas. If an agentic pipeline task was in progress, the system:

  1. Queries the backend for the latest task status
  2. If the job is still running, the progress indicator resumes
  3. If the job completed, the result appears in the node

Retry Logic

The recovery system automatically retries the status check up to 3 times with exponential backoff. This handles transient network issues without user intervention.

What Gets Recovered

  • Agentic pipeline tasks — in-progress copilot or pipeline tasks are detected and resumed
  • Completed task results — results from tasks that finished while the user was away are loaded into the canvas
  • Canvas node layout — the existing nodes and their positions remain as saved by the normal canvas persistence

Best Practices

  • Let auto recovery run — it handles task recovery automatically
  • In-progress generations on the server continue even if you close the browser
  • The recovery system is always active when the canvas is not in read-only mode

Continue reading