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
fix(Schedule Trigger Node): Default to 0 minute if falsy on hourly run #9146
fix(Schedule Trigger Node): Default to 0 minute if falsy on hourly run #9146
Conversation
const minute = interval[i].triggerAtMinute?.toString() as string; | ||
let minute = interval[i].triggerAtMinute?.toString() as string; | ||
if (!minute && nodeVersion >= 1.2) { | ||
minute = '0'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't the same issue exist in a lot of other places in the Schedule node? You can delete any number field, and we don't set a fallback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point, will push update
…schedule-trigger-node-missing-minute-field-on-hourly-run
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks for updating 🎉
4 flaky tests on run #4713 ↗︎
Details:
5-ndv.cy.ts • 2 flaky tests
17-sharing.cy.ts • 1 flaky test
24-ndv-paired-item.cy.ts • 1 flaky test
Review all test suite changes for PR #9146 ↗︎ |
✅ All Cypress E2E specs passed |
Got released with |
Summary
If you add a schedule trigger node and set it to hourly and delete the minute field content the node will run every minute.
Related tickets and issues
https://linear.app/n8n/issue/NODE-1244/schedule-trigger-node-missing-minute-field-on-hourly-run