date: 2026-11-08

title: "Failure Taxonomy for Production Agent Pipelines: Classifying Errors So Retries and Notices Are Honest"

author: Brian Taylor


Failure Taxonomy for Production Agent Pipelines: Classifying Errors So Retries and Notices Are Honest

Why it matters

Brian's cron pipelines already have idempotency, missed-run, jitter, and checkpoint-order articles. The missing rule is which failures to retry vs stop, and when to surface one. A mixed partial run looks like generic 'failed records' without a failure taxonomy.

Classes

  • SUCCESS: usable structured output.
  • TRANSIENT_ERROR: temp service/network; retry with backoff and jitter.
  • RATE_LIMIT: quota/throttle; back off and reduce concurrency.
  • TIMEOUT: exceeded per-record wall-clock budget; stop that record and log.
  • NONTRANSIENTPROVIDER_ERROR: content filter/invalid prompt/policy; do not retry unbounded.
  • OUTPUTLIMITERROR: hit token/output limit; retry with adjusted limits.
  • VALIDATION_ERROR: invalid output; attempt repair/fallback.
  • RECOVEREDINTERNALERROR: stage failed but workflow recovered; count separately.
  • AGENTINTERNALERROR: final unrecoverable failure.
  • PARTIALBATCHCOMPLETION: preserve successes; targeted retry.
  • INTERRUPTED_RUN: resume from checkpoint.

Sources