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

feat: Allow workflow execution even if it has errors #9037

Merged

Conversation

tomi
Copy link
Contributor

@tomi tomi commented Apr 3, 2024

Summary

Backend does execute the workflow up to the node(s) that have issues. That way the workflow can be partially tested even if it's e.g. missing credentials.

Kapture.2024-04-03.at.12.18.05.mp4

Related tickets and issues

https://linear.app/n8n/issue/ADO-1655/bug-change-exec-logic-when-downstream-node-has-issue

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.

    A bug is not considered fixed, unless a test is added to prevent it from happening again.
    A feature is not complete without tests.

@tomi tomi force-pushed the ado-1655-bug-change-exec-logic-when-downstream-node-has-issue branch from 36f12dd to c74aac1 Compare April 3, 2024 09:21
@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
Backend does execute the workflow up to the node(s) that have
issues. That way the workflow can be partially tested even if it's
e.g. missing credentials.
@tomi tomi force-pushed the ado-1655-bug-change-exec-logic-when-downstream-node-has-issue branch from c74aac1 to 4925aa8 Compare April 3, 2024 09:49
Copy link
Contributor

@krynble krynble left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

cypress bot commented Apr 3, 2024

1 flaky test on run #4528 ↗︎

0 346 12 0 Flakiness 1

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 tomi 🗃️ e2e/*
Project: n8n Commit: 4925aa8708
Status: Passed Duration: 03:45 💡
Started: Apr 3, 2024 10:00 AM Ended: Apr 3, 2024 10:03 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 #9037 ↗︎

Copy link
Contributor

github-actions bot commented Apr 3, 2024

✅ All Cypress E2E specs passed

@tomi tomi merged commit eaaefd7 into master Apr 3, 2024
28 checks passed
@tomi tomi deleted the ado-1655-bug-change-exec-logic-when-downstream-node-has-issue branch April 3, 2024 11:35
@github-actions github-actions bot mentioned this pull request Apr 10, 2024
@janober
Copy link
Member

janober commented Apr 10, 2024

Got released with n8n@1.37.0

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