GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(storage-control): disable stripInternal in tsconfig by JoeWang1127 · Pull Request #9866 · googleapis/google-cloud-node

Conversation

@JoeWang1127

@JoeWang1127 JoeWang1127 commented Nov 12, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Disables stripInternal in packages/google-storage-control/tsconfig.json and preserves it in librarian.yaml.

Background

In packages/google-storage-control/src/util/samples_and_doc_fix_utils.ts, fixDocsHeaders() appends @internal to the class headers of src/v2/storage_control_client.ts and storage_client.ts. Because tsconfig.json extends GTS (stripInternal: true), tsc strips the classes from build/src/v2/storage_control_client.d.ts, leaving it with export {};.

However, src/v2/index.ts still explicitly re-exports StorageControlClient. During docs-devsite generation, API Extractor attempts to resolve StorageControlClient from v2/storage_control_client.d.ts and fails with:

ERROR: Internal Error: Unable to analyze the export "StorageControlClient" in
.../build/src/v2/storage_control_client.d.ts

This previously occurred and was fixed in #8057, but was wiped out during generator template updates in #8280 because tsconfig.json was not preserved in librarian.yaml.

Changes

  1. Added "stripInternal": false to packages/google-storage-control/tsconfig.json.
  2. Added tsconfig.json to the keep list for google-storage-control in librarian.yaml so future regenerations preserve this setting.

Fixes b/585228616

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction
@JoeWang1127
fix(storage-control): disable stripInternal in tsconfig
1a77fa6
Sets stripInternal to false in packages/google-storage-control/tsconfig.json
so declaration files emit full class definitions for @internal clients,
preventing api-extractor from failing on dangling re-exports during
docs-devsite generation.
@JoeWang1127
JoeWang1127 requested a review from a team as a code owner November 12, 2026 21:54
@github-actions
github-actions Bot requested a review from shivanee-p November 12, 2026 21:54
gemini-code-assist[bot]
gemini-code-assist Bot reviewed Nov 12, 2026
View reviewed changes

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

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

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 tsconfig.json for the google-storage-control package to set "stripInternal": false. The review feedback notes that since this is an auto-generated GAPIC client library, manual changes must either be added to the keep list (such as in librarian.yaml) or applied upstream in the generator templates to prevent them from being overwritten during future regenerations.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/google-storage-control/tsconfig.json Resolved

Uh oh!

There was an error while loading. Please reload this page.

@JoeWang1127
JoeWang1127 enabled auto-merge (squash) November 12, 2026 21:55
@JoeWang1127
chore(storage-control): preserve tsconfig.json in librarian keep list
33aa457
quirogas
quirogas approved these changes Nov 13, 2026
View reviewed changes
@quirogas
quirogas merged commit 4663119 into main Nov 13, 2026
51 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@quirogas
quirogas deleted the fix/storage-control-tsconfig-strip-internal branch November 13, 2026 00:44
@release-please release-please Bot mentioned this pull request Nov 13, 2026
chore(main): release storage-control 0.14.1 #9867
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@quirogas quirogas quirogas approved these changes
@shivanee-p shivanee-p Awaiting requested review from shivanee-p
+1 more reviewer
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@JoeWang1127 @quirogas
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.