Skip to content

Reject conflicting dataset declarations across manifests #18

Description

@timlichtenberg

Problem description

Datasets are declared in per-model manifests plus a shared manifest. Nothing detects two providers declaring the same dataset (same subdir), so a collision silently double-fetches or resolves non-deterministically. This occurred during the MORS migration: MORS and the shared manifest both declared Baraffe until the paired PR removed it.

Preferred solution

On discovery/fetch, detect when two manifest providers declare the same subdir (or dataset key) and fail loudly with an error naming both providers, so a conflict is caught at load time instead of silently resolved.

Raised by @nichollsh in FormingWorlds/PROTEUS#605.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions