Skip to content

Conversation

@wedamija
Copy link
Member

@wedamija wedamija commented May 9, 2025

We have a runbook script that we want to be able to use to force all regions to recheck and update. We don't need these probabalistic checks there, or anywhere else, so just moving them up to where we call the function instead.

@wedamija wedamija requested a review from a team as a code owner May 9, 2025 21:41
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label May 9, 2025
@wedamija wedamija enabled auto-merge (squash) May 9, 2025 21:42
…stic check up a level.

We have a runbook script that we want to be able to use to force all regions to recheck and update. We don't need these probabalistic checks there, or anywhere else, so just moving them up to where we call the function instead.
@wedamija wedamija force-pushed the danf/uptime-force-region-update branch from 58555df to 87a2b64 Compare May 9, 2025 22:11
@wedamija wedamija changed the title feat(uptime): Allow us to force updating a region feat(uptime): Rework try_check_and_update_regions to move probabalistic check up a level. May 9, 2025
@codecov
Copy link

codecov bot commented May 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #91395   +/-   ##
=======================================
  Coverage   87.64%   87.64%           
=======================================
  Files       10314    10314           
  Lines      586080   586067   -13     
  Branches    22602    22602           
=======================================
- Hits       513644   513635    -9     
+ Misses      72008    72004    -4     
  Partials      428      428           

@wedamija wedamija merged commit a9a50a4 into master May 12, 2025
60 checks passed
@wedamija wedamija deleted the danf/uptime-force-region-update branch May 12, 2025 18:04
andrewshie-sentry pushed a commit that referenced this pull request May 12, 2025
We have a runbook script that we want to be able to use to force all
regions to recheck and update. Adding this parameter to support that.

<!-- Describe your PR here. -->
@sentry
Copy link

sentry bot commented May 20, 2025

Suspect Issues

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

  • ‼️ IntegrityError: insert or update on table "uptime_uptimesubscriptionregion" violates foreign key constraint "uptime_uptimesubscri_uptime_subscription__deb3e935_fk_uptime_up" monitors.uptime.result_consumer View Issue

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

@github-actions github-actions bot locked and limited conversation to collaborators Jun 4, 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