Skip to content

feat(spanner): split handwritten spanner library from its gapics and protos#8927

Draft
feywind wants to merge 9 commits into
mainfrom
feywind-split-spanner
Draft

feat(spanner): split handwritten spanner library from its gapics and protos#8927
feywind wants to merge 9 commits into
mainfrom
feywind-split-spanner

Conversation

@feywind

@feywind feywind commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

This is in the effort to remove OwlBot from the standard repo path. A new package (spanner-api) takes care of what OwlBot used to do (shuffle in new protos and generated gapic classes).

Internal: b/531788771

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request removes local proto files and the synth.py script, transitioning the codebase to use the external @google-cloud/spanner-api package. Imports and paths are updated across benchmarks, tests, mock servers, and source files. The review feedback highlights a compilation error in system-test/spanner.ts due to a missing import of protos, and recommends replacing fragile, hardcoded relative paths to node_modules with dynamic path resolution using require.resolve across multiple test and mock files.

Comment thread handwritten/spanner/test/mockserver/mockspanner.ts Outdated
Comment thread handwritten/spanner/system-test/spanner.ts
Comment thread handwritten/spanner/google-cloud-spanner-executor/src/worker-proxy.ts Outdated
Comment thread handwritten/spanner/test/mockserver/mockdatabaseadmin.ts Outdated
Comment thread handwritten/spanner/test/mockserver/mockinstanceadmin.ts Outdated
@feywind feywind changed the title fix: split handwritten spanner library from its gapics and protos feat(spanner): split handwritten spanner library from its gapics and protos Jul 22, 2026
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.

1 participant