Skip to content

Commit 2591102

Browse files
waleedlatif1claude
andcommitted
fix(logs): store workflowInput unredacted to preserve retry fidelity
workflowInput is internal execution data used for replay, same as executionState which is also stored unredacted. Redacting at storage time corrupts the data for retry use cases. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ccf9751 commit 2591102

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

apps/sim/lib/logs/execution/logger.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,6 @@ export class ExecutionLogger implements IExecutionLoggerService {
372372
? Math.max(0, Math.round(rawDurationMs))
373373
: 0
374374

375-
const redactedWorkflowInput =
376-
workflowInput !== undefined ? redactApiKeys(filterForDisplay(workflowInput)) : undefined
377-
378375
const completedExecutionData = this.buildCompletedExecutionData({
379376
existingExecutionData,
380377
traceSpans: redactedTraceSpans,
@@ -383,7 +380,7 @@ export class ExecutionLogger implements IExecutionLoggerService {
383380
completionFailure,
384381
executionCost,
385382
executionState,
386-
workflowInput: redactedWorkflowInput,
383+
workflowInput,
387384
})
388385

389386
const [updatedLog] = await db

0 commit comments

Comments
 (0)