Skip to content

Conversation

roaga
Copy link
Member

@roaga roaga commented Jun 16, 2025

Adds a rate limit for starting seer scanner tasks (default 1000 per hour per project) to prevent surprise bills.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 16, 2025
Copy link

codecov bot commented Jun 16, 2025

Codecov Report

Attention: Patch coverage is 87.50000% with 9 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...try/integrations/utils/issue_summary_for_alerts.py 50.00% 3 Missing ⚠️
src/sentry/seer/issue_summary.py 57.14% 3 Missing ⚠️
src/sentry/tasks/post_process.py 50.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #93652      +/-   ##
==========================================
- Coverage   88.05%   88.01%   -0.04%     
==========================================
  Files       10328    10328              
  Lines      597122   595732    -1390     
  Branches    23141    23141              
==========================================
- Hits       525778   524323    -1455     
- Misses      70851    70916      +65     
  Partials      493      493              

@roaga roaga marked this pull request as ready for review June 16, 2025 21:16
@roaga roaga requested review from a team as code owners June 16, 2025 21:16
@roaga roaga merged commit fee4002 into master Jun 16, 2025
63 checks passed
@roaga roaga deleted the seer/scanner-rate-limit branch June 16, 2025 22:01
Copy link

sentry-io bot commented Jun 17, 2025

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ OperationalError: connection to server at "127.0.0.1", port 6432 failed: FATAL: no more connections allowed (max_client_conn) digests:sentry.tasks.digests.deliver_digest View Issue
  • ‼️ OperationalError: connection to server at "127.0.0.1", port 6432 failed: FATAL: no more connections allowed (max_client_conn) digests:sentry.tasks.digests.deliver_digest View Issue

Did you find this useful? React with a 👍 or 👎

billyvg pushed a commit that referenced this pull request Jun 18, 2025
Adds a rate limit for starting seer scanner tasks (default 1000 per hour
per project) to prevent surprise bills.
andrewshie-sentry pushed a commit that referenced this pull request Jun 19, 2025
Adds a rate limit for starting seer scanner tasks (default 1000 per hour
per project) to prevent surprise bills.
@github-actions github-actions bot locked and limited conversation to collaborators Jul 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants