getsentry / getsentry/sentry

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

Open
#108,770 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

flaky-test Tests
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

tests/sentry/feedback/lib/test_label_query.py:140: in test_query_recent_feedbacks_with_ai_labels
    assert result[0] == {
E   AssertionError: assert {'feedback': ..., 'Security']} == {'feedback': ...Performance']}
E     
E     Differing items:
E     {'labels': ['Authentication', 'Security']} != {'labels': ['Performance']}
E     {'feedback': 'b'} != {'feedback': 'The app crashes frequently when loading data'}
E     
E     Full diff:
E       {
E     -     'feedback': 'The app crashes frequently when loading data',
E     +     'feedback': 'b',
E           'labels': [
E     -         'Performance',
E     +         'Authentication',
E     +         'Security',
E           ],
E       }

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.