commit | bb577b0b7c441275b83c9b8cb2ce276ec73ab2d3 | [log] [tgz] |
---|---|---|
author | Luis Padron <lpadron@squareup.com> | Tue Sep 17 01:58:35 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Sep 17 02:00:15 2024 -0700 |
tree | 4abe55e1d6812d3ec7734a1581e7acb281b66cf3 | |
parent | f37daf59aa6bab989c749d67bf730e13a9c3fb93 [diff] |
Disable git fsmonitor in git_worker to fix hangs when fetching repositories This commit adds the `-c core.fsmonitor=false` arguments to all git commands (excluding `git init`) in `git_worker.bzl`. The purpose of this is to disable git from spawning a file system monitor, when many of these are spawned on a machine that is already under load or out of file descriptors, the git commands will hang indefinitely. Fixes https://github.com/bazelbuild/bazel/issues/21438 Closes #23626. PiperOrigin-RevId: 675472544 Change-Id: I79e0b6d1e406a9076cdb810747c382de52face1a
{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