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): Move copyInputItems to node helpers (no-changelog) #7299

Merged
merged 2 commits into from
Oct 6, 2023

Conversation

netroy
Copy link
Member

@netroy netroy commented Sep 28, 2023

No description provided.

@github-actions
Copy link
Contributor

Great PR! Please pay attention to the following items before merging:

Files matching packages/**:

  • If fixing bug, added test to cover scenario.
  • If addressing forum or Github issue, added link to description.

Files matching packages/**/*.ts:

  • Added unit tests to cover new or updated functionality.

Files matching packages/nodes-base/nodes/**:

  • Added workflow tests for nodes if possible.

Make sure to check off this list before asking for review.

elsmr
elsmr previously approved these changes Sep 28, 2023
@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 Sep 28, 2023
packages/core/src/NodeExecuteFunctions.ts Outdated Show resolved Hide resolved
packages/core/src/NodeExecuteFunctions.ts Outdated Show resolved Hide resolved
packages/core/src/NodeExecuteFunctions.ts Outdated Show resolved Hide resolved
@cypress
Copy link

cypress bot commented Sep 28, 2023

1 flaky test on run #2417 ↗︎

0 250 0 0 Flakiness 1

Details:

🌳 refactor-copyInputItems 🖥️ browsers:node18.12.0-chrome107 🤖 netroy 🗃️ e2e/...
Project: n8n Commit: 1f77223882
Status: Passed Duration: 09:20 💡
Started: Oct 6, 2023 2:06 PM Ended: Oct 6, 2023 2:16 PM
Flakiness  cypress/e2e/24-ndv-paired-item.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > resolves expression with default item when input node is not parent, while still pairing items Output Screenshots Video

Review all test suite changes for PR #7299 ↗︎

@github-actions
Copy link
Contributor

✅ All Cypress E2E specs passed

@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (7b773cc) 33.47% compared to head (1f77223) 33.47%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7299   +/-   ##
=======================================
  Coverage   33.47%   33.47%           
=======================================
  Files        3386     3386           
  Lines      206315   206288   -27     
  Branches    22272    22271    -1     
=======================================
+ Hits        69057    69063    +6     
+ Misses     136141   136108   -33     
  Partials     1117     1117           
Files Coverage Δ
packages/core/src/NodeExecuteFunctions.ts 19.28% <100.00%> (+0.54%) ⬆️
...ages/nodes-base/nodes/MySql/v1/GenericFunctions.ts 0.00% <ø> (ø)
...ackages/nodes-base/nodes/MySql/v2/helpers/utils.ts 69.59% <100.00%> (+2.55%) ⬆️
packages/workflow/src/Interfaces.ts 77.77% <ø> (ø)
...odes/MySql/v2/actions/database/insert.operation.ts 44.11% <50.00%> (ø)
packages/nodes-base/nodes/MySql/v1/MySqlV1.node.ts 0.00% <0.00%> (ø)
...kages/nodes-base/nodes/Snowflake/Snowflake.node.ts 0.00% <0.00%> (ø)
...ges/nodes-base/nodes/Snowflake/GenericFunctions.ts 0.00% <0.00%> (ø)

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2023

✅ All Cypress E2E specs passed

@netroy netroy merged commit 597669a into master Oct 6, 2023
54 of 55 checks passed
@netroy netroy deleted the refactor-copyInputItems branch October 6, 2023 14:26
MiloradFilipovic added a commit that referenced this pull request Oct 10, 2023
* master: (42 commits)
  fix(editor): Make workflow history button available only for dev builds (#7392)
  refactor: Upgrade to pnpm 8.9 (no-changelog) (#7393)
  ci: Identify NPM releases as `stable` (no-changelog)
  fix(editor): Implement canvas zoom UX improvements (#7376)
  feat(core): Switch binary filesystem mode to nested path structure (#7307)
  fix(editor): Fix completions for `.json` on quoted node name in Code node (#7382)
  fix(Notion Node): Handle empty values correctly for Notion selects + multi selects (#7383)
  feat(editor): Make PDF and Audio binary-data viewable in the UI (#7367)
  fix(Google Sheets Node): Fix "Maximum call stack size exceeded" error on too many rows (#7384)
  refactor(core): Refactor nodes loading (no-changelog) (#7283)
  fix(core): Add an option to enable postgres ssl with default certs (#6889)
  feat(editor): Workflow history [WIP]- Add restore and clone into new workflow actions (no-changelog) (#7359)
  fix(HTML Node): Update property fields to not use expressions on drag (#7379)
  fix: Add role check for upgrade path (#7374)
  fix(editor): Remove excess margin below run data editor (#7372)
  fix(Google Drive Trigger Node): Add Shared Drives support (#7369)
  feat(core): Add Job Summary to Worker response (#7360)
  feat(Execute Workflow Node): Run once for each item mode (#7289)
  refactor(core): Move `copyInputItems` to node helpers (no-changelog) (#7299)
  refactor(core): Create controller for binary data (no-changelog) (#7363)
  ...

# Conflicts:
#	cypress/e2e/5-ndv.cy.ts
@janober
Copy link
Member

janober commented Oct 11, 2023

Got released with n8n@1.11.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 node/improvement New feature or request Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants