Skip to content

Release v1.2.0 - #117

Merged
unjica merged 14 commits into
mainfrom
release/v1.2.0
Jul 1, 2026
Merged

unjica merged 14 commits into
mainfrom
release/v1.2.0

Conversation

@unjica

@unjica unjica commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

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

  • Alerting v1 — per-project error spike and quota threshold rules, alert history, in-app bell + email, /dashboard/alerts
  • Bugbot review rules — project-scoped .cursor/BUGBOT.md and contributor workflow

Upgrade (self-hosted)

From v1.1.0, after deploy:

pnpm --filter api exec prisma migrate deploy

Migrations: 20260702120000_project_alerts, 20260702130000_alert_event_href

Test plan

  • CI green on develop
  • Merge → tag v1.2.0 → GitHub Release
  • Production prisma migrate deploy
  • Sync main → develop

Made with Cursor

unjica and others added 14 commits July 1, 2026 20:26
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]>

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ 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],
});

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)
Fix in Cursor Fix in Web

Triggered by project rule: Telemetry Tracker — Bugbot review rules

Reviewed by Cursor Bugbot for commit 4d4e320. Configure here.

@unjica
unjica merged commit 9dfc2d4 into main Jul 1, 2026
4 checks passed
@unjica
unjica deleted the release/v1.2.0 branch July 1, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant