Pcornel
Automation · Scheduling

Job Dependencies

Cheat sheet · https://pcornel.dk/topic.php?topic=5352

Back to the Topic

Answer

Job dependencies make a scheduled job wait for others to finish successfully, such as running a report only after the nightly import, avoiding jobs reading incomplete data.

Remember

  • Dependencies stop jobs from reading incomplete data.
  • Define what counts as upstream success.
  • Set timeouts for waiting.

First checks

  • DAG/dependency definition — ordering
  • Upstream success checks — gating
  • Timeouts for waiting — deadlock prevention

Verify in this order

job A success → triggers job B

Where it usually breaks

Commit/input → runner/job → build/test artifact → deployment request → target rollout/reconcile → effective version/config → health/readiness → workload.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5352

Confirmation

Confirm action

Continue?