commit | b8b9bfcda3aae0769d4139eb7198d06114a94433 | [log] [tgz] |
---|---|---|
author | Fabian Meumertzheim <fabian@meumertzhe.im> | Thu Oct 24 08:11:06 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Oct 24 08:12:25 2024 -0700 |
tree | 846db360d5d9a11617ef838331760e73e4c97251 | |
parent | 2d4c8eb79ea7d373127889e5e289ff0a99fd59c4 [diff] |
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. Closes #23701. PiperOrigin-RevId: 689386153 Change-Id: I02d4a8d77ea37cdca633bd253eee58ecabdb7756
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
To report a security issue, please email security@bazel.build with a description of the issue, the steps you took to create the issue, affected versions, and, if known, mitigations for the issue. Our vulnerability management team will respond within 3 working days of your email. If the issue is confirmed as a vulnerability, we will open a Security Advisory. This project follows a 90 day disclosure timeline.
See CONTRIBUTING.md