Skip to content

feat(crons): Start dual writing DataSource and Detector rows for crons #97542

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

Open
wants to merge 2 commits into
base: danf/crons-data-source-handler
Choose a base branch
from

Conversation

wedamija
Copy link
Member

@wedamija wedamija commented Aug 8, 2025

We want to have these rows available so that we can start linking crons to workflows.

@wedamija wedamija requested a review from a team August 8, 2025 23:17
@wedamija wedamija requested a review from a team as a code owner August 8, 2025 23:17
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Aug 8, 2025
@@ -383,3 +389,24 @@ def update_issue_alert_rule(
)

return issue_alert_rule.id


def ensure_cron_detector(monitor: Monitor):
Copy link
Member Author

Choose a reason for hiding this comment

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

I don't feel like much can go wrong here, but if we want to be more cautious we could put this creation behind a flag.

…crons

We want to have these rows available so that we can start linking crons to workflows.
@wedamija wedamija force-pushed the danf/crons-write-detector branch from a37d0c5 to aada4a3 Compare August 9, 2025 00:01
@wedamija wedamija changed the base branch from master to danf/crons-data-source-handler August 9, 2025 00:01
Copy link

codecov bot commented Aug 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                       @@
##           danf/crons-data-source-handler   #97542   +/-   ##
===============================================================
  Coverage                           80.62%   80.62%           
===============================================================
  Files                                8560     8560           
  Lines                              376917   376933   +16     
  Branches                            24538    24538           
===============================================================
+ Hits                               303889   303916   +27     
+ Misses                              72658    72647   -11     
  Partials                              370      370           

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.

1 participant