Flaky test: tests/sentry/feedback/lib/test_label_query.py::TestLabelQuery::test_query_top_ai_labels_by_feedback_count
- 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_top_ai_labels_by_feedback_count`
Sentry sha: 0d5451c31105a61daec985b5eb8d97ba64935fbf
Run: https://github.com/getsentry/sentry/actions/runs/22207223071
```
[1m[31mtests/sentry/feedback/lib/test_label_query.py[0m:103: in test_query_top_ai_labels_by_feedback_count
assert result[0]["label"] == "User Interface"
[1m[31mE AssertionError: assert 'Performance' == 'User Interface'[0m
[1m[31mE [0m
[1m[31mE - User Interface[0m
[1m[31mE + Performance[0m
```
Contributor guide
Research direction
Start with tests/sentry/feedback/lib/test_label_query.py, especially line 103 in TestLabelQuery::test_query_top_ai_labels_by_feedback_count, and run the test to reproduce the failure. Investigate why the result begins with "Performance" instead of "User Interface" and make the test outcome stable, then rerun the named test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100