Skip to content
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

ref(crons): Move monitor dispatch code to monitors.tasks #54591

Conversation

evanpurkhiser
Copy link
Member

No description provided.

@evanpurkhiser evanpurkhiser requested a review from a team as a code owner August 10, 2023 21:18
@evanpurkhiser evanpurkhiser requested a review from a team August 10, 2023 21:18
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Aug 10, 2023
sdk: str


class ClockPulseMessage(TypedDict):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will be using this type in both the tasks and consumer, don't want an import cycle so it moves here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't see it in the tasks yet. future work?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep #54647

@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/ref-crons-move-monitor-dispatch-code-to-monitors-tasks branch from 2fb0f3f to e780652 Compare August 10, 2023 21:52
@codecov
Copy link

codecov bot commented Aug 10, 2023

Codecov Report

Merging #54591 (e780652) into master (68a3a56) will decrease coverage by 0.01%.
Report is 12 commits behind head on master.
The diff coverage is 91.80%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #54591      +/-   ##
==========================================
- Coverage   79.75%   79.74%   -0.01%     
==========================================
  Files        4994     4996       +2     
  Lines      212152   212195      +43     
  Branches    36161    36171      +10     
==========================================
+ Hits       169192   169218      +26     
- Misses      37751    37770      +19     
+ Partials     5209     5207       -2     
Files Changed Coverage Δ
src/sentry/monitors/tasks.py 81.52% <84.84%> (+1.52%) ⬆️
src/sentry/monitors/consumers/monitor_consumer.py 86.47% <100.00%> (-0.64%) ⬇️
src/sentry/monitors/types.py 100.00% <100.00%> (ø)

... and 13 files with indirect coverage changes

@evanpurkhiser evanpurkhiser merged commit 8cbf2dc into master Aug 11, 2023
56 checks passed
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/ref-crons-move-monitor-dispatch-code-to-monitors-tasks branch August 11, 2023 19:59
@github-actions github-actions bot locked and limited conversation to collaborators Aug 27, 2023
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.

2 participants