Skip to content

Test that failed Whale multi-input lowering preserves all outputs #894

Closed

Description

@LunaStev

Motivation

src/cli.rs lowers all inputs before publishing output, but tests/whale_backend.rs only exercises previous-output preservation for a single source. The cross-input guarantee has no focused regression.

Scope

Add a CLI test with two Wave inputs and preexisting .wir outputs. Let the first lower successfully and the second fail; verify neither output changes. Also cover a successful pair and colliding output plans. Do not redesign multi-file filesystem transaction semantics.

Difficulty: easy.

Completion criteria

  • Assert failed second-source lowering leaves both previous outputs intact.
  • Assert a successful pair emits separate verified files.
  • Check output-plan collisions fail before replacing files.

Activity

  1. added
    enhancement
    good first issue
    needs testing
    on Oct 7, 2026
  2. added a commit that references this issue on Oct 21, 2026
    42b65e4
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

    enhancementgood first issueneeds testing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions