Repository navigation
feat: platform/release filters and analytics gaps (#445–#457) - #458
Merged
Merged
Conversation
Persist error platform and session environment/release; wire Errors and Overview filters; expose list/detail columns, scoped first/last seen, session links, and React Native docs for Platform.OS + release. Co-authored-by: Cursor <[email protected]>
This was referenced Jul 15, 2026
Align session KPI window scope with session env/release columns, order errors by scoped first/last seen when filtered, clear unused filterOptions init, and rebuild telemetry-core dist for session release. Co-authored-by: Cursor <[email protected]>
When both filters are set, require a single matching event (or both session columns) instead of ANDing per-field EXISTS fallbacks. Co-authored-by: Cursor <[email protected]>
Pass platform and release into overview timeseries, session duration, and unselected metrics window so charts match KPI filters. Co-authored-by: Cursor <[email protected]>
Sessions pair used the unscoped fast path unless environment was set; active users omitted platform/release from event filters. Co-authored-by: Cursor <[email protected]>
Pass platform/release into top-event metadata lookup, constrain error-group occurrence filters to the metrics window, and preserve scope on active-issue hrefs. Co-authored-by: Cursor <[email protected]>
When platform or release filters are active, page and sort error groups by in-window occurrence aggregates instead of lifetime ErrorGroup fields. Co-authored-by: Cursor <[email protected]>
Align platform/release Overview pagination with Issues membership so groups whose last_seen moved outside the window stay out of the list. Co-authored-by: Cursor <[email protected]>
Platform/release Overview membership follows in-window matching occurrences so KPI and list totals stay aligned across platforms. Co-authored-by: Cursor <[email protected]>
When platform or release is set, active incidents use in-window matching occurrences instead of fingerprint last_seen. Co-authored-by: Cursor <[email protected]>
Require platform/release matches inside the time window for Errors list membership, and rank Active incidents by in-window scoped occurrence counts. Co-authored-by: Cursor <[email protected]>
Errors summary membership now requires platform/release matches inside the selected range instead of lifetime EXISTS plus last_seen. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
When platform or release filters are active, derive scoped first/last seen from occurrences inside the selected window instead of all-time matches. Co-authored-by: Cursor <[email protected]>
Use occurrenceCountRange for platform/release membership when the list range is unbounded, drop lifetime first/last seen fallbacks, and keep those filters on the aggregate list path. Co-authored-by: Cursor <[email protected]>
Forward list scope into GET /errors/:id so first/last seen, impact, sparkline, and occurrences match Issues/Overview drill-down; preserve range on detail links and avoid lifetime first/last seen fallbacks. Co-authored-by: Cursor <[email protected]>
Do not apply the Issues ~7d metrics window when drilling down from Overview with range=none, so scoped detail totals match the list row. Co-authored-by: Cursor <[email protected]>
Pass metricsUntil from Issues list links so detail uses the ~7d metrics window; Overview range=none drills stay unbounded to match list totals. Co-authored-by: Cursor <[email protected]>
When range=none drills have no metrics window, align the trend sparkline with Overview’s recent chart span instead of a fixed 24h fallback. Co-authored-by: Cursor <[email protected]>
Contributor
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 c8856ce. Configure here.
When platform/release filters are active on an unselected Overview range, page error groups and active issues from the metrics window (~30d) instead of epoch→now so list counts match KPIs; Overview error detail uses the same ~30d span. Co-authored-by: Cursor <[email protected]>
Use the same sampled metrics window as Overview KPIs for range=none/all drills, and pass app/environment through so the window stays in scope. Co-authored-by: Cursor <[email protected]>
Scope Overview events pagination to the metrics window when platform/release is set, and include range/from/to on active-issue hrefs so error detail uses the same window as the cards. Co-authored-by: Cursor <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Implements issues #445–#452 and #454–#457 (skips #453 Releases page).
platformon error groups/occurrences; Errors Platform filterenvironment+release; SDK sends release on sessions; filters prefer session columnsPlatform.OS→ ios/android/web +release/environmentMigration
pnpm --filter api exec prisma migrate deploy20260715220000_error_platform_session_env_releaseTest plan
pnpm lint && pnpm --filter api test && pnpm --filter dashboard test && pnpm --filter api build && pnpm --filter dashboard buildplatform: "ios"Made with Cursor