Production Error Taxonomies
In this article
- Sort a failed agent step into one error class by the first boundary that failed at that step.
- Name the layer and the owner of each failing step, so the right team is called.
- Take the retry flag from the failure class, and escalate a policy denial to a person instead of retrying it.
- Keep a customer's cancel out of the failure count.
- Terms defined here: error taxonomy.
Overview
Four things go wrong in one week, and the alert channel says the same thing every time: "LLM error". The model team gets paged four times, and three of the four were never theirs. One failure was even made worse by the automatic response to it.
Brightline, the home-internet provider, runs a support assistant that looks up orders and issues refunds; code denies any refund above $50. Here you learn to sort each failure by the step where it first went wrong, to name which team owns that step, and to read from its class whether trying again can help. A customer who presses cancel turns out to be no failure at all.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Four logs, one label
- Seven classes, six boundaries
- The classification record
- A denial is not a retry
- The rule at work
- Common mistakes
- In production
- Sources
- Check yourself, 13 questions