Skip to content

feat(Gax)!: remove google/grpc-gcp dependency and gcpApiConfigPath - #9756

Open
bshaffer wants to merge 8 commits into
gax-v2-remove-deprecationsfrom
gax-v2-remove-grpc-gcp
Open

bshaffer wants to merge 8 commits into
gax-v2-remove-deprecationsfrom
gax-v2-remove-grpc-gcp

Conversation

@bshaffer

@bshaffer bshaffer commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Remove the unused google/grpc-gcp dependency and gcpApiConfigPath client option from google/gax.

google/grpc-gcp (^0.5) was added in 2018 to support gRPC channel pooling and session affinity via *_grpc_config.json files when the sysvshm extension is loaded. However, gapic-generator-php has never generated *_grpc_config.json files (only emitting a dead gcpApiConfigPath path in getClientDefaults() guarded by file_exists()), and the only handwritten config in the SDK (spanner_grpc_config.json) was removed in Spanner V2 (#7840). Removing it drops an unmaintained pre-1.0 dependency that is already a no-op across all generated clients:

  • Remove google/grpc-gcp from Gax/composer.json and root composer.json
  • Remove gcpApiConfigPath handling and initGrpcGcpConfig() from ClientOptionsTrait
  • Remove GCPServerStreamCall from ServerStreamingCallWrapper

@bshaffer
bshaffer requested a review from a team as a code owner October 1, 2026 00:30
@bshaffer
bshaffer added this pull request to stack #9758 October 1, 2026 19:11
@bshaffer bshaffer added the v2 label Oct 16, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants