n8n/packages/cli/src
Jan Oberhauser fa8bd8b9eb
fix(core): Fix issue that pinnedData is not used with Test-Webhooks (#8123)
## Summary
When a workflow gets started via a Test-Webhook the pinned data does get
ignored and the nodes executed anyway.



## Related tickets and issues
> Include links to **Linear ticket** or Github issue or Community forum
post. Important in order to close *automatically* and provide context to
reviewers.



## Review / Merge checklist
- [x] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
- [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up
ticket created.
- [X] Tests included.
> A bug is not considered fixed, unless a test is added to prevent it
from happening again.
   > A feature is not complete without tests.

---------

Co-authored-by: Mutasem Aldmour <mutasem@n8n.io>
2023-12-27 10:51:53 +01:00
..
auth refactor(core): Introduce password utility (no-changelog) (#7979) 2023-12-11 18:23:42 +01:00
collaboration feat(editor): Show avatars for users currently working on the same workflow (#7763) 2023-11-23 10:14:34 +01:00
commands refactor(core): Move all base URLs to UrlService (no-changelog) (#8141) 2023-12-22 15:19:50 +01:00
config feat(core): Add N8N_GRACEFUL_SHUTDOWN_TIMEOUT env var (#8068) 2023-12-18 14:04:19 +02:00
controllers refactor(core): Move all base URLs to UrlService (no-changelog) (#8141) 2023-12-22 15:19:50 +01:00
credentials refactor(core): Move more typeorm operators to repositories (no-changelog) (#8143) 2023-12-22 16:20:30 +01:00
databases refactor(core): Move typeorm operators from PruningService to ExecutionRepository (no-changelog) (#8145) 2023-12-22 17:49:15 +01:00
decorators feat(core): Unify application components shutdown (#8097) 2023-12-22 12:39:58 +02:00
environments refactor(core): Move all base URLs to UrlService (no-changelog) (#8141) 2023-12-22 15:19:50 +01:00
errors refactor(core): Improve test-webhooks (no-changelog) (#8069) 2023-12-19 17:32:02 +01:00
eventbus fix: Upgrade axios to address CVE-2023-45857 (#7713) 2023-12-19 16:17:01 +01:00
executionLifecycleHooks fix: Stop binary data restoration from preventing execution from finishing (#8082) 2023-12-21 09:40:39 +00:00
executions fix(core): Remove circular dependency in WorkflowService and ActiveWorkflowRunner (#8128) 2023-12-21 17:37:08 +01:00
ExternalSecrets fix: Upgrade axios to address CVE-2023-45857 (#7713) 2023-12-19 16:17:01 +01:00
helpers
Ldap refactor(core): Switch plain errors in cli to ApplicationError (#7857) 2023-11-29 12:25:10 +01:00
license refactor(core): Move license endpoints to a decorated controller class (no-changelog) (#8074) 2023-12-19 12:13:19 +01:00
Mfa ci(core): Reduce memory usage in tests (part-2) (no-changelog) (#7671) 2023-11-10 15:04:26 +01:00
middlewares refactor(core): Switch plain errors in cli to ApplicationError (#7857) 2023-11-29 12:25:10 +01:00
permissions feat(editor): Finalize workers view (#8052) 2023-12-20 17:49:14 +01:00
posthog
PublicApi refactor(core): Move all base URLs to UrlService (no-changelog) (#8141) 2023-12-22 15:19:50 +01:00
push feat(core): Unify application components shutdown (#8097) 2023-12-22 12:39:58 +02:00
security-audit refactor(core): Move more typeorm operators to repositories (no-changelog) (#8143) 2023-12-22 16:20:30 +01:00
services refactor(core): Move typeorm operators from PruningService to ExecutionRepository (no-changelog) (#8145) 2023-12-22 17:49:15 +01:00
shutdown feat(core): Unify application components shutdown (#8097) 2023-12-22 12:39:58 +02:00
sso refactor(core): Move all base URLs to UrlService (no-changelog) (#8141) 2023-12-22 15:19:50 +01:00
telemetry fix(core): Downgrade Rudderstack SDK (no-changelog) (#8107) 2023-12-20 11:59:44 +01:00
types
UserManagement refactor(core): Move all base URLs to UrlService (no-changelog) (#8141) 2023-12-22 15:19:50 +01:00
workflows refactor(core): Move more typeorm operators to repositories (no-changelog) (#8143) 2023-12-22 16:20:30 +01:00
AbstractServer.ts feat(core): Unify application components shutdown (#8097) 2023-12-22 12:39:58 +02:00
ActivationErrors.service.ts feat(core): Coordinate manual workflow activation and deactivation in multi-main scenario (#7643) 2023-11-17 15:58:50 +01:00
ActiveExecutions.ts refactor(core): Don't use DB transactions on ExecutionRepository.createNewExecution (#8002) 2023-12-12 14:36:56 +01:00
ActiveWorkflowRunner.ts feat(core): Unify application components shutdown (#8097) 2023-12-22 12:39:58 +02:00
constants.ts refactor(core): Introduce password utility (no-changelog) (#7979) 2023-12-11 18:23:42 +01:00
CrashJournal.ts
CredentialsHelper.ts ci: Remove unnecessary async/await, enable await-thenable linting rule (no-changelog) (#8076) 2023-12-19 13:52:42 +01:00
CredentialsOverwrites.ts
CredentialTypes.ts refactor(core): Switch plain errors in cli to ApplicationError (#7857) 2023-11-29 12:25:10 +01:00
curlconverter.d.ts
CurlConverterHelper.ts
Db.ts refactor(core): Switch plain errors in cli to ApplicationError (#7857) 2023-11-29 12:25:10 +01:00
ErrorReporting.ts refactor(core): Update backend sentry setup to reduce noise (no-changelog) (#8026) 2023-12-18 14:26:07 +01:00
ExpressionEvaluator.ts fix(core): Fix expression evaluator filename typo (no-changelog) (#7960) 2023-12-07 17:50:49 +01:00
ExternalHooks.ts refactor(core): Switch plain errors in cli to ApplicationError (#7857) 2023-11-29 12:25:10 +01:00
GenericHelpers.ts refactor(core): Move all base URLs to UrlService (no-changelog) (#8141) 2023-12-22 15:19:50 +01:00
index.ts
Interfaces.ts refactor(core): Improve test-webhooks (no-changelog) (#8069) 2023-12-19 17:32:02 +01:00
InternalHooks.ts refactor(core): Add telemetry for RBAC roles (#7969) 2023-12-13 12:22:11 +01:00
jest.d.ts
License.ts feat(core): Unify application components shutdown (#8097) 2023-12-22 12:39:58 +02:00
LoadNodesAndCredentials.ts refactor(core): Switch plain errors in cli to ApplicationError (#7857) 2023-11-29 12:25:10 +01:00
Logger.ts ci: Stop disabling linting rules that are explicitly set to warn (no-changelog) (#7669) 2023-11-09 14:05:39 +01:00
NodeTypes.ts refactor(core): Switch plain errors in cli to ApplicationError (#7857) 2023-11-29 12:25:10 +01:00
Queue.ts refactor(core): Switch plain errors in cli to ApplicationError (#7857) 2023-11-29 12:25:10 +01:00
requests.ts fix(core): Consolidate ownership and sharing data on workflows and credentials (#7920) 2023-12-05 10:11:18 +01:00
ResponseHelper.ts feat(n8n Form Trigger Node): Improvements (#7571) 2023-12-13 17:00:51 +02:00
SecretsHelpers.ts
Server.ts feat(core): Unify application components shutdown (#8097) 2023-12-22 12:39:58 +02:00
sse-channel.d.ts
TestWebhooks.ts refactor(core): Improve test-webhooks (no-changelog) (#8069) 2023-12-19 17:32:02 +01:00
utils.ts refactor(core): Improve test-webhooks (no-changelog) (#8069) 2023-12-19 17:32:02 +01:00
WaitingForms.ts feat(n8n Form Trigger Node): Improvements (#7571) 2023-12-13 17:00:51 +02:00
WaitingWebhooks.ts feat(n8n Form Trigger Node): Improvements (#7571) 2023-12-13 17:00:51 +02:00
WaitTracker.ts refactor(core): Switch plain errors in cli to ApplicationError (#7857) 2023-11-29 12:25:10 +01:00
WebhookHelpers.ts fix(core): Fix issue that pinnedData is not used with Test-Webhooks (#8123) 2023-12-27 10:51:53 +01:00
WebhookServer.ts feat(core): Unify application components shutdown (#8097) 2023-12-22 12:39:58 +02:00
WorkflowExecuteAdditionalData.ts refactor(core): Move all base URLs to UrlService (no-changelog) (#8141) 2023-12-22 15:19:50 +01:00
WorkflowHelpers.ts ci: Remove unnecessary async/await, enable await-thenable linting rule (no-changelog) (#8076) 2023-12-19 13:52:42 +01:00
WorkflowRunner.ts fix(core): Fix issue that pinnedData is not used with Test-Webhooks (#8123) 2023-12-27 10:51:53 +01:00
WorkflowRunnerProcess.ts ci: Stop disabling linting rules that are explicitly set to warn (no-changelog) (#7669) 2023-11-09 14:05:39 +01:00