Repository navigation
Conversation
…dow that returned to the dashboard onComfyRestarted now abandons its load when the window no longer holds the restarting install, alongside the existing destroyed-window and newer-relaunch checks, through one tested helper.
|
@coderabbitai review |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Action performed
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Swarmhost agentic reviewThe current assessment is available to employees in the internal Slack review thread. Evaluation budget remaining for this pull request: 98 automatic and 99 manual. Updated by Swarmhost's agentic review process. |
comfy-greenlight-bot
left a comment
There was a problem hiding this comment.
This pull request at head commit df2e704 has been reviewed and approved by Swarmhost's agentic review process.
The detailed evaluation is available to employees in the internal Slack review thread.
If a ComfyUI install is restarting in a Desktop window and you click Return to Dashboard before the restarted server answers, Desktop no longer loads that install's page into the dashboard window afterwards. Returning to the dashboard detaches the install: it clears the window's install and deletes the restart's state. The restart's pending load only checked for a destroyed window or a newer restart, and with the state gone the newer-restart check passed, so the load went ahead. Both of the restart's checks now also abandon the load when the window no longer holds the install being restarted, through
restartLoadAbandonedinsrc/main/host/restartLoad.ts.restartLoadAbandoned. Replacing the new install check withreturn falsefails 2 of them (window back on the dashboard, window holding a different install). Removing the newer-restart check or the destroyed-window check fails their cases.onComfyRestartedcalls it insrc/main/index.ts, which has no unit test harness.