Flaky test: tests/sentry/workflow_engine/endpoints/test_organization_detector_index.py::OrganizationDetectorIndexGetTest::test_sort_by_latest_group
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 23m
- Merged PRs (30d)
- 607
Description
Failing test: tests/sentry/workflow_engine/endpoints/test_organization_detector_index.py::OrganizationDetectorIndexGetTest::test_sort_by_latest_group
Sentry sha: 94d9d60db8e0e6f4937593247f1d6d178df1bcaa
Run: https://github.com/getsentry/sentry/actions/runs/22267328740
[1m[31mtests/sentry/workflow_engine/endpoints/test_organization_detector_index.py[0m:294: in test_sort_by_latest_group
assert [d["name"] for d in response.data] == [
[1m[31mE AssertionError: assert ['Detector 2'... 4 No Groups'] == ['Detector 2'... 4 No Groups'][0m
[1m[31mE [0m
[1m[31mE At index 3 diff: 'Issue Stream' != 'Error Monitor'[0m
[1m[31mE [0m
[1m[31mE Full diff:[0m
[1m[31mE [[0m
[1m[31mE 'Detector 2',[0m
[1m[31mE 'Detector 3',[0m
[1m[31mE 'Detector 1',[0m
[1m[31mE + 'Issue Stream',[0m
[1m[31mE 'Error Monitor',[0m
[1m[31mE - 'Issue Stream',[0m
[1m[31mE 'Detector 4 No Groups',[0m
[1m[31mE ][0m
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running tests/sentry/workflow_engine/endpoints/test_organization_detector_index.py::OrganizationDetectorIndexGetTest::test_sort_by_latest_group and read the assertion around line 294. Compare the expected order with the failing response, using the linked workflow run and Sentry SHA for context. Done means the test passes consistently with the intended detector ordering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100