Skip to main content
When an incident triggers in production, Traceback’s AI engine automatically analyzes the crash telemetry to synthesize a root-cause explanation and remediation diff.

How AI Diagnosis Works

  1. Context Aggregation: The engine collects the symbolicated stack trace, enclosing code blocks, recent git commit diffs, telemetry span watermarks, and preceding breadcrumbs.
  2. Failure Classification: The error is classified by category (e.g., race condition, missing null check, schema mismatch, unhandled API rejection).
  3. Patch Generation: An actionable unified diff patch is generated against the offending repository branch.

Example AI Summary

AI Diagnostic Report

Root Cause Summary: The function calculateDiscount in src/pricing/discounts.ts threw a TypeError: Cannot read properties of undefined (reading 'percentage') because tierConfig was fetched without checking for newly added customer tier 'enterprise_custom'.Suggested Fix:

Linking Your Code Repository

To enable repository-aware AI analysis:
  1. Navigate to Project Settings > Integrations > GitHub / GitLab.
  2. Grant repository read permissions.
  3. Traceback will automatically link crash lines to exact repository commits and branches.