Flaky test: tests/sentry/api/helpers/test_group_index.py::MergeGroupsTest::test_metrics
Open
Nobody has claimed this yet.
flaky-test
Tests
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 23m
- Merged PRs (30d)
- 607
Description
Failing test: tests/sentry/api/helpers/test_group_index.py::MergeGroupsTest::test_metrics
Sentry sha: ca860f9c94028d730c6c41f914221b3bb1f4059c
Run: https://github.com/getsentry/sentry/actions/runs/22268328495
[1m[31mtests/sentry/api/helpers/test_group_index.py[0m:586: in test_metrics
mock_metrics_incr.assert_any_call(
[1m[31m/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/unittest/mock.py[0m:1048: in assert_any_call
raise AssertionError(
[1m[31mE AssertionError: incr('grouping.merge_issues', sample_rate=1.0, tags={'platform': 'javascript', 'referer': 'issue stream', 'sdk': 'sentry.javascript.nextjs'}) call not found[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 with tests/sentry/api/helpers/test_group_index.py::MergeGroupsTest::test_metrics and the linked GitHub Actions run at SHA ca860f9c94028d730c6c41f914221b3bb1f4059c. Reproduce the failure and determine why the expected grouping.merge_issues metrics call is missing; done means the test passes reliably.
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