Skip to content

feat: error handling and staged rollback capability #9

@kristopherjturner

Description

@kristopherjturner

Overview

Implement robust error handling across all conversion scripts with staged rollback capability. Any failure during conversion must leave the VM in a recoverable state, not in a partially-converted limbo.

Scope

  • Staged checkpoint system: save VM state before each conversion step
  • Rollback logic for each stage: MBR/GPT, Gen1/Gen2 firmware, BCD changes
  • Structured error output with error codes, affected resource, and recommended remediation
  • Error catalog documentation (known failure codes and resolution steps)
  • Graceful handling of partial failures in batch conversion mode (continue/abort options)

Acceptance Criteria

  • Every destructive operation preceded by a checkpoint save
  • Rollback from any stage returns VM to pre-modification state
  • Error output includes: error code, affected VM, stage, and recommended action
  • Batch mode can continue processing remaining VMs after a single failure
  • Error catalog covers all known failure modes

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions