Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue title does not update to the latest exception title #85521

Open
InterstellarStella opened this issue Feb 20, 2025 · 2 comments
Open

Issue title does not update to the latest exception title #85521

InterstellarStella opened this issue Feb 20, 2025 · 2 comments
Labels
Product Area: Issues Sync: Jira Apply to auto-create a Jira shadow ticket

Comments

@InterstellarStella
Copy link

InterstellarStella commented Feb 20, 2025

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

Have an issue that accumulates exceptions of different titles.

Expected Result

The issue's title is that of the last exception (with leeway for a few minutes delay).

Actual Result

The issue's title does not change to that of the last exception. In this customer's case, it seems to be the title of an exception that happened even before the current retention period.

Link to the issue in the shadow ticket.

@getsantry
Copy link
Contributor

getsantry bot commented Feb 20, 2025

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

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Feb 20, 2025
@InterstellarStella InterstellarStella added the Sync: Jira Apply to auto-create a Jira shadow ticket label Feb 20, 2025
@armenzg
Copy link
Member

armenzg commented Feb 20, 2025

Both title values show up in the data column for the Group (trimmed-down data):

{
  "type": "error",
  "metadata": {
    "title": "Original title"
  },
  "title": "Title from the latest event"
}

This is the Group model's title code:

@property
def title(self) -> str:
title = self.data.get("title")
event_type = self.get_event_type()
# TODO: It may be that we don't have to restrict this to just default and error types
if title and event_type in ["default", "error"]:
return title
event_type_instance = eventtypes.get(event_type)()
return event_type_instance.get_title(self.get_event_metadata())

It should be picking up the latest title from the event.

I will keep looking at this later today or tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Product Area: Issues Sync: Jira Apply to auto-create a Jira shadow ticket
Projects
Status: No status
Development

No branches or pull requests

2 participants