Skip to content

docs(crons): Add rufus-scheduler setup for Ruby - #19789

Merged
dingsdax merged 13 commits into
masterfrom
danf/ruby-rufus-crons-docs
Nov 5, 2026
Merged

dingsdax merged 13 commits into
masterfrom
danf/ruby-rufus-crons-docs

Conversation

@wedamija

@wedamija wedamija commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

Adds a rufus-scheduler section to the Ruby Crons setup page: how to enable the :rufus_scheduler patch, how slugs are picked, which jobs get a monitor config, and how to skip a job.

The integration ships in the next sentry-ruby release.

SDK PR: getsentry/sentry-ruby#3110

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
develop-docs Ready Ready Preview Nov 5, 2026 3:48pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-docs Ignored Ignored Preview Nov 5, 2026 3:48pm UTC

Request Review

wedamija and others added 2 commits October 5, 2026 12:17
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
The SDK now converts `L` and `#` cron fields, so they no longer belong
in the list of schedules sent without a monitor config.

Co-Authored-By: Claude <noreply@anthropic.com>
@cursor

cursor Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Services awaiting deployment · Rollout details

Warning

Rollouts can't watch this change after it deploys: every data source for this team needs to be signed in again, so a check has no telemetry to read. Sign in to your data sources, or ask a team admin to.

Status Service Environment
⚪ Not deployed yet sentry-docs

Mention @rollout in a comment to update the plan.

@linear-code

linear-code Bot commented Oct 21, 2026

Copy link
Copy Markdown

RUBY-233

wedamija added a commit to getsentry/sentry-ruby that referenced this pull request Oct 21, 2026
Part of a series that sends Crons monitor configs from Ruby schedulers. Check-ins for a monitor that does not exist yet are dropped, so today every monitor has to be created by hand with its schedule copied from the code. Sending the schedule lets Sentry create the monitor and keep it in sync.

This adds an opt-in patch for rufus-scheduler:

```ruby
config.enabled_patches << :rufus_scheduler
```

`cron` and `every` jobs send in-progress and ok/error check-ins, with the job's schedule as the monitor config.

- The slug is the job's `name:`, or the handler's class or method. Unnamed blocks aren't monitored, and `sentry_monitor: false` opts a job out.
- `interval` jobs and schedules Sentry can't represent check in without a config. One-off `in` and `at` jobs aren't monitored.
- Errors still reach rufus's `on_error`.

Stacked on #3141. The lockfile changes only add `rufus-scheduler` as a dev dependency.

Docs: getsentry/sentry-docs#19789
@wedamija
wedamija marked this pull request as draft October 23, 2026 21:12
Comment thread platform-includes/crons/setup/ruby.mdx Resolved
@wedamija
wedamija marked this pull request as ready for review October 29, 2026 18:26
@github-actions

Copy link
Copy Markdown
Contributor

Please update the IS YOUR CHANGE URGENT? section of the PR description:

  • Select exactly one option.
  • If you selected an urgent or other deadline, provide the date as YYYY-MM-DD.

This information helps the Docs team prioritize your review.

wedamija and others added 2 commits November 4, 2026 19:29
Adds a Solid Queue section to the Ruby Crons setup page: how to enable
the `:solid_queue_recurring` patch, how slugs come from task keys, which
schedules get a monitor config, and an example `config/recurring.yml`.

The integration ships in the next sentry-ruby release.

SDK PR: getsentry/sentry-ruby#3140

Stacked on #19789

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Johannes Daxböck <johannes.daxboeck@sentry.io>
@dingsdax
dingsdax merged commit 42f21d5 into master Nov 5, 2026
28 checks passed
@dingsdax
dingsdax deleted the danf/ruby-rufus-crons-docs branch November 5, 2026 17:58

This branch was successfully deployed

2 active (1 outdated) deployments
Preview – develop-docs — 22536f1b Deployed Nov 5, 2026 by vercel[bot]
Preview – sentry-docs — 5bdca942 Deployed Nov 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Needs Triage The PR description is missing valid priority information

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants