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(core): Improve debugging of sub-workflows #11602

Open
wants to merge 60 commits into
base: master
Choose a base branch
from
Open

Conversation

mutdmour
Copy link
Contributor

@mutdmour mutdmour commented Nov 6, 2024

Summary

Saves the Execution ID of sub and parent workflows and so makes it now easily possible to jump to the corresponding sub or parent workflow.

based on #8608

Screenshot 2024-11-12 at 12 52 52 Screenshot 2024-11-12 at 12 53 31 Screenshot 2024-11-12 at 12 53 17 Screenshot 2024-11-12 at 13 02 01

Related Linear tickets, Github issues, and Community forum posts

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team node/improvement New feature or request labels Nov 6, 2024
RicardoE105
RicardoE105 previously approved these changes Nov 14, 2024
Copy link
Contributor

@RicardoE105 RicardoE105 left a comment

Choose a reason for hiding this comment

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

Tested it locally and everything seems to be working as expected. Awesome work 🙌

@@ -25,6 +25,7 @@
"start:default": "cd bin && ./n8n",
"start:windows": "cd bin && n8n",
"test": "pnpm test:sqlite",
"test:dev": "N8N_LOG_LEVEL=silent DB_TYPE=sqlite jest --watch",
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this intended?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's very helpful for running tests

executionId: string;
workflowId: string;
}

export interface ITaskMetadata {
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably not for this PR, but should probably name this something different than taksmetadata

Copy link
Contributor

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

Copy link

cypress bot commented Nov 14, 2024

n8n    Run #7891

Run Properties:  status check failed Failed #7891  •  git commit 553246a954: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 mutdmour 🗃️ e2e/*
Project n8n
Branch Review ado-2808-1
Run status status check failed Failed #7891
Run duration 04m 57s
Commit git commit 553246a954: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 mutdmour 🗃️ e2e/*
Committer Mutasem Aldmour
View all properties for this run ↗︎

Test results
Tests that failed  Failures 2
Tests that were flaky  Flaky 1
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 473
View all changes introduced in this branch ↗︎

Tests for review

Failed  e2e/24-ndv-paired-item.cy.ts • 2 failed tests

View Output Video

Test Artifacts
NDV > maps paired input and output items Test Replay Screenshots Video
NDV > maps paired input and output items based on selected input node Test Replay Screenshots Video
Flakiness  e2e/11-inline-expression-editor.cy.ts • 1 flaky test

View Output Video

Test Artifacts
Inline expression editor > Static data > should resolve array resolvables Test Replay Screenshots Video

Copy link
Contributor

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

RicardoE105
RicardoE105 previously approved these changes Nov 14, 2024
Copy link
Contributor

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

Copy link
Contributor

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

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 node/improvement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants