Auto-start: show each failure as it happens, not after all VMs started

Open
#49 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
58/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
electron, react, typescript
Domain
desktop

Research direction

Start in src/main/ipc.ts, where the autostart handler runs the marked VMs in sequence and returns the collected problems in one response, and keep its one-shot guard. Find where the renderer calls autostart and where existing toast or event messages go from main to the UI. Done when each failure reaches the UI as it happens (for example a vm:autostart-issue event), and the IPC call only signals that the UI is ready to start.

Written by the indexing model from the issue text.

Description

enhancement ui

Since #48, auto-start runs the marked VMs one after another and the UI gets the list of problems back in one go when the autostart IPC resolves. With several auto-start VMs, a failure on the first one only shows up after the rest have started.

Came up in the second review on #48.

What would fix it: send each issue as it happens (an event like vm:autostart-issue, or push them through the existing toast path from main), and keep the IPC only as the "UI is ready, go" signal. The one-shot guard in src/main/ipc.ts should stay.

Not urgent, a single start resolves in a few seconds, so it only matters with several large VMs marked.

Dominant language
TypeScript
Stars
3
Forks
0
Avg merge
2m
Merged PRs (30d)
59

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from A21-devs/Virtual-Machine-Manager

All issues in A21-devs/Virtual-Machine-Manager

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.