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>
This commit is contained in:
Waleed Latif
2026-04-15 11:43:01 -07:00
parent ccf975146e
commit 2591102ca9

View File

@@ -372,9 +372,6 @@ export class ExecutionLogger implements IExecutionLoggerService {
? Math.max(0, Math.round(rawDurationMs))
: 0
const redactedWorkflowInput =
workflowInput !== undefined ? redactApiKeys(filterForDisplay(workflowInput)) : undefined
const completedExecutionData = this.buildCompletedExecutionData({
existingExecutionData,
traceSpans: redactedTraceSpans,
@@ -383,7 +380,7 @@ export class ExecutionLogger implements IExecutionLoggerService {
completionFailure,
executionCost,
executionState,
workflowInput: redactedWorkflowInput,
workflowInput,
})
const [updatedLog] = await db