Skip to content

Release v1.16.0 — Releases Health (#453) - #569

Merged
unjica merged 19 commits into
mainfrom
release/v1.16.0
Jul 18, 2026
Merged

unjica merged 19 commits into
mainfrom
release/v1.16.0

Conversation

@unjica

@unjica unjica commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • CI build green on this PR
  • maintainer-review green
  • Merge to main (Railway deploys)
  • Confirm no new Prisma migrations since v1.15.9 (none expected)
  • Verify GET https://api.telemetry-tracker.com/health → version":"1.16.0"
  • Spot-check /dashboard/releases loads
  • Tag v1.16.0, publish GitHub Release (document email skip)
  • Sync main → develop
  • Update milestone description with shipped v1.16.0; leave milestone open

Made with Cursor

unjica and others added 19 commits July 18, 2026 16:27
…-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)

@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 0b80fc1. Configure here.

): string | null {
if (isUnselectedTimeRange(rangeKey)) {
if (!openEndedAnchor || current.metricsUntil) return null;
return mergeListQuery(path, current, { metricsUntil: openEndedAnchor });

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.

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.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 0b80fc1. Configure here.

@unjica
unjica merged commit 9445bd1 into main Jul 18, 2026
7 of 8 checks passed
@unjica
unjica deleted the release/v1.16.0 branch July 18, 2026 17:58
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