Flaky test: tests/sentry/feedback/lib/test_label_query.py::TestLabelQuery::test_query_recent_feedbacks_with_ai_labels
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 23m
- Merged PRs (30d)
- 607
Description
Failing test: tests/sentry/feedback/lib/test_label_query.py::TestLabelQuery::test_query_recent_feedbacks_with_ai_labels
Sentry sha: 02e8ded902342f5b18db32c91f8f4f174afc4551
Run: https://github.com/getsentry/sentry/actions/runs/22243448533
[1m[31mtests/sentry/feedback/lib/test_label_query.py[0m:140: in test_query_recent_feedbacks_with_ai_labels
assert result[0] == {
[1m[31mE AssertionError: assert {'feedback': ..., 'Security']} == {'feedback': ...Performance']}[0m
[1m[31mE [0m
[1m[31mE Differing items:[0m
[1m[31mE {'labels': ['Authentication', 'Security']} != {'labels': ['Performance']}[0m
[1m[31mE {'feedback': 'b'} != {'feedback': 'The app crashes frequently when loading data'}[0m
[1m[31mE [0m
[1m[31mE Full diff:[0m
[1m[31mE {[0m
[1m[31mE - 'feedback': 'The app crashes frequently when loading data',[0m
[1m[31mE + 'feedback': 'b',[0m
[1m[31mE 'labels': [[0m
[1m[31mE - 'Performance',[0m
[1m[31mE + 'Authentication',[0m
[1m[31mE + 'Security',[0m
[1m[31mE ],[0m
[1m[31mE }[0m
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with tests/sentry/feedback/lib/test_label_query.py::TestLabelQuery::test_query_recent_feedbacks_with_ai_labels and the failure from GitHub Actions run 22243448533. Reproduce the test at Sentry sha 02e8ded902342f5b18db32c91f8f4f174afc4551, then determine why the returned feedback and labels differ from the assertion. Done means the test is deterministic and passes with the intended result.
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
- 35/100