Skip to content

Reject a dependency that reuses the root package name #129

Closed

Description

@LunaStev

Evidence

Resolver checks that each dependency manifest declares its requested dependency name, but it never compares that name with the root package name. A root package can therefore map its own name to a separate path or Git package, creating an ambiguous Wave package identity without a clear cycle diagnostic.

Acceptance criteria

  • Reject a direct or transitive dependency whose package name equals the root package name.
  • Report both the root and conflicting dependency source path.
  • Fail before checkout or lockfile mutation where possible.
  • Add local path and Git fixtures plus a --locked --offline regression.
  • Keep normal shared dependencies with distinct names valid.

Coordinate root-name syntax validation with #21.

Activity

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

    bugdependenciesgood first issuewave compatibility

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions