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

fix: bug in AttributeNames RPC endpoint, filter offset #6714

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

kylemumma
Copy link
Member

@kylemumma kylemumma commented Jan 2, 2025

There is an index out of range error with filter offset when the attribute results are empty. This PR solves this bug.
The new test test_empty_results failed before (due to the bug), and now passes

here is the sentry issue it fixes: https://sentry.sentry.io/issues/6189483746/?project=300688&query=is%3Aunresolved%20issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&sort=date&statsPeriod=1h&stream_index=8

and it also closes this ticket https://github.com/getsentry/eap-planning/issues/138

@kylemumma kylemumma marked this pull request as ready for review January 2, 2025 21:23
@kylemumma kylemumma requested review from a team as code owners January 2, 2025 21:23
Copy link
Member

@onkar onkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Please verify if this fix also addresses https://github.com/getsentry/eap-planning/issues/140.

@kylemumma kylemumma merged commit 402d0ee into master Jan 2, 2025
31 checks passed
kylemumma added a commit that referenced this pull request Jan 2, 2025
There is an index out of range error with filter offset when the
attribute results are empty. This PR solves this bug.
The new test `test_empty_results` failed before (due to the bug), and
now passes

here is the sentry issue it fixes:
https://sentry.sentry.io/issues/6189483746/?project=300688&query=is%3Aunresolved%20issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&sort=date&statsPeriod=1h&stream_index=8

and it also closes this ticket
getsentry/eap-planning#138
@kylemumma kylemumma deleted the krm/filteroffsetbug branch January 2, 2025 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants