mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-05 07:47:25 +00:00
[PR #2703] [MERGED] fix(git_helper): remove comfyui_manager import to fix Windows subprocess crash #2707
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#2707
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/2703
Author: @ltdrdata
Created: 3/17/2026
Status: ✅ Merged
Merged: 3/17/2026
Merged by: @ltdrdata
Base:
manager-v4← Head:fix/git_helper📝 Commits (1)
25df7dcfix(git_helper): remove comfyui_manager import to fix Windows subprocess crash📊 Changes
2 files changed (+203 additions, -1 deletions)
View changed files
📝
comfyui_manager/common/git_helper.py(+30 -1)➕
tests/common/test_git_helper.py(+173 -0)📄 Description
git_helper.pyis spawned as a standalone subprocess on Windows (manager_core.py:1342). The import ofcomfyui_manager.common.timestamp_utilstriggeredcomfyui_manager/__init__.pywhich imports fromcomfy.cli_args— unavailable in the subprocess environment, causing ModuleNotFoundError.Inline
get_backup_branch_name()using only stdlib (time, uuid), preserving the original collision-detection and UUID-fallback semantics. Add 9 tests covering standalone subprocess loading, behavioral equivalence, edge cases (repo.heads exception, 99-suffix exhaustion with UUID fallback).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.