fix(core): Fix resuming executions on test webhooks from Wait nodes (#13168)

This commit is contained in:
Iván Ovejero
2025-02-10 16:43:54 +01:00
committed by GitHub
parent 8f25a06e6c
commit 5dddf772cf
2 changed files with 28 additions and 1 deletions

View File

@@ -121,6 +121,12 @@ export class WaitingWebhooks implements IWebhookManager {
const lastNodeExecuted = execution.data.resultData.lastNodeExecuted as string;
/**
* A manual execution resumed by a webhook call needs to be marked as such
* so workers in scaling mode reuse the existing execution data.
*/
if (execution.mode === 'manual') execution.data.isTestWebhook = true;
return await this.getWebhookExecutionData({
execution,
req,