mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-04 23:37:31 +00:00
[PR #3377] v4: Report desktop-linux form factor for Desktop installs on Linux #3245
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-Manager#3245
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/ComfyUI-Manager/pull/3377
Author: @benceruleanlu
Created: 10/15/2026
Status: 🔄 Open
Base:
manager-v4← Head:desktop-linux-form-factor📝 Commits (1)
9c069c1v4: Report desktop-linux form factor for Desktop installs on Linux📊 Changes
3 files changed (+65 additions, -21 deletions)
View changed files
📝
CHANGELOG.md(+5 -0)📝
comfyui_manager/common/cnr_utils.py(+24 -21)➕
tests/test_form_factor.py(+36 -0)📄 Description
Purpose and scope
Desktop installs on Linux report
form_factor=otherto the registry.cnr_utilsonly maps the__COMFYUI_DESKTOP_VERSION__marker todesktop-winanddesktop-mac, because Desktop didn't run on Linux when it was written. The Desktop app now ships Linux standalone installs and is about to set the marker for them (Comfy-Org/Comfy-Desktop#1732), so without this change their registry data can't identify the platform.Key changes
fetch_allintoget_form_factor(), so it can be tested.desktop-linux. Every other combination reports what it did before.The registry stores
form_factoras free text, so the new value needs no backend change. Dashboards that group on known values needdesktop-linuxadded.Validation
tests/test_form_factor.pycovers every platform, with and without the marker. 8 passed, 3 runs in a row. Against the previous code it fails (no helper, and Linux Desktop mapped toother).tests/test_flagged_nodepack_policy.py, which also exercisescnr_utils, still passes (89 passed).ruff checkis clean on both files.Change breakdown
comfyui_manager/common/cnr_utils.py)tests/test_form_factor.py)CHANGELOG.md)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.