Repository navigation
Release v1.2.0 - #117
Release v1.2.0#117
Conversation
Per-project alert settings, fired-alert history, in-app and email delivery, and a live /dashboard/alerts page for milestone v1.2.0. Co-authored-by: Cursor <[email protected]>
Stub alertEvent.findMany in unit tests after recent alert notifications were added to the bell builder. Co-authored-by: Cursor <[email protected]>
Normalize parsed preferences so alerts defaults are applied in both parse and PATCH validation paths. Co-authored-by: Cursor <[email protected]>
Prevent AlertsClient from pulling next/headers via dashboard-api through alert-settings imports during production build. Co-authored-by: Cursor <[email protected]>
Store the fire-time destination (e.g. /dashboard/errors for spikes) and use it in recentAlertNotifications with rule-based fallback for legacy rows. Co-authored-by: Cursor <[email protected]>
Only surface ERROR_SPIKE fired alerts in the bell, prefer quota over alert when ids match, and keep live quota items on billing routing when alerts routing is off. Co-authored-by: Cursor <[email protected]>
Quota warning toggle now only gates near-limit alerts so exceeded history and email still send when warnings are disabled. Co-authored-by: Cursor <[email protected]>
…settings. Restore quota AlertEvent rows in recentAlertNotifications, dedupe by routing preferences, and derive session nearQuota from configurable nearPercent instead of a fixed 90%. Co-authored-by: Cursor <[email protected]>
Alerting v1: error spike and quota threshold rules
Project-scoped BUGBOT.md files encode notification, ingest, and server/client invariants; document /review-bugbot, PR checklist, and optional branch protection on develop. Co-authored-by: Cursor <[email protected]>
Add Bugbot review rules and contributor workflow
Add develop merge gate table matching GitHub: build, Cursor Bugbot, and PR requirements. Co-authored-by: Cursor <[email protected]>
Document develop branch protection in RELEASE.md
Promote [Unreleased] to [1.2.0] with migration and SDK compatibility notes. Co-authored-by: Cursor <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 4d4e320. Configure here.
|
|
||
| void notifyProjectMembersByEmail(prisma, payload.projectId, item, { | ||
| roles: [OrgRole.OWNER, OrgRole.EDITOR], | ||
| }); |
There was a problem hiding this comment.
Quota emails ignore billing routing
Medium Severity
Ingest quota near and exceeded notifications now go through fireProjectAlert, which always emails with notification type alert (Alerts routing). Previously, threshold emails used type quota (Billing routing). Owners who keep Billing email on and Alerts email off no longer receive quota threshold or exceeded emails when usage crosses limits on ingest.
Additional Locations (1)
Triggered by project rule: Telemetry Tracker — Bugbot review rules
Reviewed by Cursor Bugbot for commit 4d4e320. Configure here.


Summary
Milestone v1.2.0 — Alerting v1 (error spike + quota alerts, history, bell/email, settings UI) and Bugbot review rules.
Deferred to v1.3.0: #98 Source maps
Highlights
/dashboard/alerts.cursor/BUGBOT.mdand contributor workflowUpgrade (self-hosted)
From v1.1.0, after deploy:
pnpm --filter api exec prisma migrate deployMigrations:
20260702120000_project_alerts,20260702130000_alert_event_hrefTest plan
developv1.2.0→ GitHub Releaseprisma migrate deploymain→developMade with Cursor