Skip to content

fix(seer): Check quotas before starting seer scanner task #93403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 12, 2025

Conversation

roaga
Copy link
Member

@roaga roaga commented Jun 12, 2025

Checks for available quota before starting the seer scanner task in order to reduce task volume. Billing team has made changes to the quotas endpoint to be prepared for the volume.

Also sets default for scanner automation setting to False to manage volume further.

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

codecov bot commented Jun 12, 2025

Codecov Report

Attention: Patch coverage is 93.10345% with 2 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 85.71% 1 Missing ⚠️
src/sentry/seer/issue_summary.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #93403      +/-   ##
==========================================
+ Coverage   84.34%   88.00%   +3.66%     
==========================================
  Files       10288    10291       +3     
  Lines      593175   593523     +348     
  Branches    23031    23031              
==========================================
+ Hits       500301   522329   +22028     
+ Misses      92442    70762   -21680     
  Partials      432      432              

@roaga roaga marked this pull request as ready for review June 12, 2025 17:24
@roaga roaga requested review from a team as code owners June 12, 2025 17:24
@roaga roaga marked this pull request as draft June 12, 2025 20:10
@roaga roaga marked this pull request as ready for review June 12, 2025 22:23
@roaga roaga merged commit 442c014 into master Jun 12, 2025
64 checks passed
@roaga roaga deleted the seer/quotas-check-before-scanner branch June 12, 2025 22:25
Copy link

sentry-io bot commented Jun 15, 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: OperationalError('server closed the connection unexpectedly\n\tThis probably means the server terminated abnormally\n\tbefore or while processing the request.\n') sentry.tasks.post_process.post_process_group View Issue

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

billyvg pushed a commit that referenced this pull request Jun 18, 2025
Checks for available quota before starting the seer scanner task in
order to reduce task volume. Billing team has made changes to the quotas
endpoint to be prepared for the volume.

Also sets default for scanner automation setting to False to manage
volume further.
andrewshie-sentry pushed a commit that referenced this pull request Jun 19, 2025
Checks for available quota before starting the seer scanner task in
order to reduce task volume. Billing team has made changes to the quotas
endpoint to be prepared for the volume.

Also sets default for scanner automation setting to False to manage
volume further.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants