feat: Support Developer Edition connections - #603
Draft
hessjcg wants to merge 2 commits into
Draft
Conversation
…nneling) - Add @grpc/grpc-js and @grpc/proto-loader dependencies to package.json. - Copy sql_data_service.proto and google/rpc/status.proto to src/proto. - Update prepare script in package.json to copy proto files to output dist directories recursively. - Fix infinite recursion bug in scripts/fixup.cjs. - Add SQL_DATA to IpAddressTypes enum and selectIpAddress fallback logic. - Implement SqlDataClient in src/sql-data-client.ts to handle gRPC bidirectional streaming connection and local TCP proxy server. - Integrate SqlDataClient support in Connector.ts with probe verification and fallback. - Fix TS compiler, linter, and formatting issues. - Add unit tests for selectIpAddress fallback. TAG=agy CONV=e397913b-0b2d-4907-8e3d-cba7ce277bd1
hessjcg
force-pushed
the
sql-data-service-public
branch
from
August 12, 2026 15:21
b7948dc to
b2dda0d
Compare
hessjcg
force-pushed
the
sql-data-service-public
branch
4 times, most recently
from
August 12, 2026 15:54
68dcece to
7daa1d7
Compare
… fix deprecation warning, fix lint errors, clean package-lock.json URLs, skip sandbox system test by default, and fix formatting
hessjcg
force-pushed
the
sql-data-service-public
branch
from
August 12, 2026 15:57
7daa1d7 to
3349aaf
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.
This PR implements AI Developer Edition Connections (SQL Data Service tunneling) for the NodeJS connector.
It introduces a new IP address type
SQL_DATAwhich uses theSqlDataServiceclient from the@google-cloud/sqlGAPIC client library to establish a secure tunnel.Also includes:
SqlDataClientinConnectorwhenSQL_DATAis selected.SqlDataClientwith a mock gRPC server.See GoogleCloudPlatform/cloud-sql-go-connector#1108