Skip to content

feat: bump gapic-generator to v1.38.0 and update post-processing scripts - #18057

Open
hebaalazzeh wants to merge 13 commits into
mainfrom
update-gapic-generator-v1.38
Open

feat: bump gapic-generator to v1.38.0 and update post-processing scripts#18057
hebaalazzeh wants to merge 13 commits into
mainfrom
update-gapic-generator-v1.38

Conversation

@hebaalazzeh

Copy link
Copy Markdown
Contributor

Description

  • Bumps gapic-generator version to 1.38.0 in librarian.yaml.
  • Updates post-processing scripts under .librarian/generator-input/client-post-processing/ (bigquery-storage, bigtable, datastore, firestore, logging, and spanner) to handle generator template changes:
    • Updates docs/index.rst replacement patterns for multi-version libraries (bigquery-storage, bigtable, datastore).
    • Removes obsolete import sys cleanup in firestore and logging.
    • Removes obsolete temporary mTLS patches in spanner (now natively emitted by gapic-generator 1.38).

Note: The repo-wide regeneration diff is stacked on top of this PR in a separate PR.

@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 updates the gapic-generator tool version to 1.38.0 and bumps the minimum google-api-core dependency version to 2.28.0 across multiple client post-processing configurations. It also cleans up several obsolete temporary post-processing patches. Regarding the feedback, there is an issue in datastore-integration.yaml where including .. include:: README.rst in the replacement block will cause duplicate content in the generated documentation.

Comment on lines 46 to 49
after: |
.. include:: README.rst

.. note::

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.

high

The before pattern matches starting from .. include:: multiprocessing.rst. Since .. include:: README.rst precedes this line in the generated index.rst file, it is not matched and will be preserved at the top of the file. Including .. include:: README.rst in the after block will therefore cause it to be duplicated in the final output. Removing it from the after block will prevent this duplication.

    after: |
      .. note::

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

The changes to librarian.yaml look good to me. Let's wait for the generation tests to pass before merging this portion of the PR, though.

@hebaalazzeh
hebaalazzeh marked this pull request as ready for review August 10, 2026 22:11
@hebaalazzeh
hebaalazzeh requested review from a team as code owners August 10, 2026 22:11
@quirogas quirogas added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Aug 10, 2026
@hebaalazzeh
hebaalazzeh force-pushed the update-gapic-generator-v1.38 branch 3 times, most recently from af499c8 to 779d0b9 Compare August 11, 2026 00:33
@hebaalazzeh
hebaalazzeh force-pushed the update-gapic-generator-v1.38 branch from 779d0b9 to febd1ef Compare August 11, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants