Skip to content

[8.8.0] Add integration test for the remote repo contents cache contents proxy (https://github.com/bazelbuild/bazel/pull/30004)#30232

Merged
iancha1992 merged 2 commits into
bazelbuild:release-8.8.0from
bazel-io:cp30004-8.8.0-220303
Jul 14, 2026
Merged

[8.8.0] Add integration test for the remote repo contents cache contents proxy (https://github.com/bazelbuild/bazel/pull/30004)#30232
iancha1992 merged 2 commits into
bazelbuild:release-8.8.0from
bazel-io:cp30004-8.8.0-220303

Conversation

@bazel-io

Copy link
Copy Markdown
Member

Description

Adds an integration test for the FileContentsProxy optimization of the remote repo contents cache (PR #28654) and proves that the part of the PR reverted in 741ee01 isn't relevant - it only applies to outputs, but external repo files are always source files.

Motivation

PR #28654 added the contents proxy optimization for the remote repo contents cache but landed without a test. This adds coverage so the injection-site behavior can't silently regress.

Closes #29976

Build API Changes

No

Checklist

  • I have added tests for the new use cases (if any).
  • I have updated the documentation (if applicable).

Release Notes

RELNOTES: None

Closes #30004.

PiperOrigin-RevId: 941950605
Change-Id: Iaf770c416d7496d002db44d77105b36975dded6a

Commit a4191ed

bazelbuild#30004)

### Description

Adds an integration test for the `FileContentsProxy` optimization of the remote repo contents cache (PR bazelbuild#28654) and proves that the part of the PR reverted in 741ee01 isn't relevant - it only applies to outputs, but external repo files are always source files.

### Motivation

PR bazelbuild#28654 added the contents proxy optimization for the remote repo contents cache but landed without a test. This adds coverage so the injection-site behavior can't silently regress.

Closes bazelbuild#29976

### Build API Changes

No

### Checklist

- [x] I have added tests for the new use cases (if any).
- [ ] I have updated the documentation (if applicable).

### Release Notes

RELNOTES: None

Closes bazelbuild#30004.

PiperOrigin-RevId: 941950605
Change-Id: Iaf770c416d7496d002db44d77105b36975dded6a
@bazel-io bazel-io requested a review from a team as a code owner July 10, 2026 22:03
@bazel-io bazel-io added team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. awaiting-review PR is awaiting review from an assigned reviewer labels Jul 10, 2026
@bazel-io bazel-io requested a review from lberki July 10, 2026 22:03
@iancha1992 iancha1992 enabled auto-merge July 10, 2026 22:07
@iancha1992 iancha1992 requested a review from Wyverald July 13, 2026 20:41
@iancha1992 iancha1992 added this pull request to the merge queue Jul 14, 2026
@lberki lberki added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Jul 14, 2026
Merged via the queue into bazelbuild:release-8.8.0 with commit 4f38970 Jul 14, 2026
46 checks passed
@github-actions github-actions Bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants