Toolbar Save state still works while a profile save is in progress

オープン
#35 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
electron, react, typescript
領域
desktop, devtools

調査の方向性

Start with saveState and the Profiles.isBusy(name) check that start and remove already use, then find where the toolbar's Save state, Restart and Shut down handlers call into the main process. Done means a Save state click during a profile save is refused with a clear message while the profile save completes normally. Reproducing it needs a guest with the agent set up, so check whether a test or mock covers the guest agent path before relying on manual testing.

索引モデルが issue の本文から書いたものです。

説明

bug

Found while reviewing #34.

Saving a profile of a running VM asks the guest to hibernate and then waits for it to power off. During that wait the VM still shows as running, so the toolbar's Save state button is enabled. Clicking it sends a second hibernate request through the guest agent, and the toolbar switches into its own "saving" state for a save that belongs to the profile.

start and remove already refuse while Profiles.isBusy(name) is set. saveState (and probably Restart / Shut down from the toolbar) should do the same, or the renderer should know a profile operation is running so it can disable those buttons with a reason.

To check:

  • start a profile save on a guest with the agent set up
  • click Save state before the guest powers off
  • expected: refused with a clear message, profile save finishes normally
主要言語
TypeScript
スター
3
フォーク
0
平均マージ
2分
マージ済み PR(30日)
35

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

A21-devs/Virtual-Machine-Manager のほかの issue

A21-devs/Virtual-Machine-Manager の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。