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
Error reports: send in dev with [DEV] tag forwarded to Discord
- Drop the `cfg!(debug_assertions)` half of the skip in `error_reporter::upload`. CI still skips so test runs don't pollute the live channel, but debug builds now upload normally — manual "Send error report" works in dev.
- Add `BuildMode` (`release`/`debug`) and a `buildMode` field on `BundleManifest`. Resolved at compile time from `cfg!(debug_assertions)` via `BuildMode::current()`. Tests cover serialization and the `current()` mapping.
- API server reads `meta.buildMode` and forwards it to Discord. The webhook embed title is prefixed `[DEV]` for debug-build reports so triage can tell dev runs apart from production traffic. Field is optional and defaults to `release` for older clients.
- Drop the dev-disable behavior on the Send button in `ErrorReportDialog.svelte`: removes the `sendDisabledInDev`/`sendTooltip` constants, the `use:tooltip` wrapper, the unused `tooltip` import, and the `&& !sendDisabledInDev` clause in `handleKeydown`.
- Revert the `vi.stubEnv('DEV', false)` plumbing in `ErrorReportDialog.a11y.test.ts` — no longer needed.
- Update `error_reporter/CLAUDE.md`: only CI is bypassed, document the new `buildMode` manifest field and what it's for.
0 commit comments