-
Notifications
You must be signed in to change notification settings - Fork 54.3k
fix(core): Let routing nodes reference execution id #25022
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
base: master
Are you sure you want to change the base?
Conversation
❌ 49 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4 issues found across 1 file
Prompt for AI agents (all issues)
Check if these issues are valid — if so, understand the root cause of each and fix them.
<file name="packages/core/src/execution-engine/routing-node.ts">
<violation number="1" location="packages/core/src/execution-engine/routing-node.ts:757">
P0: Rule violated: **Security Review**
**Critical security issue**: Debug `console.log` statements are logging decrypted credentials to console/stdout. The `additionalKeys` parameter can contain `$credentials` with decrypted API keys, tokens, and secrets. Remove all debug logging before merging.</violation>
<violation number="2" location="packages/core/src/execution-engine/routing-node.ts:771">
P1: Rule violated: **Security Review**
**Security issue**: Debug `console.log` is logging resolved expression values which may contain sensitive credential data or secrets. Remove debug logging before merging.</violation>
<violation number="3" location="packages/core/src/execution-engine/routing-node.ts:866">
P2: Rule violated: **Security Review**
Debug `console.log` statements should be removed before merging. These appear to be leftover debugging code (e.g., `'here for some reason'` message).</violation>
<violation number="4" location="packages/core/src/execution-engine/routing-node.ts:1094">
P1: Rule violated: **Security Review**
**Security issue**: Debug `console.log` is logging request options which may contain authentication headers, tokens, and sensitive request body data. Remove debug logging before merging.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
| (typeof parameterValue === 'string' && parameterValue.charAt(0) === '=') | ||
| ) { | ||
| console.log('Resolving parameter value:', parameterValue); | ||
| console.log('With additional keys:', additionalKeys); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P0: Rule violated: Security Review
Critical security issue: Debug console.log statements are logging decrypted credentials to console/stdout. The additionalKeys parameter can contain $credentials with decrypted API keys, tokens, and secrets. Remove all debug logging before merging.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/core/src/execution-engine/routing-node.ts, line 757:
<comment>**Critical security issue**: Debug `console.log` statements are logging decrypted credentials to console/stdout. The `additionalKeys` parameter can contain `$credentials` with decrypted API keys, tokens, and secrets. Remove all debug logging before merging.</comment>
<file context>
@@ -753,8 +753,10 @@ export class RoutingNode {
(typeof parameterValue === 'string' && parameterValue.charAt(0) === '=')
) {
+ console.log('Resolving parameter value:', parameterValue);
+ console.log('With additional keys:', additionalKeys);
const { node, workflow, mode, connectionInputData, runExecutionData } = this.context;
- return workflow.expression.getParameterValue(
</file context>
| executeData, | ||
| returnObjectAsString, | ||
| ); | ||
| console.log('Resolved to:', val); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P1: Rule violated: Security Review
Security issue: Debug console.log is logging resolved expression values which may contain sensitive credential data or secrets. Remove debug logging before merging.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/core/src/execution-engine/routing-node.ts, line 771:
<comment>**Security issue**: Debug `console.log` is logging resolved expression values which may contain sensitive credential data or secrets. Remove debug logging before merging.</comment>
<file context>
@@ -766,6 +768,8 @@ export class RoutingNode {
executeData,
returnObjectAsString,
);
+ console.log('Resolved to:', val);
+ return val;
}
</file context>
| } | ||
| } | ||
| } | ||
| console.log('Returning request options:', returnData); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P1: Rule violated: Security Review
Security issue: Debug console.log is logging request options which may contain authentication headers, tokens, and sensitive request body data. Remove debug logging before merging.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/core/src/execution-engine/routing-node.ts, line 1094:
<comment>**Security issue**: Debug `console.log` is logging request options which may contain authentication headers, tokens, and sensitive request body data. Remove debug logging before merging.</comment>
<file context>
@@ -1069,6 +1091,7 @@ export class RoutingNode {
}
}
}
+ console.log('Returning request options:', returnData);
return returnData;
}
</file context>
| } | ||
|
|
||
| if (nodeProperties.routing.send) { | ||
| console.log('here for some reason'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: Rule violated: Security Review
Debug console.log statements should be removed before merging. These appear to be leftover debugging code (e.g., 'here for some reason' message).
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/core/src/execution-engine/routing-node.ts, line 866:
<comment>Debug `console.log` statements should be removed before merging. These appear to be leftover debugging code (e.g., `'here for some reason'` message).</comment>
<file context>
@@ -842,6 +863,7 @@ export class RoutingNode {
}
if (nodeProperties.routing.send) {
+ console.log('here for some reason');
let propertyName = nodeProperties.routing.send.property;
if (propertyName !== undefined) {
</file context>
|
Found 99 test failures on Blacksmith runners: Failures
|
Summary
Related Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/CAT-1777
Review / Merge checklist
release/backport(if the PR is an urgent fix that needs to be backported)