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): Update subworkflow execution status correctly #10764

Merged
merged 3 commits into from
Sep 11, 2024

Conversation

netroy
Copy link
Member

@netroy netroy commented Sep 10, 2024

Summary

This PR fixes subworkflow execution code to set the status to running at the correct time.
The last 2 commits also clean up some old code.

Related Linear tickets, Github issues, and Community forum posts

Fixes #10444
https://linear.app/n8n/issue/PAY-1867
https://community.n8n.io/t/running-wf-are-taged-as-queued-instead-of-running/52853

Review / Merge checklist

  • PR title and summary are descriptive
  • Tests included

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Sep 10, 2024
@netroy netroy marked this pull request as ready for review September 10, 2024 16:31
@netroy netroy added the tests-needed This PR needs additional tests label Sep 11, 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.

Thanks for fixing this! We need to tear down WorkflowExecuteAdditionalData.

Copy link

cypress bot commented Sep 11, 2024

n8n    Run #6825

Run Properties:  status check passed Passed #6825  •  git commit d7d5a9de59: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 netroy 🗃️ e2e/*
Project n8n
Branch Review GHC-164-fix-subworkflow-status
Run status status check passed Passed #6825
Run duration 04m 47s
Commit git commit d7d5a9de59: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 netroy 🗃️ e2e/*
Committer कारतोफ्फेलस्क्रिप्ट™
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 427
View all changes introduced in this branch ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@netroy netroy merged commit 4f94319 into master Sep 11, 2024
35 checks passed
@netroy netroy deleted the GHC-164-fix-subworkflow-status branch September 11, 2024 08:39
@github-actions github-actions bot mentioned this pull request Sep 11, 2024
@Joffcom
Copy link
Member

Joffcom commented Sep 11, 2024

Got released with [email protected]

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 tests-needed This PR needs additional tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workflows executed by workflows display as "Queued" in executions
3 participants