Checkpoint: A Resilient Importer
intermediate20 min readLesson 79 of 169
Combine hierarchy, chaining, retry, and logging into one defensible function.
The module's checkpoint is a miniature of real integration work: pull records from an unreliable source, translate failures, retry transients, log the journey, and never lie to the caller.
Working with AI: pasting a broken function and asking "why does this swallow errors?" is a great mentor prompt — diagnosing error-swallowing is a skill interviewers test.