Skip to content

feat(bigtable): split gapic and proto usage from the handwritten library into bigtable-api - #8934

Merged
feywind merged 19 commits into
mainfrom
feywind-split-bigtable
Aug 5, 2026
Merged

feat(bigtable): split gapic and proto usage from the handwritten library into bigtable-api#8934
feywind merged 19 commits into
mainfrom
feywind-split-bigtable

Conversation

@feywind

@feywind feywind commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

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

Internal: b/531788771

@product-auto-label product-auto-label Bot added the api: bigtable Issues related to the Bigtable API. label Jul 22, 2026

@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 refactors the codebase to depend on the external @google-cloud/bigtable-api package for API clients and proto definitions, allowing the removal of numerous auto-generated client files, configurations, and shims. Feedback on the changes highlights a critical issue in handwritten/bigtable/src/admin/table.ts where JSON_PROTOS is read as a raw string using fs.readFileSync instead of being parsed as a JSON object, which will cause runtime failures in protobufFromJSON. A suggestion is provided to use require to synchronously load and parse the JSON file directly.

Comment thread handwritten/bigtable/src/admin/table.ts Outdated
@feywind
feywind marked this pull request as ready for review July 28, 2026 19:58
@feywind
feywind requested a review from a team as a code owner July 28, 2026 19:58
@feywind
feywind marked this pull request as draft July 28, 2026 22:20
@feywind

feywind commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

The PR might be a bit gross until I debug the resource leaks.

@quirogas quirogas 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.

PR looks good to me, Let's open follow up clean up bugs for:

  • removing proto files and addressing test_proxy.proto
  • cleanup tests, specially tests that depend on proto files
  • transition to the .json definition of the service file as opposed to using the proto files.
  • remove logs
  • split test changes into a separate PR.
  • remove utility script from publishing (if not already)

Feel free to reference this commnet to create the issues initially or create new ones altogether, up to you.

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.

Can we delete this file or directory altogether and add the export logic to the index.ts file in the parent directory?

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.

Same as admin/v2/index.ts. Could we move this export to the top-level file instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to get this one merged and then open up some tweak PRs.

feywind added a commit that referenced this pull request Aug 1, 2026
While trying to get the [handwritten split project](#8934) finished, I ran into a lot of resource leaks in the bigtable system tests. These ended up being extensive enough changes that I moved them to their own PR (this one).
shivanee-p pushed a commit that referenced this pull request Aug 4, 2026
While trying to get the [handwritten split project](#8934) finished, I ran into a lot of resource leaks in the bigtable system tests. These ended up being extensive enough changes that I moved them to their own PR (this one).
@feywind
feywind marked this pull request as ready for review August 5, 2026 17:41
@feywind
feywind enabled auto-merge (squash) August 5, 2026 17:41
@feywind
feywind merged commit f63f914 into main Aug 5, 2026
33 of 34 checks passed
@feywind
feywind deleted the feywind-split-bigtable branch August 5, 2026 18:01
@release-please release-please Bot mentioned this pull request Aug 5, 2026
shivanee-p pushed a commit that referenced this pull request Aug 6, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>pack-n-play: 5.0.1</summary>

##
[5.0.1](pack-n-play-v5.0.0...pack-n-play-v5.0.1)
(2026-08-05)


### Bug Fixes

* **core:** Discovery url handling, error code review helper, and
pack-n-play test timeouts
([#9061](#9061))
([340364f](340364f))
</details>

<details><summary>gcp-metadata: 9.0.1</summary>

##
[9.0.1](gcp-metadata-v9.0.0...gcp-metadata-v9.0.1)
(2026-08-05)


### Bug Fixes

* **core:** Discovery url handling, error code review helper, and
pack-n-play test timeouts
([#9061](#9061))
([340364f](340364f))
</details>

<details><summary>googleapis-common: 9.0.1</summary>

##
[9.0.1](googleapis-common-v9.0.0...googleapis-common-v9.0.1)
(2026-08-05)


### Bug Fixes

* **core:** Discovery url handling, error code review helper, and
pack-n-play test timeouts
([#9061](#9061))
([340364f](340364f))
</details>

<details><summary>bigquery: 9.0.1</summary>

##
[9.0.1](bigquery-v9.0.0...bigquery-v9.0.1)
(2026-08-05)


### Bug Fixes

* **bigquery:** Remove owlbot configs
([#8936](#8936))
([7f8e23c](7f8e23c))
</details>

<details><summary>bigtable: 7.1.0</summary>

##
[7.1.0](bigtable-v7.0.0...bigtable-v7.1.0)
(2026-08-05)


### Features

* **bigtable:** Split gapic and proto usage from the handwritten library
into bigtable-api
([#8934](#8934))
([f63f914](f63f914))
</details>

<details><summary>databasecenter: 0.4.1</summary>

##
[0.4.1](databasecenter-v0.4.0...databasecenter-v0.4.1)
(2026-08-05)


### Bug Fixes

* Upgrade types sinon for databasecenter
([#9098](#9098))
([23aee11](23aee11))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the Bigtable API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants