Improving the Resolve Feature: Seeking Community Feedback #47952
Replies: 10 comments 3 replies
-
Resolving via commit resolves the issue too early. Right now it resolves the issue as soon as the commit is created, this should be moved to when a release is deployed. Resolve via commit also has some issues with commits being squashed, being able to only resolve when there are commits on main/master would be preferred. For example - if a commit marks an issue as resolved, its then squashed when being landed on master with a different description (missing the "resolves SENTRY-ZZ") the issue will never unresolve since it doesn't get associated with a release. Resolving in a commit/release isn't clear how new release versions are compared. We added support for semantic versioning - when a new event happens in a new release we compare them as either semantic versions or release dates and it isn't always clear which one is being used. I think a feature i've always seen requested is resolved in a specific environment and ignore in lower environments. Right now, sentry has no concept of release stages (dev, stage, prod) and a release environment without the commit will unresolve the issue. We've had to tell these people to create another project for their lower environments instead. |
Beta Was this translation helpful? Give feedback.
-
a) I would echo some of the comments above about resolving via a commit - it's a nice idea but in practice we've found it doesn't work a lot of the time due to squash merging and the like. It's also easy to forget to include in the commit message - other integrations that work like this (e.g. JIRA) also work for PR titles/descriptions which gives you more flexibility / opportunity to remember. If Sentry could integrate with an organization's github and figure out which PRs landed in which release, perhaps it could do the same? b) No - that would be very unexpected IMO. We always mark things as resolved in a particular release, and Sentry knows the order of releases - so a "regression" should only be triggered if the issue arises on that same release or later. c) Mostly we use it manually from the Sentry UI to say that an issue is resolved when a fix has been released. We sometimes remember to try the commit thing and sometimes it works, but often it doesn't and we're back to the manual thing. In terms of tools/workflows, we're using github actions to handle our CI/CD stuff and github for our repos, PRs and so on. |
Beta Was this translation helpful? Give feedback.
-
My recent issue is when there's a lot of event spam, the resolve button doesn't actually work. You have to reselect all the issues and resolve them multiple times before they're marked resolved. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I have been using the Resolve feature with various teams for years, mostly with the Jira integration to map Active and Resolved in Sentry to corresponding statuses in Jira. Using Alerts, Sentry creates a ticket in Jira, we fix it and deploy it, and Sentry notifies us if the bug has regressed unexpectedly. The problem arises when we want to mark an issue as Ignored in both Sentry and Jira. If I move the Jira issue to a "DONE" state, then Sentry will mark the issue as Resolved, so I need a "TODO" state in Jira to represent the "Ignored" state in Sentry. When the Sentry issue transitions to "Active" again, no corresponding state transition occurs in Jira, however. When an issue is marked as "Ignored" in Sentry, I would like to place it in a corresponding status in Jira AND have it return to a configured status in Jira when the issue recurs and becomes "Active" again. Similarly, I would like to prevent events from a non-production environment trigging a state transition. When we have an error occur in a staging or development environment, it's usually intentional or part of a test scenario. I don't want those to trigger a regression alert. As a workaround, I have used separate projects for environments, but that's a hack and leads to configuration mistakes easily. I would really like a way to configure Alerts for regressed issues as well as new ones, so I can filter them using the same rules. |
Beta Was this translation helpful? Give feedback.
-
I just migrated from Crashlytics to Sentry, and definitely used the equivalent resolve feature in Crashlytics a ton, and intend to use it in Sentry as well. One feature I would love to see is the ability to mark something as resolved in a certain OS release. I occasionally have bugs that I cannot reasonably fix in my own app, but Apple fixes via an iOS update. I would love to have those not clutter up my issues list. I'd also like to say that the "ignore until this affects X number of users" is a great feature that I had always wished existed in Crashlytics, and was excited to see in Sentry. 👍 |
Beta Was this translation helpful? Give feedback.
-
Hi! We are trying to work with autoresolve via git integration, but it actually does not work well. Pretty much close as described in #47952 (comment) There are several problems and challenges we are facing:
So by end of the day, we use the "Fixes XYZ" in commit messages/MR description only to keep reference and keep track of what fixes what, but we are forced to manually click the "Resolved in ...", as unfortunately the resolution via git is really unusable. If it could work that the issue in Sentry would be resolved after release of the commit/MR it was tracked by, it would be awesome. And if it could understand releasing/deploying to multiple environments, it would be lovely and the best of the best! |
Beta Was this translation helpful? Give feedback.
-
+1, this has been biting us recently as well. What I really care about when I mark as resolved is that it's resolved in production, but often we'll see a "regression" because one of our CI branch environments has produced the error on a "new" version (because the branch doesn't have the fix but has newer commits). |
Beta Was this translation helpful? Give feedback.
-
Not sure of the relevance of that discussion but it's both old.. And not so old so here are my 2 cents. Marking an issue as fixed by a commit (or from a PR mentioning the issue ID) should only close the jira ticket once that release is detected to run on prod environment. Right now as soon as we merge it's closing the associated jira ticket and that doesn't work for our current workflow as it's just in staging waiting to have some QA and then waiting to be deployed. |
Beta Was this translation helpful? Give feedback.
-
The big issue I'm trying to solve at the moment is that I want to auto-resolve issues that haven't been hit after a period of time. Is there any way to do this? |
Beta Was this translation helpful? Give feedback.
-
The Resolve feature is a critical part of issue management in Sentry. It allows you to mark an issue as resolved when it's fixed or you don't expect it to happen again. You can do this manually using the button on the top left of the issue page or by including the issue ID in a commit.
However, we know that resolving issues isn't always straightforward, and we want to make sure that our Resolve feature is as helpful and intuitive as possible.
To that end, we would love to hear from you. Specifically, we're interested in hearing the following:
1/ Are you using the Resolve feature? Why or why not?
2/ If you are using:
a. What are the biggest challenges you face when using it?
b. When you fix an Issue, but someone is using an old release, do you expect Sentry to mark this as a regression or ignore old clients? Why?
c. How do you currently use the Resolve feature in your workflow? What other tools or workflows do you use alongside Sentry, and how do they interact with the Resolve feature?
Thank you in advance for sharing your thoughts with us. Please feel free to leave a comment below or reach out to our support team if you have other additional feedback or questions.
Beta Was this translation helpful? Give feedback.
All reactions