Error groups and suspect commits

Group exceptions by fingerprint, rank suspect commits deterministically, assign owners automatically or manually, and route fixes to AI SRE or /mcp.

Open Tools › Errors to inspect recurring exceptions and HTTP 5xx errors grouped per application by stack fingerprint. Every error group links directly to its onset deployment, suspect commit candidates, and full request trace waterfalls.

[!NOTE] Error groups are built from instrumented OpenTelemetry telemetry. An application writing stack traces only to stdout without OTel exception spans will not open error groups in Tools › Errors.

Deterministic suspect-commit ranking

When an error group first appears (onset deployment), Formatio compares the deployed Git SHA against the previous live release and intersects changed files and lines with up to 5 in-app stack frames (±3 line window via provider blame). The AI never invents suspect commits—data decides the confidence tier:

Confidence What the evidence proves
Line A commit shipped in the failing deployment directly edited the failing stack frame lines
File A commit in the failing deployment modified the failing source file on nearby lines
Range The failing deployment shipped commits, though none directly touched files in the captured frames
Ownership No prior release range exists (first deploy or rollback); falls back to git blame of the last author who modified the failing line
None Provider history/blame is unavailable or frames cannot map to repository files (e.g., Bitbucket or unmapped minified bundles)

[!IMPORTANT] Data-triggered protection (24h rule): If an application runs cleanly for 24 hours or more after going live before a group appears, Formatio flags DataTriggered = true and downgrades confidence (Line → File, File → Range) so bad input data is not falsely blamed on code.

Ownership triage modes (Off, Suggest, Auto)

Configure error assignment behavior per application:

  • Off: Groups record suspect candidates without suggesting or assigning an owner.
  • Suggest: Resolves the top suspect's repository author against project collaborators (linked Git accounts) and highlights a Suggested owner without auto-assigning.
  • Auto: Automatically assigns the issue to the matching project collaborator and sends an assignment email—while never overriding a human assignment or explicit unassignment (Assigned by member stays final).

From error group to fix (Fix prompt, AI advisor, and fix PRs)

Inside any error group (ErrorGroup), inspect individual occurrences, switch between message variants (list_recurrences), jump straight into the trace waterfall, and resolve using one of three built-in workflows:

  1. AI error advisor: Automatically explains likely root cause, cites specific frame/commit evidence, and suggests a minimal fix out of the box using Formatio's built-in AI error advisor (or an optional custom AI provider).
  2. Autonomous fix pull request: Triggers Formatio AI SRE to reproduce the bug in an isolated sandbox and open a human-reviewed Git pull request. See autonomous fix pull requests.
  3. Copy Fix prompt or connect /mcp: Export a structured markdown prompt—or point your coding agent directly to the issue URL using fix_issue.

Resolve and regression reopening

Click Resolve after your fix merges and deploys. Resolving does not silence telemetry. If an occurrence after resolution brings the error back, Formatio automatically reopens the group and emails its assignee once for that regression. This works even when auto-assignment is off. Manually reopening a group does not send a regression email, and integration alerts still follow their own rules.

Further reading