fix(10.2-03): use JSON-serialized top-level key for n8n static data persistence
n8n $getWorkflowStaticData only reliably tracks top-level property changes. Deep nested mutations (staticData.errorLog.debug.enabled = true) are not persisted between executions. Fix: serialize errorLog as JSON string in staticData._errorLog — every read does JSON.parse, every write does JSON.stringify as a top-level assignment. Fixed in: Process Debug Command, Log Error, Log Trace, 6 inline trace nodes, Parse Callback Data callback routing trace. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+10
-10
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user