Skip to content

Update dev command to handle missing proto and fix macos build errors. - #495

Open
collinvandyck wants to merge 3 commits into
mainfrom
collin/proto-submodule-preflight
Open

collinvandyck wants to merge 3 commits into
mainfrom
collin/proto-submodule-preflight

Conversation

@collinvandyck

Copy link
Copy Markdown

What was changed

While testing out the dev command I ran into an issue b/c the proto submodule was not updated. This failed the kitchen sink step of the docker build. Updated the README and also added some errors to the build image command to detect this.

I also ran into an issue trying to build the images on MacOS + docker desktop. The fix was to qualify the platform flag with linux/.

Why?

Wanted to address some issues I found during testing.

Checklist

  1. Closes N/A

  2. How was this tested:

Running go run ./cmd/dev build-cli-image on MacOS.

  1. Any docs updates needed?

I've updated the README

Added a check to the dev commands that consume the temporal api protos
to ensure that the submodule is initialized.
Changed the default to use linux/amd64 so we can build images on a mac host.

This fixes an issue where the last step of the image build when invoked on MacOS
was:

    "operating system is not supported"
@collinvandyck
collinvandyck requested review from a team as code owners September 17, 2026 15:28
@collinvandyck
collinvandyck enabled auto-merge (squash) September 17, 2026 17:32
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.

2 participants