getsentry / getsentry/sentry

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

Open
#108,638 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_top_ai_labels_by_feedback_count`
Sentry sha: 0d5451c31105a61daec985b5eb8d97ba64935fbf
Run: https://github.com/getsentry/sentry/actions/runs/22207223071

```
tests/sentry/feedback/lib/test_label_query.py:103: in test_query_top_ai_labels_by_feedback_count
assert result[0]["label"] == "User Interface"
E AssertionError: assert 'Performance' == 'User Interface'
E 
E - User Interface
E + Performance
```

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.