Skip to content

Duplicate morph-type seed commits leave stores permanently out of sync #3003

Open

Description

@myieye

#2219 seeded morph types in a commit whose Id came from Uuid.NewNameBased(projectId, "morph-types-seed"). So every client that seeded authored the same commit Id under its own ClientId. Harmony and the server both drop incoming commits by Id alone, so each store keeps whichever copy reached it first, and the stores can never agree on per-client sync state. Since the deploy on 2026-11-16, Harmony's sync planner treats that mismatch as needing recovery and resends the client's whole history on every sync. That's the jump in harmony.sync.recovery events. #2344 stops new duplicates, but real projects already hold them and need a repair. We haven't settled on an approach: deleting and re-adding the local copy has ugly edge cases.

Activity

  1. coderabbitai commented on Nov 18, 2026

    @coderabbitai
    Contributor
    🔗 Related PRs

    #2996 - [claude] Stop /add from triggering syncs when it inserted nothing [merged]
    #2838 - Bump Harmony to 0.2.1-rc.445 and export its traces [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions