Skip to content

Fix install_xmanager_cloud.sh against the current API - #73

Open
evanjpw wants to merge 1 commit into
google-deepmind:mainfrom
evanjpw:evan/upstream-install-script
Open

Fix install_xmanager_cloud.sh against the current API#73
evanjpw wants to merge 1 commit into
google-deepmind:mainfrom
evanjpw:evan/upstream-install-script

Conversation

@evanjpw

@evanjpw evanjpw commented Aug 19, 2026

Copy link
Copy Markdown

install_xmanager_cloud.sh copies two of the three proto directories xmc publishes. The current artifact.proto imports dashboard_service for Chart, so protoc cannot resolve that import and the script finishes having produced no stubs at all. This makes the documented install path fail against the xmc tags we have tried it on, so the third directory is copied and compiled alongside the other two.

grpcio-tools is pinned in the same change. Generated code records the version that produced it, and protobuf refuses to load it on an older runtime, so resolving the compiler freely produces stubs that the runtime installed beside them cannot import.

The script copies two of the three proto directories xmc now publishes. Current
artifact.proto imports dashboard_service for Chart, so protoc resolves nothing
and the script produces no stubs at all against the xmc tag we deploy.

grpcio-tools is also pinned here. Generated code records the version that
produced it and protobuf refuses to load it on an older runtime, so resolving the
compiler freely yields stubs that the runtime installed beside them cannot
import.
@google-cla

google-cla Bot commented Aug 19, 2026

Copy link
Copy Markdown

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.

@evanjpw
evanjpw marked this pull request as draft August 19, 2026 12:02
@evanjpw
evanjpw marked this pull request as ready for review August 19, 2026 12:02
@evanjpw evanjpw closed this Aug 19, 2026
@evanjpw evanjpw reopened this Aug 19, 2026
@evanjpw
evanjpw force-pushed the evan/upstream-install-script branch from a1ce81e to 18832f1 Compare August 19, 2026 12:06
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.

1 participant