You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Crash reports: per-row email, short ID, build mode
- New columns on `crash_reports` (D1): `build_mode` (`'release'` / `'debug'`, nullable) and `short_id` (`CRASH-XXXXX`, nullable + indexed). Both nullable so existing rows stay untouched. Two new migrations: `0003_crash_build_mode.sql`, `0004_crash_short_id.sql`.
- Desktop crash file now carries `buildMode` and `shortId`. The short id is generated at write time via the shared `short_id` module and surfaced in the next-launch dialog so the user has something to reference when they reach out.
- `POST /crash-report` accepts and validates both optional fields, persisting them through to D1.
- Cron crash-notification email rewritten: one row per crash report instead of grouping by `top_function`. Columns: When, Env, ID, Site, Signal, Version, sorted newest-first. `'?'` for old rows that don't have `buildMode`/`shortId`. Renamed `CrashSummaryEntry` → `CrashEmailRow`.
- Bindings regenerated. Tests updated to cover the new fields and the per-row email layout.
- `crash_reporter` and api-server `CLAUDE.md` docs updated.
0 commit comments