getsentry / getsentry/sentry

Flaky test: tests/sentry/api/endpoints/test_organization_ai_conversations.py::OrganizationAIConversationsEndpointTest::test_new_format_priority_over_old_format

Open
#109,440 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/api/endpoints/test_organization_ai_conversations.py::OrganizationAIConversationsEndpointTest::test_new_format_priority_over_old_format`
Sentry sha: 4a80dec864917198998a489a30e28e2fbdcef252
Run: https://github.com/getsentry/sentry/actions/runs/22426768098

```
tests/sentry/api/endpoints/test_organization_ai_conversations.py:977: in test_new_format_priority_over_old_format
assert len(response.data) == 1
E assert 0 == 1
E + where 0 = len([])
E + where [] = .data
```

Contributor guide

Open the contributing guide

Research direction

Start with tests/sentry/api/endpoints/test_organization_ai_conversations.py::OrganizationAIConversationsEndpointTest::test_new_format_priority_over_old_format and reproduce the failure from the linked Actions run. Inspect why response.data is empty despite the expected result, then make the test pass reliably while preserving the new-format priority behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
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.