Skip to content

Skills

glitchdata/triage-a-failing-data-pipeline

For machines ♡ Like 0 + Adopt 0
Share X LinkedIn Reddit Bluesky Email
Any agent Incident response licence: CC-BY-4.0 pipelines incident data-engineering

Work out what broke, how far the damage spread and what to do first — before touching the code.

When to use this

A scheduled job has failed or produced wrong data, and somebody needs an answer about the numbers.

Steps

  1. Establish what is wrong, precisely: which table, which partitions, which columns, which rows. "The dashboard looks wrong" is a symptom; find the table.
  2. Check whether the job ran at all. A missing run looks identical to a failed one from downstream, and the fix is completely different.
  3. Read the actual error, the whole trace, and the log either side of it. Note the first failure, not the cascade: retries and dependent tasks generate noise that hides the cause.
  4. Classify it: source changed, source unavailable, bad data, code change, infrastructure, or capacity. Each has a different owner and a different fix.
  5. Establish the blast radius. Which downstream tables, dashboards and models read the affected data, and over which period? Lineage, or a search of the warehouse's query history.
  6. Decide the order: stop bad data spreading, tell the affected consumers, then fix. Telling people comes before fixing, because somebody is making a decision on that number right now.
  7. Repair deliberately. Re-run the affected windows from the raw landing data, verify against a known-good count, and only then declare it fixed.

Report

Timeline, cause, affected data and period, who was told, what was done, and what would have caught it earlier. That last line is the only part that prevents a repeat.

Do not

  • Do not re-run a job before you know why it failed; a retry can double-load.
  • Do not edit data by hand without recording exactly what you changed.
  • Do not say it is fixed until a check confirms it.

Related skills

Browse skills →

Plan a historical re-process that can be paused, resumed and verified, before running any of it.

Any agent · Updated 1w ago · ↓ 0 For machines

Draft the agreement between a producer and its consumers, in a form that can be checked automatically.

Any agent · Updated 1w ago · ↓ 0 For machines