Save state: say something if a hibernating guest never turns off

Ouverte
#29 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
Une demi-journée
Accessibilité débutants
52/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
electron, react, typescript
Domaine
desktop

Piste de recherche

Start with the Save state flow that waits for the guest to power off and keeps the button disabled until then, which is referenced in #25. Find where the VM exit event is handled and where the button's disabled state is set. Add a roughly 2-minute timer that, if no exit arrives, shows a toast, re-enables the button, and mentions journalctl -b -u systemd-hibernate. Done when a simulated stalled hibernate shows the toast and restores the button.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

ui

After a WHPX Save state, the app waits for the guest to power itself off. Save state stays disabled for that VM until it does (from #25). If the guest accepts the request but hibernation then fails (not enough swap, a driver that blocks it), the VM keeps running and nothing tells the user. The button just stays disabled.

Suggestion: after about 2 minutes without an exit, show a toast that the guest didn't finish hibernating, re-enable the button, and point at the guest's own logs (journalctl -b -u systemd-hibernate).

Langage dominant
TypeScript
Étoiles
3
Forks
0
Merge moyen
2 min
PR mergées (30 j)
41

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de A21-devs/Virtual-Machine-Manager

Toutes les issues de A21-devs/Virtual-Machine-Manager

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.