Skip to content

feat: show VM base and setup update notices - #284

Draft
deviantintegral wants to merge 2 commits into
mainfrom
vm-update-notices
Draft

deviantintegral wants to merge 2 commits into
mainfrom
vm-update-notices

Conversation

@deviantintegral

Copy link
Copy Markdown
Member

No description provided.

deviantintegral and others added 2 commits October 27, 2026 10:44
Record the base revision each VM was actually cloned from and the setup
revision its finalize pass applied, in the provider's provenance marker
(schema v4), so local Lima, remote Lima and Proxmox report the same thing.
The source revision is captured inside the clone lock; setup is recorded
only after finalize succeeds, so a failed build never claims it. VMs
created before this have no history and report "unknown" rather than a
guess.

Each settled tile shows "base update available", "setup update
available" or "versions unknown" with the existing R reset, and the new
read-only `sand updates NAME [--json]` reports the same states. Nothing
reruns provisioning automatically; an explicit reset is the update path.

Golden templates now carry their source VM's recorded base revision
instead of being stamped with the current playbook at snapshot time, so
a template made from an old VM no longer reads as current. Progress
writes go through a serialized MarkProgress so a late progress update
cannot erase a completed marker's revisions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SCTT8TiEsACEMbcMiXT2uj
…points

Create, Recreate and Reset on Lima, and Reset and clone provisioning on
Proxmox, each repeated the same closure pair that records the reported
revisions while forwarding them to the caller's callbacks. Replace the
five copies with one revisionCapture helper, and test it and the Lima
completion write directly; markCompleted previously had no coverage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SCTT8TiEsACEMbcMiXT2uj

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant