Skip to content

Report object command I/O failures without panicking #23

Closed

Description

@LunaStev

Current evidence

Audit baseline: master 3ac33ec1, after #11. Source: src/commands/object.rs:66.

Static inspection: object creation and output writing use expect, unlike the user-facing error paths in the assembler command. An invalid output path can produce a Rust panic instead of a normal diagnostic.

Scope

Difficulty: easy.

Propagate object writer and filesystem errors through the command error path with operation and path context.

Completion criteria

  • An unwritable or nonexistent output parent produces a concise error and nonzero status.
  • No Rust panic/backtrace is used for expected I/O failures.
  • A CLI regression covers the failure and a successful write.

Backlog index: #12. This issue owns only the bounded work described above.

Activity

  1. added
    bug
    good first issue
    cli
    needs testing
    priority medium
    on Sep 18, 2026
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

    bugcligood first issueneeds testingpriority medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions