Text describes an automation that polls for a long-running job result. The script stores the job name and last seen state locally, then restarts after a crash. What capability does the script most rely on to avoid missing completion when restarted?

Answer

A persisted checkpoint of the last observed state plus re-fetching current job status from the API

Explanation

Checkpointing the last observed state and then re-querying the authoritative API lets the script resume accurately after crashes without assuming timing guarantees.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list