mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[PR #1289] [MERGED] Add install stage tracking API #1464
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#1464
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/desktop/pull/1289
Author: @webfiltered
Created: 9/3/2025
Status: ✅ Merged
Merged: 9/3/2025
Merged by: @webfiltered
Base:
main← Head:api-install-progress📝 Commits (10+)
7c55a37Add InstallStage constants0ff0c9fAdd IPC channels for install stage tracking5e1f997Create InstallStageType type definition7474be7Add InstallStageInfo interface27bb146Add createInstallStageInfo helper functione88a28bAdd getInstallStageName helper function84dd294Export InstallStageInfo and InstallStageType types377cb1cImport InstallStageInfo type in preload6887376Add InstallStage.getCurrent method to preload APIb29a8efAdd InstallStage.onUpdate method to preload API📊 Changes
9 files changed (+206 additions, -7 deletions)
View changed files
📝
src/constants.ts(+40 -0)📝
src/desktopApp.ts(+2 -0)➕
src/handlers/installStateHandlers.ts(+21 -0)📝
src/main-process/appState.ts(+14 -0)➕
src/main-process/installStages.ts(+69 -0)📝
src/main_types.ts(+1 -0)📝
src/preload.ts(+30 -0)📝
tests/unit/desktopApp.test.ts(+23 -2)📝
vite.preload.config.ts(+6 -5)📄 Description
Adds installation stage tracking API allowing frontend to be stateless.
getCurrent()andonUpdate()methods removing a race condition & ensuring separation of concerns┆Issue is synchronized with this Notion page by Unito
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.