Flaky test: tests/sentry/api/endpoints/test_organization_ai_conversations.py::OrganizationAIConversationsEndpointTest::test_conversation_with_user_data
- 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_conversation_with_user_data`
Sentry sha: 4a80dec864917198998a489a30e28e2fbdcef252
Run: https://github.com/getsentry/sentry/actions/runs/22426765699
```
[1m[31mtests/sentry/api/endpoints/test_organization_ai_conversations.py[0m:793: in test_conversation_with_user_data
assert conversation["user"]["id"] == "user-123"
[1m[31mE AssertionError: assert 'user-456' == 'user-123'[0m
[1m[31mE [0m
[1m[31mE - user-123[0m
[1m[31mE + user-456[0m
```
Contributor guide
Research direction
Start with tests/sentry/api/endpoints/test_organization_ai_conversations.py::OrganizationAIConversationsEndpointTest::test_conversation_with_user_data and review the failure from the linked GitHub Actions run. Trace why the returned user id varies between user-123 and user-456, then ensure the test is deterministic and passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100