Skip to main content
๐Ÿ“œ WAYPOINT LESSON

Checkpoint: Concurrency

โญโญโญ advancedโณ 30 min read๐Ÿ“ Lesson 125 of 169

The checkpoint asks for the retry loop done RIGHT: resubmitted futures must be awaited.

Checkpoint โ€” concurrent job processor (hardened)

Same contract as the project: run_jobs(jobs, workers=3, retries=2) returns {'succeeded': {index: value}, 'failed': [sorted indices]}, retrying failures up to retries extra attempts.

This checkpoint's extra scrutiny: every submitted future's outcome must be observed. A resubmitted retry that nobody awaits loses its result and its exception โ€” a real production bug. The wrong-solution probe fires exactly this mistake.