Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derive worker files hash from a self-describing layout #23701

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 21, 2024

  1. Derive worker files hash from a self-describing layout

    `WorkerFilesHash#getCombinedHash()` hashed bytes and strings without also hashing their length. It also reencoded path strings from the internally used UTF-8-in-Latin-1 format to UTF-8 on macOS, which results in key mismatches for the worker across platforms and is unnecessarily slow.
    
    Since this commit already changes the key, also use a slightly more efficient `Fingerprint` method to hash the args.
    fmeum committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    7f84352 View commit details
    Browse the repository at this point in the history