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(editor): Rerun failed nodes in manual executions #9050

Merged
merged 3 commits into from Apr 4, 2024

Conversation

krynble
Copy link
Contributor

@krynble krynble commented Apr 3, 2024

Summary

When a node fails executing and the user clicks to run another node in the chain, n8n takes the errored output and thinks it succeeded, showing "Workflow execution succeeded" instead of rerunning the failed node. This PR makes sure that we rerun failed nodes.

Related tickets and issues

https://linear.app/n8n/issue/PAY-1463/execution-logic-error-in-downstream-node

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.

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Apr 3, 2024
@krynble krynble marked this pull request as ready for review April 3, 2024 15:37
ivov
ivov previously approved these changes Apr 3, 2024
Copy link
Contributor

@ivov ivov left a comment

Choose a reason for hiding this comment

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

🎉

Copy link
Contributor

github-actions bot commented Apr 3, 2024

⚠️ Some Cypress E2E specs are failing, please fix them before merging

Copy link

cypress bot commented Apr 3, 2024

1 flaky test on run #4553 ↗︎

0 345 12 0 Flakiness 1

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 krynble 🗃️ e2e/*
Project: n8n Commit: 735f69a684
Status: Passed Duration: 03:50 💡
Started: Apr 4, 2024 8:55 AM Ended: Apr 4, 2024 8:58 AM
Flakiness  cypress/e2e/5-ndv.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Test Replay Screenshots Video

Review all test suite changes for PR #9050 ↗︎

Copy link
Contributor

github-actions bot commented Apr 4, 2024

✅ All Cypress E2E specs passed

@ivov ivov merged commit bc6575a into master Apr 4, 2024
28 checks passed
@ivov ivov deleted the pay-1463-execution-logic-error-in-downstream-node branch April 4, 2024 09:28
MiloradFilipovic added a commit that referenced this pull request Apr 4, 2024
* master:
  fix(core): Ensure only leader handles waiting executions (#9014)
  fix(editor): Fix execution with wait node (#9051)
  fix(editor): Issue showing Auth2 callback section when all properties are overriden (#8999)
  fix(editor): Rerun failed nodes in manual executions (#9050)
  fix(editor): Canvas showing error toast when clicking outside of "import workflow by url" modal (#9001)
  fix: Workflows executed from other workflows not stopping (#9010)
  fix: Fix missing input panel in node details view (#9043)
  fix(editor): Prevent saving workflow while another save is in progress (#9048)
despairblue pushed a commit that referenced this pull request Apr 4, 2024
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
@github-actions github-actions bot mentioned this pull request Apr 4, 2024
despairblue pushed a commit that referenced this pull request Apr 4, 2024
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
@janober
Copy link
Member

janober commented Apr 5, 2024

Got released with n8n@1.36.1

@github-actions github-actions bot mentioned this pull request Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team Released ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants