Open jasondentler opened 3 days ago
Assigning to @getsentry/support for routing ⏲️
Jordan Luse, working on support case #136068, recommended opening this GitHub issue.
@JLuse, as @jasondentler already mentioned in the original issue description, this issue has been fixed in Sentry CLI:
The CLI is sending the project to Sentry (https://github.com/getsentry/sentry-cli/commit/099919a11c4d30e442f3cfbb6fb4a2312e902239) and the Sentry APIs accept this property (https://github.com/getsentry/sentry/commit/e14ce0f7ef2b077db2d89b3340f3bd96d6574738). Somewhere deeper in Sentry, this relationship is being ignored and sending incorrect Deployment notification emails.
The problem lies somewhere in the Sentry backend. I am transferring the issue back to the Sentry repo.
@jasondentler, are the deploys showing only for the correct projects, as expected, in the UI? Or is the UI incorrect, as well?
Assigning to @getsentry/support for routing ⏲️
@szokeasaurusrex In at least one place, the UI is also incorrect, I believe. In the Sentry UI, when I go to a different project's releases, find this release hash, and scroll to the bottom of the page, it does show a production release, even though this project was not released to production.
This page: https://{org tag}.sentry.io/releases/{release hash}/?environment=production&project={the unreleased project id} in the right column, at the bottom, it shows the deploys.
Let me know if I should be referring to a different page. I don't know of any page that focuses solely on deployments.
@jasondentler Could you please provide the actual link? If you don't want to post the link publicly on GitHub (this of course does not make any details on the page public, only what is encoded directly in the URL), you can add it to your customer support ticket (preferably, if possible), or email me directly.
@szokeasaurusrex Looking at it more closely, the UI is inconsistent.
This project was deployed to production: https://iland-jl.sentry.io/releases/9867b768ea12674e3df0d131152822539ba59d3b/?environment=production&project=4507730937184256 In the right column at the top, it shows Date Deployed: 6 days ago and Last Deploy: Production In the right column at the bottom, it shows Deploys: Production, 6 days ago
This project was NOT deployed to production: https://iland-jl.sentry.io/releases/9867b768ea12674e3df0d131152822539ba59d3b/?environment=production&project=4507726609186816 In the right column at the top, it shows Date Deployed: 6 days ago and Last Deploy: Production However, in the right column at the bottom, it doesn't show the Deploys section.
Routing to @getsentry/product-owners-releases for triage ⏲️
Thanks for the report - I've created tickets in my team's internal tracking system to address these (one for the email and one for the UI).
Problem Statement
When using
sentry-cli
, I specify the project being deployed. However, the email sent to many users including my boss says I just deployed all the projects in our monorepo, which causes confusion.I already opened this issue earlier. The issue was resolved. The CLI is sending the project to Sentry (https://github.com/getsentry/sentry-cli/commit/099919a11c4d30e442f3cfbb6fb4a2312e902239) and the Sentry APIs accept this property (https://github.com/getsentry/sentry/commit/e14ce0f7ef2b077db2d89b3340f3bd96d6574738). Somewhere deeper in Sentry, this relationship is being ignored and sending incorrect Deployment notification emails.
Solution Brainstorm
Especially when sending out Deployment notifications, only include the projects associated with the deployment.
Product Area
Other