[all-commits] [llvm/llvm-project] aa0ac3: [bazel] Prevent bazel from scanning .git metadata ...

Pranav Kant via All-commits all-commits at lists.llvm.org
Tue Apr 28 15:52:33 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa0ac3b43438b9a21bc78a392a6490d2d4b922e6
      https://github.com/llvm/llvm-project/commit/aa0ac3b43438b9a21bc78a392a6490d2d4b922e6
  Author: Pranav Kant <prka at google.com>
  Date:   2026-04-28 (Tue, 28 Apr 2026)

  Changed paths:
    M utils/bazel/llvm-project-overlay/.bazelignore

  Log Message:
  -----------
  [bazel] Prevent bazel from scanning .git metadata (#194745)

This prevents race condition when git triggers its GC during a bazel
build. Bazel build fails as follows in that case:

```
Loading: 0 packages loaded

ERROR: Failed to list directory contents, for .git/objects/05, skipping: /var/lib/buildkite-agent/llvm-project-bazelbot/.git/objects/05 (No such file or directory)
ERROR: Target parsing failed due to unexpected exception: /var/lib/buildkite-agent/llvm-project-bazelbot/.git/objects/05 (No such file or directory)
Loading: 0 packages loaded 
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list