Skip to content

refactor(core): Simplify ExternalSecretsProxy setup and move it to core #16021

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

Merged
merged 7 commits into from
Jun 5, 2025

Conversation

netroy
Copy link
Member

@netroy netroy commented Jun 4, 2025

Summary

This PR simplifies how we setup SecretsHelper, moves most of it to n8n-core, and removes all references to it from n8n-workflow.

Extracted out of #15769

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)

@netroy netroy requested a review from despairblue June 4, 2025 15:37
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

cubic found 3 issues across 16 files. Review them in cubic.dev

React with 👍 or 👎 to teach cubic. Tag @cubic-dev-ai to give specific feedback.

Copy link

codecov bot commented Jun 4, 2025

Codecov Report

Attention: Patch coverage is 87.87879% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
.../node-execution-context/utils/get-secrets-proxy.ts 50.00% 3 Missing ⚠️
packages/core/src/execution-engine/index.ts 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@netroy netroy force-pushed the refactor-secrets-helper branch from 93d3891 to c1dfb82 Compare June 4, 2025 15:53
@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Jun 4, 2025
ivov
ivov previously approved these changes Jun 5, 2025
Copy link
Contributor

@ivov ivov left a comment

Choose a reason for hiding this comment

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

Looks good! You mentioned here you did extensive testing so I trust this continues to work.

@shortstacked
Copy link
Contributor

Workflow Test Results 📊 🔴 3 Failed, ⚠️ 3 Warnings, 👍 77 Successful out of 83 total workflows.

Detail: Workflows failing: 237: Workflow contains 1 deleted data. View full workflow run

Tested Ref: 56cf5250713f05557fc9cb3f5cf330ba15515892 by @ivov

❌ Failed Tests (3)

Workflow ID Workflow Name Reason
237 BasicLLMChain:AzureChat Workflow contains 1 deleted data.
258 Agent:auto-fix:openai Workflow contains 2 deleted data.
84 Matrix:Room:create invite kick leave:RoomMember:ge... Too Many Requests on node Matrix1

⚠️ Warnings (3)

Workflow ID Workflow Name Reason
35 Slack:User:getPresence info:UserProfile:get update... Workflow contains new data that previously did not exist.
257 Agent:auto-fix:anthropic Workflow contains new data that previously did not exist.
48 Asana:Project:getAll get:Task:create update move g... Workflow contains new data that previously did not exist.

Copy link
Contributor

github-actions bot commented Jun 5, 2025

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

@netroy netroy changed the title refactor(core): Simplify SecretsHelper setup and move it to core refactor(core): Simplify ExternalSecretsProxy setup and move it to core Jun 5, 2025
@netroy netroy requested a review from ivov June 5, 2025 09:59
@shortstacked
Copy link
Contributor

Workflow Test Results 📊 🔴 3 Failed, ⚠️ 3 Warnings, 👍 77 Successful out of 83 total workflows.

Detail: Workflows failing: 237: Workflow contains 1 deleted data. View full workflow run

Tested Ref: 7ed2c2424ae39e2d5e36defdeaf8e2fd8ba40cab by @ivov

❌ Failed Tests (3)

Workflow ID Workflow Name Reason
237 BasicLLMChain:AzureChat Workflow contains 1 deleted data.
52 Coda:Table:getAllColumns getColumn getAllRows getR... Too Many Requests on node Coda15
84 Matrix:Room:create invite kick leave:RoomMember:ge... Too Many Requests on node Matrix1

⚠️ Warnings (3)

Workflow ID Workflow Name Reason
35 Slack:User:getPresence info:UserProfile:get update... Workflow contains new data that previously did not exist.
48 Asana:Project:getAll get:Task:create update move g... Workflow contains new data that previously did not exist.
257 Agent:auto-fix:anthropic Workflow contains new data that previously did not exist.

Copy link
Contributor

github-actions bot commented Jun 5, 2025

✅ All Cypress E2E specs passed

@netroy netroy merged commit 2258a74 into master Jun 5, 2025
49 of 56 checks passed
@netroy netroy deleted the refactor-secrets-helper branch June 5, 2025 10:49
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.

3 participants