Skip to content

Issue owners are not reordered when rules are reordered #77150

@malwilley

Description

@malwilley

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Create two team codeowners rules. The first assigns to team-1 and the second to team-2
  2. Send an event with a stacktrace that contains lines corresponding to the above codeowners rules (this should be auto-assigned to team-2 according to according to the evaluation flow)
  3. Reorder the codeowners rules from step 1 so that team-2 is first and team-1 is second
  4. Send another event a few days later (to avoid cached data)

Expected Result

After reordering and sending a new event, I would expect the issue to be auto-assigned to team-1.

Actual Result

The issue remains assigned to team-2.

I've reproduced this in a test here: #77151

Product Area

Issues

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions