Skip to content

Commit

Permalink
Add clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Feb 10, 2025
1 parent 14b421a commit 46a149a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cli/src/webhooks/waiting-webhooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ 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({
Expand Down

0 comments on commit 46a149a

Please sign in to comment.