getsentry / getsentry/sentry

Flaky test: tests/sentry/tasks/test_post_process.py::PostProcessGroupErrorTest::test_issue_owners_should_ratelimit

Open
#108,767 1 comment 0 reactions 0 assignees View on GitHub

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/tasks/test_post_process.py::PostProcessGroupErrorTest::test_issue_owners_should_ratelimit
Sentry sha: 02e8ded902342f5b18db32c91f8f4f174afc4551
Run: https://github.com/getsentry/sentry/actions/runs/22243431580

tests/sentry/tasks/test_post_process.py:1490: in test_issue_owners_should_ratelimit
    mock_incr.assert_any_call(
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/unittest/mock.py:1048: in assert_any_call
    raise AssertionError(
E   AssertionError: incr('sentry.task.post_process.handle_owner_assignment.ratelimited') call not found

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with tests/sentry/tasks/test_post_process.py::PostProcessGroupErrorTest::test_issue_owners_should_ratelimit and review the failure from the linked GitHub Actions run. Reproduce the test and inspect why the expected ratelimit metric call is not consistently recorded. Done means the test passes reliably and still verifies the intended metric call.

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.