Skip to content

ref(uptime): Simplify consumer with one-to-one proj_sub <-> sub #90202

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

Conversation

evanpurkhiser
Copy link
Member

This merges the handle_result_for_project into handler_result, since we
can now assume there's a single ProjectUptimeSubscription for every
UptimeSubscription, thus we don't need to fan out

@evanpurkhiser evanpurkhiser requested a review from a team as a code owner April 23, 2025 18:28
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 23, 2025
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/ref-uptime-simplify-consumer-with-one-to-one-proj-sub-sub branch 2 times, most recently from 972d425 to cb30a89 Compare April 23, 2025 18:30
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/ref-uptime-simplify-consumer-with-one-to-one-proj-sub-sub branch from cb30a89 to e587bb2 Compare April 23, 2025 18:50
Copy link

codecov bot commented Apr 23, 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   #90202   +/-   ##
=======================================
  Coverage   87.72%   87.72%           
=======================================
  Files       10248    10248           
  Lines      578596   578586   -10     
  Branches    22696    22696           
=======================================
- Hits       507595   507592    -3     
+ Misses      70558    70551    -7     
  Partials      443      443           

This merges the handle_result_for_project into handler_result, since we
can now assume there's a single ProjectUptimeSubscription for every
UptimeSubscription, thus we don't need to fan out
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/ref-uptime-simplify-consumer-with-one-to-one-proj-sub-sub branch from e587bb2 to 4fc5906 Compare April 23, 2025 19:19
@evanpurkhiser evanpurkhiser merged commit c5802df into master Apr 23, 2025
64 checks passed
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/ref-uptime-simplify-consumer-with-one-to-one-proj-sub-sub branch April 23, 2025 20:49
Copy link

sentry-io bot commented Apr 23, 2025

Suspect Issues

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

  • ‼️ ProjectUptimeSubscription.DoesNotExist: ProjectUptimeSubscription matching query does not exist. monitors.uptime.result_consumer View Issue

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

@evanpurkhiser evanpurkhiser added the Trigger: Revert Add to a merged PR to revert it (skips CI) label Apr 23, 2025
@getsentry-bot
Copy link
Contributor

PR reverted: f08b664

getsentry-bot added a commit that referenced this pull request Apr 23, 2025
…ub (#90202)"

This reverts commit c5802df.

Co-authored-by: evanpurkhiser <1421724+evanpurkhiser@users.noreply.github.com>
@github-actions github-actions bot locked and limited conversation to collaborators May 9, 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 Trigger: Revert Add to a merged PR to revert it (skips CI)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants