Skip to content

fix(schedule-engine): extend cron trigger retry budget across short DB outages - #5128

Closed
umeraamir69 wants to merge 1 commit into
triggerdotdev:mainfrom
umeraamir69:fix/schedule-cron-outage-5120
Closed

umeraamir69 wants to merge 1 commit into
triggerdotdev:mainfrom
umeraamir69:fix/schedule-cron-outage-5120

Conversation

@umeraamir69

Copy link
Copy Markdown

Summary

Test plan

  • Confirm worker catalog schema/retry still validates in schedule-engine tests
  • Self-hosted: short DB outage no longer permanently stops cron schedules

…B outages

A ~30s Postgres outage exhausted the old 5-attempt budget and dead-lettered
schedule.triggerScheduledTask jobs, permanently breaking the next-tick chain.
@changeset-bot

changeset-bot Bot commented Nov 14, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e2b3372

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

Copy link
Copy Markdown
Contributor

Hi @umeraamir69, thanks for your interest in contributing!

This project requires that pull request authors are vouched, and you are not in the list of vouched users.

This PR will be closed automatically. See https://github.com/triggerdotdev/trigger.dev/blob/main/CONTRIBUTING.md for more details.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

Devin Review

Comment on lines +25 to +26
maxAttempts: 15,
maxTimeoutInMs: 60_000,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔍 Missing schedule recovery release note

The longer retry budget changes customer-visible schedule recovery, but this PR adds no release note. The server-change rules require one for user-facing server fixes.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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.

bug: a database outage longer than ~30 seconds permanently stops cron schedules (self-hosted)

1 participant