Skip to content
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(core): Report when waitTill is invalid and handle it #8356

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

krynble
Copy link
Contributor

@krynble krynble commented Jan 17, 2024

Summary

Executions sometimes fail to resume with the issue execution.waitTill.getTime is not a function. Since we cannot reproduce it locally, this attempts to patch it temporarily until we identify the source.

Related tickets and issues

https://n8nio.sentry.io/issues/4703277858/?project=4503924908883968
https://community.n8n.io/t/wait-does-not-work-after-65-seconds/34776
#6624
#8136
https://linear.app/n8n/issue/PAY-1173/bug-waiting-executions-failing-to-resume

Review / Merge checklist

  • PR title and summary are descriptive. Remember, the title automatically goes into the changelog. Use (no-changelog) otherwise. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Jan 17, 2024
@krynble krynble marked this pull request as ready for review January 17, 2024 11:52
Copy link

cypress bot commented Jan 17, 2024

2 flaky tests on run #3796 ↗︎

0 332 5 0 Flakiness 2

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 krynble 🗃️ e2e/*
Project: n8n Commit: ced9472a64
Status: Passed Duration: 03:21 💡
Started: Jan 17, 2024 11:58 AM Ended: Jan 17, 2024 12:01 PM
Flakiness  24-ndv-paired-item.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > resolves expression with default item when input node is not parent, while still pairing items Test Replay Screenshots Video
Flakiness  29-templates.cy.ts • 1 flaky test

View Output Video

Test Artifacts
Templates > should save template id with the workflow Test Replay Screenshots Video

Review all test suite changes for PR #8356 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@netroy netroy changed the title fix: Report when waitTill is invalid and handle it refactor(core): Report when waitTill is invalid and handle it Jan 17, 2024
@netroy netroy changed the title refactor(core): Report when waitTill is invalid and handle it fix(core): Report when waitTill is invalid and handle it Jan 17, 2024
@netroy netroy merged commit d5455d7 into master Jan 17, 2024
31 checks passed
@netroy netroy deleted the pay-1173-bug-waiting-executions-failing-to-resume branch January 17, 2024 12:08
@github-actions github-actions bot mentioned this pull request Jan 17, 2024
@janober
Copy link
Member

janober commented Jan 17, 2024

Got released with n8n@1.25.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants