Issues

Failures

The Failures view groups every failed span and run by agent, tool, error type and category: what counts as a failure, the categories, the charts, the table, and turning a row into an issue or an alert.

The Failures view is the first thing you see under Assess → Issues. It lists every hard failure in the period, grouped so that trace_query keeps refusing the = operator is one row with a count, not 38 rows. Nothing is stored and no model is involved: it is computed from your traces each time the page loads, and the same failures always group the same way.

Failures: the failure count after filters, failures over time by category, the breakdown by category and tool, and the failed-runs chart.

A hard failure is one your traces recorded as an error (see Status & errors). An answer that is wrong but did not error never shows here; evals catch those.

What counts as a failure

Two rules, so each failure is counted once and blamed on the step that broke:

CountedWhy
A failed span with no failed child.When a tool fails, its parent agent span usually fails too. Counting both would double every failure and blame the agent for what the tool did. Only the deepest failed span counts.
A failed run where no span failed.The run says it failed but no step took the blame. It is listed with Run in the Tool column.

Filters narrow which failures are shown. They never change what counts as one.

How rows are grouped

One row per agent · tool · error type · category. Ids, hashes and numbers in the message are set aside first, so timed out after 3000ms and timed out after 5000ms land on the same row. A 503 and a 404 from the same tool stay apart, because they are in different categories. The most common message names the row.

Categories

Every failure gets one category from what the trace already says. The status code decides first, when the span recorded a real 4xx or 5xx; otherwise the error type and message are read against these rules in order, and the first match wins.

CategoryStatus codeOr the type or message saysExample
Timeout408, 504timed out, timeout, ETIMEDOUT, deadline exceededTimeoutError: model timed out
Rate limited429rate limit, too many requests, quota exceeded, resource exhausted429 Too Many Requests
Auth401, 403unauthorized, forbidden, permission denied, invalid api key, credentialsAuthError: invalid api key
ConnectionECONNREFUSED, ECONNRESET, ENOTFOUND, socket hang up, network errorconnect ECONNREFUSED 10.0.3.12:5432
Server errorother 5xxa 5xx in the message, bad gateway, service unavailable, internal server error, upstreamorder service returned 503
Not found404not found, 404, no suchaccount acct_9f2 not found
Refusedrefused, guardrail, not allowed, blocked by, policy violationToolRefused: table 'payments' is not allowed
Bad requestother 4xxvalidation, must be, invalid argument, bad request, schema, missing requiredamount must be a positive number
Code errora TypeError, KeyError, ValueError, NullPointerException and the like, or "is not a function", "cannot read properties", "is not defined"TypeError: Cannot read properties of undefined
Othernothing above matchednotify_customer failed

The same categories are an alert filter field, Error category, so an alert on timeouts on this agent counts exactly what this view counts. See Measures & filters.

Period and filters

ControlWhat it does
PeriodThe same picker as Traces, 7 days by default. Any period up to 90 days; a longer one shows its last 90 days and says so. Up to two days is charted per hour, anything longer per day.
CountThe total failures matching the period and filters.
SearchMatches the message, span name, tool and error type.
FilterAgent, Tool and Category, built from the failures in the period. Choosing tools leaves run-level failures out, since they have no tool.

When a period holds more distinct failures than the view can group, it shows the most frequent ones and says Showing the most frequent failures only. Narrow the period to see the rest.

The charts

Four cards above the table count exactly what the table counts.

CardShows
Over timeFailures per hour or per day, split by Category, Tool or Agent.
BreakdownA donut by Category, Error type or Agent.
ToolsFailures by tool. Run-level failures have no tool; the card says how many it leaves out.
Failed runsThe share of all runs that failed, per bucket, with the overall figure (0.3% of 1,758 runs). It follows the agent filter only.

The table

The failures table: one row per distinct error with its category, agent, tool, count, users, trend and when it was last seen.
ColumnWhat it shows
ErrorThe most common message in the group.
CategoryThe category, then the error type the trace recorded.
AgentThe agent the failures belong to.
ToolThe tool or step that failed, or Run for a run-level failure.
CountFailures in the period. Sortable.
UsersDistinct users who hit it. A + means at least that many. Sortable.
TrendFailures per day across the period.
Last seenWhen it last happened. Sortable, and the default sort.

Load more fetches the next 50 rows.

A failure, opened

Click a row to open it in a drawer; the arrows at the top step through the rows.

A failure's drawer: File issue, Create alert and Open in Traces at the top; the category, tool, failures, users, first and last seen and a per-day chart; the error; and every occurrence with its time, error, status, user and duration.

The header shows the category and error type, the tool (or the agent, for a run-level failure), the full message, and Agent, Tool (or Where: Run), Failures, Users, First seen, Last seen and a Per day chart.

Occurrences lists every failure in the row, newest first: Time, Error, Status, User and Duration. Search them by message, user or run. Click one to open its trace inside the drawer with the failing span selected.

Three actions sit at the top:

ActionWhat it does
File issueOpens Lucid with the request drafted: the agent, tool, category, error type, message, how many failures and users, and up to 20 occurrences by id. Send it, and Lucid adds them to a matching issue or reads a few traces and files a new one. See Anatomy, filing & dedup.
Create alert (the bell)Opens a new alert filled in for this failure: failed spans on this agent, tool and error type (failed runs, for a run-level failure). Set a limit and a destination, then save. See Create an alert.
Open in TracesThe same failures in Traces, filtered to errors on this agent and tool over the same period.

On this page