File tree Expand file tree Collapse file tree
apps/sim/lib/workflows/executor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -675,6 +675,11 @@ export async function executeWorkflowCore(
675675 // predate the blockOutputs stage being enabled, re-mask them so downstream
676676 // blocks can't read unredacted PII from restored snapshot state. Masking is
677677 // idempotent, so outputs already masked in the original run are unaffected.
678+ // Limitation: this walks inline strings only — values offloaded to
679+ // large-value storage are still refs here and are not re-masked. In the
680+ // normal flow that is safe (a run with the stage on masks before offload);
681+ // the gap is the narrow case of a run that offloaded a large value while
682+ // the stage was OFF and is resumed after the stage is turned ON.
678683 const blockOutputOpts = {
679684 entityTypes : piiRedaction . blockOutputs . entityTypes ,
680685 language : piiRedaction . blockOutputs . language ,
You can’t perform that action at this time.
0 commit comments