Flaky test: tests/sentry/api/endpoints/test_organization_ai_conversations.py::OrganizationAIConversationsEndpointTest::test_new_format_priority_over_old_format
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/api/endpoints/test_organization_ai_conversations.py::OrganizationAIConversationsEndpointTest::test_new_format_priority_over_old_format`
Sentry sha: abdb2eeccb973e9b33600d0fb95e18b12b995415
Run: https://github.com/getsentry/sentry/actions/runs/22208448055
```
[1m[31mtests/sentry/api/endpoints/test_organization_ai_conversations.py[0m:977: in test_new_format_priority_over_old_format
assert len(response.data) == 1
[1m[31mE assert 0 == 1[0m
[1m[31mE + where 0 = len([])[0m
[1m[31mE + where [] = .data[0m
```
Contributor guide
Research direction
Start by running tests/sentry/api/endpoints/test_organization_ai_conversations.py::OrganizationAIConversationsEndpointTest::test_new_format_priority_over_old_format and review the failure from the linked GitHub Actions run. Investigate why response.data is empty instead of containing one item, then verify the test passes reliably without losing its expected new-format priority behavior.
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