Flaky test: tests/sentry/feedback/endpoints/test_organization_feedback_categories.py::OrganizationFeedbackCategoriesTest::test_fallback_to_primary_labels_when_below_threshold
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/feedback/endpoints/test_organization_feedback_categories.py::OrganizationFeedbackCategoriesTest::test_fallback_to_primary_labels_when_below_threshold`
Sentry sha: 4a80dec864917198998a489a30e28e2fbdcef252
Run: https://github.com/getsentry/sentry/actions/runs/22426766205
```
[1m[31mtests/sentry/feedback/endpoints/test_organization_feedback_categories.py[0m:252: in test_fallback_to_primary_labels_when_below_threshold
response = self.get_success_response(self.org.slug)
[1m[31msrc/sentry/testutils/cases.py[0m:628: in get_success_response
assert_status_code(response, status.HTTP_200_OK)
[1m[31msrc/sentry/testutils/asserts.py[0m:47: in assert_status_code
assert minimum <= response.status_code < maximum, (
[1m[31mE AssertionError: (500, b'{"detail":"Internal Error","errorId":null}')[0m
[1m[31mE assert 500 < 201[0m
[1m[31mE + where 500 = .status_code[0m
```
Contributor guide
Research direction
Start by running tests/sentry/feedback/endpoints/test_organization_feedback_categories.py::OrganizationFeedbackCategoriesTest::test_fallback_to_primary_labels_when_below_threshold at Sentry sha 4a80dec864917198998a489a30e28e2fbdcef252 and compare the failure with the linked Actions run. Trace the 500 response from get_success_response and confirm the test consistently returns HTTP 200 with the primary-label fallback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100