Skip to content

Conversation

@christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented Nov 23, 2025

Hides these features which the user does not need when on cloud.

┆Issue is synchronized with this Notion page by Unito

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Nov 23, 2025
@coderabbitai
Copy link

coderabbitai bot commented Nov 23, 2025

📝 Walkthrough

Walkthrough

The Edit menu commands in the core menu configuration are now conditionally rendered based on deployment type. Memory unload commands are only included for non-cloud deployments, while the Refresh Node Definitions command is removed entirely.

Changes

Cohort / File(s) Summary
Edit menu command configuration
src/constants/coreMenuCommands.ts
Added isCloud import from platform distribution types. Modified CORE_MENU_COMMANDS to conditionally include memory unload commands (Comfy.Memory.UnloadModels, Comfy.Memory.UnloadModelsAndExecutionCache) only when isCloud is false. Removed Comfy.RefreshNodeDefinitions command from the Edit menu entirely.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cloud/hide-unload-on-cloud

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 58b051a and c2e22de.

📒 Files selected for processing (1)
  • src/constants/coreMenuCommands.ts (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: lint-and-format
  • GitHub Check: setup
  • GitHub Check: test
  • GitHub Check: collect
🔇 Additional comments (2)
src/constants/coreMenuCommands.ts (2)

1-1: Environment flag import is appropriate for menu gating

Using isCloud from @/platform/distribution/types at this layer to drive which commands are registered is straightforward and keeps the environment check centralized. No issues from a correctness or structure perspective.


23-28: Conditional spread correctly hides unload commands on cloud

The ...(isCloud ? [] : [...]) spread cleanly omits Comfy.Memory.UnloadModels and Comfy.Memory.UnloadModelsAndExecutionCache on cloud, while preserving them elsewhere, which matches the PR objective. One thing to confirm: is Comfy.RefreshNodeDefinitions meant to remain available on cloud, or should that also be gated with isCloud?


Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Nov 23, 2025

🎭 Playwright Test Results

Some tests failed

⏰ Completed at: 11/23/2025, 10:39:48 PM UTC

📈 Summary

  • Total Tests: 496
  • Passed: 484 ✅
  • Failed: 1 ❌
  • Flaky: 2 ⚠️
  • Skipped: 9 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 475 / ❌ 1 / ⚠️ 2 / ⏭️ 9
  • chromium-2x: View Report • ✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • chromium-0.5x: View Report • ✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • mobile-chrome: View Report • ✅ 6 / ❌ 0 / ⚠️ 0 / ⏭️ 0

🎉 Click on the links above to view detailed test results for each browser configuration.

@github-actions
Copy link

github-actions bot commented Nov 23, 2025

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 11/23/2025, 10:28:55 PM UTC

🔗 Links


🎉 Your Storybook is ready for review!

@github-actions
Copy link

Bundle Size Report

Summary

  • Raw size: 14.2 MB baseline 14.2 MB — 🟢 -25 B
  • Gzip: 2.84 MB baseline 2.84 MB — 🟢 -40 B
  • Brotli: 2.22 MB baseline 2.22 MB — 🟢 -216 B
  • Bundles: 92 current • 92 baseline • 38 added / 38 removed

Category Glance
App Entry Points 🟢 -25 B (3.18 MB) · Vendor & Third-Party ⚪ 0 B (5.7 MB) · Other ⚪ 0 B (3.87 MB) · Graph Workspace ⚪ 0 B (941 kB) · Panels & Settings ⚪ 0 B (306 kB) · UI Components ⚪ 0 B (141 kB) · + 3 more

Per-category breakdown
App Entry Points — 3.18 MB (baseline 3.18 MB) • 🟢 -25 B

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-CaGKsPec.js (removed) 2.95 MB 🟢 -2.95 MB 🟢 -615 kB 🟢 -467 kB
assets/index-Bnppaf2t.js (new) 2.95 MB 🔴 +2.95 MB 🔴 +615 kB 🔴 +467 kB
assets/index-CmtQsI-h.js (removed) 228 kB 🟢 -228 kB 🟢 -48.9 kB 🟢 -40.3 kB
assets/index-z_e5UfjY.js (new) 228 kB 🔴 +228 kB 🔴 +48.9 kB 🔴 +40.3 kB
assets/index-BbZgPq6V.js (new) 345 B 🔴 +345 B 🔴 +243 B 🔴 +201 B
assets/index-DWwYX8i2.js (removed) 345 B 🟢 -345 B 🟢 -245 B 🟢 -210 B

Status: 3 added / 3 removed

Graph Workspace — 941 kB (baseline 941 kB) • ⚪ 0 B

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-BW5DLWhO.js (new) 941 kB 🔴 +941 kB 🔴 +182 kB 🔴 +140 kB
assets/GraphView-CQlMYFtZ.js (removed) 941 kB 🟢 -941 kB 🟢 -182 kB 🟢 -140 kB

Status: 1 added / 1 removed

Views & Navigation — 7.97 kB (baseline 7.97 kB) • ⚪ 0 B

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/UserSelectView-aNmxDoxh.js (removed) 7.97 kB 🟢 -7.97 kB 🟢 -2.43 kB 🟢 -2.14 kB
assets/UserSelectView-B0LYKtqz.js (new) 7.97 kB 🔴 +7.97 kB 🔴 +2.43 kB 🔴 +2.14 kB

Status: 1 added / 1 removed

Panels & Settings — 306 kB (baseline 306 kB) • ⚪ 0 B

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CreditsPanel-Bs3ShXgL.js (new) 22.9 kB 🔴 +22.9 kB 🔴 +5.46 kB 🔴 +4.78 kB
assets/CreditsPanel-DX2fBoKp.js (removed) 22.9 kB 🟢 -22.9 kB 🟢 -5.46 kB 🟢 -4.78 kB
assets/KeybindingPanel-CQIvcFwS.js (new) 15.1 kB 🔴 +15.1 kB 🔴 +3.73 kB 🔴 +3.28 kB
assets/KeybindingPanel-CZppHPgx.js (removed) 15.1 kB 🟢 -15.1 kB 🟢 -3.73 kB 🟢 -3.28 kB
assets/ExtensionPanel-BDdOtHsX.js (removed) 11.9 kB 🟢 -11.9 kB 🟢 -2.79 kB 🟢 -2.44 kB
assets/ExtensionPanel-qehwAqDu.js (new) 11.9 kB 🔴 +11.9 kB 🔴 +2.79 kB 🔴 +2.45 kB
assets/AboutPanel-BnYy7CMA.js (new) 10.1 kB 🔴 +10.1 kB 🔴 +2.62 kB 🔴 +2.31 kB
assets/AboutPanel-C0GBsEDI.js (removed) 10.1 kB 🟢 -10.1 kB 🟢 -2.62 kB 🟢 -2.31 kB
assets/ServerConfigPanel-CSz9hNIa.js (removed) 8.02 kB 🟢 -8.02 kB 🟢 -2.12 kB 🟢 -1.88 kB
assets/ServerConfigPanel-CtNXqBTT.js (new) 8.02 kB 🔴 +8.02 kB 🔴 +2.12 kB 🔴 +1.87 kB
assets/UserPanel-BKFb_ETw.js (new) 7.74 kB 🔴 +7.74 kB 🔴 +2.02 kB 🔴 +1.77 kB
assets/UserPanel-DQcJF1-k.js (removed) 7.74 kB 🟢 -7.74 kB 🟢 -2.03 kB 🟢 -1.77 kB
assets/settings-BXTtSH4O.js 33.3 kB 33.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-C9Pzn-NG.js 25.2 kB 25.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-CCy2fA_h.js 27.3 kB 27.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-CQpqEFfl.js 26.6 kB 26.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DHcnxypw.js 21.7 kB 21.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DhFTK9fY.js 25.1 kB 25.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DlT4t_ui.js 25.9 kB 25.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DRgSrIdD.js 24.2 kB 24.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-tjkeqiZq.js 21.1 kB 21.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 6 added / 6 removed

UI Components — 141 kB (baseline 141 kB) • ⚪ 0 B

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/Load3D.vue_vue_type_script_setup_true_lang-B7wSgQN8.js (new) 53.9 kB 🔴 +53.9 kB 🔴 +8.43 kB 🔴 +7.24 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-QYzN_JMy.js (removed) 53.9 kB 🟢 -53.9 kB 🟢 -8.43 kB 🟢 -7.23 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-9D7Gm3px.js (new) 48 kB 🔴 +48 kB 🔴 +10.3 kB 🔴 +8.92 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-D_yuZRnO.js (removed) 48 kB 🟢 -48 kB 🟢 -10.3 kB 🟢 -8.91 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-B0o713NM.js (removed) 12.7 kB 🟢 -12.7 kB 🟢 -3.31 kB 🟢 -2.93 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-Dyz6JS50.js (new) 12.7 kB 🔴 +12.7 kB 🔴 +3.3 kB 🔴 +2.94 kB
assets/ComfyQueueButton-BaW2Kpf1.js (removed) 9.22 kB 🟢 -9.22 kB 🟢 -2.5 kB 🟢 -2.2 kB
assets/ComfyQueueButton-vrhWIPp3.js (new) 9.22 kB 🔴 +9.22 kB 🔴 +2.5 kB 🔴 +2.2 kB
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-D3FY970j.js (new) 2.14 kB 🔴 +2.14 kB 🔴 +794 B 🔴 +692 B
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-zHqDSGHc.js (removed) 2.14 kB 🟢 -2.14 kB 🟢 -794 B 🟢 -689 B
assets/MediaTitle.vue_vue_type_script_setup_true_lang-BJchH3cw.js (removed) 848 B 🟢 -848 B 🟢 -472 B 🟢 -424 B
assets/MediaTitle.vue_vue_type_script_setup_true_lang-D06_xzGP.js (new) 848 B 🔴 +848 B 🔴 +472 B 🔴 +413 B
assets/LazyImage.vue_vue_type_script_setup_true_lang-Wi-CcgaU.js 10.7 kB 10.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/UserAvatar.vue_vue_type_script_setup_true_lang-D2s8tnS2.js 1.26 kB 1.26 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetButton-CtnTx0SP.js 1.72 kB 1.72 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 6 added / 6 removed

Data & Services — 12.5 kB (baseline 12.5 kB) • ⚪ 0 B

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/keybindingService-BUFWeUyv.js (new) 7.51 kB 🔴 +7.51 kB 🔴 +1.83 kB 🔴 +1.58 kB
assets/keybindingService-e_h6X-Sk.js (removed) 7.51 kB 🟢 -7.51 kB 🟢 -1.83 kB 🟢 -1.58 kB
assets/audioService-BoOJbqG5.js (new) 2.2 kB 🔴 +2.2 kB 🔴 +961 B 🔴 +826 B
assets/audioService-Fuj1FK6y.js (removed) 2.2 kB 🟢 -2.2 kB 🟢 -962 B 🟢 -825 B
assets/serverConfigStore-D2N-YjtJ.js 2.79 kB 2.79 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 2 added / 2 removed

Utilities & Hooks — 2.94 kB (baseline 2.94 kB) • ⚪ 0 B

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/audioUtils-BqekmAyj.js (removed) 1.41 kB 🟢 -1.41 kB 🟢 -650 B 🟢 -544 B
assets/audioUtils-T-siEHwx.js (new) 1.41 kB 🔴 +1.41 kB 🔴 +648 B 🔴 +548 B
assets/mathUtil-CTARWQ-l.js 1.07 kB 1.07 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeFilterUtil-CXKCRJ-m.js 460 B 460 B ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 1 added / 1 removed

Vendor & Third-Party — 5.7 MB (baseline 5.7 MB) • ⚪ 0 B

External libraries and shared vendor chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/vendor-other-OCBGbKU2.js 3.59 MB 3.59 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-primevue-PESgPnbc.js 517 B 517 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-three-aR6ntw5X.js 1.37 MB 1.37 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-tiptap-CmuD0u4q.js 232 kB 232 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-vue-DhKsTD0i.js 92.6 kB 92.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-xterm-BZLod3g9.js 407 kB 407 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
Other — 3.87 MB (baseline 3.87 MB) • ⚪ 0 B

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/WidgetRecordAudio-CWAovQCw.js (new) 21.9 kB 🔴 +21.9 kB 🔴 +5.52 kB 🔴 +4.88 kB
assets/WidgetRecordAudio-Dq1bnB_b.js (removed) 21.9 kB 🟢 -21.9 kB 🟢 -5.52 kB 🟢 -4.87 kB
assets/AudioPreviewPlayer-BRa410xV.js (new) 14.9 kB 🔴 +14.9 kB 🔴 +3.69 kB 🔴 +3.3 kB
assets/AudioPreviewPlayer-DTF5tBpQ.js (removed) 14.9 kB 🟢 -14.9 kB 🟢 -3.69 kB 🟢 -3.3 kB
assets/WidgetGalleria-BCQaBuGL.js (new) 5.56 kB 🔴 +5.56 kB 🔴 +1.74 kB 🔴 +1.54 kB
assets/WidgetGalleria-Mv3ZjnDb.js (removed) 5.56 kB 🟢 -5.56 kB 🟢 -1.74 kB 🟢 -1.54 kB
assets/WidgetColorPicker-BwC4DJ5A.js (removed) 4.87 kB 🟢 -4.87 kB 🟢 -1.69 kB 🟢 -1.48 kB
assets/WidgetColorPicker-DBjdHPCs.js (new) 4.87 kB 🔴 +4.87 kB 🔴 +1.69 kB 🔴 +1.48 kB
assets/WidgetMarkdown-BBAcbkYu.js (removed) 4.64 kB 🟢 -4.64 kB 🟢 -1.62 kB 🟢 -1.41 kB
assets/WidgetMarkdown-UbeyTSG5.js (new) 4.64 kB 🔴 +4.64 kB 🔴 +1.62 kB 🔴 +1.41 kB
assets/WidgetAudioUI-BXil-ibo.js (removed) 4.33 kB 🟢 -4.33 kB 🟢 -1.44 kB 🟢 -1.29 kB
assets/WidgetAudioUI-DgaR9yny.js (new) 4.33 kB 🔴 +4.33 kB 🔴 +1.44 kB 🔴 +1.28 kB
assets/WidgetTextarea-BRImVHw1.js (removed) 4.03 kB 🟢 -4.03 kB 🟢 -1.34 kB 🟢 -1.18 kB
assets/WidgetTextarea-BsJPKnZf.js (new) 4.03 kB 🔴 +4.03 kB 🔴 +1.34 kB 🔴 +1.18 kB
assets/WidgetInputText-Bt7UTw2T.js (removed) 3.45 kB 🟢 -3.45 kB 🟢 -1.24 kB 🟢 -1.09 kB
assets/WidgetInputText-F8qpxLFG.js (new) 3.45 kB 🔴 +3.45 kB 🔴 +1.23 kB 🔴 +1.09 kB
assets/WidgetToggleSwitch-BAoApHKz.js (new) 3.23 kB 🔴 +3.23 kB 🔴 +1.14 kB 🔴 +1.01 kB
assets/WidgetToggleSwitch-fhFojMxe.js (removed) 3.23 kB 🟢 -3.23 kB 🟢 -1.14 kB 🟢 -1.01 kB
assets/MediaImageBottom-CsfBqMSD.js (new) 3.05 kB 🔴 +3.05 kB 🔴 +1.05 kB 🔴 +913 B
assets/MediaImageBottom-DAtZl3pf.js (removed) 3.05 kB 🟢 -3.05 kB 🟢 -1.05 kB 🟢 -922 B
assets/MediaAudioBottom-CQ0YVRHx.js (removed) 3 kB 🟢 -3 kB 🟢 -1.05 kB 🟢 -933 B
assets/MediaAudioBottom-kBGFj8S6.js (new) 3 kB 🔴 +3 kB 🔴 +1.05 kB 🔴 +926 B
assets/Media3DTop-DOiNAOFN.js (removed) 3 kB 🟢 -3 kB 🟢 -1.08 kB 🟢 -912 B
assets/Media3DTop-lNVttRLo.js (new) 3 kB 🔴 +3 kB 🔴 +1.08 kB 🔴 +934 B
assets/MediaVideoBottom-CaohP4ap.js (new) 3 kB 🔴 +3 kB 🔴 +1.04 kB 🔴 +912 B
assets/MediaVideoBottom-Ci5_FGXY.js (removed) 3 kB 🟢 -3 kB 🟢 -1.05 kB 🟢 -929 B
assets/Media3DBottom-4d8Bi9H9.js (removed) 2.98 kB 🟢 -2.98 kB 🟢 -1.04 kB 🟢 -913 B
assets/Media3DBottom-DVgrnCz9.js (new) 2.98 kB 🔴 +2.98 kB 🔴 +1.04 kB 🔴 +909 B
assets/WidgetSelect-BoYtuB3D.js (removed) 2.17 kB 🟢 -2.17 kB 🟢 -675 B 🟢 -576 B
assets/WidgetSelect-CxtoZ8dE.js (new) 2.17 kB 🔴 +2.17 kB 🔴 +675 B 🔴 +575 B
assets/WidgetInputNumber-CA65d4l2.js (removed) 2.12 kB 🟢 -2.12 kB 🟢 -664 B 🟢 -558 B
assets/WidgetInputNumber-DsNKe2FJ.js (new) 2.12 kB 🔴 +2.12 kB 🔴 +664 B 🔴 +554 B
assets/Load3D-DTuwWuat.js (new) 1.94 kB 🔴 +1.94 kB 🔴 +595 B 🔴 +498 B
assets/Load3D-uYxAiNff.js (removed) 1.94 kB 🟢 -1.94 kB 🟢 -598 B 🟢 -507 B
assets/WidgetLegacy-BQA_EZMa.js (new) 1.88 kB 🔴 +1.88 kB 🔴 +561 B 🔴 +472 B
assets/WidgetLegacy-CPJlOP0r.js (removed) 1.88 kB 🟢 -1.88 kB 🟢 -560 B 🟢 -471 B
assets/commands-_s-RvhJR.js 13.6 kB 13.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-BuUILW6P.js 13 kB 13 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-BV4R6fLx.js 14.9 kB 14.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CLwPdnT6.js 14.2 kB 14.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CWMchBmd.js 15.9 kB 15.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DazTQhtc.js 12.9 kB 12.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DmWrOe93.js 13.7 kB 13.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DwiH7Kr6.js 13.8 kB 13.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-mS3LCNPn.js 14.5 kB 14.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-5lOBdqcC.js 84.5 kB 84.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-BOCuaVpE.js 73.4 kB 73.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-ClrEFGUz.js 72.4 kB 72.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CyNU0iQX.js 99.3 kB 99.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-D7gwLxft.js 114 kB 114 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DC8o4BCt.js 86.8 kB 86.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DKiesCV4.js 94.3 kB 94.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-Hq2q-OtB.js 83.6 kB 83.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-USAlAlnj.js 82 kB 82 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaAudioTop-RTI8pWy9.js 1.42 kB 1.42 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaImageTop-DlKHfEAA.js 1.68 kB 1.68 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaVideoTop-BB0lT7C5.js 2.7 kB 2.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-_Px5dSNW.js 306 kB 306 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-7z21KPoS.js 285 kB 285 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-BWKZzBPK.js 346 kB 346 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CGbgH4Yl.js 320 kB 320 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CjjjdWkV.js 313 kB 313 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CVrNtxvj.js 288 kB 288 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-DLRSA0IK.js 309 kB 309 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-DQV2gnwA.js 372 kB 372 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-ofqLG5vz.js 310 kB 310 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetChart-rDmYEWg5.js 2.39 kB 2.39 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetImageCompare-Ds3K3ULR.js 2.15 kB 2.15 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/widgetPropFilter-BIbGSUAt.js 1.28 kB 1.28 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 18 added / 18 removed

'Comfy.RefreshNodeDefinitions',
'Comfy.Memory.UnloadModels',
'Comfy.Memory.UnloadModelsAndExecutionCache'
...(isCloud
Copy link
Contributor

Choose a reason for hiding this comment

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

Should RefreshNodeDefinitions be gated too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There may be cases where it's desired in the immediate short-term e.g. load image node using an image uploaded in another load image node (maybe?).

@christian-byrne christian-byrne merged commit 30bafcd into main Nov 24, 2025
36 of 37 checks passed
@christian-byrne christian-byrne deleted the cloud/hide-unload-on-cloud branch November 24, 2025 05:53
snomiao added a commit that referenced this pull request Nov 25, 2025
Fixes the ReferenceError for __DISTRIBUTION__ when running i18n collection tests.

Previously, Playwright's test runner would fail when importing code that uses
Vite define variables (like __DISTRIBUTION__) because these variables are only
replaced during Vite's build/dev process.

Solution:
- Created scripts/vite-define-shim.ts that defines all Vite define variables
  as global constants before tests run
- Import the shim at the top of collect-i18n-general.ts
- Also provides a minimal window shim for Node environment

This allows the i18n collection process to import and evaluate coreMenuCommands
which uses isCloud (which depends on __DISTRIBUTION__).

Related to PR #6879 which added conditional menu commands based on distribution.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@christian-byrne christian-byrne added needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch cloud/1.32 labels Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:cloud cloud/1.32 needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants