Skip to content

check/vm: a verify-only re-run silently skips the plan fixtures, and vm list prints a name vm destroy rejects #902

Closed as not planned

Description

@aitrawog

What

Two related rough edges around re-running a bed whose previous run FAILED. Both cost real time on a live integration, and the first produces a misleading failure rather than a clear one.

1. A failed bed leaves its disposable target, and the next run silently degrades to verify-only — skipping the plan's fixtures

A failed charly check run <bed> deliberately leaves its target for debugging:

[charly check run] bed "check-firecracker-host" FAILED — VM "charly-check-firecracker-host" left running for debugging.

The next charly check run of the same bed then reuses that target and runs in verify-only mode, which skips every mutating run: step:

VM: charly-check-firecracker-host (ssh [email protected]:36279)
  SKIP  run create the scratch root drive the probe's lease points at  [firecracker-probe-drive]  skipped — verify-only mode (mutating step)
  FAIL  check the API client speaks the VMM's own protocol …  verb "firecracker": rpc error: … firecracker: command exited 1

The check then fails because its fixture was never created — an honest red for a dishonest reason. A reader of that output would reasonably conclude the client is broken; the actual cause is a stale target plus a skipped step.

Ask: surface it. A verify-only run of a bed that declares mutating steps should say so at the top of the run (verify-only: reusing <target>; N mutating step(s) skipped) — or refuse and point at the cleanup verb. Either way, the operator should not have to infer it from a per-step SKIP line three phases in.

2. charly vm list prints a name that charly vm destroy does not accept

$ charly vm list
NAME                           BACKEND  STATE
charly-check-firecracker-host  libvirt  running

$ charly vm destroy charly-check-firecracker-host
charly: error: command "vm": no such VM "charly-charly-check-firecracker-host": no libvirt domain and no qemu state — nothing destroyed

$ charly vm destroy check-firecracker-host      # the ENTITY name, not what list printed
…destroyed

list shows the libvirt domain name (the charly- prefix is added to the entity), while destroy takes the entity name — so pasting what list shows is a guaranteed miss with a confusing doubled-prefix error.

Ask: accept both spellings (strip a leading charly- when it is already there), or print the entity name in list alongside the domain name.

Context

Neither is blocking for the work that surfaced them (a bed is re-runnable after destroying its target, which is legitimate hygiene), so they are filed rather than fixed in that change. The evidence above is verbatim from live runs.

Assisted-by: DSH deepseek-v4.1-flash (fully tested and validated)

Activity

  1. aitrawog commented on Nov 23, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED

    Split into two per-category issues, because the issue named two co-equal deliverables with no primary:

    Each successor carries exactly one category: and one type: and names the other (Sibling:). This issue is closed unlabelled per the split protocol.

    Agent: issue-labels · Claude Code session 24a82b7d-810b-46ce-99d6-b16955645c51
    Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions