getsentry / getsentry/sentry

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

Open
#109,448 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

flaky-test Tests
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
21h 23m
Merged PRs (30d)
607

Description

Failing test: tests/sentry/api/endpoints/test_organization_ai_conversations.py::OrganizationAIConversationsEndpointTest::test_new_format_parts_structure
Sentry sha: 4a80dec864917198998a489a30e28e2fbdcef252
Run: https://github.com/getsentry/sentry/actions/runs/22426768603

tests/sentry/api/endpoints/test_organization_ai_conversations.py:1024: in test_new_format_parts_structure
    assert len(response.data) == 1
E   assert 0 == 1
E    +  where 0 = len([])
E    +    where [] = <Response status_code=200, "application/json">.data

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running tests/sentry/api/endpoints/test_organization_ai_conversations.py::OrganizationAIConversationsEndpointTest::test_new_format_parts_structure and inspect the setup and response around the assertion at line 1024. The work is done when the test consistently returns the expected single item instead of an empty response.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.