feat(formatters): add Seer fixability score to issue list and detail views#234
Merged
feat(formatters): add Seer fixability score to issue list and detail views#234
Conversation
…views Surfaces seerFixabilityScore from the Sentry API on issue list and detail views. Shows a 3-tier label (high/med/low) with the raw percentage, e.g. med(50%) in lists, Med (50%) in detail. Color-coded green/yellow/red. Mirrors the approach in getsentry/sentry-mcp#732.
Unit tests for all fixability functions with boundary/edge cases (score=0, score=1, null, undefined). Property-based tests for tier validity, monotonicity, format pattern matching, and column width constraints.
Contributor
Codecov Results 📊✅ Patch coverage is 100.00%. Project has 3871 uncovered lines. Files with missing lines (67)
Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 69.87% 70.00% +0.13%
==========================================
Files 105 105 —
Lines 12848 12902 +54
Branches 0 0 —
==========================================
+ Hits 8977 9031 +54
- Misses 3871 3871 —
- Partials 0 0 —Generated by Codecov Action |
Contributor
Semver Impact of This PR🟡 Minor (new features) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨
Bug Fixes 🐛
🤖 This preview updates automatically when you update the PR. |
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
Surfaces the Seer fixability score on issue list and detail views. Shows a 3-tier label (high/med/low) with the raw percentage — e.g.
med(50%)in lists,Med (50%)in detail. Color-coded green/yellow/red to match the severity coloring pattern.Mirrors the approach in getsentry/sentry-mcp#732.
Changes
seerFixabilityScorefield onSentryIssueSchema(nullable/optional, returned by the API when Seer has scored an issue)issue listtable, between SEEN and TITLEissue viewdetail, between Priority and LevelfixabilityColor()(high=green, med=yellow, low=red)FixabilityTierunion type threaded through from label function to color functionTest Plan
bun run typecheck— cleanbun run lint— clean