Skip to content
Dashboard

Autopsy Reports

Rich failure analysis for every CI failure — root cause hypothesis, affected files, historical fingerprints, and actionable next steps. Free on all plans.

247
Reports Generated
89
Unique Root Causes
73%
Auto-Resolved
TypeError in Dashboard API handler
CI / testfeature/user-profiles2h ago
High

Root Cause Analysis

The user.preferences object can be null when a new user hasn't configured their settings yet. The code at src/api/dashboard.ts:142 calls user.preferences.theme without a null check, causing a TypeError when processing API requests for newly registered users.

Affected Files

src/api/dashboard.ts
src/types/user.ts
src/middleware/auth.ts

Fingerprint

a3f8c2d1
Matched 12 times across your repos

Suggested Next Steps

1Add optional chaining: user.preferences?.theme ?? 'default'
2Add null check guard at the API handler entry point
3Update User type to mark preferences as optional
4Add integration test for new user without preferences
ESLint import order violation
CI / lintmain5h ago
Low
Docker build OOM during bundle
CI / buildrelease/v2.11d ago
Medium

Autopsy reports are free on all plans. Only automated patch application requires a Pro or Team subscription.