Skip to content

Projects duplicated before #400 keep stale example provenance in project.json #403

Description

@andeplane

Found in the review of the duplicate-provenance fix (#400 / #394); deliberately not fixed there.

Projects duplicated before #400 ships already have source: { type: "example", exampleId: ... } persisted in their project.json. Their future runs will keep reporting the original example's id to Mixpanel until the meta changes.

Scope is small (duplicates made during roughly one month by a small user count), so no migration ships with #400. If it matters, a one-shot cleanup could rewrite source to { type: "duplicate" } for projects whose meta says example-sourced but whose dirName does not match the example id — or simply on next open of such a project.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions