Issue title should not pull from frames which have been excluded from grouping
Open
Improvement
Product Area: Issues
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 22h 21m
- Merged PRs (30d)
- 586
Description
### Environment
SaaS (https://sentry.io/)
### Steps to Reproduce
1. Exclude frames from being grouped (e.g. `stack.function:"abc" ^-group`)
2. Trigger error which would be subject to this grouping rule
3. See issue title, which displays the top frame's function, even though that frame was excluded from grouping
### Expected Result
It should pull from the the topmost frame which is included in grouping.
### Actual Result
The topmost frame, regardless of included/excluded in grouping is shown.
### Product Area
Issues
### Link
_No response_
### DSN
_No response_
### Version
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.