getsentry / getsentry/sentry

Flaky test: tests/sentry/preprod/api/endpoints/test_organization_preprod_list_builds.py::OrganizationPreprodListBuildsEndpointTest::test_list_builds_search_by_build_id

Open
#108,637 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/preprod/api/endpoints/test_organization_preprod_list_builds.py::OrganizationPreprodListBuildsEndpointTest::test_list_builds_search_by_build_id`
Sentry sha: 0d5451c31105a61daec985b5eb8d97ba64935fbf
Run: https://github.com/getsentry/sentry/actions/runs/22207223071

```
tests/sentry/preprod/api/endpoints/test_organization_preprod_list_builds.py:367: in test_list_builds_search_by_build_id
assert len(builds) == 1
E AssertionError: assert 4 == 1
E + where 4 = len([{'app_info': {'android_app_info': {'has_proguard_mapping': True}, 'app_icon_id': None, 'app_id': 'com.example.app4', ...ase_build_info': None, 'distribution_info': {'download_count': 0, 'is_installable': True, 'release_notes': None}, ...}])
```

Contributor guide

Open the contributing guide

Research direction

Start with tests/sentry/preprod/api/endpoints/test_organization_preprod_list_builds.py::OrganizationPreprodListBuildsEndpointTest::test_list_builds_search_by_build_id and the failure at line 367. Run the test using the referenced Sentry SHA or workflow, then trace why the search returns four builds instead of one; done means the test reliably passes with one matching build.

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
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.