getsentry / getsentry/sentry

Flaky test: tests/sentry/feedback/lib/test_label_query.py::TestLabelQuery::test_query_recent_feedbacks_with_ai_labels

Open
#109,450 1 comment 0 reactions 0 assignees View on GitHub
flaky-test Tests
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
21h 10m
Merged PRs (30d)
635

Description

Failing test: `tests/sentry/feedback/lib/test_label_query.py::TestLabelQuery::test_query_recent_feedbacks_with_ai_labels`
Sentry sha: 4a80dec864917198998a489a30e28e2fbdcef252
Run: https://github.com/getsentry/sentry/actions/runs/22426765176

```
tests/sentry/feedback/lib/test_label_query.py:150: in test_query_recent_feedbacks_with_ai_labels
assert result[0] == {
E IndexError: list index out of range
```

Contributor guide

Open the contributing guide

Research direction

Start with tests/sentry/feedback/lib/test_label_query.py::TestLabelQuery::test_query_recent_feedbacks_with_ai_labels and reproduce the failure using the referenced Sentry commit or Actions run. Trace why the query returns an empty list at the failing assertion, then verify the test passes reliably without the IndexError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.