getsentry / getsentry/sentry

Flaky test: tests/sentry/integrations/github/tasks/test_link_all_repos.py::LinkAllReposTestCase::test_link_all_repos

Open
#108,941 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/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

```
tests/sentry/integrations/github/tasks/test_link_all_repos.py:81: in test_link_all_repos
assert repos[0].name == "getsentry/sentry"
E AssertionError: assert 'getsentry/snuba' == 'getsentry/sentry'
E 
E - getsentry/sentry
E ? - ^^^
E + getsentry/snuba
E ? ^^^
```

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.