Skip to content

Input validation & error handling #12

Description

@castrojo

Description

Implement internal/validate and TUI error display patterns.

Acceptance Criteria

  • IP address/CIDR validation
  • Hostname validation (RFC 1123)
  • SSH key format validation (ssh-rsa, ssh-ed25519, ecdsa-sha2-*)
  • Disk path existence check
  • URL format validation (for external Ignition URL)
  • Butane config consistency checks (no conflicting units)
  • TUI: inline field validation with error messages
  • TUI: graceful display of stderr from failed commands (not a crash)
  • TUI: user can retry or go back on error

Notes

Validation is centralized in internal/validate. TUI uses it for inline feedback. internal/ignition uses it for final config sanity checks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1-triageNew work awaiting human triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions