Flaky test: tests/sentry/integrations/github/tasks/test_link_all_repos.py::LinkAllReposTestCase::test_link_all_repos
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/integrations/github/tasks/test_link_all_repos.py::LinkAllReposTestCase::test_link_all_repos`
Sentry sha: 06f4fc3ff37f1db5884793078c11b706fa99c8f3
Run: https://github.com/getsentry/sentry/actions/runs/22287687769
```
[1m[31mtests/sentry/integrations/github/tasks/test_link_all_repos.py[0m:81: in test_link_all_repos
assert repos[0].name == "getsentry/sentry"
[1m[31mE AssertionError: assert 'getsentry/snuba' == 'getsentry/sentry'[0m
[1m[31mE [0m
[1m[31mE - getsentry/sentry[0m
[1m[31mE ? - ^^^[0m
[1m[31mE + getsentry/snuba[0m
[1m[31mE ? ^^^[0m
```
Contributor guide
Research direction
Start with tests/sentry/integrations/github/tasks/test_link_all_repos.py and run LinkAllReposTestCase::test_link_all_repos, using the linked GitHub Actions run as the failure reference. Investigate why repos[0] is nondeterministically getsentry/snuba instead of getsentry/sentry. Done means the test reliably asserts the intended repository ordering or selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100