Diagrid
Back to Getting Started & Migration
Getting Started & Migration

If a rolled-back durable agent has left partially completed steps, what manual cleanup approaches are safe to use without corrupting future durable execution state?

Use Catalyst’s built-in graceful shutdown combined with a compensating action pattern to revert completed side effects before tearing down state. For orphaned state, delete the execution’s history from the state store using the platform’s management API, ensuring no in-flight references remain. Manual database alterations are risky; rely on the API to avoid dangling pointers. Verify that any compensation itself is idempotent to prevent over-correction during future re-runs.

Was this article helpful?

Your feedback helps improve Diagrid's FAQ experience.

Keep reading

More Diagrid FAQ articles

View all