Skip to content

Add a public release of the Cache Proxy#11756

Merged
iain-macdonald merged 2 commits into
masterfrom
im/00155e5cde1
Apr 13, 2026
Merged

Add a public release of the Cache Proxy#11756
iain-macdonald merged 2 commits into
masterfrom
im/00155e5cde1

Conversation

@iain-macdonald

Copy link
Copy Markdown
Contributor

Copilot AI review requested due to automatic review settings March 31, 2026 23:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a public release path for the Enterprise cache proxy (“edge”) by wiring it into the release tooling and providing local build/run support.

Changes:

  • Extend release.py to optionally build/push a new buildbuddy-edge-enterprise image.
  • Add a local helper script to build/run the cache proxy Docker image.
  • Add Bazel go_image/container_image targets and a local config YAML for the cache proxy.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
release.py Adds --update_edge_image and pushes flame-public/buildbuddy-edge-enterprise from a Bazel image target.
enterprise/tools/run_proxy_image.sh Local script to build the cache proxy image and run it with host networking and mounted config.
enterprise/server/cmd/cache_proxy/BUILD Introduces Docker image build targets (go_image + container_image) for cache proxy.
enterprise/config/cache-proxy.local.yaml Adds a local dev config for running the cache proxy against a local BuildBuddy server.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread release.py Outdated
@iain-macdonald iain-macdonald marked this pull request as draft March 31, 2026 23:42
@iain-macdonald iain-macdonald force-pushed the im/00155e5cde1 branch 2 times, most recently from 677db22 to def147a Compare April 1, 2026 00:28
@iain-macdonald iain-macdonald marked this pull request as ready for review April 1, 2026 00:36
@iain-macdonald iain-macdonald requested a review from Copilot April 1, 2026 00:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread enterprise/tools/run_proxy_image.sh Outdated
Comment thread enterprise/tools/run_proxy_image.sh
@@ -0,0 +1,29 @@
#!/usr/bin/env bash

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this script (are there parallels for apps and other stuff?) Wonder if this should just be docs.

Comment thread release.py Outdated
skip_latest_tag = skip_update_latest_tag or arch_specific_executor_tag
push_image_for_project("flame-public/buildbuddy-executor-enterprise", executor_tag, '//enterprise/server/cmd/executor:executor_image', skip_latest_tag)
# Enterprise cache proxy (edge)
if 'buildbuddy-edge-enterprise' in images:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wdyt about keeping (cache-)proxy instead of introducing a new name here? I feel like it's a little confusing to have both and we don't use edge anywhere else.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good, updated

@iain-macdonald iain-macdonald merged commit b24d388 into master Apr 13, 2026
11 checks passed
@iain-macdonald iain-macdonald deleted the im/00155e5cde1 branch April 13, 2026 18:57
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

Successfully merging this pull request may close these issues.

4 participants