Skip to content

feat: [Gax] Add script to download and generate the showcase client and download the showcase server#9347

Open
Hectorhammett wants to merge 2 commits into
mainfrom
generate-conformance-tests
Open

feat: [Gax] Add script to download and generate the showcase client and download the showcase server#9347
Hectorhammett wants to merge 2 commits into
mainfrom
generate-conformance-tests

Conversation

@Hectorhammett

@Hectorhammett Hectorhammett commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Created a script for downloading and generating the showcase client for the conformance tests. This client was generated a long time ago and we need a consistent way to generate and update the showcase client and server, specially with PQC around the corner.

Closes: #9229

Depends on: googleapis/gapic-generator-php#838

@Hectorhammett
Hectorhammett marked this pull request as ready for review July 16, 2026 22:03
@Hectorhammett
Hectorhammett requested a review from a team as a code owner July 16, 2026 22:03

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.

Looks like we aren't generating these clients with MigrationMode::NEW_SURFACE_ONLY. Let's make sure we do that (files in the Gapic namespace should not exist)

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.

Our github actions job installs and runs the gapic-showcase server dynamically, and the bash job should do the same... we shouldn't need to commit a binary, then we'll need to maintain it

# Option 1 (curl)
curl -L https://github.com/googleapis/gapic-showcase/releases/download/v${GAPIC_SHOWCASE_VERSION}/gapic-showcase-${GAPIC_SHOWCASE_VERSION}-${OS}-${ARCH}.tar.gz | tar -zx
./gapic-showcase run

# Option 2 (go get)
go install github.com/googleapis/gapic-showcase/cmd/gapic-showcase
gapic-showcase run

Comment thread Gax/generate-showcase.sh

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.

As discussed, it would be great to port this to a PHP command in dev/src/Command instead

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.

Improvements to Showcase conformance tests

2 participants