feat(cli): Support Cloud Build worker pools for Agent Engine deploy - #6701
Open
a2105z wants to merge 1 commit into
Open
feat(cli): Support Cloud Build worker pools for Agent Engine deploy#6701a2105z wants to merge 1 commit into
a2105z wants to merge 1 commit into
Conversation
Contributor
Author
|
Friendly ping for Agent Engine / CLI triage: @klateefa @yeesian @wuliang229 @Jacksunwei @llalitkumarrr @GWeale — this is a small, focused CLI/config passthrough for Cloud Build private worker pools (issue #2141). Happy to iterate quickly on naming or config-file shape if you’d prefer only the nested |
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
a2105z
force-pushed
the
feat/agent-engine-worker-pool
branch
2 times, most recently
from
August 13, 2026 00:42
31483a7 to
96a6daf
Compare
Private/VPC-SC environments cannot use the default public Cloud Build pool. Accept --worker_pool (and config-file equivalents) and nest it into build_config for the Vertex Agent Engine SDK. Fixes google#2141
a2105z
force-pushed
the
feat/agent-engine-worker-pool
branch
from
August 13, 2026 00:54
96a6daf to
7094193
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements Cloud Build private worker pool support for
adk deploy agent_engine(#2141).Why this is needed
Enterprise / VPC-SC Agent Engine deploys often cannot use the default public Cloud Build pool. Without a way to point the build at a private worker pool,
adk deploy agent_enginefails for teams that require private networking, org build policies, or connectivity to private resources.The Vertex Agent Engine SDK already accepts this via
config.build_config.worker_pool→spec.build_spec.worker_pool, but ADK never exposed it on the CLI or documented a first-class config key.What we did
--worker_pooltoadk deploy agent_engine.agent_engine_config.jsonas either:"worker_pool": "projects/.../workerPools/..."(convenience), or"build_config": {"worker_pool": "..."}(native SDK shape)agent_config["build_config"]["worker_pool"]beforeclient.agent_engines.update(...)build_configfields (e.g. buildservice_account)display_name)How it fits
Usage
Or in
.agent_engine_config.json:{ "worker_pool": "projects/my-project/locations/us-central1/workerPools/my-private-pool" }Verification
worker_poolwas not previously implemented in ADK (rg/ deploy path audit)vertexai/_genai/agent_engines.py(build_config.worker_pool→spec.build_spec.worker_pool)uv run pytest tests/unittests/cli/utils/test_cli_deploy.py→ 60 passedFixes #2141
Test plan
_validate_worker_pool(valid + malformed)_apply_worker_pool_to_agent_config(CLI, config top-level, override, preserve other build_config fields)to_agent_engineforwardsbuild_config.worker_poolonagent_engines.update--worker_poolreachesto_agent_enginecc @klateefa @yeesian @wuliang229 @Jacksunwei @hangfei @llalitkumarrr @GWeale
I claimed this on #2141 (self-assign needs triage permissions — please assign me
@a2105zif that helps routing). Ready for review whenever you have a moment.