From a309281ac513db883023cfeba5b9a044f2ab5940 Mon Sep 17 00:00:00 2001 From: AustinMroz Date: Wed, 25 Feb 2026 17:25:12 -0800 Subject: [PATCH] Prevent serialization of progress text to prompt (#9221) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #8625 fixed a bug where `ProgressTextWidget`s would be serialized to workflow data and, under rare circumstances, clobber over other widget values on restore. I was mistaken that the `serialize: false` being sent to options does serve a purpose: preventing the widget value from being serialized to the (api) prompt which is sent to the backend. This PR reverts the removal so now both forms of disabling serialization apply. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-9221-Prevent-serialization-of-progress-text-to-prompt-3126d73d365081c5b9ecc560f0a248d5) by [Unito](https://www.unito.io) --- .../vueNodes/widgets/composables/useProgressTextWidget.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/extensions/vueNodes/widgets/composables/useProgressTextWidget.ts b/src/renderer/extensions/vueNodes/widgets/composables/useProgressTextWidget.ts index 04864c6a58..90c6cbf926 100644 --- a/src/renderer/extensions/vueNodes/widgets/composables/useProgressTextWidget.ts +++ b/src/renderer/extensions/vueNodes/widgets/composables/useProgressTextWidget.ts @@ -55,6 +55,7 @@ export function useTextPreviewWidget( typeof value === 'string' ? value : String(value) }, getMinHeight: () => options.minHeight ?? 42 + PADDING, + serialize: false, read_only: true }, type: inputSpec.type