Skip to content

chore(deps): upgrade internal core and veneer -api dependency floors - #9622

Draft
quirogas wants to merge 1 commit into
mainfrom
chore/upgrade-internal-dep-floors
Draft

quirogas wants to merge 1 commit into
mainfrom
chore/upgrade-internal-dep-floors

Conversation

@quirogas

@quirogas quirogas commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Description

Upgrade internal core library and handwritten veneer -api dependency floors across the monorepo.

Impact

Aligns internal dependency ranges with current released workspace package versions across CI and local builds.

Changes

  • Upgrade internal core/ and @google-cloud/*-api dependency and devDependencies version floors across core/, handwritten/, packages/, librarian.yaml, and root package.json (including gaxios@^8.3.1, gcp-metadata@^9.2.1, google-auth-library@^11.3.1, teeny-request@^11.1.1, and @google-cloud/bigquery-storage@^6.3.0), while keeping @google-cloud/common pinned to 8.0.1 until @google-cloud/common@8.2.2 is released.
  • Update .github/actions/pnpm-lockfile-check/action.yaml default link-workspace-packages to "false" for deterministic frozen-lockfile installs.
  • Update Firestore REST system test error assertions in handwritten/firestore/dev/system-test/{firestore,pipeline}.ts to match google-gax@6.12.1 gRPC status code mapping.
  • Regenerate pnpm-lock.yaml with link-workspace-packages=false (0 link: entries and 0 airlock-proxy entries) against https://registry.npmjs.org/.

Testing

  • Verified CI=true npx pnpm@10 install --frozen-lockfile --ignore-scripts passes with exit code 0 and grep -c "link:" pnpm-lock.yaml is 0.
  • Verified Node and Bun unit tests, live GCP system tests (handwritten/bigquery and handwritten/firestore FIRESTORE_PREFER_REST=true), and strict repository linter checks (GIT_DIFF_ARG=origin/main node ./bin/linter.mjs --strict).

Alternatives

  • Leaving older major/minor dependency floors (google-gax: ^6.0.0, google-auth-library: ^11.0.0, @google-cloud/*-api: ^0.2.0) in package.json was rejected because downstream consumers and lockfile resolutions would continue pulling stale pre-fix versions.

@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 dependencies across multiple packages in the repository, bumping versions of core libraries such as @google-cloud/common, @google-cloud/promisify, google-auth-library, and google-gax, alongside updating test scripts to use a centralized test runner. A review comment points out that @google-cloud/promisify was redundantly added to devDependencies in packages/google-cloud-translate/package.json while already being a production dependency.

Comment thread packages/google-cloud-translate/package.json Outdated
@quirogas
quirogas force-pushed the chore/upgrade-internal-dep-floors branch 4 times, most recently from e13264f to b494a6e Compare October 15, 2026 21:08
@quirogas
quirogas force-pushed the chore/upgrade-internal-dep-floors branch from b494a6e to b6ff286 Compare October 16, 2026 04:50
@quirogas
quirogas marked this pull request as ready for review October 16, 2026 19:51
@quirogas
quirogas requested review from a team as code owners October 16, 2026 19:51
@github-actions
github-actions Bot requested a review from danieljbruce October 16, 2026 19:51

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

Looks fine to me. I notice it includes updates to packages folder as well (generated packages) which doesn't align with the title, but maybe those need to be upgraded too anyway.

Base automatically changed from fix/firestore-pubsub-api-drift to main October 16, 2026 20:36
@quirogas
quirogas force-pushed the chore/upgrade-internal-dep-floors branch from b6ff286 to 12e9fc9 Compare October 16, 2026 20:36
@quirogas
quirogas marked this pull request as draft October 20, 2026 04:25
@quirogas
quirogas force-pushed the chore/upgrade-internal-dep-floors branch from 12e9fc9 to 06d6043 Compare October 20, 2026 04:47
## Description

Upgrade internal core library and handwritten veneer `-api` dependency floors across the monorepo.

## Impact

Aligns internal dependency ranges with current released workspace package versions across CI and local builds.

## Changes

- Upgrade internal `core/` and `@google-cloud/*-api` dependency and `devDependencies` version floors across `core/`, `handwritten/`, `packages/`, `librarian.yaml`, and root `package.json` (including `gaxios@^8.3.1`, `gcp-metadata@^9.2.1`, `google-auth-library@^11.3.1`, `teeny-request@^11.1.1`, and `@google-cloud/bigquery-storage@^6.3.0`), while keeping `@google-cloud/common` pinned to `8.0.1` until `@google-cloud/common@8.2.2` is released.
- Update `.github/actions/pnpm-lockfile-check/action.yaml` default `link-workspace-packages` to `"false"` for deterministic frozen-lockfile installs.
- Update Firestore REST system test error assertions in `handwritten/firestore/dev/system-test/{firestore,pipeline}.ts` to match `google-gax@6.12.1` gRPC status code mapping.
- Regenerate `pnpm-lock.yaml` with `link-workspace-packages=false` (`0` `link:` entries and `0` `airlock-proxy` entries) against `https://registry.npmjs.org/`.

## Testing

- Verified `CI=true npx pnpm@10 install --frozen-lockfile --ignore-scripts` passes with exit code 0 and `grep -c "link:" pnpm-lock.yaml` is `0`.
- Verified Node and Bun unit tests, live GCP system tests (`handwritten/bigquery` and `handwritten/firestore` `FIRESTORE_PREFER_REST=true`), and strict repository linter checks (`GIT_DIFF_ARG=origin/main node ./bin/linter.mjs --strict`).

## Alternatives

- Leaving older major/minor dependency floors (`google-gax: ^6.0.0`, `google-auth-library: ^11.0.0`, `@google-cloud/*-api: ^0.2.0`) in `package.json` was rejected because downstream consumers and lockfile resolutions would continue pulling stale pre-fix versions.
@quirogas
quirogas force-pushed the chore/upgrade-internal-dep-floors branch from 06d6043 to a8c1b4d Compare October 22, 2026 00:18

This branch has not been deployed

No deployments
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