Skip to content

feat(crons): Add missing guides + consistency#104274

Merged
evanpurkhiser merged 1 commit intomasterfrom
evanpurkhiser/feat-crons-add-missing-guides-consistency
Dec 3, 2025
Merged

feat(crons): Add missing guides + consistency#104274
evanpurkhiser merged 1 commit intomasterfrom
evanpurkhiser/feat-crons-add-missing-guides-consistency

Conversation

@evanpurkhiser
Copy link
Copy Markdown
Member

@evanpurkhiser evanpurkhiser commented Dec 2, 2025

@evanpurkhiser evanpurkhiser requested a review from a team as a code owner December 2, 2025 20:54
@evanpurkhiser evanpurkhiser requested review from a team and removed request for a team December 2, 2025 20:54
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 2, 2025
@linear
Copy link
Copy Markdown

linear bot commented Dec 2, 2025

Comment on lines 26 to +48
CeleryBeatAutoDiscovery,
CLIUpsertPlatformGuide,
CurlUpsertPlatformGuide,
DenoUpsertPlatformGuide,
DotNetUpsertPlatformGuide,
ElixirObanPlatformGuide,
ElixirQuantumPlatformGuide,
ElixirUpsertPlatformGuide,
GoUpsertPlatformGuide,
JavaSpringBootUpsertPlatformGuide,
JavaUpsertPlatformGuide,
LaravelUpsertPlatformGuide,
NestJSUpsertPlatformGuide,
NextJSUpsertPlatformGuide,
NodeJsUpsertPlatformGuide,
PHPUpsertPlatformGuide,
PythonUpsertPlatformGuide,
RubyActiveJobPlatformGuide,
RubyRailsMixinPlatformGuide,
RubySidekiqAutoPlatformGuide,
RubySidekiqMixinPlatformGuide,
RubyUpsertPlatformGuide,
} from './quickStartEntries';
} from './upsertPlatformGuides';
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

These are what we added

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I moved the upsert guides out of here and into upsertPlatformGuides.tsx

Comment on lines 449 to +492
@@ -897,7 +474,7 @@ export function RubySidekiqCronQuickStart(props: QuickStartProps) {
const {slug} = withDefaultProps(props);

const mixinCode = `class ExampleJob
incude Sidekiq::Job
include Sidekiq::Job
include Sentry::Cron::MonitorCheckIns

# slug defaults to the job class name
@@ -909,10 +486,10 @@ export function RubySidekiqCronQuickStart(props: QuickStartProps) {
end`;

const customCode = `# define the monitor config with an interval
sentry_monitor_check_ins slug: '${slug}', monitor_config: Sentry::Cron::MonitorConfig.from_interval(1, :minute)
sentry_monitor_check_ins slug: '${slug}', monitor_config: Sentry::Cron::MonitorConfig.from_interval(10, :minute)

# define the monitor config with a crontab
sentry_monitor_check_ins slug: '${slug}', monitor_config: Sentry::Cron::MonitorConfig.from_crontab('5 * * * *')`;
sentry_monitor_check_ins slug: '${slug}', monitor_config: Sentry::Cron::MonitorConfig.from_crontab('*/10 * * * *')`;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Changes for consistency

@evanpurkhiser evanpurkhiser merged commit e651259 into master Dec 3, 2025
51 checks passed
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/feat-crons-add-missing-guides-consistency branch December 3, 2025 18:59
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants