Skip to content

Validate duplicate dependency names when loading vex.ws #128

Closed

Description

@LunaStev

Evidence

src/manifest.rs parse_dependencies collects entries without checking repeated names. The duplicate-name check runs later in resolver::resolve_manifest_dependencies, so vex info accepts and displays a manifest that fetch/build will reject.

Acceptance criteria

  • Reject repeated dependency names during Manifest::load_from, including nonadjacent duplicates.
  • Name the repeated package and vex.ws path in the error.
  • Make info, tree, fetch, build, run, and check agree on manifest validity before any Git or output-directory work.
  • Preserve normal ordering of unique dependency entries.
  • Add parser and CLI regression tests.

Related to #31 but scoped to duplicate entries rather than unknown fields.

Activity

  1. added
    bug
    good first issue
    ui/ux
    dependencies
    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

    bugdependenciesgood first issueui/ux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions