Skip to content

Avoid invoking wavec twice for a user-requested dry run #123

Closed

Description

@LunaStev

Evidence

src/wavec.rs run_build_with_dry_run first executes a JSON dry run for compatibility validation, then executes a second dry run when the user passed --dry-run. The second invocation repeats compiler planning solely to display output.

Acceptance criteria

  • Define a single-invocation path for user-requested build/run/check --dry-run that still validates schema v1.
  • Display a useful plan on stdout without executing compilation or the program.
  • Preserve diagnostics and exit status from a failed compiler preflight.
  • Add a fake-wavec invocation-count test and a real-wavec smoke test.
  • Keep normal non-dry-run builds' preflight and execution contract unchanged.
  • Coordinate nested-plan validation with Validate the complete wavec dry-run schema v1 contract #40.

Activity

  1. added
    enhancement
    build
    performance
    wave compatibility
    on Sep 22, 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

    buildenhancementperformancewave compatibility

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions