Fix: Preserve externalId when updating Trigger.dev schedules#177
Conversation
Prevents externalId from being cleared during task updates, which was causing scheduled tasks to fail. The updateSchedule function now includes externalId parameter to maintain consistency with schedule creation.
|
Caution Review failedThe pull request is closed. WalkthroughThe changes add an Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. 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. Comment |
Prevents externalId from being cleared during task updates, which was causing scheduled tasks to fail. The updateSchedule function now includes externalId parameter to maintain consistency with schedule creation.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.