Skip to content

[ROSETTA] Detect same-size binary changes during publish #350

Description

@isolomatov-gd

In src/rosetta-cli/rosetta_cli/services/document_data.py, non-text content contributes only its byte length to content_hash, so different binary files of the same size are treated as unchanged and skipped during publish. Hash the raw bytes or a deterministic byte digest for binary files, and add an equal-size replacement regression test.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions