Conversation
🎭 Playwright Tests:
|
📝 WalkthroughWalkthroughThe PR enhances control widget flexibility by exporting the Changes
Possibly related PRs
Suggested reviewers
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎨 Storybook Build Status✅ Build completed successfully! ⏰ Completed at: 01/31/2026, 05:26:10 AM UTC 🔗 Links🎉 Your Storybook is ready for review! |
Bundle Size ReportSummary
Category Glance Per-category breakdownApp Entry Points — 26 kB (baseline 26 kB) • ⚪ 0 BMain entry bundles and manifests
Status: 1 added / 1 removed Graph Workspace — 974 kB (baseline 974 kB) • 🟢 -267 BGraph editor runtime, canvas, workflow orchestration
Status: 1 added / 1 removed Views & Navigation — 80.7 kB (baseline 80.7 kB) • ⚪ 0 BTop-level views, pages, and routed surfaces
Status: 9 added / 9 removed Panels & Settings — 471 kB (baseline 471 kB) • ⚪ 0 BConfiguration panels, inspectors, and settings screens
Status: 12 added / 12 removed User & Accounts — 3.94 kB (baseline 3.94 kB) • ⚪ 0 BAuthentication, profile, and account management bundles
Status: 3 added / 3 removed Editors & Dialogs — 2.89 kB (baseline 2.89 kB) • ⚪ 0 BModals, dialogs, drawers, and in-app editors
Status: 2 added / 2 removed UI Components — 33.7 kB (baseline 33.7 kB) • ⚪ 0 BReusable component library chunks
Status: 4 added / 4 removed Data & Services — 2.71 MB (baseline 2.71 MB) • 🔴 +853 BStores, services, APIs, and repositories
Status: 8 added / 8 removed Utilities & Hooks — 25.3 kB (baseline 25.3 kB) • ⚪ 0 BHelpers, composables, and utility bundles
Status: 7 added / 7 removed Vendor & Third-Party — 10.7 MB (baseline 10.7 MB) • ⚪ 0 BExternal libraries and shared vendor chunks
Other — 7.12 MB (baseline 7.12 MB) • ⚪ 0 BBundles that do not match a named category
Status: 36 added / 36 removed |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Fix all issues with AI agents
In `@src/renderer/extensions/vueNodes/widgets/composables/useComboWidget.ts`:
- Around line 77-85: The code currently accepts any string from
inputSpec.control_after_generate and passes it as defaultType into
addValueControlWidgets, which can produce invalid selections; clamp/validate
inputSpec.control_after_generate against the allowed options (e.g., 'fixed' and
the other valid control types used by addValueControlWidgets) before assigning
defaultType and fall back to 'fixed' for unknown values. Update the three blocks
that set defaultType (the one around the shown lines and the blocks at lines
~216-224 and ~295-303) to validate/control the string, then pass the validated
value into addValueControlWidgets (referencing inputSpec.control_after_generate,
defaultType, addValueControlWidgets, widget.linkedWidgets, node, widget).
In `@src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts`:
- Around line 75-82: The current defaultType derived from
inputSpec.control_after_generate may be an unsupported string; before calling
addValueControlWidget, clamp/validate defaultType against the allowed control
options array (the same set used by addValueControlWidget) and if it is not in
that allowedOptions list, fallback to 'randomize'; update the code around
inputSpec.control_after_generate / defaultType to perform this membership check
so addValueControlWidget always receives a supported option.
Updates `control_after_generate` in the schema to support specifying the default control value as a string See Comfy-Org/ComfyUI#12187 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8505-Update-control_after_generate-schema-2f96d73d365081f9bf73c804072bb415) by [Unito](https://www.unito.io)
Updates `control_after_generate` in the schema to support specifying the default control value as a string See Comfy-Org/ComfyUI#12187 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8505-Update-control_after_generate-schema-2f96d73d365081f9bf73c804072bb415) by [Unito](https://www.unito.io)
|
@AustinMroz Successfully backported to #8506 |
|
@AustinMroz Successfully backported to #8507 |
Backport of #8505 to `cloud/1.38` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8507-backport-cloud-1-38-Update-control_after_generate-schema-2f96d73d365081d399f3f459a843709e) by [Unito](https://www.unito.io) Co-authored-by: AustinMroz <austin@comfy.org>
Backport of #8505 to `core/1.38` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8506-backport-core-1-38-Update-control_after_generate-schema-2f96d73d36508106b677fafb3fe302fe) by [Unito](https://www.unito.io) Co-authored-by: AustinMroz <austin@comfy.org>
Updates `control_after_generate` in the schema to support specifying the default control value as a string See Comfy-Org/ComfyUI#12187 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8505-Update-control_after_generate-schema-2f96d73d365081f9bf73c804072bb415) by [Unito](https://www.unito.io)
Updates
control_after_generatein the schema to support specifying the default control value as a stringSee Comfy-Org/ComfyUI#12187
┆Issue is synchronized with this Notion page by Unito