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

fix(node): Fix cron instrumentation and add tests #11811

Merged
merged 5 commits into from May 7, 2024
Merged

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Apr 26, 2024

Closes #11766

These tests are also in TypeScript so they check the types too.

I found that two out of three cron libraries were actually swallowing exceptions so that they were not captured by Sentry. I added calls to captureException to rectify that.

@timfish timfish marked this pull request as ready for review April 29, 2024 16:18
@timfish timfish requested a review from s1gr1d May 1, 2024 09:20
Copy link
Member

@s1gr1d s1gr1d left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this bug 💯

@mydea mydea merged commit 55d41f7 into develop May 7, 2024
96 checks passed
@mydea mydea deleted the timfish/cron-tests branch May 7, 2024 15:01
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.

node-cron and node-schedule fire checkin only on app start
3 participants