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: Add only necessary information to executions (no-changelog) #6916

Merged
merged 3 commits into from
Aug 14, 2023

Conversation

krynble
Copy link
Contributor

@krynble krynble commented Aug 11, 2023

Github issue / Community forum post (link here to close automatically):

The goal of this PR is that we need sharedWith, ownedBy and usedCredentials in executions to properly display the data, but we cannot override the execution's version of the workflow with the one currently in db as they might differ. This PR fetches only the necessary attributes.

@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.

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

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Aug 11, 2023
@codecov
Copy link

codecov bot commented Aug 11, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01% ⚠️

Comparison is base (808a928) 24.85% compared to head (80ed2dd) 24.85%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6916      +/-   ##
==========================================
- Coverage   24.85%   24.85%   -0.01%     
==========================================
  Files        3144     3144              
  Lines      191241   191241              
  Branches    21090    21089       -1     
==========================================
- Hits        47527    47526       -1     
- Misses     142736   142737       +1     
  Partials      978      978              
Files Changed Coverage Δ
...ckages/cli/src/executions/executions.service.ee.ts 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

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

ivov
ivov previously approved these changes Aug 11, 2023
@ivov
Copy link
Contributor

ivov commented Aug 11, 2023

Related to #6901

@cypress
Copy link

cypress bot commented Aug 11, 2023

1 flaky tests on run #1855 ↗︎

0 221 0 0 Flakiness 1

Details:

🌳 pay-743-executions-updated-after-workflow-is-touched 🖥️ browsers:node18.12.0...
Project: n8n Commit: 80ed2ddf61
Status: Passed Duration: 07:16 💡
Started: Aug 11, 2023 3:39 PM Ended: Aug 11, 2023 3:46 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

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@github-actions
Copy link
Contributor

✅ All Cypress E2E specs passed

@github-actions
Copy link
Contributor

✅ All Cypress E2E specs passed

@ivov ivov merged commit 139e08a into master Aug 14, 2023
18 checks passed
@ivov ivov deleted the pay-743-executions-updated-after-workflow-is-touched branch August 14, 2023 07:44
netroy pushed a commit that referenced this pull request Aug 14, 2023
* fix: Add only necessary information to executions

* Fix lint

* fix: lint issue

---------

Co-authored-by: Iván Ovejero <[email protected]>
@janober
Copy link
Member

janober commented Aug 15, 2023

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

Successfully merging this pull request may close these issues.

3 participants