Flaky test: tests/sentry/api/endpoints/test_organization_ai_conversations.py::OrganizationAIConversationsEndpointTest::test_tool_names_populated
- 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_tool_names_populated`
Sentry sha: 4a80dec864917198998a489a30e28e2fbdcef252
Run: https://github.com/getsentry/sentry/actions/runs/22426767687
```
[1m[31mtests/sentry/api/endpoints/test_organization_ai_conversations.py[0m:1084: in test_tool_names_populated
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_tool_names_populated and compare the failure with the recorded GitHub Actions run. Trace why the response contains no items; done means the test reliably returns the expected populated 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
- Needs clarification
- Newbie friendliness
- 25/100