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

Try harder to generate a slug for a cron monitor #977

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

stayallive
Copy link
Collaborator

Feedback from Laracon EU: We should have enough data to generate a slug for a scheduled job cron. So this PR tries a bit harder to generate something meaningful.

For job classes we reverse it to get the most interesting part of the name (the actual class name) in the front.

Also added a limit on our side to prevent jobs being not accepted (correctly) by sentry if the slug needs to be truncated. Current limit is 128.

@stayallive stayallive merged commit 9d7a34b into master Feb 5, 2025
27 checks passed
@stayallive stayallive deleted the scheduled-job-slug branch February 5, 2025 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants