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: Add tracking for node errors and update node graph #11060

Merged
merged 19 commits into from
Oct 15, 2024
Merged

Conversation

mutdmour
Copy link
Contributor

@mutdmour mutdmour commented Oct 2, 2024

Summary

  1. Add runs and items_count to node graph
  2. Add tracking for node errors for manual runs

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 ui Enhancement in /editor-ui or /design-system labels Oct 2, 2024
@mutdmour mutdmour marked this pull request as ready for review October 2, 2024 17:58
@@ -780,6 +780,392 @@ describe('generateNodesGraph', () => {

expect(() => generateNodesGraph(workflow, nodeTypes)).not.toThrow();
});

test.only('should add run and items count', () => {
const workflow: IWorkflowBase = {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we move the JSON to a helper? The helper will create this whole json and override any parameter provided by default. Same for RunData. Will make much easier to read the tests as half of the file is just JSON


describe('addNodeExecutionData', () => {
const executionReponse: IExecutionResponse = {
id: '1',
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as below.

packages/workflow/test/TelemetryHelpers.test.ts Outdated Show resolved Hide resolved
packages/editor-ui/src/stores/workflows.store.spec.ts Outdated Show resolved Hide resolved
packages/workflow/src/TelemetryHelpers.ts Outdated Show resolved Hide resolved
Copy link

cypress bot commented Oct 15, 2024

n8n    Run #7364

Run Properties:  status check passed Passed #7364  •  git commit f4ddbbfb9b: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 mutdmour 🗃️ e2e/*
Project n8n
Run status status check passed Passed #7364
Run duration 04m 19s
Commit git commit f4ddbbfb9b: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 mutdmour 🗃️ e2e/*
Committer Mutasem Aldmour
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 3
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 438

Copy link
Contributor

✅ All Cypress E2E specs passed

@mutdmour mutdmour merged commit d3b05f1 into master Oct 15, 2024
33 checks passed
@mutdmour mutdmour deleted the ADO-2623 branch October 15, 2024 10:38
@github-actions github-actions bot mentioned this pull request Oct 16, 2024
@janober
Copy link
Member

janober commented Oct 16, 2024

Got released with n8n@1.64.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 ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants