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

[7.4.0] Optimize representation of runfiles in compact execution log #23683

Closed
bazel-io opened this issue Sep 19, 2024 · 3 comments
Closed

[7.4.0] Optimize representation of runfiles in compact execution log #23683

bazel-io opened this issue Sep 19, 2024 · 3 comments

Comments

@bazel-io
Copy link
Member

Forked from #23321

@bazel-io bazel-io added this to the 7.4.0 release blockers milestone Sep 19, 2024
@bazel-io
Copy link
Member Author

Cherry-pick was attempted but there were merge conflicts in the following file(s). Please resolve manually.

src/main/java/com/google/devtools/build/lib/actions/ActionExecutionContext.java
src/main/java/com/google/devtools/build/lib/actions/BUILD
src/main/java/com/google/devtools/build/lib/actions/RunfilesTree.java
src/main/java/com/google/devtools/build/lib/analysis/RunfilesSupport.java
src/main/java/com/google/devtools/build/lib/exec/BUILD
src/main/java/com/google/devtools/build/lib/exec/CompactSpawnLogContext.java
src/main/java/com/google/devtools/build/lib/exec/SpawnInputExpander.java
src/main/java/com/google/devtools/build/lib/exec/SpawnLogReconstructor.java
src/test/java/com/google/devtools/build/lib/analysis/util/FakeRunfilesTree.java
src/test/java/com/google/devtools/build/lib/exec/SpawnLogContextTestBase.java

cc: @bazelbuild/triage

@iancha1992
Copy link
Member

Cherry-pick was attempted but there were merge conflicts in the following file(s). Please resolve manually.

src/main/java/com/google/devtools/build/lib/actions/ActionExecutionContext.java src/main/java/com/google/devtools/build/lib/actions/BUILD src/main/java/com/google/devtools/build/lib/actions/RunfilesTree.java src/main/java/com/google/devtools/build/lib/analysis/RunfilesSupport.java src/main/java/com/google/devtools/build/lib/exec/BUILD src/main/java/com/google/devtools/build/lib/exec/CompactSpawnLogContext.java src/main/java/com/google/devtools/build/lib/exec/SpawnInputExpander.java src/main/java/com/google/devtools/build/lib/exec/SpawnLogReconstructor.java src/test/java/com/google/devtools/build/lib/analysis/util/FakeRunfilesTree.java src/test/java/com/google/devtools/build/lib/exec/SpawnLogContextTestBase.java

cc: @bazelbuild/triage

cc: @tjgq @fmeum

@iancha1992
Copy link
Member

Cherry-picked in #23713

bazel-io pushed a commit to bazel-io/bazel that referenced this issue Sep 30, 2024
Cherry-picks the following changes:

* Optimize representation of runfiles in compact execution log (bazelbuild#23321)
* Keep runfiles tree IDs in memory for multiple test attempts (bazelbuild#23703)
* Fix naming inconsistency in `spawn.proto` (bazelbuild#23706)
* Mark tool runfiles as such in expanded execution log (bazelbuild#23702)

The cherry-picks required introducing a `Map<Artifact, RunfilesTree>`
shim to `RunfilesSupplier` that matches the Bazel 8 way of obtaining a
`RunfilesTree` from a runfiles middleman via `InputMetadataProvider`.

Closes bazelbuild#23683 
Closes bazelbuild#23710
Closes bazelbuild#23711
Closes bazelbuild#23734
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants