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

refactor(core): Extract execute-single context out of NodeExecutionFunctions (no-changelog) #11543

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

Conversation

netroy
Copy link
Member

@netroy netroy commented Nov 4, 2024

Summary

This PR extracts ExecuteSingle context object out of NodeExecutionFunctions, and adds unit tests for most of this code.

Related Linear tickets, Github issues, and Community forum posts

CAT-307

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 labels Nov 4, 2024
@netroy netroy force-pushed the CAT-307-extract-execute-single--context branch from 231889c to c51ed26 Compare November 5, 2024 18:19
@netroy netroy marked this pull request as ready for review November 5, 2024 18:20
@netroy netroy force-pushed the CAT-307-extract-execute-single--context branch from c51ed26 to cb4915d Compare November 5, 2024 18:20
@netroy netroy requested a review from tomi November 5, 2024 18:24
@netroy netroy force-pushed the CAT-307-extract-execute-single--context branch from cb4915d to 8f09c1d Compare November 5, 2024 19:32
Copy link

codecov bot commented Nov 5, 2024

Codecov Report

Attention: Patch coverage is 77.14286% with 16 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...c/node-execution-context/execute-single-context.ts 80.64% 11 Missing and 1 partial ⚠️
packages/workflow/src/RoutingNode.ts 40.00% 3 Missing ⚠️
packages/core/src/NodeExecuteFunctions.ts 50.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant