Skip to content

Commit 78b2c56

Browse files
docs(data-retention): note resume remask covers inline values only
1 parent 437d2bb commit 78b2c56

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

apps/sim/lib/workflows/executor/execution-core.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)