-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Enable BAZEL_TRACK_SOURCE_DIRECTORIES by default #25834
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
Labels
Comments
Hm, maybe it's this? #12954 |
This was referenced Apr 15, 2025
This was referenced Apr 16, 2025
bazel-io
pushed a commit
to bazel-io/bazel
that referenced
this issue
May 7, 2025
Also add a test verifying that source directories and globbed directory contents have the exact same representation with remote execution. Fixes bazelbuild#11495 Work towards bazelbuild#25834 Closes bazelbuild#25868. PiperOrigin-RevId: 755896046 Change-Id: I19d919f7b37e5eb173c0dfb9046f22f9ae7da56c
github-merge-queue bot
pushed a commit
that referenced
this issue
May 9, 2025
…ecution (#26023) Also add a test verifying that source directories and globbed directory contents have the exact same representation with remote execution. Fixes #11495 Work towards #25834 Closes #25868. PiperOrigin-RevId: 755896046 Change-Id: I19d919f7b37e5eb173c0dfb9046f22f9ae7da56c Commit 154dae5 Co-authored-by: Fabian Meumertzheim <[email protected]>
iancha1992
pushed a commit
to iancha1992/bazel
that referenced
this issue
May 19, 2025
The new test subsumes an existing test that focused on empty directories as well as a shell test for package boundary handling. Work towards bazelbuild#25834 Closes bazelbuild#25859. PiperOrigin-RevId: 753094192 Change-Id: Ia341aeb56fcdad74c8806ff0e2994580e829d735
fmeum
added a commit
to fmeum/bazel
that referenced
this issue
May 20, 2025
This makes it so that changes to the targets of unresolved symlinks invalidate actions that depend on the source directory containing them. Work towards bazelbuild#25834 Closes bazelbuild#25864. PiperOrigin-RevId: 760968335 Change-Id: I09c250eb8e7d147006a4e6fdc33a372ce7277bc0
github-merge-queue bot
pushed a commit
that referenced
this issue
May 21, 2025
The new test subsumes an existing test that focused on empty directories as well as a shell test for package boundary handling. Work towards #25834 Closes #25859. PiperOrigin-RevId: 753094192 Change-Id: Ia341aeb56fcdad74c8806ff0e2994580e829d735 Commit ad381cb Co-authored-by: Fabian Meumertzheim <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Uh oh!
There was an error while loading. Please reload this page.
Description of the feature request:
The roll out of BAZEL_TRACK_SOURCE_DIRECTORIES has been taking a while (7+ years).
Any reason it shouldn't be enabled by default?
Which category does this issue belong to?
Core
What underlying problem are you trying to solve with this feature?
One particular example: npm external dependencies.
Starlark globbing every file, Bazel creating runfile symlinks for every file, etc. can be quite expensive (many tens, or even hundreds of thousands of files). Instead, I use one directory for the entire external dependencies. (Even though it's external, it's still a "source" directory.)
Have you found anything relevant by searching the web?
But no indication what lacks about this option.
Any other information, logs, or outputs that you want to share?
bazel/src/main/java/com/google/devtools/build/lib/skyframe/TrackSourceDirectoriesFlag.java
Lines 16 to 22 in 1b0cb1f
The text was updated successfully, but these errors were encountered: