← All IntelIntel / blog
Making Failure Diagnosis Reliable with Pensive AI
- Source
- netflixtechblog.com
- Author
- Netflix Technology Blog
- Date
Why it matters
It shows how a large data platform extends a rule-based failure classifier with AI to cover the roughly half of failures rules missed, without giving up deterministic remediation.
Key takeaways · AI-distilled
- Netflix's rule-based Pensive made about half of workload failures self-service, but over three months roughly half of ~7 million failure classifications landed in an unknown bucket, because each regex or Java rule matches only a log shape someone already wrote.
- Pensive AI gives the model a line-numbered log and asks only for the first and last line of the error span, then rebuilds the text from its own copy. Output stays two integers at any error length, cutting cost and latency and keeping displayed text verbatim.
- Error extraction runs on every failed step inside Maestro's 90-second hard timeout: per-log model calls run in parallel under one shared deadline, and any call that misses it is dropped so the response still returns on time.
- Full debugging runs only on demand and is cached per failed step attempt, not per user. A conditional write lets one caller generate while others wait, so the UI and paths share one answer, and each streamed event carries the full text so far.
- Netflix uses its frozen legacy rules as labels, archives logs to S3 so inputs do not expire, and gates each pull request on inclusion and precision thresholds. Steps where no one used Pensive AI saw 321% more manual log exploration (observational, not causal).
Terms in this piece · Glossary
- MCP — The Model Context Protocol — an open standard that lets any AI assistant plug into any tool or data source without custom integration code.
- eval — A repeatable test for AI quality — a set of tasks plus scoring — used the way software teams use test suites, because model output is too variable to judge by eyeballing.
Read the source netflixtechblog.com
More from Netflix Technology Blog
Recommended reads
Comments
Checking sign-in…
Loading comments…


