Skip to content

fix(core): Pass in cron monitor config correctly #12248

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 1 commit into from
May 28, 2024

Conversation

AbhiPrasad
Copy link
Member

Fixes #12217

Make sure failure_issue_threshold and recovery_threshold get passed in correctly.

Copy link
Contributor

size-limit report 📦

Path Size
@sentry/browser 21.78 KB (0%)
@sentry/browser (incl. Tracing) 32.79 KB (0%)
@sentry/browser (incl. Tracing, Replay) 68.26 KB (0%)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 61.68 KB (0%)
@sentry/browser (incl. Tracing, Replay with Canvas) 72.31 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback) 84.37 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 85.84 KB (0%)
@sentry/browser (incl. metrics) 23.17 KB (0%)
@sentry/browser (incl. Feedback) 37.8 KB (0%)
@sentry/browser (incl. sendFeedback) 26.36 KB (0%)
@sentry/browser (incl. FeedbackAsync) 30.79 KB (0%)
@sentry/react 24.5 KB (+0.11% 🔺)
@sentry/react (incl. Tracing) 35.81 KB (+0.08% 🔺)
@sentry/vue 25.73 KB (0%)
@sentry/vue (incl. Tracing) 34.59 KB (0%)
@sentry/svelte 21.92 KB (0%)
CDN Bundle 23.01 KB (0%)
CDN Bundle (incl. Tracing) 34.27 KB (0%)
CDN Bundle (incl. Tracing, Replay) 68.08 KB (0%)
CDN Bundle (incl. Tracing, Replay, Feedback) 73.09 KB (0%)
CDN Bundle - uncompressed 67.88 KB (0%)
CDN Bundle (incl. Tracing) - uncompressed 101.68 KB (0%)
CDN Bundle (incl. Tracing, Replay) - uncompressed 211.58 KB (0%)
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 223.96 KB (0%)
@sentry/nextjs (client) 35.14 KB (0%)
@sentry/sveltekit (client) 33.39 KB (0%)
@sentry/node 114.67 KB (+0.04% 🔺)
@sentry/aws-serverless 103.36 KB (+0.04% 🔺)

Comment on lines -87 to -89
failure_issue_threshold?: number;
failureIssueThreshold?: SerializedMonitorConfig['failure_issue_threshold'];
// How many consecutive OK check-ins it takes to resolve an issue.
recovery_threshold?: number;
Copy link
Member Author

Choose a reason for hiding this comment

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

Although this is technically a breaking change, these values were not used for anything, and are incorrect format, so I'm fine with removing them (they were also not documented anywhere - I opened getsentry/sentry-docs#10168 to document this PR).

@AbhiPrasad AbhiPrasad enabled auto-merge (squash) May 28, 2024 13:27
@AbhiPrasad AbhiPrasad merged commit cd97287 into develop May 28, 2024
105 checks passed
@AbhiPrasad AbhiPrasad deleted the abhi-cron-new-fields branch May 28, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The failure_issue_threshold does not take effect
2 participants