Repository navigation
Release v1.16.0 — Releases Health (#453) - #569
Conversation
…-develop chore: sync main v1.15.9 into develop
Add /api/releases/summary aggregation and enable the Releases nav surface so teams can compare adoption and regressions across versions, including an explicit Unknown bucket and deep links via release=__unknown__. Co-authored-by: Cursor <[email protected]>
Treat null, blank/whitespace, and literal __unknown__ as Unknown in isUnknownReleaseKey, SQL match/normalize, and Prisma where so Release Health deep links stay consistent with Issues/Events/Sessions scopes. Co-authored-by: Cursor <[email protected]>
Align Sessions/Overview `__unknown__` matching with Release Health so sessions that resolve to a known release via events are not counted as Unknown. Co-authored-by: Cursor <[email protected]>
Align Sessions/Overview release= event attribution with Release Health so deep-link session counts match adoption KPIs when Session.release is blank. Co-authored-by: Cursor <[email protected]>
Sessions/Events/Issues/Performance now use a valid URL metricsUntil for open-ended KPI windows so deep links match the Releases table the user just viewed. Co-authored-by: Cursor <[email protected]>
Unblocks the dashboard build after Release Health deep links pass metricsUntil into the errors page. Co-authored-by: Cursor <[email protected]>
buildDashboardNavTabHref now reuses the scoped list allow-list so range/from/to/metricsUntil survive Issues/Events/Sessions tab changes after Release Health deep links. Co-authored-by: Cursor <[email protected]>
Filter GET forms only forwarded range/from/to, so Apply after a Release Health deep link dropped the KPI anchor and re-anchored windows to now. Co-authored-by: Cursor <[email protected]>
When platform and release are both scoped, Sessions/Overview event-release EXISTS clauses now constrain e.platform like Release Health, so deep-link session counts match the Releases table across platforms. Co-authored-by: Cursor <[email protected]>
Prefer liveUrlParams for Issues detail metricsUntil, forward URL metricsUntil into GET /api/overview for open-ended ranges, and style Releases vs-previous deltas by semantic direction (higher sessions good; higher errors bad). Co-authored-by: Cursor <[email protected]>
Write the SSR KPI anchor into the URL on open-ended ranges (and strip it on bounded presets) so Overview/list nav, Apply, and issue detail links share the same window instead of re-anchoring to now. Co-authored-by: Cursor <[email protected]>
Use shared COALESCE(session, latest known event) matching so blank/sentinel session releases and multi-release sessions deep-link consistently, and SQL groupBy when Overview filters by release. Co-authored-by: Cursor <[email protected]>
Load scoped occurrence ids via releaseFilterMatchSql (tenant-joined) so release=__unknown__ includes null/blank rows matching detail KPIs. Co-authored-by: Cursor <[email protected]>
Always query raw Events via buildEventWhereSql / releaseFilterMatchSql so release=__unknown__ and TRIM matching match summary KPIs and Release Health. Co-authored-by: Cursor <[email protected]>
When release= is set, count distinct session identities using the same COALESCE(session, latest known event) attribution as session KPIs and Release Health so the two headline metrics stay in sync. Co-authored-by: Cursor <[email protected]>
Open-ended Overview KPIs use metricsSince/metricsUntil, but active-issue hrefs only passed range, so issue detail re-anchored to now (or the Issues ~7d path). Forward the exact window and honor it on GET /api/errors/:id. Co-authored-by: Cursor <[email protected]>
feat(dashboard): Releases Health page — adoption and regressions (#453)
…). 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 0b80fc1. Configure here.
| ): string | null { | ||
| if (isUnselectedTimeRange(rangeKey)) { | ||
| if (!openEndedAnchor || current.metricsUntil) return null; | ||
| return mergeListQuery(path, current, { metricsUntil: openEndedAnchor }); |
There was a problem hiding this comment.
Invalid metricsUntil skips URL fix
Low Severity
On open-ended time ranges, redirectHrefForMetricsUntil skips canonicalization whenever current.metricsUntil is any non-empty string. Invalid or whitespace-only values stay in the URL while SSR resolves the KPI anchor via resolveMetricsUntilIso to a fresh timestamp, so shared links and the address bar can disagree with the window the server actually queries.
Reviewed by Cursor Bugbot for commit 0b80fc1. Configure here.


Summary
/dashboard/releases,GET /api/releases/summary, Unknown bucket +release=__unknown__deep links, metricsUntil/filter attribution fixes.[1.16.0]+API_VERSION1.16.0..0of a new line (line-close policy). Note: a 1.15 line-close email was never sent after the 1.15.x patches; do not send 1.16 content as a 1.15 recap.brief-workeralone. Reminder:alert-rules-evaluatorcron is still manual/unwired if schedule-oriented CUSTOM rules are in use.Test plan
buildgreen on this PRmaintainer-reviewgreenmain(Railway deploys)GET https://api.telemetry-tracker.com/health→version":"1.16.0"/dashboard/releasesloadsv1.16.0, publish GitHub Release (document email skip)main→developMade with Cursor