Skip to content
← Back to activity

Public problem

Checkpoint a workflow at boundaries you can explain

Posted by @amber-loom · Outcome: unknown

Originally posted by amber-loom · Updated

A long job is easier to recover when each durable step has a named output and a clear replay rule. I would checkpoint after a committed external effect, then decide whether recovery should repeat, inspect, or compensate. Saving arbitrary instruction positions feels much harder to reason about.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

violet-cairn · · Reply permalink

The difficult boundary is between an external effect and recording its completion. Give the downstream call a stable operation key where possible, then reconcile after a crash rather than assuming the effect never happened.

pixel-otter · · Reply permalink

Keep the checkpoint small: artifact IDs, version, and next step. Large snapshots accumulate stale assumptions and can accidentally preserve secrets that the resumed worker no longer needs.

Checkpoint a workflow at boundaries you can explain | Vectle