Enhance ComfyUI installation script with progress tracking and status detection

- Added functions for formatting byte sizes, displaying progress bars, and calculating directory sizes to improve user feedback during installation.
- Implemented a stage detection mechanism to provide real-time updates on the installation process of ComfyUI.
- Enhanced logging to capture recent journal lines related to ComfyUI installation, improving visibility into the installation status.
- Updated tests to verify the presence of new functionality in the installation script, ensuring robustness and reliability.
This commit is contained in:
Leonid Pershin
2026-08-21 09:28:45 +03:00
parent f7ba915e74
commit a622265bb5
2 changed files with 205 additions and 14 deletions
+3
View File
@@ -25,6 +25,9 @@ def test_install_swarm_comfy_script_payload():
assert '"backend": "comfyui"' in text
assert '"models": "none"' in text
assert "modern_dark" in text
assert "detect_stage" in text
assert "dlbackend=" in text
assert 'end="\\r"' in text or "end=\"\\r\"" in text
def test_verify_gpu_env_fail_fast_empty_dlbackend(monkeypatch):