Skip to content

feat: Support Developer Edition connections - #603

Merged
kgala2 merged 1 commit into
mainfrom
sql-data-service-public
Sep 2, 2026
Merged

kgala2 merged 1 commit into
mainfrom
sql-data-service-public

Conversation

@hessjcg

@hessjcg hessjcg commented Aug 12, 2026 •

Copy link
Copy Markdown
Member

This PR implements AI Developer Edition Connections (SQL Data Service tunneling) for the NodeJS connector.

It introduces a new IP address type SQL_DATA which uses the SqlDataService client from the @google-cloud/sql GAPIC client library to establish a secure tunnel.

Also includes:

  • Integration of SqlDataClient in Connector when SQL_DATA is selected.
  • Unit tests for SqlDataClient with a mock gRPC server.
  • Fix for a deprecation warning in the test server setup.

See GoogleCloudPlatform/cloud-sql-go-connector#1108

@hessjcg
hessjcg force-pushed the sql-data-service-public branch from b7948dc to b2dda0d Compare August 12, 2026 15:21
@hessjcg hessjcg changed the title feat: Implement AI Developer Edition Connections (SQL Data Service tunneling) feat: Support Developer Edition connections Aug 12, 2026
@hessjcg
hessjcg force-pushed the sql-data-service-public branch 14 times, most recently from a7a4292 to e503ffc Compare August 17, 2026 22:08
@hessjcg
hessjcg marked this pull request as ready for review August 27, 2026 17:49
@hessjcg
hessjcg requested a review from a team as a code owner August 27, 2026 17:49
@hessjcg
hessjcg force-pushed the sql-data-service-public branch from e503ffc to 71f6766 Compare September 2, 2026 20:19
…nneling)

- Add @grpc/grpc-js and @grpc/proto-loader dependencies to package.json.
- 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 cooldown backoff and fallback.
- Add unit tests for selectIpAddress fallback, SqlDataClient, and Connector.
- Add end-to-end test for postgres connection with SQL_DATA ipType.
- Update write_e2e_env in build.sh and CI workflow to load POSTGRES_AIDE_* secrets.
@hessjcg
hessjcg force-pushed the sql-data-service-public branch from 71f6766 to 0ff2d9a Compare September 2, 2026 21:29
@kgala2
kgala2 merged commit ccc3182 into main Sep 2, 2026
28 checks passed
@kgala2
kgala2 deleted the sql-data-service-public branch September 2, 2026 21:35
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