Skip to content

feat(subgraph): Subgraph Link Only Promotion (ADR 0009) + migration/store hygiene - #12197

Merged
AustinMroz merged 123 commits into
mainfrom
drjkl/subgraph-promoted-widget-ratchet-squashed
May 27, 2026
Merged

AustinMroz merged 123 commits into
mainfrom
drjkl/subgraph-promoted-widget-ratchet-squashed

Conversation

@DrJKL

@DrJKL DrJKL commented May 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Introduces Subgraph Link Only Promotion (ADR 0009) — a new model for surfacing inner subgraph widgets on the parent SubgraphNode by promoting through links rather than by duplicating widget state on the host. Ships with the hygiene/refactor pass on the migration, store, and event layers that the new model depends on.

What changes

Subgraph Link Only Promotion (ADR 0009)

Promoted widgets are defined by the link from a SubgraphNode input to the interior node, not by a duplicated widget instance on the host. Consequences:

Supporting refactors

  • Migration — Planner/classifier/repair/quarantine helpers collapsed into a single proxyWidgetMigration entry point with black-box round-trip coverage. Honors the source-node-id disambiguator on proxyWidgets, so deduplicated names (e.g. text, text_1) resolve to the right interior widget.
  • Widget identity — appMode unified on WidgetEntityId; promoted widget state is keyed by entityId across the store, DOM, and migration paths.
  • SubgraphNode — 3-key promoted-view cache replaced with a single version counter + explicit invalidatePromotedViews() at mutation sites; id === -1 sentinel removed.
  • Events — LGraph.trigger() now dispatches node trigger payloads through this.events, replacing a leaky onTrigger monkey-patch. SubgraphEditor reactivity is driven from subgraph events instead of imperative refresh.
  • Stores — appModeStore migration helpers collapsed into upgradeAndValidateInput; nodeOutputStore.*ByExecutionId derived from the locator index; previewExposureStore cleanup and cycle-detection double-warn fix.
  • Misc — Outcome types consolidated; mutable accumulators replaced with flatMap; new ESLint rule forbids litegraph imports under src/world/.

Tests

  • Browser tests for promoted widgets retagged @vue-nodes and rewritten to assert against the rendered Vue node DOM (via getNodeLocator / getByRole('textbox') / enterSubgraph) instead of page.evaluate graph introspection.
  • Per-host widget independence asserted via DOM.
  • Migration coverage moved to black-box round-trip tests.
  • Added coverage for duplicate-named promoted widget identity (ADR 0009) and the per-parent demote branch in WidgetActions.

Review focus

  • ADR 0009 conformance of the link-only promotion model.
  • Disambiguator resolution path in proxyWidgetMigration.
  • Single-version-counter promoted-view cache and its invalidatePromotedViews() call sites.
  • LGraph.trigger() event dispatch and the AppModeWidgetList.vue migration off onTrigger (FE-667 tracks the remaining useGraphNodeManager conversion).

Breaking changes

None for users. Internal subgraph promotion APIs changed — see ADR 0009.

┆Issue is synchronized with this Notion page by Unito

DrJKL and others added 9 commits May 10, 2026 12:25
Replaces planner/classifier/repair/quarantine helpers and their tests
with a single proxyWidgetMigration module exercised through black-box
round-trip tests. Hook registry indirection replaced with a static
LGraph.proxyWidgetMigrationFlush field assigned in main.ts.

Includes a real semantic fix: classifier now preserves surviving
primitive targets when other targets are dangling.

Net: -16 files, ~-2,300 LoC in src/core/graph/subgraph/migration/.
…rialize tests

- 3-key promoted-view cache replaced with a single version counter;
  exposes invalidatePromotedViews() so promotionUtils can call it at
  the actual mutation site (the missing invalidation was the bug the
  multi-key cache was masking).
- Inline single-use key builders into _getPromotedViews.
- Drop id===-1 sentinel guard in clipboard path by fixing
  construction order: clone path now assigns id before configure().
- SubgraphNode.serialize.test.ts merged into
  SubgraphWidgetPromotion.test.ts as table-driven round-trip
  invariants, replacing spy-on-private assertions.
Adds the four node trigger event payloads (property/slot-errors/
slot-links/slot-label) to LGraphEventMap and makes LGraph.trigger()
dispatch via this.events in addition to calling onTrigger.

Removes the leaky onTrigger monkey-patch in AppModeWidgetList.vue,
replacing it with useEventListener on the events target. The
onTrigger callback path is preserved for back-compat with
useGraphNodeManager (see FE-667 for converting that one too).
- appModeStore: collapse 4 legacy-tuple migration helpers into one
  upgradeAndValidateInput; pruneLinearData becomes a thin map+filter.
- nodeOutputStore: derive *ByExecutionId from the locator index
  instead of mirroring state.
- previewExposureStore: demote unused ResolveNestedHostFn export to
  a local type.
- Inline two trivial wrapper modules (resolvePromotedWidgetSource,
  previewExposureTypes) into their primary consumers.
- previewExposureChain: strip JSDoc, extract leaf builder helper,
  fix double-warn bug on cycle detection.
- SubgraphEditor.test.ts: drop 4 reorder/serialize tests that
  duplicated coverage already in promotionUtils.test.ts and
  SubgraphWidgetPromotion.test.ts; keep the unique preview-exposure
  rendering test.
- useGraphNodeManager.test.ts: add test verifying duplicate-named
  promoted widgets retain distinct storeNodeId identities (ADR 0009).
- WidgetActions.test.ts: add test covering handleHideInput
  per-parent demote branch with sourceNodeId computed from
  node.id===parent.id.
When a host SubgraphNode's child has deduplicated promoted widget names
(e.g. `text`, `text_1`), the legacy `proxyWidgets` migration was matching
only by widget name and always picked the first widget. The third tuple
element (source-node id disambiguator, e.g. `["3", "text", "2"]`) was
preserved in the normalized entry but never consulted during resolution,
so outer subgraph nodes ended up exposing the wrong interior widget.

Add `findSourceWidget` that prefers a `PromotedWidgetView` whose interior
identity (`sourceNodeId`, `sourceWidgetName`) matches the disambiguator,
falling back to a name match. Wire it into `classify` and
`repairCreateSubgraphInput`.

Update the existing browser test to actually inspect the outer subgraph
node's exposed widget value (the previous assertion only checked the
inner node, so it passed against the regression). Add a unit test for
the disambiguator path. Re-flip the "deep leaf" SubgraphWidgetPromotion
test to assert resolution via the immediate child's PromotedWidgetView
identity, which is the correct behavior under ADR 0009.

Amp-Thread-ID: https://ampcode.com/threads/T-019e1db0-3c55-75fe-a542-8bfcbcf87d60
Co-authored-by: Amp <amp@ampcode.com>
Tag the duplicate-widget-names test with @vue-nodes and use DOM
locators (`getNodeLocator`, `getByRole('textbox')`, `enterSubgraph`)
instead of `page.evaluate`-based graph introspection. The outer
node assertion now checks the rendered textbox value directly, and
the inner node assertion enters the outer subgraph and reads the
two distinguishable text inputs from the inner SubgraphNode in the
DOM.

Amp-Thread-ID: https://ampcode.com/threads/T-019e1db0-3c55-75fe-a542-8bfcbcf87d60
Co-authored-by: Amp <amp@ampcode.com>
@coderabbitai

coderabbitai Bot commented May 12, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Large ADR-0009 change: remove PromotionStore, add PreviewExposureStore and WidgetEntityId; implement proxyWidgets migration and new preview exposure pipeline; refactor promoted-widget identity/resolution, SubgraphNode serialization, LGraph hooks, stores, UI components, scripts, and extensive tests/browser fixtures.

Changes

ADR 0009 implementation

Layer / File(s) Summary
Schemas & property parsers
src/core/schemas/previewExposureSchema.ts, src/core/schemas/promotionSchema.ts, src/core/schemas/proxyWidgetQuarantineSchema.ts, src/core/schemas/parseNodePropertyArray.ts
Add Zod schemas for preview exposures, serialized proxy tuples, proxyWidget quarantine entries, and generic parseNodePropertyArray helper.
PreviewExposureStore & tests
src/stores/previewExposureStore.ts, src/stores/previewExposureStore.test.ts
New Pinia store for host-scoped preview exposures with resolveChain and tests for add/set/remove/clear/resolve behaviors.
Proxy widget migration & quarantine
src/core/graph/subgraph/migration/proxyWidgetMigration.ts, src/core/graph/subgraph/migration/proxyWidgetMigration.test.ts
Implement flushProxyWidgetMigration, normalization, repair plans (create/hydrate/repoint primitive cohorts), preview exposure migration, quarantine helpers and broad test coverage.
Promoted widget types & resolution simplification
src/core/graph/subgraph/promotedWidgetTypes.ts, src/core/graph/subgraph/resolveConcretePromotedWidget.ts, src/core/graph/subgraph/promotedWidgetView.ts
Remove disambiguatingSourceNodeId, add WidgetEntityId identity + host-state methods, simplify traversal/matching, update PromotedWidgetView API and semantics.
SubgraphNode refactor & serialize
src/lib/litegraph/src/subgraph/SubgraphNode.ts, src/lib/litegraph/src/subgraph/SubgraphWidgetPromotion.test.ts
In-node promoted-view cache, invalidatePromotedViews, hydrate/serialize previewExposures and proxyWidgetErrorQuarantine, stop re-emitting legacy proxyWidgets, and write widgets_values from host state; tests updated.
Widget entity ID & widgetValue IO
src/world/entityIds.ts, src/world/widgetValueIO.ts, src/world/widgetValueIO.test.ts, src/utils/litegraphUtil.ts
Add branded WidgetEntityId helpers, parse/validate, read/write/ensure widget-state facade and tests; util to derive widget entity id for nodes.
Promotion utils & reorders
src/core/graph/subgraph/promotionUtils.ts, src/lib/litegraph/src/subgraph/subgraphUtils.ts
Derive linked promotions from subgraph inputs, add findHostInputForPromotion, reordering utilities (by name/widget order) and related tests; emit inputs-reordered events.
LGraph hooks & canvas integration
src/lib/litegraph/src/LGraph.ts, src/lib/litegraph/src/LGraphCanvas.ts
Add late-bound LGraph.proxyWidgetMigrationFlush and autoExposePreviewNodes hooks, run migration/auto-expose during configure and clipboard paste, and topological configure order for pasted subgraphs.
Node output / preview URL helpers
src/stores/nodeOutputStore.ts, src/stores/nodeOutputStore.test.ts
Add execution-ID getters, buildImageUrls with null/SVG filtering and tests for execution-keyed outputs and preview param behavior.
Scripts: control & widgets
src/scripts/valueControl.ts, src/scripts/widgets.ts, src/scripts/controlWidgetMarker.ts
Add nextValueForLinkedTarget, computeNextControlledValue, IS_CONTROL_WIDGET marker, refactor add/apply widget control to use new helpers and re-export marker; tests added/updated.
UI & store adaptations to entityId
src/components/builder/*, src/components/rightSidePanel/*, src/stores/appModeStore.ts, src/components/builder/useResolvedSelectedInputs.ts
Switch selection, rendering, promotion/demotion flows and store pruning/mutation to use canonical WidgetEntityId tuples; add useResolvedSelectedInputs composable; update many components and tests.
Browser tests & helpers
browser_tests/fixtures/utils/promotedWidgets.ts, browser_tests/fixtures/helpers/SubgraphHelper.ts, browser_tests/assets/subgraphs/*, browser_tests/tests/subgraph/*
Replace page.evaluate proxyWidgets inspection with getPromotedWidgets/getAllHostPromotedWidgets, add fixtures for multi-host/unresolvable proxy cases, refactor Playwright tests to Vue-nodes locators and preview exposures.
Misc refactors & cleanup
src/lib/litegraph/src/widgets/*, src/scripts/domWidget.ts, src/lib/litegraph/src/infrastructure/*, eslint.config.ts, AGENTS.md
Remove promoted-outline suppression option, add BaseWidget.entityId, adjust drawWidget calls, add LGraph event typings, tighten LGraph.trigger allowlist, ESLint import restrictions, documentation tweaks, and AGENTS.md note.

Estimated code review effort: 🎯 5 (Critical) | ⏱️ ~120 minutes

Possibly related issues

  • #12325 — touches LGraph.trigger guard logic; this PR implements the same trigger action allowlist and param validation.

Possibly related PRs

Suggested labels
needs-backport, area:subgraph, area:widgets, area:litegraph, area:vue-nodes

Suggested reviewers

  • christian-byrne
  • AustinMroz
  • jtydhr88

"A rabbit rejoices in code refined,
Hopping through previews, neatly aligned.
Legacy bugs tucked in a hole,
Entity IDs make the widgets whole.
Tiny carrot dance — tests green and kind."

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch drjkl/subgraph-promoted-widget-ratchet-squashed

…ed-widget-ratchet-squashed

Amp-Thread-ID: https://ampcode.com/threads/T-019e1e0b-1b64-778a-9cbc-e2675fe6a11b
Co-authored-by: Amp <amp@ampcode.com>

# Conflicts:
#	src/schemas/nodeDefSchema.ts
#	src/stores/nodeOutputStore.ts
@github-actions

github-actions Bot commented May 12, 2026 •

Copy link
Copy Markdown
Contributor

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 05/27/2026, 02:40:49 AM UTC

Links

@github-actions

github-actions Bot commented May 12, 2026 •

Copy link
Copy Markdown
Contributor

🎭 Playwright: ✅ 1641 passed, 0 failed · 1 flaky

📊 Browser Reports
  • chromium: View Report (✅ 1620 / ❌ 0 / ⚠️ 1 / ⏭️ 5)
  • chromium-2x: View Report (✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • chromium-0.5x: View Report (✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • mobile-chrome: View Report (✅ 18 / ❌ 0 / ⚠️ 0 / ⏭️ 0)

@github-actions

github-actions Bot commented May 12, 2026 •

Copy link
Copy Markdown
Contributor

📦 Bundle: 5.39 MB gzip 🔴 +11.2 kB

Details

Summary

  • Raw size: 24.8 MB baseline 24.8 MB — 🔴 +32.6 kB
  • Gzip: 5.39 MB baseline 5.38 MB — 🔴 +11.2 kB
  • Brotli: 4.16 MB baseline 4.16 MB — 🔴 +1.63 kB
  • Bundles: 267 current • 268 baseline • 261 added / 262 removed

Category Glance
Utilities & Hooks 🔴 +2.91 MB (3.28 MB) · Data & Services 🟢 -2.9 MB (262 kB) · App Entry Points 🔴 +19.4 kB (45.5 kB) · Graph Workspace 🔴 +5.37 kB (1.24 MB) · Other 🟢 -481 B (9.23 MB) · Views & Navigation 🟢 -297 B (82.6 kB) · + 5 more

App Entry Points — 45.5 kB (baseline 26.1 kB) • 🔴 +19.4 kB

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-70FlIE95.js (new) — 45.5 kB 🔴 +45.5 kB 🔴 +13.6 kB 🔴 +11.7 kB
assets/index-36VtBjup.js (removed) 26.1 kB — 🟢 -26.1 kB 🟢 -8.76 kB 🟢 -7.55 kB

Status: 1 added / 1 removed

Graph Workspace — 1.24 MB (baseline 1.24 MB) • 🔴 +5.37 kB

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-BstAL-Vl.js (new) — 1.24 MB 🔴 +1.24 MB 🔴 +265 kB 🔴 +200 kB
assets/GraphView-fYRfdt0R.js (removed) 1.24 MB — 🟢 -1.24 MB 🟢 -264 kB 🟢 -199 kB

Status: 1 added / 1 removed

Views & Navigation — 82.6 kB (baseline 82.9 kB) • 🟢 -297 B

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CloudSurveyView-CPhgcxQr.js (removed) 19.6 kB — 🟢 -19.6 kB 🟢 -5.14 kB 🟢 -4.57 kB
assets/CloudSurveyView-Dcgc6fxa.js (new) — 19.5 kB 🔴 +19.5 kB 🔴 +5.09 kB 🔴 +4.53 kB
assets/CloudLoginView-CWvEL_sH.js (removed) 12.5 kB — 🟢 -12.5 kB 🟢 -3.55 kB 🟢 -3.13 kB
assets/CloudLoginView-inquKO9z.js (new) — 12.5 kB 🔴 +12.5 kB 🔴 +3.55 kB 🔴 +3.12 kB
assets/CloudSignupView-BQRioEwz.js (removed) 10.4 kB — 🟢 -10.4 kB 🟢 -3.06 kB 🟢 -2.7 kB
assets/CloudSignupView-C0TW5aGJ.js (new) — 10.4 kB 🔴 +10.4 kB 🔴 +3.06 kB 🔴 +2.69 kB
assets/UserCheckView-CytscfF7.js (removed) 9.07 kB — 🟢 -9.07 kB 🟢 -2.34 kB 🟢 -2.04 kB
assets/UserCheckView-dTqsAVpP.js (new) — 8.99 kB 🔴 +8.99 kB 🔴 +2.31 kB 🔴 +2.01 kB
assets/CloudLayoutView-COdzBXGB.js (removed) 7.81 kB — 🟢 -7.81 kB 🟢 -2.49 kB 🟢 -2.16 kB
assets/CloudLayoutView-nb3KsHzl.js (new) — 7.81 kB 🔴 +7.81 kB 🔴 +2.48 kB 🔴 +2.17 kB
assets/CloudForgotPasswordView-CASP5c7K.js (removed) 6.22 kB — 🟢 -6.22 kB 🟢 -2.21 kB 🟢 -1.96 kB
assets/CloudForgotPasswordView-CQFo0akz.js (new) — 6.22 kB 🔴 +6.22 kB 🔴 +2.21 kB 🔴 +1.96 kB
assets/CloudAuthTimeoutView-DqCffsnP.js (removed) 5.58 kB — 🟢 -5.58 kB 🟢 -2.05 kB 🟢 -1.81 kB
assets/CloudAuthTimeoutView-dc0XziX1.js (new) — 5.58 kB 🔴 +5.58 kB 🔴 +2.04 kB 🔴 +1.8 kB
assets/CloudSubscriptionRedirectView-DdjrTHnT.js (removed) 5.36 kB — 🟢 -5.36 kB 🟢 -2.03 kB 🟢 -1.8 kB
assets/CloudSubscriptionRedirectView-DDviCxlj.js (new) — 5.36 kB 🔴 +5.36 kB 🔴 +2.02 kB 🔴 +1.8 kB
assets/UserSelectView-CxJhhVZ4.js (removed) 4.7 kB — 🟢 -4.7 kB 🟢 -1.75 kB 🟢 -1.55 kB
assets/UserSelectView-BWFgTJnG.js (new) — 4.6 kB 🔴 +4.6 kB 🔴 +1.7 kB 🔴 +1.5 kB
assets/CloudSorryContactSupportView-D__G2f-m.js (new) — 1.21 kB 🔴 +1.21 kB 🔴 +605 B 🔴 +524 B
assets/CloudSorryContactSupportView-pNVhY4aS.js (removed) 1.21 kB — 🟢 -1.21 kB 🟢 -606 B 🟢 -526 B
assets/layout-Cxx35XlL.js (new) — 385 B 🔴 +385 B 🔴 +268 B 🔴 +217 B
assets/layout-ynPSqZRu.js (removed) 385 B — 🟢 -385 B 🟢 -267 B 🟢 -218 B

Status: 11 added / 11 removed

Panels & Settings — 527 kB (baseline 527 kB) • 🟢 -196 B

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/KeybindingPanel-BwubeNRZ.js (removed) 47.5 kB — 🟢 -47.5 kB 🟢 -9.87 kB 🟢 -8.73 kB
assets/KeybindingPanel-DgRHzf55.js (new) — 47.5 kB 🔴 +47.5 kB 🔴 +9.87 kB 🔴 +8.74 kB
assets/settings-DcGUgAYY.js (new) — 39.8 kB 🔴 +39.8 kB 🔴 +9.73 kB 🔴 +7.99 kB
assets/settings-T-g5T1Lt.js (removed) 39.8 kB — 🟢 -39.8 kB 🟢 -9.73 kB 🟢 -8 kB
assets/settings-BAb83pK_.js (removed) 35.5 kB — 🟢 -35.5 kB 🟢 -8.66 kB 🟢 -7.31 kB
assets/settings-g_KiW4CX.js (new) — 35.5 kB 🔴 +35.5 kB 🔴 +8.66 kB 🔴 +7.31 kB
assets/settings-4V5R3XmH.js (new) — 33.6 kB 🔴 +33.6 kB 🔴 +8.49 kB 🔴 +6.92 kB
assets/settings-NHmXz_Gy.js (removed) 33.6 kB — 🟢 -33.6 kB 🟢 -8.49 kB 🟢 -6.92 kB
assets/settings-CyxmJBeB.js (removed) 31.6 kB — 🟢 -31.6 kB 🟢 -8.78 kB 🟢 -7.37 kB
assets/settings-D9lOxoko.js (new) — 31.6 kB 🔴 +31.6 kB 🔴 +8.78 kB 🔴 +7.37 kB
assets/settings-1ttmKGgt.js (removed) 30.9 kB — 🟢 -30.9 kB 🟢 -8.42 kB 🟢 -7.33 kB
assets/settings-DnVYDHKi.js (new) — 30.9 kB 🔴 +30.9 kB 🔴 +8.42 kB 🔴 +7.35 kB
assets/settings-AXGxicAD.js (removed) 29.7 kB — 🟢 -29.7 kB 🟢 -8.08 kB 🟢 -6.93 kB
assets/settings-BGa_Z0y6.js (new) — 29.7 kB 🔴 +29.7 kB 🔴 +8.08 kB 🔴 +6.93 kB
assets/settings-CSg8uEI4.js (removed) 29.7 kB — 🟢 -29.7 kB 🟢 -8.31 kB 🟢 -7.28 kB
assets/settings-Do42o6o3.js (new) — 29.7 kB 🔴 +29.7 kB 🔴 +8.32 kB 🔴 +7.28 kB
assets/settings-CfC4IUKr.js (new) — 28.8 kB 🔴 +28.8 kB 🔴 +8 kB 🔴 +6.94 kB
assets/settings-DGUc4F-W.js (removed) 28.8 kB — 🟢 -28.8 kB 🟢 -8 kB 🟢 -6.95 kB
assets/settings-BNCFz-ml.js (removed) 28.7 kB — 🟢 -28.7 kB 🟢 -8.45 kB 🟢 -7.05 kB
assets/settings-yhKRLt4x.js (new) — 28.7 kB 🔴 +28.7 kB 🔴 +8.45 kB 🔴 +7.03 kB
assets/settings-DGN4dMX5.js (removed) 27.2 kB — 🟢 -27.2 kB 🟢 -7.72 kB 🟢 -6.4 kB
assets/settings-DL4-D-cM.js (new) — 27.2 kB 🔴 +27.2 kB 🔴 +7.72 kB 🔴 +6.4 kB
assets/settings-Bl0uPG1G.js (removed) 25.2 kB — 🟢 -25.2 kB 🟢 -8.21 kB 🟢 -6.62 kB
assets/settings-BvB7C57f.js (new) — 25.2 kB 🔴 +25.2 kB 🔴 +8.21 kB 🔴 +6.62 kB
assets/settings-BDGoW_c7.js (new) — 24.6 kB 🔴 +24.6 kB 🔴 +7.98 kB 🔴 +6.27 kB
assets/settings-Bf8fayz0.js (removed) 24.6 kB — 🟢 -24.6 kB 🟢 -7.98 kB 🟢 -6.23 kB
assets/SecretsPanel-B7d26Cqn.js (removed) 23.9 kB — 🟢 -23.9 kB 🟢 -5.73 kB 🟢 -5.05 kB
assets/SecretsPanel-k8bVc112.js (new) — 23.8 kB 🔴 +23.8 kB 🔴 +5.68 kB 🔴 +5 kB
assets/LegacyCreditsPanel-CPzF-gsk.js (removed) 21.8 kB — 🟢 -21.8 kB 🟢 -5.94 kB 🟢 -5.26 kB
assets/LegacyCreditsPanel-BcmsgFzn.js (new) — 21.8 kB 🔴 +21.8 kB 🔴 +5.94 kB 🔴 +5.23 kB
assets/SubscriptionPanel-C3BpRcbM.js (removed) 20.2 kB — 🟢 -20.2 kB 🟢 -5.19 kB 🟢 -4.54 kB
assets/SubscriptionPanel-BV8XxUXI.js (new) — 20.1 kB 🔴 +20.1 kB 🔴 +5.16 kB 🔴 +4.53 kB
assets/AboutPanel-Cu611Rd5.js (removed) 12 kB — 🟢 -12 kB 🟢 -3.33 kB 🟢 -2.99 kB
assets/AboutPanel-JOhpD5qI.js (new) — 12 kB 🔴 +12 kB 🔴 +3.32 kB 🔴 +2.98 kB
assets/ExtensionPanel-D5Rj4YA9.js (removed) 10.1 kB — 🟢 -10.1 kB 🟢 -2.95 kB 🟢 -2.61 kB
assets/ExtensionPanel-BbC_fpcQ.js (new) — 10.1 kB 🔴 +10.1 kB 🔴 +2.94 kB 🔴 +2.6 kB
assets/ServerConfigPanel-pNA0Ptyo.js (removed) 7.13 kB — 🟢 -7.13 kB 🟢 -2.4 kB 🟢 -2.15 kB
assets/ServerConfigPanel-B_5SMGGt.js (new) — 7.13 kB 🔴 +7.13 kB 🔴 +2.41 kB 🔴 +2.14 kB
assets/settings-Bja6464F.js (removed) 7.07 kB — 🟢 -7.07 kB 🟢 -1.86 kB 🟢 -1.59 kB
assets/settings-JOhFu1Lx.js (new) — 7.07 kB 🔴 +7.07 kB 🔴 +1.87 kB 🔴 +1.59 kB
assets/UserPanel-DXz79xiG.js (removed) 6.84 kB — 🟢 -6.84 kB 🟢 -2.28 kB 🟢 -1.99 kB
assets/UserPanel-DGrWIhax.js (new) — 6.83 kB 🔴 +6.83 kB 🔴 +2.27 kB 🔴 +2 kB
assets/cloudRemoteConfig-B1G8xF8J.js (removed) 2.13 kB — 🟢 -2.13 kB 🟢 -1.02 kB 🟢 -883 B
assets/cloudRemoteConfig-C3v3DFyG.js (new) — 2.12 kB 🔴 +2.12 kB 🔴 +1.02 kB 🔴 +875 B
assets/config-B1llGBAC.js (new) — 2.01 kB 🔴 +2.01 kB 🔴 +998 B 🔴 +795 B
assets/config-D99QEULk.js (removed) 2.01 kB — 🟢 -2.01 kB 🟢 -999 B 🟢 -794 B
assets/refreshRemoteConfig-CKKHmQhj.js (removed) 1.45 kB — 🟢 -1.45 kB 🟢 -652 B 🟢 -551 B
assets/refreshRemoteConfig-nmgXQfgf.js (new) — 1.45 kB 🔴 +1.45 kB 🔴 +646 B 🔴 +549 B

Status: 24 added / 24 removed

User & Accounts — 17.7 kB (baseline 17.8 kB) • 🟢 -107 B

Authentication, profile, and account management bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/PasswordFields-CBXztBVz.js (new) — 4.68 kB 🔴 +4.68 kB 🔴 +1.42 kB 🔴 +1.25 kB
assets/PasswordFields-okv0JCwk.js (removed) 4.68 kB — 🟢 -4.68 kB 🟢 -1.42 kB 🟢 -1.25 kB
assets/auth-C5gjXkOm.js (removed) 3.65 kB — 🟢 -3.65 kB 🟢 -1.29 kB 🟢 -1.11 kB
assets/auth-DVT5Wn5y.js (new) — 3.65 kB 🔴 +3.65 kB 🔴 +1.28 kB 🔴 +1.11 kB
assets/SignUpForm-C2V_oMCn.js (new) — 3.2 kB 🔴 +3.2 kB 🔴 +1.3 kB 🔴 +1.16 kB
assets/SignUpForm-D8MDl8_I.js (removed) 3.19 kB — 🟢 -3.19 kB 🟢 -1.29 kB 🟢 -1.15 kB
assets/UpdatePasswordContent-BH0FbEPR.js (removed) 2.98 kB — 🟢 -2.98 kB 🟢 -1.33 kB 🟢 -1.19 kB
assets/UpdatePasswordContent-BaIT0Bjn.js (new) — 2.98 kB 🔴 +2.98 kB 🔴 +1.32 kB 🔴 +1.18 kB
assets/WorkspaceProfilePic-B1yXwjF3.js (new) — 1.66 kB 🔴 +1.66 kB 🔴 +863 B 🔴 +776 B
assets/WorkspaceProfilePic-CGxSol8k.js (removed) 1.66 kB — 🟢 -1.66 kB 🟢 -861 B 🟢 -744 B
assets/authStore-DGjG-mME.js (removed) 1.27 kB — 🟢 -1.27 kB 🟢 -599 B 🟢 -533 B
assets/authStore-Dr5AMaPi.js (new) — 1.26 kB 🔴 +1.26 kB 🔴 +595 B 🔴 +535 B
assets/auth-BlBA0m_Y.js (removed) 348 B — 🟢 -348 B 🟢 -219 B 🟢 -191 B
assets/auth-D8976n8Q.js (new) — 245 B 🔴 +245 B 🔴 +170 B 🔴 +149 B

Status: 7 added / 7 removed

Editors & Dialogs — 112 kB (baseline 112 kB) • 🟢 -5 B

Modals, dialogs, drawers, and in-app editors

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyHubPublishDialog-CmsOHpNN.js (new) — 85.8 kB 🔴 +85.8 kB 🔴 +18.6 kB 🔴 +15.9 kB
assets/ComfyHubPublishDialog-CKniotaO.js (removed) 85.8 kB — 🟢 -85.8 kB 🟢 -18.6 kB 🟢 -15.9 kB
assets/useShareDialog-BHRH7IYS.js (removed) 23.9 kB — 🟢 -23.9 kB 🟢 -5.81 kB 🟢 -5.15 kB
assets/useShareDialog-DQ_9G9uw.js (new) — 23.9 kB 🔴 +23.9 kB 🔴 +5.83 kB 🔴 +5.16 kB
assets/ComfyHubPublishDialog-DDMAHdv8.js (removed) 1.43 kB — 🟢 -1.43 kB 🟢 -662 B 🟢 -586 B
assets/ComfyHubPublishDialog-DVAnVIng.js (new) — 1.43 kB 🔴 +1.43 kB 🔴 +656 B 🔴 +580 B
assets/useSubscriptionDialog-abVl9_zc.js (removed) 1.25 kB — 🟢 -1.25 kB 🟢 -592 B 🟢 -522 B
assets/useSubscriptionDialog-DRAkxXNa.js (new) — 1.24 kB 🔴 +1.24 kB 🔴 +583 B 🔴 +518 B

Status: 4 added / 4 removed

UI Components — 58 kB (baseline 58 kB) • 🟢 -4 B

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyQueueButton-CjZqJJv9.js (new) — 13.5 kB 🔴 +13.5 kB 🔴 +3.79 kB 🔴 +3.38 kB
assets/ComfyQueueButton-AysMInlK.js (removed) 13.5 kB — 🟢 -13.5 kB 🟢 -3.79 kB 🟢 -3.37 kB
assets/useTerminalTabs-BTBO4zwE.js (removed) 11.1 kB — 🟢 -11.1 kB 🟢 -3.76 kB 🟢 -3.31 kB
assets/useTerminalTabs-CzcFUbFl.js (new) — 11.1 kB 🔴 +11.1 kB 🔴 +3.76 kB 🔴 +3.3 kB
assets/TopbarBadge-A3K8EnsG.js (removed) 7.62 kB — 🟢 -7.62 kB 🟢 -1.87 kB 🟢 -1.64 kB
assets/TopbarBadge-CryRbG2O.js (new) — 7.62 kB 🔴 +7.62 kB 🔴 +1.86 kB 🔴 +1.64 kB
assets/ScrubableNumberInput-C4_FxWcE.js (new) — 6.27 kB 🔴 +6.27 kB 🔴 +2.13 kB 🔴 +1.89 kB
assets/ScrubableNumberInput-D4yJLpZF.js (removed) 6.27 kB — 🟢 -6.27 kB 🟢 -2.13 kB 🟢 -1.89 kB
assets/toggle-group-Bbs_6mof.js (removed) 4.03 kB — 🟢 -4.03 kB 🟢 -1.42 kB 🟢 -1.25 kB
assets/toggle-group-CAsHNiUB.js (new) — 4.03 kB 🔴 +4.03 kB 🔴 +1.42 kB 🔴 +1.25 kB
assets/Button-DPsAt8Bp.js (new) — 3.52 kB 🔴 +3.52 kB 🔴 +1.36 kB 🔴 +1.2 kB
assets/Button-ls2j_a9H.js (removed) 3.52 kB — 🟢 -3.52 kB 🟢 -1.36 kB 🟢 -1.19 kB
assets/SubscribeButton-G8vztGIx.js (new) — 2.42 kB 🔴 +2.42 kB 🔴 +1.05 kB 🔴 +921 B
assets/SubscribeButton-BQfg4Bkv.js (removed) 2.42 kB — 🟢 -2.42 kB 🟢 -1.05 kB 🟢 -918 B
assets/WidgetButton-C3gC0lX_.js (removed) 2.07 kB — 🟢 -2.07 kB 🟢 -962 B 🟢 -873 B
assets/WidgetButton-uxNc4Fml.js (new) — 2.07 kB 🔴 +2.07 kB 🔴 +960 B 🔴 +873 B
assets/cloudFeedbackTopbarButton-CUb4ajjR.js (removed) 1.94 kB — 🟢 -1.94 kB 🟢 -967 B 🟢 -859 B
assets/cloudFeedbackTopbarButton-Bq0Sseyo.js (new) — 1.93 kB 🔴 +1.93 kB 🔴 +955 B 🔴 +846 B
assets/Input-CfsDJJg0.js (removed) 1.75 kB — 🟢 -1.75 kB 🟢 -859 B 🟢 -747 B
assets/Input-cK4aRZYk.js (new) — 1.75 kB 🔴 +1.75 kB 🔴 +859 B 🔴 +747 B
assets/ComfyQueueButton-C-M5xAKx.js (removed) 1.35 kB — 🟢 -1.35 kB 🟢 -626 B 🟢 -578 B
assets/ComfyQueueButton-D4LdpC_6.js (new) — 1.34 kB 🔴 +1.34 kB 🔴 +620 B 🔴 +570 B
assets/UserAvatar-CguBvt0M.js (removed) 1.28 kB — 🟢 -1.28 kB 🟢 -670 B 🟢 -574 B
assets/UserAvatar-rBfGrzW-.js (new) — 1.28 kB 🔴 +1.28 kB 🔴 +672 B 🔴 +574 B
assets/CloudBadge-CJAQ8vzi.js (removed) 1.17 kB — 🟢 -1.17 kB 🟢 -593 B 🟢 -522 B
assets/CloudBadge-Di-nwCdn.js (new) — 1.17 kB 🔴 +1.17 kB 🔴 +591 B 🔴 +521 B

Status: 13 added / 13 removed

Data & Services — 262 kB (baseline 3.16 MB) • 🟢 -2.9 MB

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/dialogService-BwAV2IAA.js (removed) 2.09 MB — 🟢 -2.09 MB 🟢 -477 kB 🟢 -361 kB
assets/api-D5VHQ3RN.js (removed) 898 kB — 🟢 -898 kB 🟢 -215 kB 🟢 -169 kB
assets/load3dService-DKnpBYsk.js (removed) 116 kB — 🟢 -116 kB 🟢 -25.4 kB 🟢 -21.6 kB
assets/load3dService-DGWm3SNp.js (new) — 116 kB 🔴 +116 kB 🔴 +25.4 kB 🔴 +21.6 kB
assets/api-syXDoveZ.js (new) — 81.8 kB 🔴 +81.8 kB 🔴 +21.8 kB 🔴 +18.8 kB
assets/workflowShareService-ClNJGyLE.js (new) — 16.7 kB 🔴 +16.7 kB 🔴 +4.92 kB 🔴 +4.36 kB
assets/workflowShareService-C6XVRKlh.js (removed) 16.7 kB — 🟢 -16.7 kB 🟢 -4.93 kB 🟢 -4.37 kB
assets/keybindingService-Cg-9JES4.js (new) — 13.8 kB 🔴 +13.8 kB 🔴 +3.67 kB 🔴 +3.22 kB
assets/keybindingService-5lxRPC8U.js (removed) 13.8 kB — 🟢 -13.8 kB 🟢 -3.67 kB 🟢 -3.22 kB
assets/releaseStore-DJbfoK1H.js (removed) 8.12 kB — 🟢 -8.12 kB 🟢 -2.28 kB 🟢 -2 kB
assets/releaseStore-BvC4Rh5d.js (new) — 8.08 kB 🔴 +8.08 kB 🔴 +2.26 kB 🔴 +1.99 kB
assets/extensionStore-NXaK-f2K.js (new) — 5.29 kB 🔴 +5.29 kB 🔴 +1.86 kB 🔴 +1.57 kB
assets/dialogStore-CtxzrFW8.js (new) — 4.83 kB 🔴 +4.83 kB 🔴 +1.59 kB 🔴 +1.38 kB
assets/dialogStore-Dlc1XvMd.js (removed) 4.83 kB — 🟢 -4.83 kB 🟢 -1.59 kB 🟢 -1.36 kB
assets/userStore-C7VdE1m_.js (new) — 2.42 kB 🔴 +2.42 kB 🔴 +932 B 🔴 +819 B
assets/userStore-Coy4yk5D.js (removed) 2.42 kB — 🟢 -2.42 kB 🟢 -933 B 🟢 -822 B
assets/serverConfigStore-aVVgScOn.js (removed) 2.35 kB — 🟢 -2.35 kB 🟢 -808 B 🟢 -712 B
assets/serverConfigStore-CywsRzXc.js (new) — 2.35 kB 🔴 +2.35 kB 🔴 +810 B 🔴 +706 B
assets/electronDownloadStore-CjvpesVU.js (new) — 1.83 kB 🔴 +1.83 kB 🔴 +735 B 🔴 +654 B
assets/electronDownloadStore-DOg_i22U.js (removed) 1.83 kB — 🟢 -1.83 kB 🟢 -733 B 🟢 -656 B
assets/audioService-CGa0CeYv.js (new) — 1.8 kB 🔴 +1.8 kB 🔴 +876 B 🔴 +755 B
assets/audioService-IkmmPqcf.js (removed) 1.8 kB — 🟢 -1.8 kB 🟢 -880 B 🟢 -757 B
assets/releaseStore-M7GaK52v.js (removed) 1.27 kB — 🟢 -1.27 kB 🟢 -595 B 🟢 -529 B
assets/releaseStore-DLhXpccF.js (new) — 1.27 kB 🔴 +1.27 kB 🔴 +589 B 🔴 +523 B
assets/workflowDraftStore-Ct5p8EeV.js (removed) 1.25 kB — 🟢 -1.25 kB 🟢 -591 B 🟢 -527 B
assets/workflowDraftStore-DEWJmtE6.js (new) — 1.24 kB 🔴 +1.24 kB 🔴 +582 B 🔴 +524 B
assets/dialogService-CgoC6YLu.js (removed) 1.24 kB — 🟢 -1.24 kB 🟢 -584 B 🟢 -522 B
assets/settingStore-DVPPUibz.js (removed) 1.23 kB — 🟢 -1.23 kB 🟢 -586 B 🟢 -522 B
assets/assetsStore-CgyXxAuQ.js (removed) 1.23 kB — 🟢 -1.23 kB 🟢 -586 B 🟢 -519 B
assets/dialogService-COv1Amn4.js (new) — 1.23 kB 🔴 +1.23 kB 🔴 +579 B 🔴 +521 B
assets/settingStore-BhnUaNMm.js (new) — 1.23 kB 🔴 +1.23 kB 🔴 +580 B 🔴 +520 B
assets/assetsStore-Dz3ewdmc.js (new) — 1.23 kB 🔴 +1.23 kB 🔴 +579 B 🔴 +520 B
assets/toastStore-BHhTHSY0.js (removed) 889 B — 🟢 -889 B 🟢 -432 B 🟢 -372 B
assets/toastStore-BIJAOU_s.js (new) — 889 B 🔴 +889 B 🔴 +430 B 🔴 +370 B

Status: 17 added / 17 removed

Utilities & Hooks — 3.28 MB (baseline 367 kB) • 🔴 +2.91 MB

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/promotionUtils-KlkyKU-M.js (new) — 2.91 MB 🔴 +2.91 MB 🔴 +675 kB 🔴 +508 kB
assets/useConflictDetection-DPyQFzcz.js (removed) 234 kB — 🟢 -234 kB 🟢 -52.1 kB 🟢 -42.5 kB
assets/useConflictDetection-BeXRq2og.js (new) — 234 kB 🔴 +234 kB 🔴 +52.1 kB 🔴 +42.4 kB
assets/useLoad3d-BLKaSYoS.js (new) — 23.9 kB 🔴 +23.9 kB 🔴 +5.42 kB 🔴 +4.79 kB
assets/useLoad3d-DAN4tdBW.js (removed) 23.9 kB — 🟢 -23.9 kB 🟢 -5.42 kB 🟢 -4.79 kB
assets/useLoad3dViewer-BzjUlShY.js (removed) 21 kB — 🟢 -21 kB 🟢 -4.93 kB 🟢 -4.31 kB
assets/useLoad3dViewer-CMdH0-R4.js (new) — 21 kB 🔴 +21 kB 🔴 +4.92 kB 🔴 +4.3 kB
assets/formatUtil-CHs2eteL.js (removed) 16.7 kB — 🟢 -16.7 kB 🟢 -5.7 kB 🟢 -5 kB
assets/formatUtil-CkR4akDO.js (new) — 16.7 kB 🔴 +16.7 kB 🔴 +5.7 kB 🔴 +5 kB
assets/colorUtil-CfvwY6kz.js (removed) 9.01 kB — 🟢 -9.01 kB 🟢 -2.68 kB 🟢 -2.37 kB
assets/colorUtil-DIMFuA24.js (new) — 9.01 kB 🔴 +9.01 kB 🔴 +2.68 kB 🔴 +2.37 kB
assets/assetMetadataUtils-BrfVviz8.js (removed) 6.2 kB — 🟢 -6.2 kB 🟢 -1.9 kB 🟢 -1.65 kB
assets/assetMetadataUtils-DitWLoW8.js (new) — 6.2 kB 🔴 +6.2 kB 🔴 +1.9 kB 🔴 +1.65 kB
assets/useFeatureFlags-BoXUWE82.js (removed) 5.95 kB — 🟢 -5.95 kB 🟢 -1.8 kB 🟢 -1.52 kB
assets/useFeatureFlags-BdLiV4IM.js (new) — 5.95 kB 🔴 +5.95 kB 🔴 +1.79 kB 🔴 +1.52 kB
assets/useTypeformEmbed-C5fioz7y.js (removed) 5.91 kB — 🟢 -5.91 kB 🟢 -2.28 kB 🟢 -1.89 kB
assets/useTypeformEmbed-DkNLnBNK.js (new) — 5.91 kB 🔴 +5.91 kB 🔴 +2.28 kB 🔴 +1.89 kB
assets/useCopyToClipboard-MLYpNk9-.js (removed) 5.29 kB — 🟢 -5.29 kB 🟢 -1.86 kB 🟢 -1.57 kB
assets/downloadUtil-DfrOPJ0N.js (new) — 4.68 kB 🔴 +4.68 kB 🔴 +1.85 kB 🔴 +1.54 kB
assets/downloadUtil-jNcgppX8.js (removed) 4.68 kB — 🟢 -4.68 kB 🟢 -1.85 kB 🟢 -1.54 kB
assets/curveUtils-BdplA_bW.js (removed) 3.83 kB — 🟢 -3.83 kB 🟢 -1.29 kB 🟢 -1.14 kB
assets/curveUtils-DpaSbVdd.js (new) — 3.83 kB 🔴 +3.83 kB 🔴 +1.29 kB 🔴 +1.13 kB
assets/useWorkspaceUI-uQgFdnqm.js (new) — 3.35 kB 🔴 +3.35 kB 🔴 +983 B 🔴 +819 B
assets/useWorkspaceUI-DxqmZz9Z.js (removed) 3.34 kB — 🟢 -3.34 kB 🟢 -982 B 🟢 -813 B
assets/subscriptionCheckoutUtil-fjEHpbQy.js (new) — 3.31 kB 🔴 +3.31 kB 🔴 +1.36 kB 🔴 +1.18 kB
assets/subscriptionCheckoutUtil-DaEG8JoZ.js (removed) 3.31 kB — 🟢 -3.31 kB 🟢 -1.36 kB 🟢 -1.18 kB
assets/useExternalLink-Ci_CBQ9z.js (removed) 3.03 kB — 🟢 -3.03 kB 🟢 -1.16 kB 🟢 -1.01 kB
assets/useExternalLink-pW0qWp_Z.js (new) — 3.03 kB 🔴 +3.03 kB 🔴 +1.16 kB 🔴 +1.01 kB
assets/assetPreviewUtil-BZHEqYzl.js (new) — 2.43 kB 🔴 +2.43 kB 🔴 +1.01 kB 🔴 +878 B
assets/assetPreviewUtil-DyR7S8Ed.js (removed) 2.43 kB — 🟢 -2.43 kB 🟢 -1.01 kB 🟢 -879 B
assets/useFeatureUsageTracker-BHablf64.js (new) — 2.13 kB 🔴 +2.13 kB 🔴 +943 B 🔴 +804 B
assets/useFeatureUsageTracker-BTIUTGb6.js (removed) 2.13 kB — 🟢 -2.13 kB 🟢 -942 B 🟢 -801 B
assets/useUpstreamValue-R1fPzUvn.js (removed) 2.08 kB — 🟢 -2.08 kB 🟢 -803 B 🟢 -707 B
assets/useUpstreamValue-CPR4NZk5.js (new) — 2.04 kB 🔴 +2.04 kB 🔴 +795 B 🔴 +711 B
assets/markdownRendererUtil-DqC1RYoZ.js (removed) 1.59 kB — 🟢 -1.59 kB 🟢 -830 B 🟢 -716 B
assets/markdownRendererUtil-RMT7Xk3Y.js (new) — 1.59 kB 🔴 +1.59 kB 🔴 +832 B 🔴 +722 B
assets/useErrorHandling-B1-YNRKp.js (removed) 1.54 kB — 🟢 -1.54 kB 🟢 -650 B 🟢 -549 B
assets/useErrorHandling-Cs-EL-E3.js (new) — 1.54 kB 🔴 +1.54 kB 🔴 +649 B 🔴 +552 B
assets/useLoad3d-CnQsf_JL.js (removed) 1.41 kB — 🟢 -1.41 kB 🟢 -654 B 🟢 -599 B
assets/useLoad3d-CEzZsWnC.js (new) — 1.41 kB 🔴 +1.41 kB 🔴 +651 B 🔴 +578 B
assets/useLoad3dViewer-DthQ9MhV.js (removed) 1.35 kB — 🟢 -1.35 kB 🟢 -622 B 🟢 -566 B
assets/useWorkspaceTierLabel-Cbiynkka.js (new) — 1.35 kB 🔴 +1.35 kB 🔴 +666 B 🔴 +556 B
assets/useWorkspaceTierLabel-dcRS2ejK.js (removed) 1.35 kB — 🟢 -1.35 kB 🟢 -666 B 🟢 -574 B
assets/useLoad3dViewer-BKpp7YbU.js (new) — 1.34 kB 🔴 +1.34 kB 🔴 +617 B 🔴 +564 B
assets/useTransformCompatOverlayProps-CDQhuJTs.js (new) — 1.33 kB 🔴 +1.33 kB 🔴 +680 B 🔴 +569 B
assets/useTransformCompatOverlayProps-DmaJx0_b.js (removed) 1.33 kB — 🟢 -1.33 kB 🟢 -681 B 🟢 -571 B
assets/useCurrentUser-BoJzH8Tv.js (removed) 1.23 kB — 🟢 -1.23 kB 🟢 -587 B 🟢 -522 B
assets/useCurrentUser-CiMMTmqv.js (new) — 1.23 kB 🔴 +1.23 kB 🔴 +579 B 🔴 +518 B
assets/histogramUtil-Axq-bFVD.js (removed) 972 B — 🟢 -972 B 🟢 -573 B 🟢 -489 B
assets/histogramUtil-v4PZ1dNS.js (new) — 972 B 🔴 +972 B 🔴 +574 B 🔴 +489 B
assets/errorUtil-B27D5igJ.js (removed) 843 B — 🟢 -843 B 🟢 -493 B 🟢 -407 B
assets/errorUtil-YG0jrHsH.js (new) — 843 B 🔴 +843 B 🔴 +492 B 🔴 +406 B
assets/useClickDragGuard-CEB8m-C3.js (removed) 828 B — 🟢 -828 B 🟢 -412 B 🟢 -360 B
assets/useClickDragGuard-yscU98nm.js (new) — 828 B 🔴 +828 B 🔴 +408 B 🔴 +359 B
assets/useWorkspaceSwitch-CRscPi9L.js (new) — 748 B 🔴 +748 B 🔴 +381 B 🔴 +337 B
assets/useWorkspaceSwitch-JFpExXiG.js (removed) 747 B — 🟢 -747 B 🟢 -384 B 🟢 -330 B
assets/envUtil-4Z3JqKXG.js (new) — 489 B 🔴 +489 B 🔴 +311 B 🔴 +244 B
assets/envUtil-B-SS3RiR.js (removed) 489 B — 🟢 -489 B 🟢 -308 B 🟢 -244 B
assets/_plugin-vue_export-helper-BdAVwF6V.js (removed) 365 B — 🟢 -365 B 🟢 -257 B 🟢 -216 B
assets/_plugin-vue_export-helper-CfDGPsIy.js (new) — 365 B 🔴 +365 B 🔴 +257 B 🔴 +216 B
assets/SkeletonUtils-B_fZBl51.js (removed) 133 B — 🟢 -133 B 🟢 -114 B 🟢 -100 B
assets/SkeletonUtils-DfvK0o1Y.js (new) — 133 B 🔴 +133 B 🔴 +113 B 🔴 +100 B

Status: 31 added / 31 removed

Vendor & Third-Party — 9.95 MB (baseline 9.94 MB) • 🔴 +84 B

External libraries and shared vendor chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/vendor-three-6poBmyee.js (new) — 1.94 MB 🔴 +1.94 MB 🔴 +415 kB 🔴 +305 kB
assets/vendor-three-Bqn5xMGa.js (removed) 1.94 MB — 🟢 -1.94 MB 🟢 -415 kB 🟢 -305 kB
assets/vendor-other-BcIGyCHe.js (new) — 1.82 MB 🔴 +1.82 MB 🔴 +375 kB 🔴 +299 kB
assets/vendor-other-BPIn3fQB.js (removed) 1.82 MB — 🟢 -1.82 MB 🟢 -375 kB 🟢 -299 kB
assets/vendor-primevue-DxsEoyk1.js (new) — 1.73 MB 🔴 +1.73 MB 🔴 +312 kB 🔴 +188 kB
assets/vendor-primevue-DeZBQlSM.js (removed) 1.73 MB — 🟢 -1.73 MB 🟢 -312 kB 🟢 -188 kB
assets/vendor-tiptap-BC3cYr2x.js (new) — 737 kB 🔴 +737 kB 🔴 +182 kB 🔴 +146 kB
assets/vendor-tiptap-DwBQX5t6.js (removed) 737 kB — 🟢 -737 kB 🟢 -182 kB 🟢 -146 kB
assets/vendor-reka-ui-CfYaTuRu.js (new) — 482 kB 🔴 +482 kB 🔴 +88.2 kB 🔴 +68.1 kB
assets/vendor-reka-ui-HbwR88y-.js (removed) 482 kB — 🟢 -482 kB 🟢 -88.2 kB 🟢 -68.1 kB
assets/vendor-chart-BnqcOo-6.js (removed) 411 kB — 🟢 -411 kB 🟢 -99.9 kB 🟢 -82.8 kB
assets/vendor-chart-C_kzK-9o.js (new) — 411 kB 🔴 +411 kB 🔴 +99.9 kB 🔴 +82.8 kB
assets/vendor-xterm-BITop3ap.js (new) — 374 kB 🔴 +374 kB 🔴 +75.6 kB 🔴 +61 kB
assets/vendor-xterm-Cijyhc7P.js (removed) 374 kB — 🟢 -374 kB 🟢 -75.6 kB 🟢 -61.1 kB
assets/vendor-yjs-BHvBea8f.js (new) — 246 kB 🔴 +246 kB 🔴 +53.3 kB 🔴 +44.2 kB
assets/vendor-yjs-DcilZf0a.js (removed) 246 kB — 🟢 -246 kB 🟢 -53.3 kB 🟢 -44.2 kB
assets/vendor-vueuse-9TEHzbtM.js (new) — 151 kB 🔴 +151 kB 🔴 +38 kB 🔴 +32.3 kB
assets/vendor-vueuse-fm3AglEo.js (removed) 151 kB — 🟢 -151 kB 🟢 -38 kB 🟢 -32.3 kB
assets/vendor-i18n-B0Y5O7c7.js (new) — 140 kB 🔴 +140 kB 🔴 +30.7 kB 🔴 +25.8 kB
assets/vendor-i18n-B9N7w0e7.js (removed) 140 kB — 🟢 -140 kB 🟢 -30.7 kB 🟢 -25.8 kB
assets/vendor-markdown-BLVCL-gG.js (removed) 110 kB — 🟢 -110 kB 🟢 -27.5 kB 🟢 -24.1 kB
assets/vendor-markdown-DHnBIFWA.js (new) — 110 kB 🔴 +110 kB 🔴 +27.5 kB 🔴 +24.1 kB
assets/vendor-zod-BvVPKpbC.js (removed) 105 kB — 🟢 -105 kB 🟢 -18.8 kB 🟢 -16 kB
assets/vendor-zod-DSCnYXGr.js (new) — 105 kB 🔴 +105 kB 🔴 +18.8 kB 🔴 +16 kB
assets/vendor-axios-CO6gbezt.js (new) — 93 kB 🔴 +93 kB 🔴 +25.3 kB 🔴 +22.1 kB
assets/vendor-axios-DIBy_WUa.js (removed) 93 kB — 🟢 -93 kB 🟢 -25.3 kB 🟢 -22 kB

Status: 13 added / 13 removed / 3 unchanged

Other — 9.23 MB (baseline 9.23 MB) • 🟢 -481 B

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/nodeDefs-D4e6ryJ0.js (new) — 573 kB 🔴 +573 kB 🔴 +89.1 kB 🔴 +60.6 kB
assets/nodeDefs-DNsCgptD.js (removed) 573 kB — 🟢 -573 kB 🟢 -89.1 kB 🟢 -60.6 kB
assets/nodeDefs-DlI_5_w7.js (new) — 526 kB 🔴 +526 kB 🔴 +83.2 kB 🔴 +58.1 kB
assets/nodeDefs-DV1dkAGz.js (removed) 526 kB — 🟢 -526 kB 🟢 -83.2 kB 🟢 -58.1 kB
assets/nodeDefs-CuYGBBuQ.js (removed) 525 kB — 🟢 -525 kB 🟢 -80.5 kB 🟢 -56.1 kB
assets/nodeDefs-D5ld-K7d.js (new) — 525 kB 🔴 +525 kB 🔴 +80.5 kB 🔴 +56.1 kB
assets/nodeDefs--OnwSdDz.js (removed) 483 kB — 🟢 -483 kB 🟢 -80.6 kB 🟢 -56.1 kB
assets/nodeDefs-D8Ru584A.js (new) — 483 kB 🔴 +483 kB 🔴 +80.6 kB 🔴 +56.1 kB
assets/nodeDefs-D-G_KKNs.js (removed) 469 kB — 🟢 -469 kB 🟢 -78.6 kB 🟢 -55.4 kB
assets/nodeDefs-D5752AJL.js (new) — 469 kB 🔴 +469 kB 🔴 +78.6 kB 🔴 +55.5 kB
assets/nodeDefs-CfJRkbC7.js (removed) 465 kB — 🟢 -465 kB 🟢 -77.3 kB 🟢 -56.3 kB
assets/nodeDefs-CuN7XW3e.js (new) — 465 kB 🔴 +465 kB 🔴 +77.3 kB 🔴 +56.3 kB
assets/nodeDefs-BACTflpk.js (removed) 463 kB — 🟢 -463 kB 🟢 -78.4 kB 🟢 -57 kB
assets/nodeDefs-C0nUhXLG.js (new) — 463 kB 🔴 +463 kB 🔴 +78.4 kB 🔴 +57 kB
assets/nodeDefs-csC3cAS0.js (new) — 460 kB 🔴 +460 kB 🔴 +75.5 kB 🔴 +54.9 kB
assets/nodeDefs-DPZ8T9dm.js (removed) 460 kB — 🟢 -460 kB 🟢 -75.5 kB 🟢 -54.9 kB
assets/nodeDefs-D6M5LWFs.js (removed) 454 kB — 🟢 -454 kB 🟢 -74.4 kB 🟢 -54.1 kB
assets/nodeDefs-wF5FzY40.js (new) — 454 kB 🔴 +454 kB 🔴 +74.4 kB 🔴 +54.1 kB
assets/nodeDefs-BBeSngD3.js (removed) 438 kB — 🟢 -438 kB 🟢 -68.7 kB 🟢 -50.6 kB
assets/nodeDefs-Dem6XlZ5.js (new) — 438 kB 🔴 +438 kB 🔴 +68.7 kB 🔴 +50.6 kB
assets/nodeDefs-4oeF4Ft1.js (removed) 424 kB — 🟢 -424 kB 🟢 -77.2 kB 🟢 -54 kB
assets/nodeDefs-CnBxEU8F.js (new) — 424 kB 🔴 +424 kB 🔴 +77.2 kB 🔴 +54 kB
assets/nodeDefs-D5wY4ab2.js (new) — 420 kB 🔴 +420 kB 🔴 +76.2 kB 🔴 +52.8 kB
assets/nodeDefs-DdX0LxAA.js (removed) 420 kB — 🟢 -420 kB 🟢 -76.2 kB 🟢 -52.8 kB
assets/main-BVMnZAtG.js (new) — 241 kB 🔴 +241 kB 🔴 +62.3 kB 🔴 +48.9 kB
assets/main-CidXPTMi.js (removed) 241 kB — 🟢 -241 kB 🟢 -62.3 kB 🟢 -48.9 kB
assets/main-DqTZ5J58.js (new) — 216 kB 🔴 +216 kB 🔴 +56.2 kB 🔴 +45.3 kB
assets/main-eTQmeVd8.js (removed) 216 kB — 🟢 -216 kB 🟢 -56.2 kB 🟢 -45.3 kB
assets/main--TRSGi7a.js (removed) 207 kB — 🟢 -207 kB 🟢 -56 kB 🟢 -44.6 kB
assets/main-D3mhffha.js (new) — 207 kB 🔴 +207 kB 🔴 +56 kB 🔴 +44.6 kB
assets/main-B7MpKvGy.js (removed) 198 kB — 🟢 -198 kB 🟢 -55.5 kB 🟢 -44.1 kB
assets/main-BxMNWrsG.js (new) — 198 kB 🔴 +198 kB 🔴 +55.5 kB 🔴 +44.1 kB
assets/main-BPa6Xh1R.js (removed) 181 kB — 🟢 -181 kB 🟢 -54.1 kB 🟢 -45.2 kB
assets/main-CgTslTsQ.js (new) — 181 kB 🔴 +181 kB 🔴 +54.1 kB 🔴 +45.2 kB
assets/main-BsgSV6PY.js (removed) 178 kB — 🟢 -178 kB 🟢 -53.4 kB 🟢 -43 kB
assets/main-BvSloHfC.js (new) — 178 kB 🔴 +178 kB 🔴 +53.4 kB 🔴 +43 kB
assets/main-CaCoiOcB.js (new) — 174 kB 🔴 +174 kB 🔴 +52.9 kB 🔴 +43.8 kB
assets/main-y-qiBP7C.js (removed) 174 kB — 🟢 -174 kB 🟢 -52.9 kB 🟢 -43.8 kB
assets/main-4QCgrGrP.js (removed) 172 kB — 🟢 -172 kB 🟢 -53.1 kB 🟢 -44.5 kB
assets/main-B5eL1wUE.js (new) — 172 kB 🔴 +172 kB 🔴 +53.1 kB 🔴 +44.5 kB
assets/main-BeE9KszD.js (new) — 171 kB 🔴 +171 kB 🔴 +52.4 kB 🔴 +44 kB
assets/main-Dtj2BMi8.js (removed) 171 kB — 🟢 -171 kB 🟢 -52.4 kB 🟢 -44 kB
assets/main-BPszm9zr.js (new) — 155 kB 🔴 +155 kB 🔴 +46.9 kB 🔴 +39.6 kB
assets/main-F6reW9k8.js (removed) 155 kB — 🟢 -155 kB 🟢 -46.9 kB 🟢 -39.6 kB
assets/main-BTdno5f-.js (new) — 152 kB 🔴 +152 kB 🔴 +52.1 kB 🔴 +41.6 kB
assets/main-TGIB8Wcp.js (removed) 152 kB — 🟢 -152 kB 🟢 -52.1 kB 🟢 -41.6 kB
assets/main-BwiP0RWx.js (removed) 151 kB — 🟢 -151 kB 🟢 -52.1 kB 🟢 -41.4 kB
assets/main-zruyNstl.js (new) — 151 kB 🔴 +151 kB 🔴 +52.1 kB 🔴 +41.4 kB
assets/WidgetSelect-qGrA_9qq.js (removed) 78.7 kB — 🟢 -78.7 kB 🟢 -17.4 kB 🟢 -15 kB
assets/WidgetSelect-atFigiDy.js (new) — 78.7 kB 🔴 +78.7 kB 🔴 +17.4 kB 🔴 +15 kB
assets/core-s5Pnah3T.js (removed) 78 kB — 🟢 -78 kB 🟢 -20.2 kB 🟢 -17.2 kB
assets/core-x3qhXldB.js (new) — 77.9 kB 🔴 +77.9 kB 🔴 +20.2 kB 🔴 +17.2 kB
assets/groupNode-BiMEgZww.js (new) — 74.9 kB 🔴 +74.9 kB 🔴 +18.8 kB 🔴 +16.5 kB
assets/groupNode-nyAy8rcE.js (removed) 74.9 kB — 🟢 -74.9 kB 🟢 -18.7 kB 🟢 -16.5 kB
assets/SubscriptionRequiredDialogContentWorkspace-DmHLleiY.js (removed) 48.9 kB — 🟢 -48.9 kB 🟢 -9.56 kB 🟢 -8.24 kB
assets/SubscriptionRequiredDialogContentWorkspace-C_rYLUcV.js (new) — 48.9 kB 🔴 +48.9 kB 🔴 +9.56 kB 🔴 +8.25 kB
assets/Load3DControls-B8KdKPms.js (new) — 46.1 kB 🔴 +46.1 kB 🔴 +7.51 kB 🔴 +6.55 kB
assets/Load3DControls-D1EVZYYM.js (removed) 46.1 kB — 🟢 -46.1 kB 🟢 -7.5 kB 🟢 -6.55 kB
assets/WorkspacePanelContent-B8C2rKKD.js (removed) 34.3 kB — 🟢 -34.3 kB 🟢 -7.44 kB 🟢 -6.58 kB
assets/WorkspacePanelContent-D7Al31mv.js (new) — 34.3 kB 🔴 +34.3 kB 🔴 +7.45 kB 🔴 +6.59 kB
assets/nodeDefs-BbUOiOwt.js (new) — 33.6 kB 🔴 +33.6 kB 🔴 +8.56 kB 🔴 +7.57 kB
assets/nodeDefs-BL9ABEQ-.js (removed) 33.6 kB — 🟢 -33.6 kB 🟢 -8.56 kB 🟢 -7.55 kB
assets/WidgetPainter-DVdaEB8F.js (removed) 33.5 kB — 🟢 -33.5 kB 🟢 -8.29 kB 🟢 -7.34 kB
assets/WidgetPainter-BheTJz4-.js (new) — 33.5 kB 🔴 +33.5 kB 🔴 +8.28 kB 🔴 +7.33 kB
assets/Load3dViewerContent-CDCnWXSA.js (new) — 30.6 kB 🔴 +30.6 kB 🔴 +6.21 kB 🔴 +5.37 kB
assets/Load3dViewerContent-CCobX7-F.js (removed) 30.6 kB — 🟢 -30.6 kB 🟢 -6.19 kB 🟢 -5.37 kB
assets/SubscriptionRequiredDialogContent-CDxNrFiu.js (removed) 27.6 kB — 🟢 -27.6 kB 🟢 -7.02 kB 🟢 -6.19 kB
assets/SubscriptionRequiredDialogContent-tZiQQPa2.js (new) — 27.6 kB 🔴 +27.6 kB 🔴 +7.01 kB 🔴 +6.18 kB
assets/WidgetImageCrop-8USMY8BA.js (removed) 24.4 kB — 🟢 -24.4 kB 🟢 -6.24 kB 🟢 -5.49 kB
assets/WidgetImageCrop-DRF-N7ub.js (new) — 24.4 kB 🔴 +24.4 kB 🔴 +6.23 kB 🔴 +5.46 kB
assets/SubscriptionPanelContentWorkspace-LM7luiXB.js (new) — 22.2 kB 🔴 +22.2 kB 🔴 +5.18 kB 🔴 +4.57 kB
assets/SubscriptionPanelContentWorkspace-DkCPlEMT.js (removed) 22.2 kB — 🟢 -22.2 kB 🟢 -5.17 kB 🟢 -4.55 kB
assets/SignInContent-CfbbAZ3A.js (removed) 20.9 kB — 🟢 -20.9 kB 🟢 -5.47 kB 🟢 -4.79 kB
assets/SignInContent-CGfK0cUc.js (new) — 20.9 kB 🔴 +20.9 kB 🔴 +5.47 kB 🔴 +4.78 kB
assets/CurrentUserPopoverWorkspace-BvoWMybX.js (removed) 20.9 kB — 🟢 -20.9 kB 🟢 -4.99 kB 🟢 -4.46 kB
assets/CurrentUserPopoverWorkspace-C6dBxcsq.js (new) — 20.9 kB 🔴 +20.9 kB 🔴 +4.99 kB 🔴 +4.45 kB
assets/WidgetInputNumber-BlRRcLcg.js (removed) 19.1 kB — 🟢 -19.1 kB 🟢 -4.84 kB 🟢 -4.3 kB
assets/commands-2GqaLukE.js (new) — 19.1 kB 🔴 +19.1 kB 🔴 +4.1 kB 🔴 +3.19 kB
assets/commands-CAp_I52S.js (removed) 19.1 kB — 🟢 -19.1 kB 🟢 -4.11 kB 🟢 -3.2 kB
assets/WidgetInputNumber-CXF_rJc0.js (new) — 19.1 kB 🔴 +19.1 kB 🔴 +4.82 kB 🔴 +4.28 kB
assets/Load3D-DyKp-YB5.js (new) — 18.5 kB 🔴 +18.5 kB 🔴 +4.4 kB 🔴 +3.85 kB
assets/Load3D-DLNyhku6.js (removed) 18.5 kB — 🟢 -18.5 kB 🟢 -4.39 kB 🟢 -3.83 kB
assets/commands-CuKZ8sDa.js (new) — 17.8 kB 🔴 +17.8 kB 🔴 +3.79 kB 🔴 +2.93 kB
assets/commands-YCZghOcw.js (removed) 17.8 kB — 🟢 -17.8 kB 🟢 -3.78 kB 🟢 -2.93 kB
assets/commands-B3hNwcHi.js (removed) 17.8 kB — 🟢 -17.8 kB 🟢 -3.85 kB 🟢 -3.03 kB
assets/commands-D8x0fmsx.js (new) — 17.8 kB 🔴 +17.8 kB 🔴 +3.85 kB 🔴 +3.03 kB
assets/load3d-C2DucAPY.js (removed) 17.7 kB — 🟢 -17.7 kB 🟢 -4.92 kB 🟢 -4.27 kB
assets/load3d-BYI68Brb.js (new) — 17.7 kB 🔴 +17.7 kB 🔴 +4.91 kB 🔴 +4.27 kB
assets/WidgetRecordAudio-D5g90uNU.js (removed) 17.6 kB — 🟢 -17.6 kB 🟢 -5.07 kB 🟢 -4.52 kB
assets/WidgetRecordAudio-fd3ONSTX.js (new) — 17.6 kB 🔴 +17.6 kB 🔴 +5.06 kB 🔴 +4.51 kB
assets/commands-BpJ1FRtV.js (new) — 17.2 kB 🔴 +17.2 kB 🔴 +3.88 kB 🔴 +3.05 kB
assets/commands-Wskb4dsx.js (removed) 17.2 kB — 🟢 -17.2 kB 🟢 -3.88 kB 🟢 -3.04 kB
assets/WidgetRange-DV1Ofm-z.js (removed) 17.1 kB — 🟢 -17.1 kB 🟢 -4.65 kB 🟢 -4.13 kB
assets/WidgetRange-D40rLNrl.js (new) — 17.1 kB 🔴 +17.1 kB 🔴 +4.64 kB 🔴 +4.13 kB
assets/commands-B4r69kY8.js (new) — 16.9 kB 🔴 +16.9 kB 🔴 +3.62 kB 🔴 +3.01 kB
assets/commands-CKGLkTEN.js (removed) 16.9 kB — 🟢 -16.9 kB 🟢 -3.61 kB 🟢 -3.01 kB
assets/commands-C_eJyad7.js (removed) 16.3 kB — 🟢 -16.3 kB 🟢 -3.6 kB 🟢 -2.96 kB
assets/commands-Me_LtlTu.js (new) — 16.3 kB 🔴 +16.3 kB 🔴 +3.6 kB 🔴 +2.96 kB
assets/commands-C1vAEin9.js (removed) 16.3 kB — 🟢 -16.3 kB 🟢 -3.5 kB 🟢 -2.85 kB
assets/commands-NGmCY3RS.js (new) — 16.3 kB 🔴 +16.3 kB 🔴 +3.5 kB 🔴 +2.86 kB
assets/commands-BbNUBhzX.js (new) — 16.3 kB 🔴 +16.3 kB 🔴 +3.47 kB 🔴 +2.88 kB
assets/commands-D7Dl4VG5.js (removed) 16.3 kB — 🟢 -16.3 kB 🟢 -3.47 kB 🟢 -2.88 kB
assets/WidgetColorPicker-Bhz-zeUf.js (removed) 16.2 kB — 🟢 -16.2 kB 🟢 -4 kB 🟢 -3.55 kB
assets/WidgetColorPicker-gSENMKre.js (new) — 16.2 kB 🔴 +16.2 kB 🔴 +3.99 kB 🔴 +3.56 kB
assets/commands-BeutXXnr.js (new) — 16.1 kB 🔴 +16.1 kB 🔴 +3.74 kB 🔴 +2.92 kB
assets/commands-DJTdIQl6.js (removed) 16.1 kB — 🟢 -16.1 kB 🟢 -3.74 kB 🟢 -2.92 kB
assets/commands-C1SzMJnk.js (new) — 15.8 kB 🔴 +15.8 kB 🔴 +3.28 kB 🔴 +2.78 kB
assets/commands-v0QRwcCy.js (removed) 15.8 kB — 🟢 -15.8 kB 🟢 -3.28 kB 🟢 -2.79 kB
assets/commands-bjsYfB2l.js (removed) 15.4 kB — 🟢 -15.4 kB 🟢 -3.67 kB 🟢 -2.8 kB
assets/commands-Blhh--p2.js (new) — 15.4 kB 🔴 +15.4 kB 🔴 +3.66 kB 🔴 +2.78 kB
assets/commands-DCr6WtuC.js (new) — 15.2 kB 🔴 +15.2 kB 🔴 +3.62 kB 🔴 +2.65 kB
assets/commands-F1ND0ARm.js (removed) 15.2 kB — 🟢 -15.2 kB 🟢 -3.62 kB 🟢 -2.65 kB
assets/WaveAudioPlayer-2CQi_D3g.js (new) — 13.4 kB 🔴 +13.4 kB 🔴 +3.68 kB 🔴 +3.22 kB
assets/WaveAudioPlayer-CgJyEW-U.js (removed) 13.4 kB — 🟢 -13.4 kB 🟢 -3.68 kB 🟢 -3.22 kB
assets/WidgetCurve-cZdm9ycu.js (removed) 12.3 kB — 🟢 -12.3 kB 🟢 -3.98 kB 🟢 -3.6 kB
assets/WidgetCurve-CNRy0To5.js (new) — 12.3 kB 🔴 +12.3 kB 🔴 +3.97 kB 🔴 +3.59 kB
assets/TeamWorkspacesDialogContent-BLreJMyY.js (removed) 11.4 kB — 🟢 -11.4 kB 🟢 -3.46 kB 🟢 -3.08 kB
assets/TeamWorkspacesDialogContent-hSienY6O.js (new) — 11.4 kB 🔴 +11.4 kB 🔴 +3.45 kB 🔴 +3.07 kB
assets/i18n-CrVlQXx8.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.06 kB 🟢 -2.58 kB
assets/i18n-DP-BCtU7.js (new) — 11.2 kB 🔴 +11.2 kB 🔴 +3.05 kB 🔴 +2.58 kB
assets/AudioPreviewPlayer-CP_yqFgh.js (new) — 10.8 kB 🔴 +10.8 kB 🔴 +3.13 kB 🔴 +2.8 kB
assets/AudioPreviewPlayer-cRw4bRkj.js (removed) 10.8 kB — 🟢 -10.8 kB 🟢 -3.13 kB 🟢 -2.8 kB
assets/nodeTemplates-BHMn5HH3.js (removed) 9.92 kB — 🟢 -9.92 kB 🟢 -3.51 kB 🟢 -3.1 kB
assets/nodeTemplates-DnO0QHJR.js (new) — 9.92 kB 🔴 +9.92 kB 🔴 +3.51 kB 🔴 +3.11 kB
assets/SelectValue-BhQ3aazX.js (removed) 9.8 kB — 🟢 -9.8 kB 🟢 -2.45 kB 🟢 -2.15 kB
assets/SelectValue-LLrQ4yNA.js (new) — 9.8 kB 🔴 +9.8 kB 🔴 +2.45 kB 🔴 +2.15 kB
assets/DialogHeader-CIN40WDf.js (removed) 9.09 kB — 🟢 -9.09 kB 🟢 -2.72 kB 🟢 -2.42 kB
assets/DialogHeader-CX9eOB_l.js (new) — 9.09 kB 🔴 +9.09 kB 🔴 +2.72 kB 🔴 +2.42 kB
assets/NightlySurveyController-DWXRVcVv.js (removed) 9.05 kB — 🟢 -9.05 kB 🟢 -3.19 kB 🟢 -2.81 kB
assets/NightlySurveyController-BqmBQ8mw.js (new) — 9.04 kB 🔴 +9.04 kB 🔴 +3.17 kB 🔴 +2.8 kB
assets/Load3DConfiguration-kw7syLl-.js (new) — 8.78 kB 🔴 +8.78 kB 🔴 +2.61 kB 🔴 +2.3 kB
assets/Load3DConfiguration-CAZnMuon.js (removed) 8.77 kB — 🟢 -8.77 kB 🟢 -2.61 kB 🟢 -2.3 kB
assets/InviteMemberDialogContent-BmGi7mJp.js (removed) 8.02 kB — 🟢 -8.02 kB 🟢 -2.56 kB 🟢 -2.25 kB
assets/InviteMemberDialogContent-DAgaQOyN.js (new) — 8.02 kB 🔴 +8.02 kB 🔴 +2.56 kB 🔴 +2.23 kB
assets/WidgetImageCompare-DXy4bCIj.js (removed) 7.9 kB — 🟢 -7.9 kB 🟢 -2.3 kB 🟢 -2.01 kB
assets/WidgetImageCompare-UWxTkg2I.js (new) — 7.9 kB 🔴 +7.9 kB 🔴 +2.3 kB 🔴 +2.02 kB
assets/Popover-B7ZJPmWt.js (new) — 7.17 kB 🔴 +7.17 kB 🔴 +2.58 kB 🔴 +2.27 kB
assets/onboardingCloudRoutes-BqRQ3_u1.js (removed) 6.94 kB — 🟢 -6.94 kB 🟢 -2.18 kB 🟢 -1.86 kB
assets/onboardingCloudRoutes-DnFKh0hM.js (new) — 6.85 kB 🔴 +6.85 kB 🔴 +2.15 kB 🔴 +1.84 kB
assets/commands-BohFP0x3.js (removed) 6.72 kB — 🟢 -6.72 kB 🟢 -1.58 kB 🟢 -1.35 kB
assets/commands-eGwN_vgc.js (new) — 6.72 kB 🔴 +6.72 kB 🔴 +1.58 kB 🔴 +1.35 kB
assets/CreateWorkspaceDialogContent-DGFoLW_O.js (removed) 6.23 kB — 🟢 -6.23 kB 🟢 -2.27 kB 🟢 -1.99 kB
assets/CreateWorkspaceDialogContent-BzD3njj-.js (new) — 6.22 kB 🔴 +6.22 kB 🔴 +2.27 kB 🔴 +1.99 kB
assets/saveMesh-DbwKjqu5.js (removed) 6.21 kB — 🟢 -6.21 kB 🟢 -2.15 kB 🟢 -1.9 kB
assets/WidgetWithControl-CmY9uUbf.js (removed) 6.2 kB — 🟢 -6.2 kB 🟢 -2.5 kB 🟢 -2.22 kB
assets/saveMesh-COu4RIuF.js (new) — 6.2 kB 🔴 +6.2 kB 🔴 +2.13 kB 🔴 +1.89 kB
assets/WidgetWithControl-C9Iu_n8m.js (new) — 6.17 kB 🔴 +6.17 kB 🔴 +2.47 kB 🔴 +2.2 kB
assets/AnimationControls-B8S745WX.js (new) — 6.16 kB 🔴 +6.16 kB 🔴 +1.88 kB 🔴 +1.66 kB
assets/AnimationControls-DVkM1xU1.js (removed) 6.16 kB — 🟢 -6.16 kB 🟢 -1.88 kB 🟢 -1.66 kB
assets/FreeTierDialogContent-Dm1fbArr.js (removed) 6.09 kB — 🟢 -6.09 kB 🟢 -2.17 kB 🟢 -1.93 kB
assets/FreeTierDialogContent-BTxR6ehW.js (new) — 6.09 kB 🔴 +6.09 kB 🔴 +2.16 kB 🔴 +1.92 kB
assets/EditWorkspaceDialogContent-Byu3Q3P4.js (removed) 6.03 kB — 🟢 -6.03 kB 🟢 -2.23 kB 🟢 -1.96 kB
assets/EditWorkspaceDialogContent-B1SE96mk.js (new) — 6.02 kB 🔴 +6.02 kB 🔴 +2.23 kB 🔴 +1.97 kB
assets/WidgetTextarea-pzJ6pL9n.js (removed) 5.84 kB — 🟢 -5.84 kB 🟢 -2.3 kB 🟢 -2.03 kB
assets/WidgetTextarea-DsplzZZL.js (new) — 5.84 kB 🔴 +5.84 kB 🔴 +2.3 kB 🔴 +2.04 kB
assets/Preview3d-v8EH-bbg.js (removed) 5.81 kB — 🟢 -5.81 kB 🟢 -1.96 kB 🟢 -1.71 kB
assets/Preview3d-DSXrgEk1.js (new) — 5.8 kB 🔴 +5.8 kB 🔴 +1.95 kB 🔴 +1.7 kB
assets/ValueControlPopover-BwEaGGdZ.js (removed) 5.61 kB — 🟢 -5.61 kB 🟢 -2.05 kB 🟢 -1.83 kB
assets/ValueControlPopover-BhcD0tc6.js (new) — 5.61 kB 🔴 +5.61 kB 🔴 +2.04 kB 🔴 +1.83 kB
assets/CancelSubscriptionDialogContent-Cv3wl4t4.js (removed) 5.53 kB — 🟢 -5.53 kB 🟢 -2.08 kB 🟢 -1.83 kB
assets/CancelSubscriptionDialogContent-DwbH70Z7.js (new) — 5.53 kB 🔴 +5.53 kB 🔴 +2.07 kB 🔴 +1.82 kB
assets/main-p5O4fQLb.js (removed) 5.5 kB — 🟢 -5.5 kB 🟢 -1.78 kB 🟢 -1.51 kB
assets/main-tVYGGqyB.js (new) — 5.5 kB 🔴 +5.5 kB 🔴 +1.78 kB 🔴 +1.5 kB
assets/CloudNotificationContent-CvRIa7h4.js (new) — 5.07 kB 🔴 +5.07 kB 🔴 +1.81 kB 🔴 +1.56 kB
assets/CloudNotificationContent-DHma7W42.js (removed) 5.07 kB — 🟢 -5.07 kB 🟢 -1.81 kB 🟢 -1.57 kB
assets/DeleteWorkspaceDialogContent-Bzd8Jpcu.js (removed) 4.93 kB — 🟢 -4.93 kB 🟢 -1.91 kB 🟢 -1.66 kB
assets/DeleteWorkspaceDialogContent-Bo-uq6wq.js (new) — 4.93 kB 🔴 +4.93 kB 🔴 +1.91 kB 🔴 +1.66 kB
assets/LeaveWorkspaceDialogContent-BBPtr0tJ.js (removed) 4.76 kB — 🟢 -4.76 kB 🟢 -1.86 kB 🟢 -1.62 kB
assets/LeaveWorkspaceDialogContent-BnzqXZuf.js (new) — 4.76 kB 🔴 +4.76 kB 🔴 +1.85 kB 🔴 +1.62 kB
assets/RemoveMemberDialogContent-CKzbBjuI.js (removed) 4.74 kB — 🟢 -4.74 kB 🟢 -1.81 kB 🟢 -1.58 kB
assets/RemoveMemberDialogContent-JcOuEXth.js (new) — 4.74 kB 🔴 +4.74 kB 🔴 +1.8 kB 🔴 +1.58 kB
assets/RevokeInviteDialogContent-Bta035Qr.js (removed) 4.65 kB — 🟢 -4.65 kB 🟢 -1.82 kB 🟢 -1.59 kB
assets/RevokeInviteDialogContent-BpBo6H8e.js (new) — 4.65 kB 🔴 +4.65 kB 🔴 +1.82 kB 🔴 +1.59 kB
assets/InviteMemberUpsellDialogContent-CbB25Q9P.js (removed) 4.55 kB — 🟢 -4.55 kB 🟢 -1.69 kB 🟢 -1.48 kB
assets/InviteMemberUpsellDialogContent-DHBustah.js (new) — 4.54 kB 🔴 +4.54 kB 🔴 +1.68 kB 🔴 +1.47 kB
assets/missingModelDownload-BAtieeWh.js (removed) 4.52 kB — 🟢 -4.52 kB 🟢 -1.76 kB 🟢 -1.55 kB
assets/missingModelDownload-zXUQnKFt.js (new) — 4.52 kB 🔴 +4.52 kB 🔴 +1.76 kB 🔴 +1.56 kB
assets/tierBenefits-DUsCOm13.js (new) — 4.46 kB 🔴 +4.46 kB 🔴 +1.59 kB 🔴 +1.37 kB
assets/tierBenefits-CtXJTjZy.js (removed) 4.45 kB — 🟢 -4.45 kB 🟢 -1.58 kB 🟢 -1.36 kB
assets/Media3DTop-jZrtc7f4.js (removed) 4.43 kB — 🟢 -4.43 kB 🟢 -1.81 kB 🟢 -1.6 kB
assets/Media3DTop-4rBpd7cJ.js (new) — 4.43 kB 🔴 +4.43 kB 🔴 +1.8 kB 🔴 +1.6 kB
assets/cloudSessionCookie-Ik39med_.js (removed) 4.39 kB — 🟢 -4.39 kB 🟢 -1.61 kB 🟢 -1.4 kB
assets/cloudSessionCookie-BAik4FJ3.js (new) — 4.39 kB 🔴 +4.39 kB 🔴 +1.6 kB 🔴 +1.4 kB
assets/ApiNodesSignInContent-CBjKIr48.js (new) — 4.26 kB 🔴 +4.26 kB 🔴 +1.4 kB 🔴 +1.23 kB
assets/ApiNodesSignInContent-DN4KQc4z.js (removed) 4.26 kB — 🟢 -4.26 kB 🟢 -1.4 kB 🟢 -1.23 kB
assets/WidgetBoundingBox-DCdkcN6w.js (removed) 3.81 kB — 🟢 -3.81 kB 🟢 -1.06 kB 🟢 -920 B
assets/WidgetBoundingBox-Dq0-un5y.js (new) — 3.81 kB 🔴 +3.81 kB 🔴 +1.06 kB 🔴 +917 B
assets/WidgetGalleria-Pa3IOxop.js (removed) 3.8 kB — 🟢 -3.8 kB 🟢 -1.47 kB 🟢 -1.32 kB
assets/WidgetGalleria-zxxx9We2.js (new) — 3.8 kB 🔴 +3.8 kB 🔴 +1.47 kB 🔴 +1.32 kB
assets/Popover-MWj6S-ae.js (removed) 3.77 kB — 🟢 -3.77 kB 🟢 -1.49 kB 🟢 -1.32 kB
assets/WidgetToggleSwitch-BQjT1xuB.js (removed) 3.73 kB — 🟢 -3.73 kB 🟢 -1.43 kB 🟢 -1.27 kB
assets/WidgetToggleSwitch-Co_Ii9np.js (new) — 3.73 kB 🔴 +3.73 kB 🔴 +1.43 kB 🔴 +1.27 kB
assets/Slider-CiVQEfsY.js (new) — 3.57 kB 🔴 +3.57 kB 🔴 +1.38 kB 🔴 +1.21 kB
assets/Slider-oSmpr0Gn.js (removed) 3.57 kB — 🟢 -3.57 kB 🟢 -1.38 kB 🟢 -1.21 kB
assets/widget-HaoBnQTi.js (removed) 3.5 kB — 🟢 -3.5 kB 🟢 -1.24 kB 🟢 -1.09 kB
assets/WidgetMarkdown-aqQwF01L.js (new) — 3.2 kB 🔴 +3.2 kB 🔴 +1.31 kB 🔴 +1.17 kB
assets/WidgetMarkdown-BWSKhen5.js (removed) 3.2 kB — 🟢 -3.2 kB 🟢 -1.31 kB 🟢 -1.15 kB
assets/WidgetInputText-B2h10Shq.js (removed) 3.09 kB — 🟢 -3.09 kB 🟢 -1.31 kB 🟢 -1.18 kB
assets/WidgetInputText-BuCYUVs7.js (new) — 3.09 kB 🔴 +3.09 kB 🔴 +1.31 kB 🔴 +1.18 kB
assets/GlobalToast-CSyDE7Km.js (new) — 3.05 kB 🔴 +3.05 kB 🔴 +1.26 kB 🔴 +1.08 kB
assets/GlobalToast-C5yLNEpj.js (removed) 3.05 kB — 🟢 -3.05 kB 🟢 -1.26 kB 🟢 -1.08 kB
assets/MediaVideoTop-DUKzwJp-.js (removed) 2.96 kB — 🟢 -2.96 kB 🟢 -1.2 kB 🟢 -1.07 kB
assets/MediaVideoTop-DVDKWthT.js (new) — 2.96 kB 🔴 +2.96 kB 🔴 +1.21 kB 🔴 +1.06 kB
assets/ErrorPanelSurveyCta-Bb1SWoMx.js (removed) 2.74 kB — 🟢 -2.74 kB 🟢 -1.21 kB 🟢 -1.07 kB
assets/ErrorPanelSurveyCta-BFd7-wGK.js (new) — 2.74 kB 🔴 +2.74 kB 🔴 +1.21 kB 🔴 +1.07 kB
assets/WidgetLayoutField-CUBEv71l.js (removed) 2.42 kB — 🟢 -2.42 kB 🟢 -1.06 kB 🟢 -983 B
assets/WidgetLayoutField-DhbTqHe5.js (new) — 2.42 kB 🔴 +2.42 kB 🔴 +1.06 kB 🔴 +935 B
assets/WidgetChart-bU1UCtH1.js (removed) 2.41 kB — 🟢 -2.41 kB 🟢 -1.03 kB 🟢 -890 B
assets/WidgetChart-Puy_qzxl.js (new) — 2.41 kB 🔴 +2.41 kB 🔴 +1.02 kB 🔴 +890 B
assets/CloudRunButtonWrapper-DajE56_i.js (removed) 2.31 kB — 🟢 -2.31 kB 🟢 -1.05 kB 🟢 -943 B
assets/CloudRunButtonWrapper-ntVyPE-a.js (new) — 2.31 kB 🔴 +2.31 kB 🔴 +1.04 kB 🔴 +934 B
assets/SubscribeToRun-C1dYgoxr.js (new) — 2.13 kB 🔴 +2.13 kB 🔴 +983 B 🔴 +893 B
assets/SubscribeToRun-CDudlIwY.js (removed) 2.13 kB — 🟢 -2.13 kB 🟢 -984 B 🟢 -873 B
assets/MediaImageTop-C9lzr2VH.js (removed) 2.12 kB — 🟢 -2.12 kB 🟢 -1.03 kB 🟢 -908 B
assets/MediaImageTop-CJzDeuR8.js (new) — 2.12 kB 🔴 +2.12 kB 🔴 +1.03 kB 🔴 +908 B
assets/MediaAudioTop-DCwnXzVx.js (removed) 2.08 kB — 🟢 -2.08 kB 🟢 -1.01 kB 🟢 -858 B
assets/SubscriptionBenefits-fFFrxypT.js (removed) 2.07 kB — 🟢 -2.07 kB 🟢 -708 B 🟢 -602 B
assets/SubscriptionBenefits-l38UGG_Y.js (new) — 2.07 kB 🔴 +2.07 kB 🔴 +710 B 🔴 +599 B
assets/cloudBadges-Ds9R9sJd.js (removed) 2.04 kB — 🟢 -2.04 kB 🟢 -1.01 kB 🟢 -880 B
assets/cloudBadges-CBEnkWdf.js (new) — 2.04 kB 🔴 +2.04 kB 🔴 +1 kB 🔴 +872 B
assets/MediaAudioTop-BhWUAEBZ.js (new) — 2.01 kB 🔴 +2.01 kB 🔴 +976 B 🔴 +834 B
assets/cloudSubscription-Bpr1Np9z.js (removed) 1.96 kB — 🟢 -1.96 kB 🟢 -929 B 🟢 -810 B
assets/cloudSubscription-CAR4HVqa.js (new) — 1.95 kB 🔴 +1.95 kB 🔴 +923 B 🔴 +807 B
assets/BaseViewTemplate-BdW0BBIN.js (removed) 1.92 kB — 🟢 -1.92 kB 🟢 -980 B 🟢 -871 B
assets/BaseViewTemplate-CPnIMcjU.js (new) — 1.92 kB 🔴 +1.92 kB 🔴 +983 B 🔴 +871 B
assets/graphHasMissingNodes-NBGUNQpy.js (new) — 1.85 kB 🔴 +1.85 kB 🔴 +869 B 🔴 +771 B
assets/graphHasMissingNodes-COY-rCgk.js (removed) 1.84 kB — 🟢 -1.84 kB 🟢 -862 B 🟢 -761 B
assets/webviewDetection-D2af4G8H.js (new) — 1.81 kB 🔴 +1.81 kB 🔴 +866 B 🔴 +715 B
assets/webviewDetection-DKW-3YNZ.js (removed) 1.81 kB — 🟢 -1.81 kB 🟢 -864 B 🟢 -715 B
assets/auto--OJRJowr.js (removed) 1.7 kB — 🟢 -1.7 kB 🟢 -619 B 🟢 -561 B
assets/auto-BIIqQxLi.js (new) — 1.7 kB 🔴 +1.7 kB 🔴 +620 B 🔴 +546 B
assets/Loader-BhGtlD0S.js (removed) 1.68 kB — 🟢 -1.68 kB 🟢 -808 B 🟢 -739 B
assets/Loader-COZElSVc.js (new) — 1.68 kB 🔴 +1.68 kB 🔴 +809 B 🔴 +738 B
assets/Load3D-CHSU1jPX.js (removed) 1.66 kB — 🟢 -1.66 kB 🟢 -744 B 🟢 -658 B
assets/Load3D-Cr6uBrTC.js (new) — 1.66 kB 🔴 +1.66 kB 🔴 +743 B 🔴 +651 B
assets/signInSchema-Cbfc9NIw.js (removed) 1.6 kB — 🟢 -1.6 kB 🟢 -587 B 🟢 -555 B
assets/signInSchema-CQ4Xkk71.js (new) — 1.6 kB 🔴 +1.6 kB 🔴 +588 B 🔴 +548 B
assets/nightlyBadges-BMX2UwTY.js (removed) 1.57 kB — 🟢 -1.57 kB 🟢 -780 B 🟢 -690 B
assets/nightlyBadges-D_bFiqob.js (new) — 1.57 kB 🔴 +1.57 kB 🔴 +771 B 🔴 +690 B
assets/Textarea-CmQ08SGj.js (removed) 1.55 kB — 🟢 -1.55 kB 🟢 -803 B 🟢 -697 B
assets/Textarea-VIvFDOYo.js (new) — 1.55 kB 🔴 +1.55 kB 🔴 +802 B 🔴 +693 B
assets/Load3dViewerContent-D071GPL2.js (removed) 1.54 kB — 🟢 -1.54 kB 🟢 -697 B 🟢 -617 B
assets/Load3dViewerContent-BNOiNcIQ.js (new) — 1.54 kB 🔴 +1.54 kB 🔴 +692 B 🔴 +610 B
assets/previousFullPath-DWPeRFlc.js (new) — 1.53 kB 🔴 +1.53 kB 🔴 +692 B 🔴 +607 B
assets/previousFullPath-DUroR9lB.js (removed) 1.53 kB — 🟢 -1.53 kB 🟢 -695 B 🟢 -603 B
assets/widgetPropFilter-CG8rMMp0.js (new) — 1.52 kB 🔴 +1.52 kB 🔴 +706 B 🔴 +577 B
assets/widgetPropFilter-CS31WNn2.js (removed) 1.52 kB — 🟢 -1.52 kB 🟢 -705 B 🟢 -574 B
assets/VideoPlayOverlay-C-KNKcnB.js (removed) 1.51 kB — 🟢 -1.51 kB 🟢 -761 B 🟢 -677 B
assets/VideoPlayOverlay-D-35Vimo.js (new) — 1.51 kB 🔴 +1.51 kB 🔴 +760 B 🔴 +676 B
assets/SubscriptionPanelContentWorkspace-7EUliGno.js (removed) 1.43 kB — 🟢 -1.43 kB 🟢 -650 B 🟢 -578 B
assets/SubscriptionPanelContentWorkspace-CykX3uwK.js (new) — 1.43 kB 🔴 +1.43 kB 🔴 +645 B 🔴 +574 B
assets/constants-O5j-l2wh.js (removed) 1.27 kB — 🟢 -1.27 kB 🟢 -461 B 🟢 -389 B
assets/constants-PW-Ysw7g.js (new) — 1.27 kB 🔴 +1.27 kB 🔴 +462 B 🔴 +383 B
assets/WidgetLegacy-lQX_PpEt.js (removed) 1.25 kB — 🟢 -1.25 kB 🟢 -598 B 🟢 -531 B
assets/WidgetLegacy-ClNbZEzZ.js (new) — 1.25 kB 🔴 +1.25 kB 🔴 +591 B 🔴 +527 B
assets/changeTracker-DrlWxDzD.js (removed) 1.23 kB — 🟢 -1.23 kB 🟢 -586 B 🟢 -519 B
assets/changeTracker-BpiQ8gLC.js (new) — 1.23 kB 🔴 +1.23 kB 🔴 +579 B 🔴 +517 B
assets/MediaOtherTop-BYyJOsC7.js (new) — 1.07 kB 🔴 +1.07 kB 🔴 +603 B 🔴 +501 B
assets/MediaOtherTop-jTJ6pwZB.js (removed) 1.07 kB — 🟢 -1.07 kB 🟢 -604 B 🟢 -500 B
assets/MediaTextTop-C34kYYo5.js (removed) 1.06 kB — 🟢 -1.06 kB 🟢 -600 B 🟢 -501 B
assets/MediaTextTop-CVztLpmP.js (new) — 1.06 kB 🔴 +1.06 kB 🔴 +598 B 🔴 +499 B
assets/ComfyOrgHeader-DN3RQxUY.js (removed) 960 B — 🟢 -960 B 🟢 -530 B 🟢 -466 B
assets/ComfyOrgHeader-rEx94h76.js (new) — 960 B 🔴 +960 B 🔴 +530 B 🔴 +459 B
assets/telemetry-Bcs-JzY-.js (new) — 443 B 🔴 +443 B 🔴 +311 B 🔴 +244 B
assets/telemetry-CWhJNFXm.js (removed) 443 B — 🟢 -443 B 🟢 -312 B 🟢 -246 B
assets/widgetTypes-CnNzBkWf.js (new) — 416 B 🔴 +416 B 🔴 +273 B 🔴 +239 B
assets/widgetTypes-DJZePZuG.js (removed) 416 B — 🟢 -416 B 🟢 -272 B 🟢 -236 B
assets/src-BijcAd2o.js (new) — 410 B 🔴 +410 B 🔴 +301 B 🔴 +249 B
assets/src-Cr3pxOtd.js (removed) 410 B — 🟢 -410 B 🟢 -300 B 🟢 -245 B
assets/missingModelDownload-CF-QNMA0.js (new) — 386 B 🔴 +386 B 🔴 +226 B 🔴 +214 B
assets/missingModelDownload-CkZNP96k.js (removed) 386 B — 🟢 -386 B 🟢 -224 B 🟢 -214 B
assets/WidgetBoundingBox-l8D6J22P.js (removed) 311 B — 🟢 -311 B 🟢 -197 B 🟢 -190 B
assets/WidgetBoundingBox-N3Gf-SV4.js (new) — 311 B 🔴 +311 B 🔴 +196 B 🔴 +188 B
assets/cloud-subscription-BXnzCc6q.js (new) — 279 B 🔴 +279 B 🔴 +185 B 🔴 +147 B
assets/cloud-subscription-DTnMP-PC.js (removed) 279 B — 🟢 -279 B 🟢 -184 B 🟢 -146 B
assets/comfy-logo-single-C4pG2Gfa.js (removed) 272 B — 🟢 -272 B 🟢 -185 B 🟢 -150 B
assets/comfy-logo-single-CTUgQFqI.js (new) — 272 B 🔴 +272 B 🔴 +186 B 🔴 +149 B
assets/i18n-Ce4F6asx.js (new) — 137 B 🔴 +137 B 🔴 +122 B 🔴 +108 B
assets/i18n-DQqfPexy.js (removed) 137 B — 🟢 -137 B 🟢 -122 B 🟢 -108 B

Status: 139 added / 140 removed / 3 unchanged

⚡ Performance

⏳ Performance tests in progress…

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 13

🧹 Nitpick comments (2)
src/core/graph/subgraph/preview/previewExposureChain.test.ts (1)

12-12: 💤 Low value

Remove redundant FixtureExposure interface.

The FixtureExposure interface extends PreviewExposure without adding any fields. Use PreviewExposure directly in the test fixture types instead.

♻️ Simplify by removing the redundant interface
-interface FixtureExposure extends PreviewExposure {}
-
 interface NestedHostMapping {

Then update line 22:

 function makeContext(
-  exposureMap: Map<string, FixtureExposure[]>,
+  exposureMap: Map<string, PreviewExposure[]>,
   nested: NestedHostMapping[]

Based on learnings: In TypeScript test files, avoid duplicating interface/type definitions. Import real type definitions from the component modules under test.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/core/graph/subgraph/preview/previewExposureChain.test.ts` at line 12,
Remove the redundant FixtureExposure interface declaration (which merely extends
PreviewExposure) and update the test fixture type annotations to use
PreviewExposure directly (replace any FixtureExposure references with
PreviewExposure). Delete the "interface FixtureExposure extends PreviewExposure
{}" line and ensure PreviewExposure is imported from the module under test if it
isn't already, then run type checks to confirm no remaining references to
FixtureExposure remain.
src/core/graph/subgraph/migration/proxyWidgetMigration.test.ts (1)

454-475: ⚡ Quick win

Assert the surviving link, not just counters, in the dangling-link regression case

This case’s name claims surviving primitive targets are kept, but it only checks primitiveRepaired/quarantined. Add a direct assertion that the valid target link still exists after flush.

Suggested patch
-    it('keeps surviving primitive targets when one fan-out link is dangling', () => {
+    it('keeps surviving primitive targets when one fan-out link is dangling', () => {
       const host = buildHost()
-      const { primitive } = addPrimitiveWithTargets(host, { targetCount: 1 })
+      const { primitive, targets } = addPrimitiveWithTargets(host, {
+        targetCount: 1
+      })

       const danglingLinkId = 999_999
       expect(host.subgraph.links.has(danglingLinkId)).toBe(false)
@@
       expect(result).toMatchObject({ primitiveRepaired: 0, quarantined: 1 })
+      const survivingLinkId = targets[0].inputs[0].link
+      expect(survivingLinkId).not.toBeNull()
+      expect(host.subgraph.links.has(survivingLinkId!)).toBe(true)
       expect(readHostQuarantine(host)).toEqual([
         expect.objectContaining({
           originalEntry: [String(primitive.id), 'value'],
           reason: 'primitiveBypassFailed'
         })
       ])
     })

As per coding guidelines: “Write tests for all changes, especially bug fixes to catch future regressions.”

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/core/graph/subgraph/migration/proxyWidgetMigration.test.ts` around lines
454 - 475, The test currently only checks primitiveRepaired/quarantined
counters; add an assertion that the surviving valid target link is still present
after calling flushProxyWidgetMigration by checking primitive.outputs[0].links
(or host.subgraph.links.has(...) for the actual link id returned by
addPrimitiveWithTargets) to ensure the non-dangling link remains; update the
test around buildHost/addPrimitiveWithTargets so you capture the valid link id
before injecting danglingLinkId and assert it exists after
flushProxyWidgetMigration and before/after readHostQuarantine as appropriate.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@browser_tests/tests/vueNodes/interactions/node/imagePreview.spec.ts`:
- Around line 96-100: Add an explicit assertion that hosts whose only promoted
content are previews do not render the regular widget container: after the
existing checks in imagePreview.spec.ts, assert that the DOM does not contain
the `.lg-node-widgets` container (e.g., verify `.lg-node-widgets` is absent via
wrapper/find or query and expect exists() to be false). This ties the behavior
to the NodeWidgets v-if (nodeData.widgets?.length) condition so the test will
fail if `.lg-node-widgets` is rendered accidentally.

In `@src/core/graph/subgraph/migration/proxyWidgetMigration.ts`:
- Around line 45-55: When disambiguatingSourceNodeId is provided, don't fall
back to any promoted widget with the same name; only accept the targeted
promoted widget (byDisambiguator) or a concrete/non-promoted widget. Update the
logic around widgets.find and isPromotedWidgetView so that: if
disambiguatingSourceNodeId !== undefined you first try the byDisambiguator match
and if that misses you only return a widget whose name === sourceWidgetName and
!isPromotedWidgetView(widget); if disambiguatingSourceNodeId is undefined keep
the existing naive name-based find. Use the symbols disambiguatingSourceNodeId,
byDisambiguator, widgets, isPromotedWidgetView, and sourceWidgetName to locate
and change the conditional.

In `@src/core/graph/subgraph/preview/previewExposureChain.ts`:
- Around line 46-55: In chainFromLastStep(), when building the fallback leaf use
the last resolved step's graph id instead of the outer currentRootGraphId;
replace leaf.rootGraphId: currentRootGraphId with the graph id from the last
exposure (e.g., last.rootGraphId or the exposure's resolved graph id property)
so the returned leaf matches last.sourceNodeId/sourcePreviewName and downstream
resolution stays consistent.

In `@src/core/graph/subgraph/promotedWidgetView.ts`:
- Around line 425-452: afterQueued/applyValueControlToHost currently assigns the
computed next into this.value which propagates to the shared interior widget;
instead, locate the host-specific overlay/interior instance returned by
resolveAtHost() and write the new value to that host-local widget (not
this.value) so the mutation stays per-host. Concretely: in
applyValueControlToHost use the resolved object from resolveAtHost() to find the
host overlay/interior widget (the same place you read controlWidget from) and
set its value or call its host-specific setter (rather than assigning
this.value); keep all existing mode/min/max/step2 logic but apply the final next
to the resolved host-local widget instance to avoid mutating the shared source.

In `@src/core/graph/subgraph/promotionUtils.ts`:
- Around line 358-360: promoteValueWidgetViaSubgraphInput(parent, node as
LGraphNode, widget) can return {ok:false, reason} but the callers ignore
failures; update both call sites (the one using 'getSlotFromWidget' in node and
the other at the second location) to check the returned result, and on failure
either propagate the error (throw) or return a failed result up the call chain,
including the returned reason; ensure you reference the returned value from
promoteValueWidgetViaSubgraphInput and handle cases like
'missingSourceSlot'/'connectFailed' instead of silently continuing so callers
can react or fail fast.

In `@src/core/graph/subgraph/resolveSubgraphInputTarget.ts`:
- Around line 18-27: The current flow calls getTargetWidget() before checking
inputNode.isSubgraphNode(), causing opaque subgraph inputs to fail when the
child slot has no concrete widget; change the control flow in
resolveSubgraphInputTarget (the function containing getTargetWidget,
inputNode.isSubgraphNode, and targetInput) so the isSubgraphNode branch executes
first and returns the promoted target ({ nodeId: String(inputNode.id),
widgetName: targetInput.name }) without requiring getTargetWidget(), and only
call getTargetWidget() in the non-subgraph branch when a backing widget is
required.

In `@src/core/schemas/previewExposureSchema.ts`:
- Around line 20-24: The code double-parses `property` then still uses a
conditional JSON.parse when calling previewExposuresPropertySchema.safeParse;
remove the redundant conditional and call safeParse with the already-parsed
value. Specifically, in the try block after `if (typeof property === 'string')
property = JSON.parse(property)`, pass `property` directly into
`previewExposuresPropertySchema.safeParse(property)` (or use the original value
when not a string) instead of `typeof property === 'string' ?
JSON.parse(property) : property`, ensuring no double JSON.parse occurs.

In `@src/lib/litegraph/src/LGraph.ts`:
- Around line 185-193: Remove the static mutable hook proxyWidgetMigrationFlush
from LGraph and instead move the wiring responsibility into a dedicated
migration orchestrator: implement a MigrationOrchestrator (or similar) in the
wiring layer that knows about PreviewExposureStore and subscribes to graph
lifecycle events (or is invoked from the existing configure() call path) to
perform migration by calling a method with the host node (SubgraphNode) and node
data (ISerialisedNode | undefined); update wiring to call
MigrationOrchestrator.migrate(hostNode, nodeData) during app init/graph
configure rather than setting LGraph.proxyWidgetMigrationFlush, so the core
LGraph type remains free of mutable integration hooks.
- Around line 1367-1377: The current early returns prevent legacy callbacks from
receiving non-whitelisted actions; change the logic so this.onTrigger is invoked
for any action (call this.onTrigger?.({ type: action, ...param } as
LGraphTriggerEvent) unconditionally) and only gate this.events.dispatch behind
the validEventTypes and param checks (i.e., only call
this.events.dispatch(action as LGraphTriggerAction, param as never) when
validEventTypes.has(action) and param is an object), keeping the same type casts
(LGraphTriggerAction / LGraphTriggerEvent) and using the existing symbols
validEventTypes, action, param, this.onTrigger, and this.events.dispatch.

In `@src/lib/litegraph/src/LGraphNode.ts`:
- Around line 1026-1032: The current UUID path sets data.id before borrowing the
node id, which allows node.configure(data) to overwrite the borrowed id and
break id-keyed hydration; change the order and behavior so the instance's id is
borrowed first (set node.id = this.id) and only then run node.configure(data),
and avoid preassigning data.id when LiteGraph.use_uuids is true (or delay
assigning data.id until after configure) so configure cannot overwrite the
borrowed node.id; update references in this block (LiteGraph.use_uuids, data.id,
node.id, node.configure) accordingly.

In `@src/lib/litegraph/src/subgraph/SubgraphNode.ts`:
- Around line 645-667: The method _applyPromotedWidgetValues is reapplying
legacy widgets_values after flushProxyWidgetMigration already restored host
values, causing misalignment; modify _applyPromotedWidgetValues to no-op when a
proxy-widget migration has been flushed (e.g. check a migration flag set by
flushProxyWidgetMigration) or when the incoming widgetValues array length
doesn't match the current count/order of promoted input widgets (compute
promoted inputs by iterating this.inputs and filtering isPromotedWidgetView),
and only apply values when the lengths align and migration flag is false to
avoid replaying legacy tuples onto migrated hosts.

In `@src/stores/appModeStore.test.ts`:
- Around line 601-619: The test that spies on console.warn should ensure the spy
is always restored even if an assertion fails: wrap the mocking and test
invocation of store.pruneLinearData (the warnSpy created via vi.spyOn(console,
'warn').mockImplementation(() => {})) in a try/finally and call
warnSpy.mockRestore() in the finally block (or use a test-level afterEach to
restore the spy); do the same for the other test block referencing
mockResolveNode and warnSpy so the global console.warn cannot leak into
subsequent tests.

In `@src/utils/litegraphUtil.ts`:
- Around line 341-344: The current code in litegraphUtil.ts short-circuits when
host?.isSubgraphNode() is true by returning [] if
host.widgets?.find((w)=>w.name===widgetName) misses, which prevents the legacy
fallback in resolveNodeWidget() from running; change the logic so that you
attempt to find the widget on the subgraph host (using host.isSubgraphNode(),
host.widgets and widgetName) but do not return [] immediately when not
found—instead allow the function to continue to the legacy fallback resolution
and only return an empty array if no resolution succeeds.

---

Nitpick comments:
In `@src/core/graph/subgraph/migration/proxyWidgetMigration.test.ts`:
- Around line 454-475: The test currently only checks
primitiveRepaired/quarantined counters; add an assertion that the surviving
valid target link is still present after calling flushProxyWidgetMigration by
checking primitive.outputs[0].links (or host.subgraph.links.has(...) for the
actual link id returned by addPrimitiveWithTargets) to ensure the non-dangling
link remains; update the test around buildHost/addPrimitiveWithTargets so you
capture the valid link id before injecting danglingLinkId and assert it exists
after flushProxyWidgetMigration and before/after readHostQuarantine as
appropriate.

In `@src/core/graph/subgraph/preview/previewExposureChain.test.ts`:
- Line 12: Remove the redundant FixtureExposure interface declaration (which
merely extends PreviewExposure) and update the test fixture type annotations to
use PreviewExposure directly (replace any FixtureExposure references with
PreviewExposure). Delete the "interface FixtureExposure extends PreviewExposure
{}" line and ensure PreviewExposure is imported from the module under test if it
isn't already, then run type checks to confirm no remaining references to
FixtureExposure remain.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 5cdafafa-1d9f-4818-a3b4-20fbe33b4186

📥 Commits

Reviewing files that changed from the base of the PR and between 9fe19a2 and 92e26d7.

⛔ Files ignored due to path filters (2)
  • browser_tests/tests/vueNodes/interactions/node/imagePreview.spec.ts-snapshots/vue-node-multiple-promoted-previews-chromium-linux.png is excluded by !**/*.png
  • src/lib/litegraph/src/__snapshots__/litegraph.test.ts.snap is excluded by !**/*.snap
📒 Files selected for processing (81)
  • browser_tests/fixtures/helpers/SubgraphHelper.ts
  • browser_tests/fixtures/utils/promotedWidgets.ts
  • browser_tests/tests/subgraph/subgraphNested.spec.ts
  • browser_tests/tests/subgraph/subgraphSerialization.spec.ts
  • browser_tests/tests/vueNodes/interactions/node/imagePreview.spec.ts
  • docs/adr/0009-subgraph-promoted-widgets-use-linked-inputs.md
  • docs/architecture/proto-ecs-stores.md
  • src/components/builder/AppBuilder.vue
  • src/components/builder/AppModeWidgetList.vue
  • src/components/rightSidePanel/parameters/SectionWidgets.vue
  • src/components/rightSidePanel/parameters/TabSubgraphInputs.vue
  • src/components/rightSidePanel/parameters/WidgetActions.test.ts
  • src/components/rightSidePanel/parameters/WidgetActions.vue
  • src/components/rightSidePanel/parameters/WidgetItem.test.ts
  • src/components/rightSidePanel/parameters/WidgetItem.vue
  • src/components/rightSidePanel/subgraph/SubgraphEditor.test.ts
  • src/components/rightSidePanel/subgraph/SubgraphEditor.vue
  • src/components/rightSidePanel/subgraph/SubgraphNodeWidget.vue
  • src/composables/graph/useGraphNodeManager.test.ts
  • src/composables/graph/useGraphNodeManager.ts
  • src/composables/node/usePromotedPreviews.test.ts
  • src/composables/node/usePromotedPreviews.ts
  • src/core/graph/subgraph/legacyProxyWidgetNormalization.test.ts
  • src/core/graph/subgraph/legacyProxyWidgetNormalization.ts
  • src/core/graph/subgraph/migration/proxyWidgetMigration.test.ts
  • src/core/graph/subgraph/migration/proxyWidgetMigration.ts
  • src/core/graph/subgraph/preview/previewExposureChain.test.ts
  • src/core/graph/subgraph/preview/previewExposureChain.ts
  • src/core/graph/subgraph/promotedWidgetTypes.ts
  • src/core/graph/subgraph/promotedWidgetView.test.ts
  • src/core/graph/subgraph/promotedWidgetView.ts
  • src/core/graph/subgraph/promotionUtils.test.ts
  • src/core/graph/subgraph/promotionUtils.ts
  • src/core/graph/subgraph/resolveConcretePromotedWidget.test.ts
  • src/core/graph/subgraph/resolveConcretePromotedWidget.ts
  • src/core/graph/subgraph/resolvePromotedWidgetSource.ts
  • src/core/graph/subgraph/resolveSubgraphInputTarget.ts
  • src/core/graph/subgraph/subgraphNodePromotion.test.ts
  • src/core/schemas/previewExposureSchema.test.ts
  • src/core/schemas/previewExposureSchema.ts
  • src/core/schemas/promotionSchema.ts
  • src/core/schemas/proxyWidgetQuarantineSchema.test.ts
  • src/core/schemas/proxyWidgetQuarantineSchema.ts
  • src/lib/litegraph/src/LGraph.repointAncestorPromotions.test.ts
  • src/lib/litegraph/src/LGraph.test.ts
  • src/lib/litegraph/src/LGraph.ts
  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LGraphNode.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
  • src/lib/litegraph/src/infrastructure/LGraphEventMap.ts
  • src/lib/litegraph/src/subgraph/SubgraphConversion.test.ts
  • src/lib/litegraph/src/subgraph/SubgraphIO.test.ts
  • src/lib/litegraph/src/subgraph/SubgraphNode.ts
  • src/lib/litegraph/src/subgraph/SubgraphWidgetPromotion.test.ts
  • src/lib/litegraph/src/subgraph/subgraphDeduplication.ts
  • src/lib/litegraph/src/widgets/BaseWidget.ts
  • src/main.ts
  • src/renderer/extensions/vueNodes/composables/useProcessedWidgets.test.ts
  • src/renderer/extensions/vueNodes/composables/useProcessedWidgets.ts
  • src/renderer/extensions/vueNodes/widgets/utils/resolvePromotedWidget.ts
  • src/schemas/apiSchema.ts
  • src/schemas/colorPaletteSchema.ts
  • src/schemas/nodeDefSchema.ts
  • src/schemas/resultItemTypeSchema.ts
  • src/scripts/controlWidgetMarker.ts
  • src/scripts/domWidget.test.ts
  • src/scripts/domWidget.ts
  • src/scripts/widgets.ts
  • src/services/litegraphService.ts
  • src/stores/appModeStore.test.ts
  • src/stores/appModeStore.ts
  • src/stores/nodeDefStore.ts
  • src/stores/nodeOutputStore.test.ts
  • src/stores/nodeOutputStore.ts
  • src/stores/previewExposureStore.test.ts
  • src/stores/previewExposureStore.ts
  • src/stores/promotionStore.test.ts
  • src/stores/promotionStore.ts
  • src/utils/litegraphUtil.ts
  • src/utils/widgetUtil.test.ts
  • src/utils/widgetUtil.ts
💤 Files with no reviewable changes (10)
  • src/lib/litegraph/src/LGraph.repointAncestorPromotions.test.ts
  • src/stores/promotionStore.ts
  • src/lib/litegraph/src/subgraph/SubgraphConversion.test.ts
  • src/stores/promotionStore.test.ts
  • src/core/graph/subgraph/promotedWidgetView.test.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
  • src/core/graph/subgraph/subgraphNodePromotion.test.ts
  • src/lib/litegraph/src/subgraph/SubgraphIO.test.ts
  • src/scripts/domWidget.ts
  • src/core/graph/subgraph/resolvePromotedWidgetSource.ts

Comment thread src/lib/litegraph/src/LGraph.ts Resolved
Comment thread src/lib/litegraph/src/LGraphNode.ts Resolved
Comment thread src/stores/appModeStore.test.ts Resolved
Comment thread src/utils/litegraphUtil.ts Resolved
@codecov

codecov Bot commented May 12, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 78.10026% with 249 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...nents/rightSidePanel/parameters/SectionWidgets.vue 0.00% 37 Missing ⚠️
...e/graph/subgraph/migration/proxyWidgetMigration.ts 89.90% 33 Missing ⚠️
src/core/graph/subgraph/promotionUtils.ts 81.08% 28 Missing ⚠️
src/components/builder/AppBuilder.vue 0.00% 24 Missing and 1 partial ⚠️
...ts/rightSidePanel/parameters/TabSubgraphInputs.vue 0.00% 24 Missing ⚠️
...sions/vueNodes/composables/usePartitionedBadges.ts 15.78% 16 Missing ⚠️
src/composables/node/usePriceBadge.ts 55.88% 15 Missing ⚠️
...ponents/rightSidePanel/subgraph/SubgraphEditor.vue 87.38% 14 Missing ⚠️
src/scripts/widgets.ts 0.00% 12 Missing ⚠️
src/components/builder/AppModeWidgetList.vue 0.00% 9 Missing ⚠️
... and 12 more
@@             Coverage Diff             @@
##             main   #12197       +/-   ##
===========================================
- Coverage   74.54%   60.73%   -13.81%     
===========================================
  Files        1526     1425      -101     
  Lines       86580    73245    -13335     
  Branches    22978    19464     -3514     
===========================================
- Hits        64542    44488    -20054     
- Misses      21211    28290     +7079     
+ Partials      827      467      -360     
Flag Coverage Δ
e2e ?
unit 60.73% <78.10%> (+0.44%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/components/builder/useAppModeWidgetResizing.ts 96.55% <100.00%> (-0.23%) ⬇️
...omponents/rightSidePanel/parameters/WidgetItem.vue 76.92% <ø> (-6.16%) ⬇️
...nts/rightSidePanel/subgraph/SubgraphNodeWidget.vue 100.00% <100.00%> (+75.00%) ⬆️
src/composables/graph/useGraphNodeManager.ts 72.07% <100.00%> (-14.83%) ⬇️
src/composables/node/canvasImagePreviewTypes.ts 100.00% <ø> (ø)
src/composables/node/usePromotedPreviews.ts 100.00% <100.00%> (ø)
...ore/graph/subgraph/preview/previewExposureChain.ts 100.00% <100.00%> (ø)
src/core/graph/subgraph/promotedWidgetTypes.ts 100.00% <ø> (ø)
...re/graph/subgraph/resolveConcretePromotedWidget.ts 100.00% <100.00%> (+1.75%) ⬆️
.../core/graph/subgraph/resolveSubgraphInputTarget.ts 100.00% <ø> (ø)
... and 41 more

... and 978 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/stores/nodeOutputStore.ts`:
- Around line 92-96: The SVG detection is too loose and case-sensitive: in the
images filter block (outputs.images / images array, image.filename) replace the
current endsWith('svg') check with a normalized, extension-accurate test such as
verifying image.filename exists, trimming/normalizing it, converting to
lower-case, and checking it endsWith('.svg') so uppercase variants and
non-extension suffixes are not misdetected.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 887ddab3-c049-4250-a7d5-91dcbd0054d4

📥 Commits

Reviewing files that changed from the base of the PR and between 92e26d7 and cf2a070.

📒 Files selected for processing (3)
  • browser_tests/tests/vueNodes/interactions/node/imagePreview.spec.ts
  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/stores/nodeOutputStore.ts
✅ Files skipped from review due to trivial changes (1)
  • src/lib/litegraph/src/LGraphCanvas.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • browser_tests/tests/vueNodes/interactions/node/imagePreview.spec.ts

Comment thread src/stores/nodeOutputStore.ts Resolved
DrJKL and others added 2 commits May 12, 2026 14:59
Switch the multi-host primitive fanout test to @vue-nodes and assert
against rendered widget inputs. Previous version asserted the same
string-widget value 8 times instead of covering both promoted widgets
per host.

Amp-Thread-ID: https://ampcode.com/threads/T-019e1e14-fdd4-70f4-a3f7-da15caefcd71
Co-authored-by: Amp <amp@ampcode.com>

@DrJKL DrJKL left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A handful of nits while reading through — all defer-able.

Comment thread src/stores/previewExposureStore.ts Resolved
DrJKL and others added 10 commits May 12, 2026 16:49
- proxyWidgetMigration: when a disambiguator is supplied but doesn't
  match, only fall back to non-promoted widgets with the same name so
  we don't silently bind to a sibling PromotedWidgetView.
- previewExposureChain: chainFromLastStep was using the already-advanced
  currentRootGraphId for the leaf, producing an inconsistent
  (rootGraphId, sourceNodeId) pair on cycle / no-exposure / max-depth
  exits. Use the last pushed step's rootGraphId instead.
- promotedWidgetView.applyValueControlToHost: control-after-generate
  was reassigning this.value, which cascades into the shared interior
  widget via the value setter. Switch to hydrateHostValue so the
  per-host overlay is updated without touching shared state.
- promotionUtils: capture promoteValueWidgetViaSubgraphInput results at
  both call sites and emit a warning Sentry breadcrumb on failure
  instead of silently dropping {ok:false, reason}.
- LGraphNode.clone: in UUID mode, configure() was overwriting the
  borrowed source id with the freshly generated UUID before subclass
  hydration could run. Generate the UUID up front and reapply it after
  configure() so hydration sees the borrowed id and the cloned node
  still gets a fresh identity.

Amp-Thread-ID: https://ampcode.com/threads/T-019e1e84-3270-730a-8c95-49a383ffdf20
Co-authored-by: Amp <amp@ampcode.com>
resolveSubgraphInputTarget previously gated on getTargetWidget() before
the SubgraphNode-host branch, so an outer SubgraphInput linked to a
nested SubgraphNode whose inner slot has no concrete widget resolved
to undefined. The consumer in useGraphNodeManager then fell back to
the interior PromotedWidgetView's deep (sourceNodeId, sourceWidgetName)
identity, which contradicts ADR 0009's host-scoped opaque contract:
identity is (hostNodeLocator, SubgraphInput.name).

Reorder so the SubgraphNode-host branch runs first and returns
(child.id, targetInput.name) regardless of whether the inner slot has
a backing widget. The widget lookup remains the gate for the
plain-interior-node branch, where a non-widget input legitimately has
no promotable target.

Three existing tests asserted the pre-ADR undefined behavior on
nested-SubgraphNode + non-widget inputs. Update those assertions and
test names to reflect the host-opaque contract; capture the inner
node id from the helper since two helper calls collide on the
hard-coded id.

Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e1e84-3270-730a-8c95-49a383ffdf20
Replace in-test workflow synthesis with saved-workflow assets so the
subgraph serialization tests load fixtures the same way a user would.
Drop the local mutable-workflow types and the manual setting toggles by
adopting the @vue-nodes tag, which auto-enables Vue Nodes and waits
for the rendered surface.

Amp-Thread-ID: https://ampcode.com/threads/T-019e1f0b-176e-7659-80f5-20323ac54898
Co-authored-by: Amp <amp@ampcode.com>
Two CI Playwright failures in the multi-host primitive fanout test and
the legacy-prefixed proxyWidget normalization test traced to the same
class of mismatch: the migration wrote per-host widget state to a key
the Vue rendering layer didn't read from, and `classify()` accepted
source widgets that `repairCreateSubgraphInput()` then rejected.

Failure 1 — Per-host independence
The migration's `setHostWidgetState` registers values under
`(rootGraphId, hostNodeId, "<name>:<sourceNodeId>:<sourceWidgetName>")`,
but `safeWidgetMapper` produced `storeNodeId/storeName` pointing at the
shared interior key `(rootGraphId, sourceNodeId, sourceWidgetName)`. The
host-scoped value was therefore invisible to Vue; the rendered input
fell back to the empty interior default.

Add `ensureHostWidgetState()` on `PromotedWidgetView` that idempotently
registers a host-scoped store entry seeded with the current effective
value (factored shared registration into `registerHostWidgetState`).
Update `safeWidgetMapper` so promoted widgets call it and expose the
host-scoped `storeNodeId`/`storeName` derived from
`getPromotedWidgetHostStateName`. Two unit tests asserted the previous
interior-keyed identity; updated to assert the host-scoped key while
preserving the same distinct-identity invariant.

Failure 2 — Legacy nested proxy entries
`classify()` resolved source widgets via
`findSourceWidget(...) ?? getPromotableWidgets(...).find(...)`, but
`repairCreateSubgraphInput()` used only `findSourceWidget(...)`. A
legacy entry whose source was a nested SubgraphNode passed
classification then quarantined at repair time, leaving the host with
fewer rendered widgets than expected.

Extract a shared `resolveSourceWidget()` helper applying the same
fallback in both call sites.

Amp-Thread-ID: https://ampcode.com/threads/T-019e1f0b-176e-7659-80f5-20323ac54898
Co-authored-by: Amp <amp@ampcode.com>
…shots

Refactor PR-review feedback on SubgraphHelper.ts and promotedWidgets.ts:

- Replace inline boolean checks (that masqueraded as type guards) with
  real `is`-predicate functions: `isPromotedWidgetSource`, `isNodeProperty`.
- Drop duplicated `[string, string]` tuple shapes in favor of the existing
  `PromotedWidgetEntry` type alias.
- Move validation outside `page.evaluate` so we can use the canonical
  `parsePreviewExposures` zod schema and the shared `PromotedWidgetSource`
  type from `src/core/...`.
- Eliminate type assertions; narrow via `in` checks and predicate guards.

Amp-Thread-ID: https://ampcode.com/threads/T-019e1f3a-a617-70b4-8945-3f0fbd34c1de
Co-authored-by: Amp <amp@ampcode.com>
Tie the test to the NodeWidgets v-if="nodeData.widgets?.length" gate so a
regression that renders the .lg-node-widgets container for hosts whose only
promoted content is preview exposures will fail.

Amp-Thread-ID: https://ampcode.com/threads/T-019e1f3a-a617-70b4-8945-3f0fbd34c1de
Co-authored-by: Amp <amp@ampcode.com>
Inline the page.evaluate call into getPromotedWidgets so TypeScript infers
the structural shape from the canonical NodeProperty type on
SerializedNode.properties. No separate intermediate type needed.

Amp-Thread-ID: https://ampcode.com/threads/T-019e1f3a-a617-70b4-8945-3f0fbd34c1de
Co-authored-by: Amp <amp@ampcode.com>
Audit finding: 3 of 4 new tests in this PR either lacked the @vue-nodes
tag or relied solely on canvas/state assertions. Bring them in line with
the rest of the @vue-nodes coverage:

- 'Legacy primitive proxy widgets migrate...' — add @vue-nodes tag and
  assert host renders 2 migrated widget rows before and after reload.
- 'Nested preview exposures render...' — add explicit .lg-node-widgets
  absence assertion (preview-only host has no widgets container).
- 'Legacy unresolvable proxy entry...' — add @vue-nodes tag and assert
  the missing_widget label is not rendered on the host.

Amp-Thread-ID: https://ampcode.com/threads/T-019e1f3a-a617-70b4-8945-3f0fbd34c1de
Co-authored-by: Amp <amp@ampcode.com>
DrJKL added a commit that referenced this pull request Jul 6, 2026
…tore hygiene (#12197)

## Summary

Introduces **Subgraph Link Only Promotion** (ADR 0009) — a new model for
surfacing inner subgraph widgets on the parent SubgraphNode by
*promoting through links* rather than by duplicating widget state on the
host. Ships with the hygiene/refactor pass on the migration, store, and
event layers that the new model depends on.

## What changes

### Subgraph Link Only Promotion (ADR 0009)

Promoted widgets are defined by the link from a SubgraphNode input to
the interior node, not by a duplicated widget instance on the host.
Consequences:

- A SubgraphNode renders inner widgets purely as a **projection** of the
interior widgets and links — no host-side state to drift.
- **Per-host independence**: multiple instances of the same SubgraphNode
render and edit their own values without cross-talk.
- **Reversible promote/demote**: structural link operation, so demote
preserves host slots and external connections (#12278).

### Supporting refactors

- **Migration** — Planner/classifier/repair/quarantine helpers collapsed
into a single `proxyWidgetMigration` entry point with black-box
round-trip coverage. Honors the source-node-id disambiguator on
`proxyWidgets`, so deduplicated names (e.g. `text`, `text_1`) resolve to
the right interior widget.
- **Widget identity** — `appMode` unified on `WidgetEntityId`; promoted
widget state is keyed by entityId across the store, DOM, and migration
paths.
- **SubgraphNode** — 3-key promoted-view cache replaced with a single
version counter + explicit `invalidatePromotedViews()` at mutation
sites; `id === -1` sentinel removed.
- **Events** — `LGraph.trigger()` now dispatches node trigger payloads
through `this.events`, replacing a leaky `onTrigger` monkey-patch.
`SubgraphEditor` reactivity is driven from subgraph events instead of
imperative refresh.
- **Stores** — `appModeStore` migration helpers collapsed into
`upgradeAndValidateInput`; `nodeOutputStore.*ByExecutionId` derived from
the locator index; `previewExposureStore` cleanup and cycle-detection
double-warn fix.
- **Misc** — `Outcome` types consolidated; mutable accumulators replaced
with `flatMap`; new ESLint rule forbids litegraph imports under
`src/world/`.

### Tests

- Browser tests for promoted widgets retagged `@vue-nodes` and rewritten
to assert against the rendered Vue node DOM (via `getNodeLocator` /
`getByRole('textbox')` / `enterSubgraph`) instead of `page.evaluate`
graph introspection.
- Per-host widget independence asserted via DOM.
- Migration coverage moved to black-box round-trip tests.
- Added coverage for duplicate-named promoted widget identity (ADR 0009)
and the per-parent demote branch in `WidgetActions`.

## Review focus

- ADR 0009 conformance of the link-only promotion model.
- Disambiguator resolution path in `proxyWidgetMigration`.
- Single-version-counter promoted-view cache and its
`invalidatePromotedViews()` call sites.
- `LGraph.trigger()` event dispatch and the `AppModeWidgetList.vue`
migration off `onTrigger` (FE-667 tracks the remaining
`useGraphNodeManager` conversion).

## Breaking changes

None for users. Internal subgraph promotion APIs changed — see ADR 0009.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-12197-feat-subgraph-link-only-widget-promotion-migration-store-hygiene-35e6d73d365081fd882cf3a69bc09956)
by [Unito](https://www.unito.io)

---------

Co-authored-by: Amp <amp@ampcode.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Glary-Bot <glary-bot@users.noreply.github.com>
Co-authored-by: AustinMroz <austin@comfy.org>
DrJKL pushed a commit that referenced this pull request Jul 6, 2026
## Summary

This PR intentionally narrows workflow-embedded model metadata handling
so root-level `models[]` and node-level embedded model metadata can
enrich existing missing-model candidates, but can no longer create new
candidates by themselves.

## Why this PR exists

ADR 0009, **Subgraph promoted widgets use linked inputs**, changes
promoted value ownership for subgraphs. That design was implemented by
[#12197](#12197),
**Subgraph Link Only Promotion (ADR 0009)**.

Under ADR 0009, a promoted widget is represented as a standard linked
`SubgraphInput` on the host `SubgraphNode`. The host boundary owns the
promoted value identity through the host node locator plus
`SubgraphInput.name`. The interior source widget remains the provider of
schema, type, options, tooltip, defaults, diagnostics, and migration
metadata, but it is not the persistence owner of the promoted value.

This PR is a preparatory cleanup discovered while working on the missing
model detection follow-up required by that ADR 0009 /
[#12197](#12197)
behavior. The follow-up needs missing model detection to respect the new
subgraph promoted-widget ownership model. While reviewing that path, we
found that the existing embedded model metadata fallback in
`enrichWithEmbeddedMetadata` was doing more than metadata enrichment.

The important finding was that this fallback was not just attaching
metadata to candidates that had already been detected from live node
widgets. It could also synthesize brand-new `MissingModelCandidate`
entries from workflow JSON metadata, including root-level `models[]`
entries, when no live candidate existed.

That behavior is inaccurate for the missing model system for two
reasons.

First, the normal missing model lifecycle is anchored to a real
node/widget binding. A candidate found from a COMBO or asset widget has
a concrete `nodeId + widgetName` reference. That reference is what lets
the UI surface the error, cache it as a pending warning, and later clear
or resolve it when the underlying node/widget value is fixed. A
root-level `models[]` entry does not reliably provide that anchor. If
metadata-only fallback creates a candidate without a real live widget
reference, the resulting error can be detected but cannot reliably
travel through the existing clearing path. In practice, that can become
an effectively unremovable missing model warning unless the user
downloads exactly the same model referenced by the stale metadata.

Second, a missing model error is meant to mean that a model-selecting
widget on an active node references a value that is not available.
Workflow JSON metadata by itself is not the same source of truth. If a
model only appears in root workflow metadata, or appears in node
metadata that is not represented by an active COMBO or asset widget
candidate, that is a different kind of state from the existing missing
model error model. Treating that metadata as a candidate creates a
second, less reliable detector that is not aligned with the scan/clear
lifecycle.

This is especially important before the ADR 0009 missing-model
follow-up. With linked-input promoted widgets, the host promoted value
is the value that matters. The interior source widget may still carry
stale or default metadata, and it must not become a second source of
truth for missing model errors. A detection path that can create
candidates directly from workflow metadata would make it harder to
reason about which value actually produced the warning.

For those reasons, this PR removes metadata-only candidate synthesis and
keeps embedded metadata in the role it can perform safely: metadata
enrichment. If the live widget/asset scan produces a candidate, embedded
metadata may fill in `directory`, `url`, `hash`, and `hashType`. If no
live candidate exists, the metadata is not enough to create a missing
model warning.

This PR is intended to land before the child PR that updates runtime
missing model detection for ADR 0009 linked-input promoted widgets.

## Changes

- **What**: Restrict `enrichWithEmbeddedMetadata` to enriching existing
candidates instead of creating fallback candidates from unmatched root
`models[]` or embedded model metadata.
- **What**: Remove the now-unused installed-model check callback and
asset-support callback from `enrichWithEmbeddedMetadata`.
- **What**: Remove the now-unnecessary `modelStore.loadModelFolders()`
path from the missing model pipeline, since embedded metadata no longer
performs installed-model fallback detection.
- **What**: Remove dead source-tracking metadata
(`EmbeddedModelWithSource`, source node/widget fields, and widget-name
lookup) that only existed to support metadata-only synthesis.
- **What**: Update missing model tests so they assert the new contract:
metadata enriches live candidates, but does not create candidates
without a live scan result.
- **What**: Delete obsolete fixtures that only covered the removed
metadata-only synthesis path.
- **Breaking**: None expected. This is an intentional narrowing of an
inaccurate fallback detector, not a public API change.
- **Dependencies**: None.

## Review Focus

Please focus on whether the candidate lifecycle now has a single source
of truth: live COMBO/asset widget scanning creates candidates, while
workflow metadata only enriches those candidates.

The intended behavioral change is that a model present only in
workflow-level metadata, with no active node widget candidate
referencing it, no longer appears as a missing model. This avoids
surfacing warnings that cannot be cleared through the normal `nodeId +
widgetName` path.

The expected retained behavior is that active widget-referenced missing
models are still detected by `scanAllModelCandidates`, and metadata from
root `models[]` or node `properties.models` still supplies
download-related fields for those live candidates.

## Screenshots (if applicable)

Not applicable. This is a detection/pipeline behavior change covered by
unit tests.

## Validation

- `pnpm test:unit src/platform/missingModel/missingModelScan.test.ts
src/platform/missingModel/missingModelPipeline.test.ts`
- `pnpm exec eslint src/platform/missingModel/missingModelScan.ts
src/platform/missingModel/missingModelScan.test.ts
src/platform/missingModel/missingModelPipeline.ts
src/platform/missingModel/missingModelPipeline.test.ts
src/platform/missingModel/types.ts`
- `pnpm exec oxfmt --check src/platform/missingModel/missingModelScan.ts
src/platform/missingModel/missingModelScan.test.ts
src/platform/missingModel/missingModelPipeline.ts
src/platform/missingModel/missingModelPipeline.test.ts
src/platform/missingModel/types.ts`
- `pnpm typecheck`
- pre-push hook: `knip --cache`
DrJKL pushed a commit that referenced this pull request Jul 6, 2026
## Summary

Bind asset-browser modal selections to the widget that actually opened
the modal, so promoted subgraph asset widgets commit through the host
promoted widget instead of the internal source widget closure.

## Changes

- **What**: Makes the asset-browser modal commit path widget-owned:
after a valid selection, `openModal` writes to the widget passed into
the modal and notifies that widget's callback.
- **What**: Captures workflow state after a successful value-changing
asset selection, because the async modal `Use` action can run after the
global mouseup-based change capture has already fired.
- **What**: Preserves existing asset-browser filtering by keeping
`nodeTypeForBrowser` and `inputNameForBrowser` captured in the asset
widget's existing modal options closure.
- **What**: Avoids adding promoted-widget-specific rebinding code to
`litegraphService` and avoids changing LiteGraph core widget option
types.
- **What**: Only runs the source widget's `onValueChange` callback when
the selected widget is the original owner widget created by
`createAssetWidget`.
- **What**: For cloned/transient host widgets, such as promoted subgraph
asset widgets, dispatches `onWidgetChanged` through the widget's owning
node instead of the internal source node.
- **What**: Removes the duplicate PrimitiveNode callback dispatch
because the asset modal commit path now centrally notifies the selected
widget callback.
- **What**: Adds stable asset-browser `data-testid`s and a cloud E2E
regression for legacy promoted subgraph asset selection.
- **What**: Adds unit coverage for both regular asset widget commits and
cloned promoted-host asset modal commits, including workflow change
capture.
- **Breaking**: None.
- **Dependencies**: None.

## Review Focus

This PR supersedes #13074. The earlier direction treated the bug as a
missing callback bridge in the async asset-browser commit path, but the
ownership issue is more specific: promoted subgraph asset widgets reuse
modal options that were created from the deepest concrete source widget.
Those options still need to carry source metadata for filtering the
asset browser, but the modal's `Use` action must commit to the widget
that actually opened the modal.

This matters after the History ADR 0009 subgraph widget changes shipped
through #12197. In the 1.46 subgraph model, promoted widget values live
on the subgraph host node and are not synchronized back into the
internal widget. The internal source widget remains useful as the
provider of asset-browser metadata, because `SubgraphNode` already
resolves nested promotions down to the final concrete widget, but it
should not own the edit commit.

The final patch keeps that boundary narrow:

- no `IWidgetOptions` or LiteGraph core type changes;
- no asset-specific promoted-widget rebinding in `litegraphService`;
- no new promoted-widget traversal logic, because the existing subgraph
promotion path already resolves the final concrete source widget;
- the modal commit path uses the widget passed to `openModal` as the
value owner;
- successful async modal commits explicitly capture workflow state when
the selected value changes.

Please focus review on whether `createAssetWidget` now preserves regular
asset widget behavior while correctly handling cloned/transient host
widgets. The key distinction is that the source `onValueChange` path
only runs for the original owner widget; promoted host wrappers instead
rely on their callback bridge and owning node's `onWidgetChanged` hook.

A review pass also found that this PR makes an existing async modal
weakness more visible: asset-browser selection happens from the modal
button's `click` handler, while the global change tracker also captures
on `mouseup`. Depending on event ordering, the automatic capture can
occur before the selection mutates the widget. This PR now captures
workflow state immediately after a successful value-changing asset
selection so undo/modified tracking follows the same user-visible edit.

Local verification:

- `pnpm exec vitest run
src/platform/assets/utils/createAssetWidget.test.ts --reporter=dot`
- `pnpm exec vitest run
src/platform/assets/utils/createAssetWidget.test.ts --coverage
--reporter=dot --coverage.reporter=text
--coverage.include=src/platform/assets/utils/createAssetWidget.ts`
- `pnpm exec eslint src/platform/assets/utils/createAssetWidget.ts
src/platform/assets/utils/createAssetWidget.test.ts`
- `pnpm typecheck`
- `pnpm format:check`
- `pnpm build:cloud`

---------

Co-authored-by: Alexis Rolland <alexisrolland@hotmail.com>
DrJKL pushed a commit that referenced this pull request Jul 6, 2026
…ts (#13059)

## Summary

Redesign missing-model detection for ADR 0009 promoted subgraph widgets
so candidates are created from the widget value the user can actually
edit, while still using the concrete interior widget as the
schema/options source.

## Why This PR Exists

This PR comes from the follow-up missing-model detection work for the
ADR 0009 / 1.46 subgraph widget changes introduced by
[#12197](#12197).

[#12197](#12197)
intentionally changed promoted subgraph widgets to be represented
through subgraph input links. After that change, the promoted widget on
the host `SubgraphNode` is the editable value owner, and linked interior
widgets are no longer guaranteed to mirror that value.

The old missing-model contract still treated the concrete interior node
widget as the effective source of truth in subgraph cases:

- recursive scans entered the subgraph and scanned the interior widget
value;
- candidates were keyed by the interior node/widget identity;
- the parent subgraph host mostly received propagated
highlight/navigation behavior;
- subgraph container widgets were not treated as first-class candidate
sources.

That contract breaks after ADR 0009. A user can resolve a missing model
by changing the promoted host widget to an installed model, while the
linked interior widget can still hold the old stale value. If detection
keeps scanning the linked interior value, entering the subgraph or
reloading the workflow can re-create a false missing-model error that no
longer corresponds to the value the user can edit.

ADR 0009 also means the same subgraph definition can be reused by
multiple `SubgraphNode` hosts. Once missing-model detection moves from
the interior definition widget to the promoted host widget, the selected
value is no longer a property of the shared definition alone. It is a
property of a specific host instance. That makes the old interior-node
identity insufficient for mode changes, removal handling, and re-scan
behavior: a single interior leaf definition can be reachable through
multiple host execution paths, and only the affected host path should
add, remove, or restore a candidate.

This PR also builds on
[#12990](#12990),
which narrowed workflow-level `models[]` and embedded model data to
metadata enrichment only. Together, the intended boundary is:

- live widgets create missing-model candidates;
- workflow/root-level `models[]` and node metadata only enrich
candidates that already came from a live widget;
- promoted widget values are read from the editable host widget, not
inferred from stale interior `widgets_values`.

## Changes

- **What**:
  - Introduces promoted-widget scan targets that split:
    - host promoted widget value and candidate identity;
    - concrete leaf widget/node definition data.
- Scans the outermost unlinked promoted widget on a `SubgraphNode` host
as the selected value owner.
- Skips linked interior widgets as candidate sources, preventing stale
linked widget values from producing duplicate or false missing-model
candidates.
- Resolves the concrete leaf widget for combo options, asset-widget
support, node type, directory lookup, and embedded metadata enrichment.
- Keys promoted missing-model candidates by the host execution id and
host promoted widget name.
- Adds `sourceExecutionId` to promoted candidates so liveness still
follows the concrete source execution path, including nested inactive
subgraph containers.
- Uses source-scope activity for pipeline filtering and async
verification, while keeping highlight/store/clearing identity
host-keyed.
- Removes host-keyed promoted candidates when their source execution
scope is removed or bypassed.
- Re-scans ancestor subgraph hosts when an interior source path is
un-bypassed, so host-keyed promoted errors can reappear correctly.
- Handles shared subgraph definitions by deriving promoted source paths
from the concrete host instance path, rather than treating the shared
definition node id as globally unique.
- Shares promoted source resolution between Vue node processing and the
right-side panel to avoid drift.
- Aligns missing-model clearing across Vue node widgets, legacy canvas
widgets, and right-side panel Parameters/Nodes section widgets.
- Adds unit coverage for scan identity, source-scope liveness, dynamic
mode changes, source-scope removal, shared-definition host isolation,
and right-side panel clearing.
- Adds nested promoted-widget E2E coverage for OSS and Cloud flows
across Vue, Parameters tab, and legacy widget surfaces.
- **Breaking**: None expected.
- **Dependencies**: None.

## New Detection Contract

A missing-model candidate is created from an unlinked final editable
value owner.

That value owner can be:

- a normal node model widget; or
- the outermost promoted model widget displayed on a `SubgraphNode`
host.

For promoted widgets:

- the host promoted widget supplies the selected value;
- the host execution id and host widget name are the candidate identity;
- the concrete leaf widget supplies definition data such as combo
options and asset-browser support;
- the concrete source execution path is retained as `sourceExecutionId`
for liveness only;
- linked interior widgets are skipped as candidate sources because their
values are not authoritative when driven by a promoted input.

For a nested chain:

`Outer promoted widget A -> inner promoted widget B -> concrete widget
C`

only `A` creates the candidate. `B` and `C` are linked along the
promoted-input path and are skipped as selected-value sources, while `C`
still provides the concrete widget definition used to evaluate `A`.

## Shared Definition And Source-Scope Liveness

ADR 0009 promoted widgets make subgraphs behave more like reusable
definitions with host-owned inputs. Two host `SubgraphNode`s can point
at the same interior subgraph definition while carrying different
promoted widget values. In that shape, the missing-model candidate must
be keyed to the editable host surface, but the activity check cannot use
the host id alone.

For example, if two outer hosts share the same nested subgraph
definition, one host can select a valid model while the other still
selects a missing model. The result should be one missing-model
reference, not a single definition-level error and not two errors after
one host is fixed. Likewise, bypassing or un-bypassing an interior
nested container should affect only the host execution paths that
actually pass through that container.

This PR therefore separates two concepts:

- **candidate identity**: host execution id + host promoted widget name,
used for storage, highlight, navigation, and clearing;
- **candidate liveness**: concrete source execution path, used for
scan-time activity checks, pipeline filtering, async verification,
source-scope removal, and re-exposure after mode changes.

That separation is the reason this PR updates more than the scan itself.
Moving the detection target to the subgraph host also requires the
mode-change and removal paths to understand that a host-keyed candidate
can be invalidated by a descendant source path, and can need to be
restored by re-scanning an ancestor host when an interior source path
becomes active again.

## Review Focus

Please review the identity split carefully:

- candidate/store/highlight/clearing identity should remain host-keyed
for promoted widgets;
- liveness should use `sourceExecutionId` when present, falling back to
`nodeId` for normal candidates;
- scan-time activity checks should account for the source node itself
and all ancestor subgraph containers;
- source-scope removal should remove host-keyed candidates whose
concrete source path was removed or bypassed;
- un-bypassing an interior source path should re-scan affected ancestor
subgraph hosts so host-keyed candidates can reappear;
- shared subgraph definitions should not merge errors across different
host instances;
- linked interior widgets should not produce their own missing-model
candidates;
- asset-browser eligibility should be resolved from the concrete leaf
node type and widget name, not the synthetic subgraph host type;
- right-side panel edits should clear host missing-model errors and
source validation errors consistently.

The E2E matrix intentionally keeps nested promoted workflows only.
Nested promoted widgets cover the same editable host path as single
promoted widgets while also exercising the `A -> B -> C` chain that can
break source-scope liveness and re-scan behavior. The nested fixture
also includes multiple host instances that share the same subgraph
definition, so it verifies that fixing one host does not accidentally
clear or suppress another host's missing-model candidate. Direct/single
promoted behavior is still covered at the unit level.

## Non-Goals

- This PR does not reintroduce workflow-level `models[]` candidate
creation.
- This PR does not infer selected model values from `widgets_values`.
- This PR does not synchronize linked interior widget values back from
promoted host widgets.
- This PR does not redesign missing-media scanning; missing media still
skips subgraph containers and remains keyed by concrete interior paths.
The shared async post-verification active-scope filter is intentionally
stricter, so a pending missing-media candidate is no longer surfaced if
its own node is bypassed or removed while verification is in flight.

## Validation

- `pnpm exec vitest run
src/components/rightSidePanel/parameters/SectionWidgets.test.ts
src/platform/missingModel/missingModelScan.test.ts
src/composables/graph/useErrorClearingHooks.test.ts
src/platform/missingModel/missingModelPipeline.test.ts
src/platform/missingModel/missingModelStore.test.ts
src/utils/graphTraversalUtil.test.ts
src/composables/graph/useGraphNodeManager.test.ts
src/renderer/extensions/vueNodes/composables/useProcessedWidgets.test.ts
--reporter=dot`
  - 8 files passed, 294 tests passed.
- `pnpm exec vitest run
src/platform/missingModel/missingModelScan.test.ts
src/core/graph/subgraph/resolveConcretePromotedWidget.test.ts
src/components/rightSidePanel/parameters/SectionWidgets.test.ts`
  - 3 files passed, 71 tests passed.
- `pnpm typecheck`
- `pnpm typecheck:browser`
- `pnpm format:check`
- targeted ESLint for changed production/unit/E2E files
- `git diff --check`
- `pnpm build`
- `pnpm build:cloud`
- OSS affected E2E on the 8188 build:
- `PLAYWRIGHT_LOCAL=1 PLAYWRIGHT_TEST_URL=http://localhost:8188 pnpm
exec playwright test
browser_tests/tests/propertiesPanel/errorsTabModeAware.spec.ts
--project=chromium --grep "Changing an OSS .*promoted|Refreshing a
resolved promoted|Reloading a resolved nested"`
  - 5 passed.
- Cloud affected E2E on the 8188 cloud build:
- `PLAYWRIGHT_LOCAL=1 PLAYWRIGHT_TEST_URL=http://localhost:8188 pnpm
exec playwright test
browser_tests/tests/propertiesPanel/errorsTabCloudMissingModels.spec.ts
--project=cloud --grep "Changing a Cloud .*promoted"`
- 2 passed; the Cloud legacy promoted asset-modal case still fails until
[#13075](#13075) is
merged.
- Full OSS `errorsTabModeAware.spec.ts` on the 8188 build:
- 23 passed; 3 existing paste/clipboard cases failed before the promoted
subgraph section with node count remaining at 1 after
`clipboard.paste()`.
- Commit hooks ran `oxfmt`, `oxlint`, `eslint`, `pnpm typecheck`, and
browser typecheck where applicable.
- Pre-push hook ran `pnpm knip --cache`.

## Screenshots

Before


https://github.com/user-attachments/assets/6380c1da-1d92-4b70-888e-3ade572c4b5b

After


https://github.com/user-attachments/assets/4cfc24d6-3dc3-4e36-9b31-72fea6b3d9d5
dante01yoon pushed a commit that referenced this pull request Jul 27, 2026
…tore hygiene (#12197)

## Summary

Introduces **Subgraph Link Only Promotion** (ADR 0009) — a new model for
surfacing inner subgraph widgets on the parent SubgraphNode by
*promoting through links* rather than by duplicating widget state on the
host. Ships with the hygiene/refactor pass on the migration, store, and
event layers that the new model depends on.

## What changes

### Subgraph Link Only Promotion (ADR 0009)

Promoted widgets are defined by the link from a SubgraphNode input to
the interior node, not by a duplicated widget instance on the host.
Consequences:

- A SubgraphNode renders inner widgets purely as a **projection** of the
interior widgets and links — no host-side state to drift.
- **Per-host independence**: multiple instances of the same SubgraphNode
render and edit their own values without cross-talk.
- **Reversible promote/demote**: structural link operation, so demote
preserves host slots and external connections (#12278).

### Supporting refactors

- **Migration** — Planner/classifier/repair/quarantine helpers collapsed
into a single `proxyWidgetMigration` entry point with black-box
round-trip coverage. Honors the source-node-id disambiguator on
`proxyWidgets`, so deduplicated names (e.g. `text`, `text_1`) resolve to
the right interior widget.
- **Widget identity** — `appMode` unified on `WidgetEntityId`; promoted
widget state is keyed by entityId across the store, DOM, and migration
paths.
- **SubgraphNode** — 3-key promoted-view cache replaced with a single
version counter + explicit `invalidatePromotedViews()` at mutation
sites; `id === -1` sentinel removed.
- **Events** — `LGraph.trigger()` now dispatches node trigger payloads
through `this.events`, replacing a leaky `onTrigger` monkey-patch.
`SubgraphEditor` reactivity is driven from subgraph events instead of
imperative refresh.
- **Stores** — `appModeStore` migration helpers collapsed into
`upgradeAndValidateInput`; `nodeOutputStore.*ByExecutionId` derived from
the locator index; `previewExposureStore` cleanup and cycle-detection
double-warn fix.
- **Misc** — `Outcome` types consolidated; mutable accumulators replaced
with `flatMap`; new ESLint rule forbids litegraph imports under
`src/world/`.

### Tests

- Browser tests for promoted widgets retagged `@vue-nodes` and rewritten
to assert against the rendered Vue node DOM (via `getNodeLocator` /
`getByRole('textbox')` / `enterSubgraph`) instead of `page.evaluate`
graph introspection.
- Per-host widget independence asserted via DOM.
- Migration coverage moved to black-box round-trip tests.
- Added coverage for duplicate-named promoted widget identity (ADR 0009)
and the per-parent demote branch in `WidgetActions`.

## Review focus

- ADR 0009 conformance of the link-only promotion model.
- Disambiguator resolution path in `proxyWidgetMigration`.
- Single-version-counter promoted-view cache and its
`invalidatePromotedViews()` call sites.
- `LGraph.trigger()` event dispatch and the `AppModeWidgetList.vue`
migration off `onTrigger` (FE-667 tracks the remaining
`useGraphNodeManager` conversion).

## Breaking changes

None for users. Internal subgraph promotion APIs changed — see ADR 0009.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-12197-feat-subgraph-link-only-widget-promotion-migration-store-hygiene-35e6d73d365081fd882cf3a69bc09956)
by [Unito](https://www.unito.io)

---------

Co-authored-by: Amp <amp@ampcode.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Glary-Bot <glary-bot@users.noreply.github.com>
Co-authored-by: AustinMroz <austin@comfy.org>
dante01yoon pushed a commit that referenced this pull request Jul 27, 2026
## Summary

This PR intentionally narrows workflow-embedded model metadata handling
so root-level `models[]` and node-level embedded model metadata can
enrich existing missing-model candidates, but can no longer create new
candidates by themselves.

## Why this PR exists

ADR 0009, **Subgraph promoted widgets use linked inputs**, changes
promoted value ownership for subgraphs. That design was implemented by
[#12197](#12197),
**Subgraph Link Only Promotion (ADR 0009)**.

Under ADR 0009, a promoted widget is represented as a standard linked
`SubgraphInput` on the host `SubgraphNode`. The host boundary owns the
promoted value identity through the host node locator plus
`SubgraphInput.name`. The interior source widget remains the provider of
schema, type, options, tooltip, defaults, diagnostics, and migration
metadata, but it is not the persistence owner of the promoted value.

This PR is a preparatory cleanup discovered while working on the missing
model detection follow-up required by that ADR 0009 /
[#12197](#12197)
behavior. The follow-up needs missing model detection to respect the new
subgraph promoted-widget ownership model. While reviewing that path, we
found that the existing embedded model metadata fallback in
`enrichWithEmbeddedMetadata` was doing more than metadata enrichment.

The important finding was that this fallback was not just attaching
metadata to candidates that had already been detected from live node
widgets. It could also synthesize brand-new `MissingModelCandidate`
entries from workflow JSON metadata, including root-level `models[]`
entries, when no live candidate existed.

That behavior is inaccurate for the missing model system for two
reasons.

First, the normal missing model lifecycle is anchored to a real
node/widget binding. A candidate found from a COMBO or asset widget has
a concrete `nodeId + widgetName` reference. That reference is what lets
the UI surface the error, cache it as a pending warning, and later clear
or resolve it when the underlying node/widget value is fixed. A
root-level `models[]` entry does not reliably provide that anchor. If
metadata-only fallback creates a candidate without a real live widget
reference, the resulting error can be detected but cannot reliably
travel through the existing clearing path. In practice, that can become
an effectively unremovable missing model warning unless the user
downloads exactly the same model referenced by the stale metadata.

Second, a missing model error is meant to mean that a model-selecting
widget on an active node references a value that is not available.
Workflow JSON metadata by itself is not the same source of truth. If a
model only appears in root workflow metadata, or appears in node
metadata that is not represented by an active COMBO or asset widget
candidate, that is a different kind of state from the existing missing
model error model. Treating that metadata as a candidate creates a
second, less reliable detector that is not aligned with the scan/clear
lifecycle.

This is especially important before the ADR 0009 missing-model
follow-up. With linked-input promoted widgets, the host promoted value
is the value that matters. The interior source widget may still carry
stale or default metadata, and it must not become a second source of
truth for missing model errors. A detection path that can create
candidates directly from workflow metadata would make it harder to
reason about which value actually produced the warning.

For those reasons, this PR removes metadata-only candidate synthesis and
keeps embedded metadata in the role it can perform safely: metadata
enrichment. If the live widget/asset scan produces a candidate, embedded
metadata may fill in `directory`, `url`, `hash`, and `hashType`. If no
live candidate exists, the metadata is not enough to create a missing
model warning.

This PR is intended to land before the child PR that updates runtime
missing model detection for ADR 0009 linked-input promoted widgets.

## Changes

- **What**: Restrict `enrichWithEmbeddedMetadata` to enriching existing
candidates instead of creating fallback candidates from unmatched root
`models[]` or embedded model metadata.
- **What**: Remove the now-unused installed-model check callback and
asset-support callback from `enrichWithEmbeddedMetadata`.
- **What**: Remove the now-unnecessary `modelStore.loadModelFolders()`
path from the missing model pipeline, since embedded metadata no longer
performs installed-model fallback detection.
- **What**: Remove dead source-tracking metadata
(`EmbeddedModelWithSource`, source node/widget fields, and widget-name
lookup) that only existed to support metadata-only synthesis.
- **What**: Update missing model tests so they assert the new contract:
metadata enriches live candidates, but does not create candidates
without a live scan result.
- **What**: Delete obsolete fixtures that only covered the removed
metadata-only synthesis path.
- **Breaking**: None expected. This is an intentional narrowing of an
inaccurate fallback detector, not a public API change.
- **Dependencies**: None.

## Review Focus

Please focus on whether the candidate lifecycle now has a single source
of truth: live COMBO/asset widget scanning creates candidates, while
workflow metadata only enriches those candidates.

The intended behavioral change is that a model present only in
workflow-level metadata, with no active node widget candidate
referencing it, no longer appears as a missing model. This avoids
surfacing warnings that cannot be cleared through the normal `nodeId +
widgetName` path.

The expected retained behavior is that active widget-referenced missing
models are still detected by `scanAllModelCandidates`, and metadata from
root `models[]` or node `properties.models` still supplies
download-related fields for those live candidates.

## Screenshots (if applicable)

Not applicable. This is a detection/pipeline behavior change covered by
unit tests.

## Validation

- `pnpm test:unit src/platform/missingModel/missingModelScan.test.ts
src/platform/missingModel/missingModelPipeline.test.ts`
- `pnpm exec eslint src/platform/missingModel/missingModelScan.ts
src/platform/missingModel/missingModelScan.test.ts
src/platform/missingModel/missingModelPipeline.ts
src/platform/missingModel/missingModelPipeline.test.ts
src/platform/missingModel/types.ts`
- `pnpm exec oxfmt --check src/platform/missingModel/missingModelScan.ts
src/platform/missingModel/missingModelScan.test.ts
src/platform/missingModel/missingModelPipeline.ts
src/platform/missingModel/missingModelPipeline.test.ts
src/platform/missingModel/types.ts`
- `pnpm typecheck`
- pre-push hook: `knip --cache`
dante01yoon pushed a commit that referenced this pull request Jul 27, 2026
## Summary

Bind asset-browser modal selections to the widget that actually opened
the modal, so promoted subgraph asset widgets commit through the host
promoted widget instead of the internal source widget closure.

## Changes

- **What**: Makes the asset-browser modal commit path widget-owned:
after a valid selection, `openModal` writes to the widget passed into
the modal and notifies that widget's callback.
- **What**: Captures workflow state after a successful value-changing
asset selection, because the async modal `Use` action can run after the
global mouseup-based change capture has already fired.
- **What**: Preserves existing asset-browser filtering by keeping
`nodeTypeForBrowser` and `inputNameForBrowser` captured in the asset
widget's existing modal options closure.
- **What**: Avoids adding promoted-widget-specific rebinding code to
`litegraphService` and avoids changing LiteGraph core widget option
types.
- **What**: Only runs the source widget's `onValueChange` callback when
the selected widget is the original owner widget created by
`createAssetWidget`.
- **What**: For cloned/transient host widgets, such as promoted subgraph
asset widgets, dispatches `onWidgetChanged` through the widget's owning
node instead of the internal source node.
- **What**: Removes the duplicate PrimitiveNode callback dispatch
because the asset modal commit path now centrally notifies the selected
widget callback.
- **What**: Adds stable asset-browser `data-testid`s and a cloud E2E
regression for legacy promoted subgraph asset selection.
- **What**: Adds unit coverage for both regular asset widget commits and
cloned promoted-host asset modal commits, including workflow change
capture.
- **Breaking**: None.
- **Dependencies**: None.

## Review Focus

This PR supersedes #13074. The earlier direction treated the bug as a
missing callback bridge in the async asset-browser commit path, but the
ownership issue is more specific: promoted subgraph asset widgets reuse
modal options that were created from the deepest concrete source widget.
Those options still need to carry source metadata for filtering the
asset browser, but the modal's `Use` action must commit to the widget
that actually opened the modal.

This matters after the History ADR 0009 subgraph widget changes shipped
through #12197. In the 1.46 subgraph model, promoted widget values live
on the subgraph host node and are not synchronized back into the
internal widget. The internal source widget remains useful as the
provider of asset-browser metadata, because `SubgraphNode` already
resolves nested promotions down to the final concrete widget, but it
should not own the edit commit.

The final patch keeps that boundary narrow:

- no `IWidgetOptions` or LiteGraph core type changes;
- no asset-specific promoted-widget rebinding in `litegraphService`;
- no new promoted-widget traversal logic, because the existing subgraph
promotion path already resolves the final concrete source widget;
- the modal commit path uses the widget passed to `openModal` as the
value owner;
- successful async modal commits explicitly capture workflow state when
the selected value changes.

Please focus review on whether `createAssetWidget` now preserves regular
asset widget behavior while correctly handling cloned/transient host
widgets. The key distinction is that the source `onValueChange` path
only runs for the original owner widget; promoted host wrappers instead
rely on their callback bridge and owning node's `onWidgetChanged` hook.

A review pass also found that this PR makes an existing async modal
weakness more visible: asset-browser selection happens from the modal
button's `click` handler, while the global change tracker also captures
on `mouseup`. Depending on event ordering, the automatic capture can
occur before the selection mutates the widget. This PR now captures
workflow state immediately after a successful value-changing asset
selection so undo/modified tracking follows the same user-visible edit.

Local verification:

- `pnpm exec vitest run
src/platform/assets/utils/createAssetWidget.test.ts --reporter=dot`
- `pnpm exec vitest run
src/platform/assets/utils/createAssetWidget.test.ts --coverage
--reporter=dot --coverage.reporter=text
--coverage.include=src/platform/assets/utils/createAssetWidget.ts`
- `pnpm exec eslint src/platform/assets/utils/createAssetWidget.ts
src/platform/assets/utils/createAssetWidget.test.ts`
- `pnpm typecheck`
- `pnpm format:check`
- `pnpm build:cloud`

---------

Co-authored-by: Alexis Rolland <alexisrolland@hotmail.com>
dante01yoon pushed a commit that referenced this pull request Jul 27, 2026
…ts (#13059)

## Summary

Redesign missing-model detection for ADR 0009 promoted subgraph widgets
so candidates are created from the widget value the user can actually
edit, while still using the concrete interior widget as the
schema/options source.

## Why This PR Exists

This PR comes from the follow-up missing-model detection work for the
ADR 0009 / 1.46 subgraph widget changes introduced by
[#12197](#12197).

[#12197](#12197)
intentionally changed promoted subgraph widgets to be represented
through subgraph input links. After that change, the promoted widget on
the host `SubgraphNode` is the editable value owner, and linked interior
widgets are no longer guaranteed to mirror that value.

The old missing-model contract still treated the concrete interior node
widget as the effective source of truth in subgraph cases:

- recursive scans entered the subgraph and scanned the interior widget
value;
- candidates were keyed by the interior node/widget identity;
- the parent subgraph host mostly received propagated
highlight/navigation behavior;
- subgraph container widgets were not treated as first-class candidate
sources.

That contract breaks after ADR 0009. A user can resolve a missing model
by changing the promoted host widget to an installed model, while the
linked interior widget can still hold the old stale value. If detection
keeps scanning the linked interior value, entering the subgraph or
reloading the workflow can re-create a false missing-model error that no
longer corresponds to the value the user can edit.

ADR 0009 also means the same subgraph definition can be reused by
multiple `SubgraphNode` hosts. Once missing-model detection moves from
the interior definition widget to the promoted host widget, the selected
value is no longer a property of the shared definition alone. It is a
property of a specific host instance. That makes the old interior-node
identity insufficient for mode changes, removal handling, and re-scan
behavior: a single interior leaf definition can be reachable through
multiple host execution paths, and only the affected host path should
add, remove, or restore a candidate.

This PR also builds on
[#12990](#12990),
which narrowed workflow-level `models[]` and embedded model data to
metadata enrichment only. Together, the intended boundary is:

- live widgets create missing-model candidates;
- workflow/root-level `models[]` and node metadata only enrich
candidates that already came from a live widget;
- promoted widget values are read from the editable host widget, not
inferred from stale interior `widgets_values`.

## Changes

- **What**:
  - Introduces promoted-widget scan targets that split:
    - host promoted widget value and candidate identity;
    - concrete leaf widget/node definition data.
- Scans the outermost unlinked promoted widget on a `SubgraphNode` host
as the selected value owner.
- Skips linked interior widgets as candidate sources, preventing stale
linked widget values from producing duplicate or false missing-model
candidates.
- Resolves the concrete leaf widget for combo options, asset-widget
support, node type, directory lookup, and embedded metadata enrichment.
- Keys promoted missing-model candidates by the host execution id and
host promoted widget name.
- Adds `sourceExecutionId` to promoted candidates so liveness still
follows the concrete source execution path, including nested inactive
subgraph containers.
- Uses source-scope activity for pipeline filtering and async
verification, while keeping highlight/store/clearing identity
host-keyed.
- Removes host-keyed promoted candidates when their source execution
scope is removed or bypassed.
- Re-scans ancestor subgraph hosts when an interior source path is
un-bypassed, so host-keyed promoted errors can reappear correctly.
- Handles shared subgraph definitions by deriving promoted source paths
from the concrete host instance path, rather than treating the shared
definition node id as globally unique.
- Shares promoted source resolution between Vue node processing and the
right-side panel to avoid drift.
- Aligns missing-model clearing across Vue node widgets, legacy canvas
widgets, and right-side panel Parameters/Nodes section widgets.
- Adds unit coverage for scan identity, source-scope liveness, dynamic
mode changes, source-scope removal, shared-definition host isolation,
and right-side panel clearing.
- Adds nested promoted-widget E2E coverage for OSS and Cloud flows
across Vue, Parameters tab, and legacy widget surfaces.
- **Breaking**: None expected.
- **Dependencies**: None.

## New Detection Contract

A missing-model candidate is created from an unlinked final editable
value owner.

That value owner can be:

- a normal node model widget; or
- the outermost promoted model widget displayed on a `SubgraphNode`
host.

For promoted widgets:

- the host promoted widget supplies the selected value;
- the host execution id and host widget name are the candidate identity;
- the concrete leaf widget supplies definition data such as combo
options and asset-browser support;
- the concrete source execution path is retained as `sourceExecutionId`
for liveness only;
- linked interior widgets are skipped as candidate sources because their
values are not authoritative when driven by a promoted input.

For a nested chain:

`Outer promoted widget A -> inner promoted widget B -> concrete widget
C`

only `A` creates the candidate. `B` and `C` are linked along the
promoted-input path and are skipped as selected-value sources, while `C`
still provides the concrete widget definition used to evaluate `A`.

## Shared Definition And Source-Scope Liveness

ADR 0009 promoted widgets make subgraphs behave more like reusable
definitions with host-owned inputs. Two host `SubgraphNode`s can point
at the same interior subgraph definition while carrying different
promoted widget values. In that shape, the missing-model candidate must
be keyed to the editable host surface, but the activity check cannot use
the host id alone.

For example, if two outer hosts share the same nested subgraph
definition, one host can select a valid model while the other still
selects a missing model. The result should be one missing-model
reference, not a single definition-level error and not two errors after
one host is fixed. Likewise, bypassing or un-bypassing an interior
nested container should affect only the host execution paths that
actually pass through that container.

This PR therefore separates two concepts:

- **candidate identity**: host execution id + host promoted widget name,
used for storage, highlight, navigation, and clearing;
- **candidate liveness**: concrete source execution path, used for
scan-time activity checks, pipeline filtering, async verification,
source-scope removal, and re-exposure after mode changes.

That separation is the reason this PR updates more than the scan itself.
Moving the detection target to the subgraph host also requires the
mode-change and removal paths to understand that a host-keyed candidate
can be invalidated by a descendant source path, and can need to be
restored by re-scanning an ancestor host when an interior source path
becomes active again.

## Review Focus

Please review the identity split carefully:

- candidate/store/highlight/clearing identity should remain host-keyed
for promoted widgets;
- liveness should use `sourceExecutionId` when present, falling back to
`nodeId` for normal candidates;
- scan-time activity checks should account for the source node itself
and all ancestor subgraph containers;
- source-scope removal should remove host-keyed candidates whose
concrete source path was removed or bypassed;
- un-bypassing an interior source path should re-scan affected ancestor
subgraph hosts so host-keyed candidates can reappear;
- shared subgraph definitions should not merge errors across different
host instances;
- linked interior widgets should not produce their own missing-model
candidates;
- asset-browser eligibility should be resolved from the concrete leaf
node type and widget name, not the synthetic subgraph host type;
- right-side panel edits should clear host missing-model errors and
source validation errors consistently.

The E2E matrix intentionally keeps nested promoted workflows only.
Nested promoted widgets cover the same editable host path as single
promoted widgets while also exercising the `A -> B -> C` chain that can
break source-scope liveness and re-scan behavior. The nested fixture
also includes multiple host instances that share the same subgraph
definition, so it verifies that fixing one host does not accidentally
clear or suppress another host's missing-model candidate. Direct/single
promoted behavior is still covered at the unit level.

## Non-Goals

- This PR does not reintroduce workflow-level `models[]` candidate
creation.
- This PR does not infer selected model values from `widgets_values`.
- This PR does not synchronize linked interior widget values back from
promoted host widgets.
- This PR does not redesign missing-media scanning; missing media still
skips subgraph containers and remains keyed by concrete interior paths.
The shared async post-verification active-scope filter is intentionally
stricter, so a pending missing-media candidate is no longer surfaced if
its own node is bypassed or removed while verification is in flight.

## Validation

- `pnpm exec vitest run
src/components/rightSidePanel/parameters/SectionWidgets.test.ts
src/platform/missingModel/missingModelScan.test.ts
src/composables/graph/useErrorClearingHooks.test.ts
src/platform/missingModel/missingModelPipeline.test.ts
src/platform/missingModel/missingModelStore.test.ts
src/utils/graphTraversalUtil.test.ts
src/composables/graph/useGraphNodeManager.test.ts
src/renderer/extensions/vueNodes/composables/useProcessedWidgets.test.ts
--reporter=dot`
  - 8 files passed, 294 tests passed.
- `pnpm exec vitest run
src/platform/missingModel/missingModelScan.test.ts
src/core/graph/subgraph/resolveConcretePromotedWidget.test.ts
src/components/rightSidePanel/parameters/SectionWidgets.test.ts`
  - 3 files passed, 71 tests passed.
- `pnpm typecheck`
- `pnpm typecheck:browser`
- `pnpm format:check`
- targeted ESLint for changed production/unit/E2E files
- `git diff --check`
- `pnpm build`
- `pnpm build:cloud`
- OSS affected E2E on the 8188 build:
- `PLAYWRIGHT_LOCAL=1 PLAYWRIGHT_TEST_URL=http://localhost:8188 pnpm
exec playwright test
browser_tests/tests/propertiesPanel/errorsTabModeAware.spec.ts
--project=chromium --grep "Changing an OSS .*promoted|Refreshing a
resolved promoted|Reloading a resolved nested"`
  - 5 passed.
- Cloud affected E2E on the 8188 cloud build:
- `PLAYWRIGHT_LOCAL=1 PLAYWRIGHT_TEST_URL=http://localhost:8188 pnpm
exec playwright test
browser_tests/tests/propertiesPanel/errorsTabCloudMissingModels.spec.ts
--project=cloud --grep "Changing a Cloud .*promoted"`
- 2 passed; the Cloud legacy promoted asset-modal case still fails until
[#13075](#13075) is
merged.
- Full OSS `errorsTabModeAware.spec.ts` on the 8188 build:
- 23 passed; 3 existing paste/clipboard cases failed before the promoted
subgraph section with node count remaining at 1 after
`clipboard.paste()`.
- Commit hooks ran `oxfmt`, `oxlint`, `eslint`, `pnpm typecheck`, and
browser typecheck where applicable.
- Pre-push hook ran `pnpm knip --cache`.

## Screenshots

Before


https://github.com/user-attachments/assets/6380c1da-1d92-4b70-888e-3ade572c4b5b

After


https://github.com/user-attachments/assets/4cfc24d6-3dc3-4e36-9b31-72fea6b3d9d5
claude Bot pushed a commit that referenced this pull request Aug 2, 2026
…ident-94)

Adds an e2e test and a unit test that reproduce a distinct subgraph
live-preview bug: LGraphNode.vue unconditionally hides the LivePreview
element on any SubgraphNode via a `!lgraphNode?.isSubgraphNode()` guard
(added in #12197 / 0157b47), so a
mid-execution sampler preview never reaches the outer, non-entered
SubgraphNode.

This is separate from the allowlist gap fixed in this PR: that fix
promotes previews through usePromotedPreviews/NodeContent, a rendering
path that is not gated by isSubgraphNode(). It does not touch or
bypass the LivePreview guard, so it does not fix this scenario -
verified empirically: this unit test still fails on top of this
branch's fix with the same "Unable to find an accessible element with
the role img" error as on main.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
zeus-onl pushed a commit to zeus-onl/ComfyUI_frontend that referenced this pull request Aug 4, 2026
## Summary

Move missing-media error surfacing from the interior widget to the
promoted host widget, matching the ADR 0009 ownership model.

Built as a red-green pair. The tests were written and pushed first and
failed on CI; the implementation followed and turned them green, with
the failing and passing runs both linked below.

## Changes

- **What**:
- `refactor: extract the missing media pipeline seam` — moves
`runMissingMediaPipeline` / `cacheMediaCandidates` out of `ComfyApp`
into `src/platform/missingMedia/missingMediaPipeline.ts`, mirroring the
existing `missingModelPipeline.ts`. Pure move.
- Test commits — 30 failing unit tests across 6 files plus 3 E2E
scenarios, defining the contract below.
- `fix: surface missing media on the promoted host widget` — the
implementation.
- `refactor: derive missing media detection from the input spec` —
replaces the hardcoded `MEDIA_NODE_WIDGETS` map with the upload flags
the backend already declares.
- `fix: move the missing media error surface on promotion as well as
demotion` — closes the promotion half of the ownership transfer.
- `refactor: address review nits on the promoted missing media surface`.
- **Breaking**: none.
- **Dependencies**: none.

Production total: 332 insertions / 114 deletions across 9 files.

## Why

[Comfy-Org#12197](Comfy-Org#12197) (ADR
0009) made promoted widgets host-owned: the host `SubgraphNode` widget
owns the value and the interior widget only supplies schema/options
metadata.
[Comfy-Org#13059](Comfy-Org#13059)
updated **missing model** detection for that contract. **Missing media
was never updated** — `missingMediaScan.ts` still skips subgraph hosts
entirely and reads the interior widget.

What the user sees today, with a `LoadImage` inside a subgraph whose
`image` widget is promoted:

- The error is keyed to the interior node, so the errors-tab row
navigates to a node the user cannot edit — the interior widget is
disabled while promoted.
- Selecting a valid image on the host does not clear it. Entering the
subgraph re-creates the candidate from the stale interior value through
the `onNodeAdded` rescan.

## The contract these tests pin

A candidate is created from the **unlinked final editable value owner**.

| | `nodeId` | `widgetName` | `nodeType` |
| --- | --- | --- | --- |
| plain node widget | node execId | widget name | node type |
| promoted host widget | **host execId** | **host SubgraphInput name** |
**leaf node type** (e.g. `LoadImage`) |

1. A widget whose paired input slot has a link is not the value owner
and is skipped — promoted interior widgets and ordinary link-fed widgets
alike.
2. Media-widget identification reads the **leaf** widget's `InputSpec`
upload flags (`image_upload`, `animated_image_upload`, `video_upload`,
`audio_upload`) via `nodeDefStore.getInputSpecForWidget`. The tests were
written against the four-node `MEDIA_NODE_WIDGETS` map that existed at
the time; the later spec-based commit keeps every one of them green and
additionally covers custom loader nodes.
3. **Value and combo options are both read from the scanned widget** —
for a promoted widget that means the host, never the leaf.
4. Nested `A → B → C`: only `A` creates a candidate.
5. Two hosts sharing one subgraph definition produce independent
candidates.
6. **Liveness follows an any-consumer rule**: the candidate survives
while at least one fully-active path exists from the host input to a
concrete widget, and disappears when all of them are inactive or the
promotion is released.

## Review Focus

### Two intentional differences from missing model

**1. Options are read from the host, not the leaf.** `missingModelScan`
reads the interior widget's options. Media cannot: uploading through the
host dropdown appends the filename to the *host* widget's option list
only (`useWidgetSelectActions.handleFilesUpdate`), so reading leaf
options would report a just-uploaded file as missing on the next rescan.
Model combos have no upload control — `allowUpload` derives from the
same spec flags this PR now reads for detection — so the divergence does
not apply to them.

**2. Liveness is any-consumer, not first-link.** A `SubgraphInput` can
feed N interior widgets, and ADR 0009's primitive-fanout repair creates
exactly that shape. `resolveSubgraphInputLink` returns only the first
resolvable link as the "promoted representative", and
`missingModelScan.ts:219` uses that single representative for liveness.
In model today, with consumers A/B/C, bypassing **A alone** clears the
host error even though B and C still need the file — the outcome depends
on link order, which is an implementation detail. Media does not inherit
that. A follow-up PR will align `missingModelScan` to the same rule.

### What each wrong implementation trips on

| wrong implementation | caught by |
| --- | --- |
| reads the interior widget's value | `uses a valid host value even when
the linked interior value is stale` |
| reads the interior widget's options | `accepts a value found only in
the promoted host options` + `reports a value found only in the interior
leaf options as missing` |
| first-link representative for liveness | first-consumer scan case +
fanout lifecycle step 1 |
| last-link representative for liveness | last-nested-branch scan case +
fanout lifecycle step 2 |
| fixes the scan but not removal | the lifecycle reds |
| fixes removal but not the scan | the scan reds |

All four production liveness call sites are pinned separately — scan,
removal/mode-change, workflow-load async verification, realtime async
verification — so a partial implementation cannot go green.

### Test notes

- Some guards are green today by design. The `scanNodeMediaCandidates`
BYPASS/NEVER guards and three `missingMediaStore` tests pass without
production changes; they exclude specific wrong implementations rather
than proving the bug. Removal authority intentionally lives in the scan
rather than in a targeted store API.
- `MissingMediaCandidate` gains **no new field**. An earlier design
recorded the leaf execution path on the candidate; that cannot express
any-consumer liveness and goes stale when consumers change, so liveness
is re-derived from the host at check time.
- Commit 1 is a pure move. `this.rootGraph` was read lazily inside
`.then()` and is now captured as a parameter; these are equivalent
because `rootGraphInternal` has exactly one assignment site
(`app.ts:955`), so a single `LGraph` exists for the app's lifetime.
Verified by applying only the two production files to `main` and running
the full unit suite.

### Known unrelated CI noise

- `src/platform/cloud/onboarding/onboardingCloudRoutes.test.ts`
intermittently times out at 5s on module-level dynamic imports.
Reproduced on this branch's base commit.
- `.nvmrc` pins a floating `node 25`, resolved fresh per run, so
identical commits can behave differently across runs.

## Changes after the green run

Three commits landed after the red-green pair. All 51 checks pass on
`86382c61`.

**Spec-based media detection.** *Ecosystem impact: this broadens
detection from four hardcoded node types to every node whose combo input
declares an upload flag, so third-party media loaders will now surface
missing-media errors where they previously never did. `mesh_upload`
stays unhandled — missing media has no mesh surface yet.* Detection was
a hardcoded map of four node types (`LoadImage`, `LoadImageMask`,
`LoadVideo`, `LoadAudio`) keyed by widget name. It now reads the upload
flags the backend already declares on the combo `InputSpec`, resolved
through `nodeDefStore.getInputSpecForWidget` — the same API the Vue
layer uses to populate `SimplifiedWidget.spec`
(`useGraphNodeManager.ts:165`), and the same flag precedence
`WidgetSelect.vue` uses to decide whether a widget renders an upload
control. Custom loader nodes are now covered. `candidate.nodeType` still
comes from the leaf: the errors overlay formats it directly
(`missingErrorResolver.ts:265`), and a `SubgraphNode`'s own `type` is a
UUID, which `formatNodeTypeName` would pass through verbatim.

**Promotion, not just demotion.** Promotion transfers value ownership
from the interior widget to the host; demotion transfers it back. Only
demotion was handled, so promoting a widget with a missing file left the
error keyed to the interior node the user can no longer edit — the same
class of bug this PR exists to fix, reached by a different route — and
demoting deleted the error without re-checking the widget that regained
ownership. Both events now rescan the host subtree: whichever side lost
ownership fails the scope check and is dropped, whichever side gained it
is scanned fresh. Demotion keeps its explicit host removal because
`ensureWidgetRemoved` dispatches before the widget leaves the input, so
the scope filter cannot yet see it gone. Two tests, both
mutation-proven.

Two branches that could not change behaviour were removed: the
`app.rootGraph === graph.rootGraph` guard in `onNodeRemoved` (hooks
install on `canvasStore.currentGraph`, which may be a `Subgraph`, but
`Subgraph.rootGraph` returns the app's single root, so it is always
true), and the missing-widget early return in
`isMissingMediaCandidateScopeActive` (`getSlotFromWidget` accepts
`undefined`, so the branch returned exactly what the code below it
already returned).

## Follow-ups

An 18-lane blackbox review produced these. Each is real but outside this
PR's scope; none block it.

| # | item | why deferred |
| --- | --- | --- |
| 1 | `findNodesReferencingValues` skips subgraph hosts, so a deleted
asset stays written into the workflow JSON through a promoted host |
named as a non-goal below; extending it needs a decision on what
preview-clearing means for a host, whose outputs the interior node
produces |
| 2 | the promotion-listener `Map` keys on `Subgraph`, retaining
definitions until teardown | lifetime question that applies to the
sibling model path too |
| 3 | the per-node scan lost its node-type early bail, so a full-graph
scan is O(M·N) | needs a cheap pre-filter that does not reintroduce the
hardcoded map |
| 4 | per-node media verification is uncancellable; its `rootGraph`
staleness guard cannot fire for same-workflow edits | needs an
`AbortSignal` through the scan path, which `verifyMediaCandidates`
already accepts |
| 5 | `isWidgetMissingMedia` is a linear scan where the model store
precomputes a key `Set` | render-path optimisation, measurable only on
large graphs |
| 6 | `hasActiveConsumer` re-implements `resolveSubgraphInputLink`'s
traversal and sits in `resolveConcretePromotedWidget.ts` | unifying them
means changing the model path's first-link semantics, which item 8
covers |
| 7 | promoted-host uploads set no in-flight flag: the interior widget
is disabled so `useNodeImageUpload` never runs, and
`WidgetSelectDropdown` tracks upload state in a local `ref` | the
`isUploading` guard is therefore unreachable for promoted widgets;
fixing it is an upload-path change, not a detection change |
| 8 | an active *non-media* consumer keeps a missing-media error alive
that the user cannot clear | needs a product decision on what liveness
should mean for heterogeneous fanout |
| 9 | the scan reaches into the leaf for `candidate.nodeType`, which
only the overlay message consumes directly
(`missingErrorResolver.ts:265`); the row label already prefers the
node's display name | switching the overlay to the display name would
let the scan drop `resolvePromotedWidgetSource` entirely —
`getInputSpecForWidget` already walks the promoted chain itself, so
chain resolution would live behind one store API instead of being
re-derived here. Deferred because it changes a user-visible string
(i18n) and `nodeType` is a public field on `MissingMediaCandidate`
shared with grouping and the model-side symmetry |
| 10 | a media file drop calls `showPendingWarnings()` unconditionally
(`app.ts:714`), restoring `wf.pendingWarnings.missingMediaCandidates`
verbatim — so an error cleared by a bypass, a node deletion or a
demotion comes back, keyed to a node that may no longer exist |
**pre-existing, reproduces on `main`** — filed as
[FE-1487](https://linear.app/comfyorg/issue/FE-1487/cleared-missing-media-errors-reappear-after-a-media-file-drop-keyed-to).
Nothing outside the load pipeline updates that cache, and
`showPendingWarnings` re-writes what it read, so the divergence is
self-perpetuating. The restore path is shared with missing model and
missing node, so any fix has to be validated across all three |
| 11 | the upload-flag precedence in `mediaTypeFromSpec` duplicates
`WidgetSelect.vue:82-90`, which derives the same `AssetKind` from the
same flags and also handles `mesh_upload` | a shared
`assetKindFromComboSpec` would keep them from drifting when a flag is
added, but `WidgetSelect.vue` is outside this PR's diff |

## Non-goals

- Does not change missing **model** behavior.
- Does not change the hide-vs-disable UX for promoted widgets, which is
pending design.
- Does not widen `findNodesReferencingValues`; the deleted-asset path
will be fixed at its call site so the preview-clearing and
value-clearing consumers keep their current behavior.

## Red-green proof

| phase | commit | unit | e2e |
| --- | --- | --- | --- |
| Red |
[`e11161a8`](Comfy-Org@e11161a839)
|
[failed](https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/30760755440/job/91530691345)
|
[failed](https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/30760755459/job/91530918284)
|
| Green |
[`1fe2d9a8`](Comfy-Org@1fe2d9a85b)
|
[passed](https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/30765383959/job/91543058867)
|
[passed](https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/30765383923/job/91543279012)
|

At red, the only failing jobs were the unit suite, one chromium E2E
shard, and the `e2e-status` job that aggregates them; the other 47
checks passed. The failing unit files were exactly the six this PR
touches. The E2E failures were behavioural assertions rather than setup
errors — the first one printed the bug directly, with the errors-tab row
naming the interior node the user cannot edit:

```
Locator: getByTestId('missing-media-row')
Expected substring: "Subgraph with Promoted Missing Media - outer_image"
Received string:    "Load Image - image"
```

At green, all 50 checks pass, including the same three jobs. The three
commits added after that run are described above; the branch head
[`86382c61`](Comfy-Org@86382c6198)
is green on every check —
[unit](https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/30778317952/job/91578007298),
[e2e](https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/30778317997/job/91579591949)
(27/27 jobs, covering the `cloud`, `mobile-chrome`, `mobile-safari`,
`chromium-2x` and `chromium-0.5x` projects as well as the 16 chromium
shards).

### Tests changed between the two runs

Two tests were corrected after the red run was recorded. Both are listed
here rather than folded in silently:

1. **`missingMediaStore.test.ts`** — the red-phase intersection type and
cast were removed and `isWidgetMissingMedia` is now called directly.
During red the store did not expose the method, so an optional member
kept the failure an `AssertionError` instead of a `TypeError`; once the
implementation landed the scaffolding became unnecessary. This completes
what was promised in the review thread.
2. **`useProcessedWidgets.test.ts`** — `otherWidget` was re-aimed from
`outer_image` to `outer_mask`. As written it shared its entire host
identity with `matchingWidget` and differed only in `sourceExecutionId`,
so it demanded source-path discrimination that this contract
deliberately removes — it could not pass under any implementation. It
remains a promoted widget, so the promoted path is still exercised, and
a mutation that drops the `widgetName` comparison in the store still
fails it.

No other test changed: the 193 `it`/`describe` titles across the six red
files are identical at both revisions, with no `skip` or `only` added,
and the fixtures, E2E specs and helpers are untouched.

### Verification beyond CI

- All ten contract rules were checked by mutation: 14 probes, 14 caught,
none survived. The commits added after the green run were
mutation-proven the same way — reverting the `widget-promoted` listener
fails the promotion test, reverting the demotion rescan fails the
demotion test, and reverting spec-based detection to the old map fails
the custom-node test.
- The E2E scenarios were run locally in both harnesses: the OSS chromium
project against this branch's Vite dev server on `:5173`, and the
`cloud` project against a `pnpm build:cloud` dist served by a local
backend, matching how CI builds and serves it.


## Video 


https://github.com/user-attachments/assets/2e88d76c-c54e-4b69-b4b7-8d97be29b1b4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview-gpu Creates a preview ephemeral environment for this PR (GPU available) size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants