From 8d9173c5928b1817cc7ee5ee5f06357e4fcb75bc Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 14 Sep 2026 10:29:55 +0200 Subject: docs: settle the vm tile's cold state on drawer open The vm module's service is lazy, so the tile had no state to show before its page had been visited. One `virsh list` when the drawer opens fixes that for the cost of a single call; the per-VM polling for guest-agent stats and managed-save detection still waits for the page, which is where the expense actually is. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01We9zcHEH8ZWHPcQwMaJRNv --- docs/superpowers/specs/2026-09-14-desktop-shell-design.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs/superpowers/specs/2026-09-14-desktop-shell-design.md') diff --git a/docs/superpowers/specs/2026-09-14-desktop-shell-design.md b/docs/superpowers/specs/2026-09-14-desktop-shell-design.md index d1a8b47..bbf973b 100644 --- a/docs/superpowers/specs/2026-09-14-desktop-shell-design.md +++ b/docs/superpowers/specs/2026-09-14-desktop-shell-design.md @@ -161,9 +161,10 @@ guest-agent-only, showing a dash rather than substituting libvirt's host-side numbers, which measure something else. The tile shows a status dot. Since the service sleeps while the page is closed, -the tile needs some state to show: either a neutral dot until the page has been -opened, or one cheap `virsh list` when the drawer opens rather than when the -page does. The latter is preferred and will be settled during implementation. +the tile needs some state to show, so the drawer opening triggers one `virsh +list` rather than waiting for the page. A tile that cannot say anything until +its page has been visited is a poor tile, and one list call is cheap; the +per-VM polling for stats and managed save still waits for the page. `vms_dots.sh` stays on waybar, unchanged and outside the shell, so nothing loses glanceable VM state when the in-shell service sleeps. -- cgit v1.2.3