getsentry / getsentry/sentry

Flaky test: tests/sentry/sentry_apps/tasks/test_sentry_apps.py::TestInstallationWebhook::test_gracefully_handles_missing_user

Open
#108,980 1 comment 0 reactions 0 assignees View on GitHub
flaky-test
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

```
tests/sentry/sentry_apps/tasks/test_sentry_apps.py:1434: in test_gracefully_handles_missing_user
assert len(responses.calls) == 0
E assert 1 == 0
E + where 1 = len()
E + where = responses.calls
```

Contributor guide

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.