getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
39.34k stars 4.22k forks source link

Allow "Resolve in next release" to use those only in the same environment as the issue #81570

Open henrahmagix opened 1 day ago

henrahmagix commented 1 day ago

Problem Statement

I work with a Staging and a Production environment on the same codebase: Staging releases are made automatically for every git commit, so we name them by the git commit hash, whilst Production releases are made manually so we name them by the datetime e.g. 2024-12-03-1038.

As far as I'm aware, Sentry uses chronological ordering when Semantic Versioning is not detected. This part works great for us because we create releases sequentially and never make backport releases.

However, using "Resolve in the next release" on an issue in the Production environment ends up marking it as resolved when the next Staging release is created. This is incorrect for us: the issue occurred in Production, so we only want it to be resolved by a Production release.

Can it be possible please to ensure issues marked as resolved in an upcoming release, are only resolved by those appearing in the same environment as the issue?

Thanks in advance, Henry ☺

P.S. Semantic Versioning doesn't work for us unfortunately

Solution Brainstorm

Product Area

Issues

getsantry[bot] commented 1 day ago

Auto-routing to @getsentry/product-owners-issues for triage ⏲️

scttcper commented 1 day ago

@henrahmagix thanks for writing in that makes sense, I've added this to our backlog