Flaky test: tests/sentry/preprod/api/endpoints/test_organization_preprod_list_builds.py::OrganizationPreprodListBuildsEndpointTest::test_list_builds_search_by_build_id
- 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
```
[1m[31mtests/sentry/preprod/api/endpoints/test_organization_preprod_list_builds.py[0m:367: in test_list_builds_search_by_build_id
assert len(builds) == 1
[1m[31mE AssertionError: assert 4 == 1[0m
[1m[31mE + 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}, ...}])[0m
```
Contributor 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