getsentry / getsentry/sentry

Flaky test: tests/sentry/uptime/endpoints/test_organization_uptime_stats.py::OrganizationUptimeStatsEndpointWithEAPTests::test_missing_ok_checks_around_downtime

Open
#108,635 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/uptime/endpoints/test_organization_uptime_stats.py::OrganizationUptimeStatsEndpointWithEAPTests::test_missing_ok_checks_around_downtime`
Sentry sha: 0d5451c31105a61daec985b5eb8d97ba64935fbf
Run: https://github.com/getsentry/sentry/actions/runs/22207223071

```
tests/sentry/uptime/endpoints/test_organization_uptime_stats.py:284: in test_missing_ok_checks_around_downtime
timeline = data[str(detector.id)]
E KeyError: '241'
```

Contributor guide

Open the contributing guide

Research direction

Start with tests/sentry/uptime/endpoints/test_organization_uptime_stats.py, especially test_missing_ok_checks_around_downtime at the reported failure, and review the linked GitHub Actions run for reproduction details. Determine why the timeline lacks detector 241 and make the test reliable, then rerun the focused test to confirm it passes consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend, testing
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.