Flaky test: tests/sentry/sentry_apps/tasks/test_sentry_apps.py::TestInstallationWebhook::test_gracefully_handles_missing_user
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/sentry_apps/tasks/test_sentry_apps.py::TestInstallationWebhook::test_gracefully_handles_missing_user`
Sentry sha: 7ff1be947968f2335a896cb228819f332e9b2035
Run: https://github.com/getsentry/sentry/actions/runs/22292662167
```
[1m[31mtests/sentry/sentry_apps/tasks/test_sentry_apps.py[0m:1434: in test_gracefully_handles_missing_user
assert len(responses.calls) == 0
[1m[31mE assert 1 == 0[0m
[1m[31mE + where 1 = len()[0m
[1m[31mE + where = responses.calls[0m
```
Contributor guide
Research direction
Start with tests/sentry/sentry_apps/tasks/test_sentry_apps.py::TestInstallationWebhook::test_gracefully_handles_missing_user and the linked CI run to reproduce the failure. Inspect why responses.calls contains one request when the test expects none; done means the test reliably passes without unexpected calls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100