chore(deps): bump @ai-sdk/google from 1.2.22 to 3.0.75#534
chore(deps): bump @ai-sdk/google from 1.2.22 to 3.0.75#534dependabot[bot] wants to merge 1 commit into
Conversation
e2ce161 to
1a307eb
Compare
1a307eb to
efe6900
Compare
There was a problem hiding this comment.
Independent adversarial review (Chinese-wall)
Reviewer: minsky-reviewer[bot] via openai:gpt-5
Tier: unknown
Findings
-
[BLOCKING] package.json:86 – Major version bump without corresponding code changes or migration
- The dependency @ai-sdk/google is bumped from ^1.0.2 to ^3.0.64. This crosses at least one major version (1 → 3), which typically includes breaking API changes in the Vercel AI SDK providers. There are no accompanying code changes in the repo to adapt to potential API surface changes (imports, configuration options, model identifiers, tool-calling behavior, etc.). This creates a high risk of compile-time/type errors or runtime failures after install.
- Evidence: Diff shows only the single-line change in package.json; no source changes or test updates included.
-
[BLOCKING] package.json:83-90 – Likely peer-dependency/compatibility mismatch across @ai-sdk/* packages
- @ai-sdk/openai and @ai-sdk/anthropic remain at ^1.0.2 while @ai-sdk/google is moved to ^3.0.64. The provider packages in the vercel/ai monorepo tend to move in lockstep across major versions and may declare peerDependencies or share common types/APIs. Mixing v1.x providers with a v3.x provider is very likely to produce peer-dependency warnings/errors or incompatible API shapes at runtime/compile-time.
- Evidence: package.json shows @ai-sdk/openai: ^1.0.2, @ai-sdk/anthropic: ^1.0.2, and @ai-sdk/google: ^3.0.64.
-
[BLOCKING] Lockfile not updated – Missing changes to package-lock.json / yarn.lock / pnpm-lock.yaml
- For a dependency jump across major versions, the lockfile should also be updated to ensure reproducible installs. The diff shows no changes to any lockfile. This can lead to local/CI environments installing different versions than intended, masking or introducing failures.
- Evidence: Diff includes only package.json; no lockfile updates are present.
-
[NON-BLOCKING] PR description and release notes snippet are inconsistent with the actual change
- The description says “Bumps @ai-sdk/google from 1.2.22 to 3.0.64,” while package.json shows ^1.0.2 → ^3.0.64. The included release notes snippet references “2.0.70 patch changes,” which does not explain breaking changes from 1.x → 3.x. This makes it unclear what breaking changes were reviewed and whether a migration plan exists.
- Evidence: PR description vs. package.json diff.
-
[NON-BLOCKING] Engines/runtime compatibility not assessed
- Major version updates can change Node.js engine requirements or transitive dependencies requiring newer runtimes. No evidence is provided that our project’s engines field and deployment environment are compatible.
- Evidence: No engines or CI/runtime notes in this PR; only dependency bump.
Spec verification
- No task spec provided. All criteria N/A.
Documentation impact
- Yes. A major provider upgrade likely changes:
- Initialization/configuration examples for the Google provider
- Model identifiers and defaults
- Tool/function-calling configuration semantics
- Any internal integration docs that mention @ai-sdk/google usage, env vars, or behavior
- Recommend adding an entry to CHANGELOG and updating any README/architecture notes covering AI provider usage to reflect the v3 API and any migration steps taken.
Event: REQUEST_CHANGES
Requested actions before merge:
- Audit vercel/ai changelogs/migration guides for @ai-sdk/google from 1.x → 2.x → 3.x and update our code accordingly (imports, config, model names, tool-calling, streaming APIs, etc.).
- Verify and align versions of other @ai-sdk/* packages (e.g., @ai-sdk/openai, @ai-sdk/anthropic) to compatible majors if required by peerDependencies or shared APIs.
- Update the lockfile (package-lock.json / yarn.lock / pnpm-lock.yaml) and ensure CI passes.
- Expand the PR description with the relevant breaking changes and confirm test coverage for impacted paths.
- If runtime/engine requirements changed, document and enforce them (engines in package.json, CI images, deployment config).
efe6900 to
b4aac0c
Compare
There was a problem hiding this comment.
Independent adversarial review (Chinese-wall)
Reviewer: minsky-reviewer[bot] via openai:gpt-5
Tier: unknown
reviewer-service error: chain-of-thought leakage detected
The upstream model emitted raw internal reasoning into the review body. The reviewer service sanitised the output but could not locate a valid Findings section to preserve, so the leaked content was discarded. The PR will receive a fresh review on the next commit. See docs/architecture/critic-constitution-reliability.md for details.
b4aac0c to
4919ddc
Compare
There was a problem hiding this comment.
Independent adversarial review (Chinese-wall)
Reviewer: minsky-reviewer[bot] via openai:gpt-5
Tier: unknown
Findings
-
[BLOCKING] package.json:87 (RIGHT) — Major version bump of @ai-sdk/google (1.x → 3.x) without corresponding code or tests to adapt to potential breaking changes
- This PR updates "@ai-sdk/google" from ^1.0.2 to ^3.0.64 but includes no source or test updates. Crossing major versions for Vercel AI SDK provider packages often introduces breaking API changes (e.g., changed option shapes, function calling modes like VALIDATED vs AUTO, updated model IDs, return types). Without adaptation and validation (typecheck/tests), this creates high risk of compile-time failures or runtime behavior changes post-install.
- Suggested action: Include necessary migration changes and demonstrate compatibility by running typecheck and tests, or hold/off pin until migrations are ready.
-
[BLOCKING] package.json:85 (RIGHT) — Potential version skew across @ai-sdk/* ecosystem packages (google at 3.x while anthropic/openai remain 1.x)
- "@ai-sdk/google" is bumped to ^3.0.64 while "@ai-sdk/anthropic" and "@ai-sdk/openai" remain at ^1.0.2. The AI SDK providers typically coordinate breaking changes by major version. Mixing majors can lead to peer dependency/compatibility issues or subtle runtime edge cases once resolved by the "ai" meta package (here "ai": ^4.1.5).
- Suggested action: Verify the peerDependencies and compatibility matrix for @ai-sdk/google@3.x against the versions of ai, @ai-sdk/anthropic, and @ai-sdk/openai in use. If mismatched, either bump the other providers to compatible majors or keep @ai-sdk/google on a compatible major.
Spec verification
- No task spec provided. All criteria: N/A
Documentation impact
- If proceeding with @ai-sdk/google v3, update any internal docs or examples that reference Google model configuration or tool-calling behavior to reflect v3 changes (e.g., function calling/strict tools behavior, model IDs, config options).
- Consider adding a brief migration note in CHANGELOG or README if user-facing commands or examples change.
Conclusion: REQUEST_CHANGES
Summary: This PR makes a major dependency upgrade without corresponding code or test updates. Given the likelihood of breaking changes in @ai-sdk/google v3 and the introduced cross-version skew with other @ai-sdk providers, this poses a correctness/regression risk. Please either include necessary migrations and validation or align the provider versions to a known-compatible set before merging.
4919ddc to
ad6e6d9
Compare
There was a problem hiding this comment.
Independent adversarial review (Chinese-wall)
Reviewer: minsky-reviewer[bot] via openai:gpt-5
Tier: unknown
This PR upgrades @ai-sdk/google from 1.x to 3.x with no corresponding migration or validation, which risks breaking API and runtime behavior. It also introduces version skew with other @ai-sdk providers still at 1.x, likely causing compatibility issues. Additionally, the lockfile update appears missing, risking inconsistent installs. Please include necessary migration code/tests or align provider versions, update bun.lock, and correct the PR description to reflect the actual bump and any breaking changes before merging.
Findings
- [BLOCKING] package.json:88 — Major version bump of @ai-sdk/google (1.x → 3.x) without corresponding migration/code/test updates risks breaking API changes
This PR updates "@ai-sdk/google" from ^1.0.2 to ^3.0.67 at package.json:88, but includes no accompanying source or test updates to adapt to potential breaking changes introduced across v2/v3 of the Vercel AI SDK Google provider (e.g., changed option shapes, model identifiers, tool/function-calling semantics, return types). Crossing multiple major versions without validating or adjusting call sites can cause compile-time/type errors or runtime failures after install. Please include the necessary migration changes and validate via typecheck/tests, or defer the upgrade until a coordinated migration PR is prepared. - [BLOCKING] package.json:86 — Version skew across @ai-sdk/* packages (google at 3.x while anthropic/openai remain 1.x) likely incompatible
In dependencies (package.json:84-102), "@ai-sdk/google" is bumped to ^3.0.67 while "@ai-sdk/anthropic" and "@ai-sdk/openai" remain at ^1.0.2. The provider packages in vercel/ai typically coordinate breaking changes by major version or rely on shared provider-utils/provider packages. Mixing majors can cause peer-dependency conflicts, incompatible types, or subtle runtime behavior. Action: Verify the compatibility matrix/peerDependencies for @ai-sdk/google@3.x with our versions of "ai" (^4.1.5), @ai-sdk/anthropic, and @ai-sdk/openai. If required, align the other providers to compatible majors or keep google on a compatible major. - [NON-BLOCKING] package.json:1 — Lockfile update likely missing for a major dependency bump
This PR changes package.json to bump @ai-sdk/google to ^3.0.67 but does not appear to include a corresponding lockfile update (bun.lock) in the diff. Without updating and committing the lockfile, local/CI environments may resolve inconsistent versions, masking or introducing failures. Action: run your package manager (bun install) and commit bun.lock changes. [NEEDS VERIFICATION: reviewer cannot view the full diff here to confirm whether bun.lock changed; please ensure it is updated.]
Inline comments
- package.json:1 — Nit: The PR description states 1.2.22 → 3.0.67, but package.json shows ^1.0.2 → ^3.0.67. Consider correcting the description to reflect the actual bump range and summarise any notable breaking changes encountered during review/testing.
Spec verification
| Criterion | Status | Evidence |
|---|---|---|
| The PR must include code and/or configuration changes necessary to handle breaking changes introduced by the dependency upgrade. | Not Met | Only package.json is changed (package.json: dependencies @ai-sdk/google ^1.0.2 → ^3.0.67). No source or test files were modified under src/ or tests/ to adapt to potential API changes. |
| All related provider packages should remain on compatible major versions to avoid peer-dependency/type incompatibilities. | Not Met | package.json: "@ai-sdk/google": ^3.0.67 vs "@ai-sdk/anthropic": ^1.0.2 and "@ai-sdk/openai": ^1.0.2. Mixed majors across @ai-sdk/*. |
| The lockfile should be updated to ensure reproducible installs across environments after dependency changes. | Not Met | Repository root contains bun.lock (list_directory: repo root). The diff appears to only modify package.json; no lockfile update is included in this PR. |
ad6e6d9 to
81086f5
Compare
There was a problem hiding this comment.
Independent adversarial review (Chinese-wall)
Reviewer: minsky-reviewer[bot] via openai:gpt-5
Tier: unknown
This PR upgrades @ai-sdk/google across major versions (1.x → 3.x) without any accompanying code or test migrations, and introduces version skew with other @ai-sdk providers that remain on 1.x. Additionally, the lockfile was not updated: bun.lock still resolves @ai-sdk/google to 1.x, which breaks reproducible installs and can mask failures. These are correctness and reliability risks, not just cosmetic. Please (1) include necessary migration changes and validate via typecheck/tests, (2) align related @ai-sdk/* package majors or confirm compatibility, and (3) regenerate and commit bun.lock. The PR description should also reflect the true bump range and note any breaking changes addressed.
Findings
- [BLOCKING] package.json:1 — Major version bump of
@ai-sdk/google(1.x → 3.x) with no accompanying migration/code/test updates risks breaking changes
This PR updates@ai-sdk/googlefrom^1.0.2to^3.0.68inpackage.jsonbut introduces no source or test changes to adapt to potential breaking changes across v2/v3 of the Vercel AI SDK Google provider (e.g., option shapes, model identifiers, tool/function-calling behavior, return types). Crossing multiple majors without validating or adjusting call sites can cause typecheck failures or runtime errors after install.
Evidence: package.json shows "@ai-sdk/google": "^3.0.68" under dependencies while no files under src/ or tests/ were changed in this PR. Please include necessary migration changes and validate via bun run typecheck and tests, or postpone the upgrade until a coordinated migration is prepared.
- [BLOCKING] package.json:1 — Version skew across
@ai-sdk/*packages (googleat 3.x whileanthropic/openairemain 1.x) likely incompatible
@ai-sdk/googleis bumped to^3.0.68while@ai-sdk/anthropicand@ai-sdk/openairemain at^1.0.2. Provider packages in the Vercel AI SDK often coordinate breaking changes by major version or rely on shared@ai-sdk/provider(-utils)types. Mixing provider majors can lead to peer-dependency conflicts, incompatible types, or subtle runtime differences when used alongside theaipackage (^4.1.5).
Evidence: package.json dependencies section shows @ai-sdk/google: ^3.0.68, @ai-sdk/anthropic: ^1.0.2, @ai-sdk/openai: ^1.0.2. Action: verify the compatibility matrix/peerDependencies for @ai-sdk/google@3.x with ai@^4.1.5 and align other providers to compatible majors, or keep @ai-sdk/google on a compatible major.
- [BLOCKING] bun.lock:1 — Lockfile not updated:
bun.lockstill resolves@ai-sdk/googleto 1.x despitepackage.jsonbump to 3.x
package.jsonupdates"@ai-sdk/google"to^3.0.68, butbun.lockstill lists"@ai-sdk/google": "^1.0.2"in the workspace dependencies and resolves the package to@ai-sdk/google@1.2.19underpackages. This mismatch breaks reproducible installs and can mask or introduce failures between local/CI environments.
Evidence:
package.json:"@ai-sdk/google": "^3.0.68".bun.lock(rootworkspaces."".dependencies):"@ai-sdk/google": "^1.0.2".bun.lock(resolved):"@ai-sdk/google": ["@ai-sdk/google@1.2.19", …].
Action: Run bun install to regenerate bun.lock and commit it, ensuring it resolves @ai-sdk/google@3.0.68 and any transitive updates.
Inline comments
- package.json:1 — PR description says “1.2.22 → 3.0.68,” but the repo previously had
^1.0.2. Please reconcile the description with the actual bump range and call out any breaking changes encountered during validation/migration.
Spec verification
| Criterion | Status | Evidence |
|---|---|---|
| The PR must include code and/or configuration changes necessary to handle breaking changes introduced by the dependency upgrade. | Not Met | Only package.json was changed to bump @ai-sdk/google to ^3.0.68; no src/ or tests/ updates are present. See package.json:dependencies and absence of other file diffs. |
| All related provider packages should remain on compatible major versions to avoid peer-dependency/type incompatibilities. | Not Met | package.json shows @ai-sdk/google: ^3.0.68 while @ai-sdk/anthropic and @ai-sdk/openai remain at ^1.0.2. Mixed majors across @ai-sdk/* packages. |
| The lockfile should be updated to ensure reproducible installs across environments after dependency changes. | Not Met | bun.lock still declares @ai-sdk/google: ^1.0.2 and resolves to @ai-sdk/google@1.x (1.2.19). It has not been regenerated to reflect ^3.0.68 from package.json. |
81086f5 to
8be3a98
Compare
There was a problem hiding this comment.
Independent adversarial review (Chinese-wall)
Reviewer: minsky-reviewer[bot] via openai:gpt-5
Tier: unknown
Prior blocking issues remain unresolved. The PR bumps @ai-sdk/google from 1.x to 3.x but includes no migration or test/code updates to address potential breaking changes, and it introduces version skew with other @ai-sdk/* providers that remain on 1.x. Additionally, the bun.lock file still pins @ai-sdk/google to 1.x, indicating the lockfile was not regenerated, risking non-reproducible installs. Please align provider versions or include necessary migrations, update the lockfile via bun install, and verify via typecheck/tests before merging.
Findings
- [BLOCKING] bun.lock:7 — Lockfile not updated:
bun.lockstill pins@ai-sdk/googleto 1.x despitepackage.jsonbump to 3.x
package.jsonupdates"@ai-sdk/google"to^3.0.70, butbun.lockstill lists"@ai-sdk/google": "^1.0.2"under the root workspace dependencies and resolves the package to@ai-sdk/google@1.2.19in thepackagesmap. This mismatch breaks reproducible installs and can mask or introduce CI/local differences.
Evidence:
package.jsondependencies:"@ai-sdk/google": "^3.0.70".bun.lockroot workspace deps show"@ai-sdk/google": "^1.0.2"near the top of the file, and further down thepackagessection lists"@ai-sdk/google": ["@ai-sdk/google@1.2.19", …].
Action: Run bun install to regenerate bun.lock and commit it, ensuring it resolves @ai-sdk/google@^3.x and updates any transitive dependencies accordingly.
- [BLOCKING] package.json:85 — Major version bump of
@ai-sdk/google(1.x → 3.x) with no accompanying migration/code/test updates risks breaking changes
This PR upgrades@ai-sdk/googlefrom^1.0.2to^3.0.70but includes no source or test changes to adapt to potential breaking changes across v2/v3 of the Vercel AI SDK Google provider (e.g., changed option shapes, model identifiers, tool/function-calling behavior, return types). Crossing majors without validating or adjusting call sites can cause typecheck failures or runtime errors after install.
Evidence: Only package.json changes the dependency; no files under src/ or tests/ were modified. This repeats the risk identified in prior iterations, and the latest commit still lacks migration commits.
Action: Either (a) include necessary migration changes and validate via bun run typecheck and tests, or (b) keep @ai-sdk/google on a compatible major until a coordinated migration PR is ready.
- [BLOCKING] package.json:85 — Version skew across
@ai-sdk/*providers (googleat 3.x whileanthropic/openairemain 1.x) likely incompatible
@ai-sdk/googleis bumped to^3.0.70while@ai-sdk/anthropicand@ai-sdk/openairemain at^1.0.2. The AI SDK provider packages often coordinate breaking changes by major version and rely on shared@ai-sdk/provider(-utils)types. Mixing provider majors can lead to peer-dependency conflicts, incompatible types, or subtle runtime differences when used alongside theaipackage (^4.1.5).
Evidence: package.json dependencies show "@ai-sdk/google": "^3.0.70", "@ai-sdk/anthropic": "^1.0.2", "@ai-sdk/openai": "^1.0.2". Prior rounds flagged this; current diff retains the skew without alignment.
Action: Verify compatibility/peerDeps for @ai-sdk/google@3.x with our ai@^4.x and align other providers to compatible majors, or keep all providers on a consistent compatible set.
Inline comments
- package.json:1 — PR description says “1.2.22 → 3.0.70,” but the repo previously pinned
^1.0.2. Please reconcile the description to reflect the actual bump range and summarize any breaking changes or verification you performed.
Spec verification
| Criterion | Status | Evidence |
|---|---|---|
| The PR must include code and/or configuration changes necessary to handle breaking changes introduced by the dependency upgrade. | Not Met | Only package.json was modified to bump @ai-sdk/google to ^3.0.70; no files under src/ or tests/ were changed. See package.json:dependencies and absence of any other diffs. |
| All related provider packages should remain on compatible major versions to avoid peer-dependency/type incompatibilities. | Not Met | package.json shows mixed majors: @ai-sdk/google: ^3.0.70 vs @ai-sdk/anthropic: ^1.0.2 and @ai-sdk/openai: ^1.0.2. See package.json:dependencies. |
8be3a98 to
6792814
Compare
There was a problem hiding this comment.
Independent adversarial review (Chinese-wall)
Reviewer: minsky-reviewer[bot] via openai:gpt-5
Tier: unknown
Prior blocking issues persist. The PR bumps @ai-sdk/google to ^3.0.71 but the lockfile still pins 1.x, breaking reproducible installs. No accompanying code/tests are included to handle potential breaking changes across v2/v3, and version skew remains with @ai-sdk/anthropic and @ai-sdk/openai at 1.x. Please regenerate bun.lock to resolve 3.x, align provider majors or verify cross-version compatibility, and include any necessary migration changes validated by typecheck/tests before merging.
Findings
- [BLOCKING] bun.lock:7 — Lockfile not updated:
bun.lockstill pins@ai-sdk/googleto 1.x despitepackage.jsonbump to 3.x
package.jsonupgrades"@ai-sdk/google"to^3.0.71, butbun.lockstill lists"@ai-sdk/google": "^1.0.2"under the root workspace dependencies and resolves the package to@ai-sdk/google@1.2.19in thepackagesmap.
Evidence:
package.json: dependencies include"@ai-sdk/google": "^3.0.71".bun.lock:1-40(near the top):workspaces[""] .dependencies["@ai-sdk/google"] = "^1.0.2".bun.lockpackages section:"@ai-sdk/google": ["@ai-sdk/google@1.2.19", … ].
This mismatch breaks reproducible installs and can cause CI/local environments to use different versions, masking or introducing failures. Action: run bun install to regenerate bun.lock and commit it so it resolves @ai-sdk/google@^3.x and updates any transitive deps accordingly.
- [BLOCKING] package.json:90 — Major version bump of
@ai-sdk/google(1.x → 3.x) with no accompanying migration/code/test updates risks breaking changes
This PR updates@ai-sdk/googlefrom^1.0.2to^3.0.71inpackage.jsonbut introduces no source or test changes to adapt to potential breaking changes across v2/v3 of the Vercel AI SDK Google provider (e.g., option shapes, model identifiers, tool/function-calling behavior, return types). Crossing multiple majors without validating or adjusting call sites can cause typecheck failures or runtime errors after install.
Evidence:
package.json:"@ai-sdk/google": "^3.0.71".- Repo diff contains no changes to
src/or tests; andbun.lockstill resolves 1.x, indicating no local install/migration was performed.
Requested action: either (a) include the necessary migration changes and demonstrate compatibility via bun run typecheck and tests, or (b) defer the upgrade until a coordinated migration is ready.
- [BLOCKING] package.json:90 — Version skew across
@ai-sdk/*providers (googleat 3.x whileanthropic/openairemain 1.x) likely incompatible
@ai-sdk/googleis bumped to^3.0.71while@ai-sdk/anthropicand@ai-sdk/openairemain at^1.0.2. The AI SDK provider packages in the vercel/ai monorepo often coordinate breaking changes by major version and share@ai-sdk/provider(-utils)types. Mixing provider majors can lead to peer-dependency conflicts, incompatible types, or subtle runtime differences when used alongside theaipackage (hereai@^4.1.5).
Evidence: package.json deps show "@ai-sdk/google": "^3.0.71", "@ai-sdk/anthropic": "^1.0.2", "@ai-sdk/openai": "^1.0.2".
Action: verify compatibility/peerDeps for @ai-sdk/google@3.x with ai@^4.x and align other providers to compatible majors, or keep all providers on a consistent compatible set.
Spec verification
| Criterion | Status | Evidence |
|---|---|---|
| The PR must include code and/or configuration changes necessary to handle breaking changes introduced by the dependency upgrade. | Not Met | Only package.json is changed to bump @ai-sdk/google to ^3.0.71; no src/ or tests/ updates are present. bun.lock also still pins @ai-sdk/google@1.x, indicating no validated migration. See package.json:dependencies and bun.lock top workspace deps. |
| All related provider packages should remain on compatible major versions to avoid peer-dependency/type incompatibilities. | Not Met | package.json shows mixed majors: @ai-sdk/google: ^3.0.71 vs @ai-sdk/anthropic: ^1.0.2 and @ai-sdk/openai: ^1.0.2. See package.json:dependencies lines 90-98. |
| The lockfile should be updated to ensure reproducible installs across environments after dependency changes. | Not Met | bun.lock still declares @ai-sdk/google: ^1.0.2 in the root workspace and resolves to @ai-sdk/google@1.2.19. It has not been regenerated to reflect ^3.0.71 from package.json. See bun.lock: workspaces."".dependencies and packages['@ai-sdk/google'] entries. |
6792814 to
7d3ae12
Compare
There was a problem hiding this comment.
Independent adversarial review (Chinese-wall)
Reviewer: minsky-reviewer[bot] via openai:gpt-5
Tier: unknown
The prior BLOCKING findings remain unresolved. package.json bumps @ai-sdk/google to ^3.0.71, but bun.lock still pins @ai-sdk/google to 1.x, breaking reproducible installs. No migration code or tests accompany the major upgrade, and version skew persists across @ai-sdk/* providers (google at 3.x; anthropic/openai at 1.x). Please regenerate bun.lock, align provider versions or verify compatibility, and include any necessary migration updates validated by typecheck/tests before merging.
Findings
- [BLOCKING] bun.lock:7 — Lockfile not updated:
bun.lockstill pins@ai-sdk/googleto 1.x despitepackage.jsonbump to 3.x
package.jsonupgrades"@ai-sdk/google"to^3.0.71, but the lockfile still lists"@ai-sdk/google": "^1.0.2"under the root workspace dependencies and resolves the package to@ai-sdk/google@1.2.19in thepackagesmap. This breaks reproducible installs and can mask or introduce CI/local differences.
Evidence:
package.json: dependencies include"@ai-sdk/google": "^3.0.71"(seepackage.json:dependencies).bun.locktop-level workspace deps:"@ai-sdk/google": "^1.0.2"(near the top of the file), and further downpackages["@ai-sdk/google"] = ["@ai-sdk/google@1.2.19", …].
Action: Run bun install to regenerate bun.lock and commit it so it resolves @ai-sdk/google@^3.x and updates any transitive deps accordingly.
- [BLOCKING] package.json:98 — Major version bump of
@ai-sdk/google(1.x → 3.x) without migrations/tests risks breaking changes
This PR updates"@ai-sdk/google"from^1.0.2to^3.0.71inpackage.jsonbut contains no accompanying source or test changes to adapt to potential breaking changes across the v2/v3 of the Vercel AI SDK Google provider (e.g., option shapes, model identifiers, function/tool-calling semantics, metadata). Crossing majors without validation can cause typecheck failures or runtime errors after install.
Evidence:
package.json:98-112shows"@ai-sdk/google": "^3.0.71".- No other files under
src/ortests/are modified in this PR;bun.lockstill resolves to 1.x, indicating no local install/migration was performed.
Requested action: Either include necessary migration changes validated by bun run typecheck/tests, or defer the upgrade until a coordinated migration PR is ready.
- [BLOCKING] package.json:100 — Version skew across
@ai-sdk/*providers (googleat 3.x whileanthropic/openairemain 1.x) risks incompatibility
@ai-sdk/googleis bumped to^3.0.71while@ai-sdk/anthropicand@ai-sdk/openairemain at^1.0.2. The AI SDK provider packages in the vercel/ai monorepo often coordinate breaking changes by major version and share@ai-sdk/provider(-utils)types. Mixing provider majors can lead to peer-dependency conflicts, incompatible types, or subtle runtime differences when used alongside theaipackage (^4.1.5).
Evidence: package.json dependencies show "@ai-sdk/google": "^3.0.71", "@ai-sdk/anthropic": "^1.0.2", "@ai-sdk/openai": "^1.0.2" at package.json:98-112.
Action: Verify compatibility/peerDeps for @ai-sdk/google@3.x with our ai@^4.x and align other providers to compatible majors, or keep all providers on a consistent compatible set.
Spec verification
| Criterion | Status | Evidence |
|---|---|---|
| The PR must include code and/or configuration changes necessary to handle breaking changes introduced by the dependency upgrade. | Not Met | package.json updates "@ai-sdk/google": "^3.0.71" (package.json:98-112), but no src/ or tests/ files were changed. bun.lock still pins 1.x, indicating no local install/migration occurred (bun.lock top workspace deps and packages mapping). |
| All related provider packages should remain on compatible major versions to avoid peer-dependency/type incompatibilities. | Not Met | package.json shows mixed majors: @ai-sdk/google: ^3.0.71 vs @ai-sdk/anthropic: ^1.0.2 and @ai-sdk/openai: ^1.0.2 (package.json:98-112). |
| The lockfile should be updated to ensure reproducible installs across environments after dependency changes. | Not Met | bun.lock still lists "@ai-sdk/google": "^1.0.2" under root workspace deps and resolves to @ai-sdk/google@1.2.19 in the packages map, while package.json declares ^3.0.71 (see bun.lock top section and packages["@ai-sdk/google"], and package.json:98-112). |
7d3ae12 to
9bee6ff
Compare
There was a problem hiding this comment.
Independent adversarial review (Chinese-wall)
Reviewer: minsky-reviewer[bot] via openai:gpt-5
Tier: unknown
The prior BLOCKING findings persist in the latest commit. package.json bumps @ai-sdk/google to ^3.0.71, but bun.lock still pins the package to 1.x, breaking reproducible installs. No migration or test updates accompany this major upgrade, and @ai-sdk/anthropic/@ai-sdk/openai remain at 1.x, creating cross-provider version skew that is likely incompatible. Please regenerate the lockfile, align provider versions or document compatibility, and include necessary code/test changes to handle v3 before merging.
Findings
- [BLOCKING] bun.lock:7 — Lockfile not updated:
bun.lockstill pins@ai-sdk/googleto 1.x despitepackage.jsonbump to 3.x
package.jsondeclares"@ai-sdk/google": "^3.0.71", but the lockfile still lists"@ai-sdk/google": "^1.0.2"under the root workspace dependencies and resolves the package to@ai-sdk/google@1.2.19in thepackagesmap. This breaks reproducible installs and can cause CI/local environments to use different versions than intended.
Evidence:
bun.locktop-level workspace deps: see the opening object forworkspaces[""] .dependencieswhere"@ai-sdk/google": "^1.0.2"is present (near the top of the file).bun.lockpackages section: the"@ai-sdk/google": ["@ai-sdk/google@1.2.19", …]entry confirms resolution to 1.x.
Action: Run bun install to regenerate bun.lock and commit it so it resolves @ai-sdk/google@^3.x and updates any transitive dependencies accordingly.
- [BLOCKING] package.json:98 — Major version bump of
@ai-sdk/google(1.x → 3.x) with no accompanying migration/code/test updates risks breaking changes
This PR updates"@ai-sdk/google"from^1.0.2to^3.0.71inpackage.jsonbut introduces no source or test changes to adapt to potential breaking changes across v2/v3 of the Vercel AI SDK Google provider (e.g., option shapes, model identifiers, tool/function-calling semantics, return types). Crossing multiple majors without validating or adjusting call sites can cause typecheck failures or runtime errors after install.
Evidence:
package.json:98-118shows"@ai-sdk/google": "^3.0.71"underdependencies.- No other source or test files changed in this PR; the only modified file is
package.json. The stalebun.lockstill resolving 1.x further suggests no local install/migration was performed.
Requested action: Either include the necessary migration changes validated by bun run typecheck/tests, or defer the upgrade until a coordinated migration is ready.
- [BLOCKING] package.json:100 — Version skew across
@ai-sdk/*providers (googleat 3.x whileanthropic/openairemain 1.x) likely incompatible
@ai-sdk/googleis bumped to^3.0.71while@ai-sdk/anthropicand@ai-sdk/openairemain at^1.0.2. Provider packages in the Vercel AI SDK often coordinate breaking changes by major version and rely on shared@ai-sdk/provider(-utils)types. Mixing provider majors can lead to peer-dependency conflicts, incompatible types, or subtle runtime differences when used alongside theaipackage (^4.1.5).
Evidence:
package.json:98-118shows"@ai-sdk/google": "^3.0.71","@ai-sdk/anthropic": "^1.0.2","@ai-sdk/openai": "^1.0.2".
Action: Verify compatibility/peerDeps for @ai-sdk/google@3.x with ai@^4.x and align other providers to compatible majors, or keep all providers on a consistent compatible set.
Spec verification
| Criterion | Status | Evidence |
|---|---|---|
| The PR must include code and/or configuration changes necessary to handle breaking changes introduced by the dependency upgrade. | Not Met | Only package.json is changed to bump @ai-sdk/google to ^3.0.71 (package.json:98-118). No src/ or tests/ updates are present. bun.lock still pins 1.x, indicating no validated migration. |
| All related provider packages should remain on compatible major versions to avoid peer-dependency/type incompatibilities. | Not Met | package.json:98-118 shows mixed majors: @ai-sdk/google: ^3.0.71 vs @ai-sdk/anthropic: ^1.0.2 and @ai-sdk/openai: ^1.0.2. |
| The lockfile should be updated to ensure reproducible installs across environments after dependency changes. | Not Met | bun.lock still declares @ai-sdk/google: ^1.0.2 under the root workspace deps and resolves to @ai-sdk/google@1.2.19 in the packages map, while package.json declares ^3.0.71 (see bun.lock top section and packages["@ai-sdk/google"]). |
9bee6ff to
506cb21
Compare
There was a problem hiding this comment.
Independent adversarial review (Chinese-wall)
Reviewer: minsky-reviewer[bot] via openai:gpt-5
Tier: unknown
Prior blocking findings remain unresolved. The lockfile still pins @ai-sdk/google to 1.x despite package.json declaring ^3.0.71, leading to non-reproducible installs. Additionally, this PR performs a major upgrade of @ai-sdk/google (1.x → 3.x) without any migration or validation changes, and introduces version skew across @ai-sdk providers (google@3.x vs anthropic/openai@1.x), risking peer/type incompatibilities. Please regenerate bun.lock to reflect the new version and either include the necessary migration/compatibility updates (and validate via typecheck/tests) or align provider versions to a compatible set before merging.
Findings
- [BLOCKING] bun.lock:7 — Lockfile not updated: bun.lock still pins
@ai-sdk/googleto 1.x despitepackage.jsonbump to 3.x
package.jsondeclares"@ai-sdk/google": "^3.0.71", but the lockfile still lists"@ai-sdk/google": "^1.0.2"under the root workspace dependencies and resolves the package to@ai-sdk/google@1.2.19in thepackagesmap. This mismatch breaks reproducible installs and can cause CI/local environments to use different versions than intended.
Evidence:
bun.lock(top section):workspaces[""] .dependencies["@ai-sdk/google"] = "^1.0.2"(near the beginning of the file).bun.lock(packages map):"@ai-sdk/google": ["@ai-sdk/google@1.2.19", …].package.json: dependencies include"@ai-sdk/google": "^3.0.71".
Action: Run your package manager (e.g., bun install) to regenerate bun.lock and commit it so it resolves @ai-sdk/google@^3.x and updates any transitive deps accordingly.
- [BLOCKING] package.json:98 — Major version bump of
@ai-sdk/google(1.x → 3.x) with no accompanying migration/code/test updates risks breaking changes
This PR updates@ai-sdk/googlefrom^1.0.2to^3.0.71inpackage.jsonbut introduces no source or test changes to adapt to potential breaking changes across v2/v3 of the Vercel AI SDK Google provider (e.g., option shapes, model identifiers, tool/function-calling behavior, provider-utils versions). Crossing multiple majors without validating or adjusting call sites can cause typecheck failures or runtime errors after install.
Evidence:
package.json:98-120shows"@ai-sdk/google": "^3.0.71"underdependencies.- No other files under
src/ortests/were changed in this PR; the only modified file in the diff ispackage.json. The stalebun.lockstill resolving1.xindicates no local install/migration was performed.
Requested action: either (a) include the necessary migration changes validated by bun run typecheck and tests, or (b) defer the upgrade until a coordinated migration is ready.
- [BLOCKING] package.json:100 — Version skew across
@ai-sdk/*providers (googleat 3.x whileanthropic/openairemain 1.x) likely incompatible
@ai-sdk/googleis bumped to^3.0.71while@ai-sdk/anthropicand@ai-sdk/openairemain at^1.0.2. The Vercel AI SDK provider packages often coordinate breaking changes by major version and rely on shared@ai-sdk/provider(-utils)types. Mixing provider majors can cause peer-dependency conflicts, incompatible types, or subtle runtime differences when used alongside theaipackage (^4.1.5).
Evidence: package.json dependencies show:
"@ai-sdk/google": "^3.0.71""@ai-sdk/anthropic": "^1.0.2""@ai-sdk/openai": "^1.0.2"
Action: Verify the compatibility/peerDependencies for @ai-sdk/google@3.x with our ai@^4.x and align other providers to compatible majors, or keep all providers on a consistent compatible set.
Spec verification
| Criterion | Status | Evidence |
|---|---|---|
| The PR must include code and/or configuration changes necessary to handle breaking changes introduced by the dependency upgrade. | Not Met | Only package.json was modified to bump @ai-sdk/google to ^3.0.71 (package.json:98-120); no src/ or tests/ updates are present. bun.lock still pins @ai-sdk/google to 1.x (see bun.lock top workspace deps and packages map), indicating no validated migration. |
| All related provider packages should remain on compatible major versions to avoid peer-dependency/type incompatibilities. | Not Met | package.json shows mixed majors: @ai-sdk/google: ^3.0.71 vs @ai-sdk/anthropic: ^1.0.2 and @ai-sdk/openai: ^1.0.2 (package.json:98-120). |
| The lockfile should be updated to ensure reproducible installs across environments after dependency changes. | Not Met | bun.lock still lists @ai-sdk/google: ^1.0.2 under the root workspace deps and resolves to @ai-sdk/google@1.2.19 in the packages map, while package.json declares ^3.0.71 (see bun.lock header and packages["@ai-sdk/google"]). |
506cb21 to
a5fb9bb
Compare
There was a problem hiding this comment.
Independent adversarial review (Chinese-wall)
Reviewer: minsky-reviewer[bot] via openai:gpt-5
Tier: unknown
The prior blocking issues remain unresolved. package.json now bumps @ai-sdk/google to ^3.0.72, but bun.lock still pins 1.x and has not been regenerated, breaking reproducibility. Additionally, this is a major upgrade with no accompanying migration or validation changes, and the @ai-sdk/* providers are now on mixed majors (google 3.x vs anthropic/openai 1.x), which risks incompatibilities. Please regenerate the lockfile, align provider versions or verify compatibility, and include any necessary code/test updates to handle breaking changes before merging.
Findings
- [BLOCKING] bun.lock:1 — Lockfile not updated:
bun.lockstill pins@ai-sdk/googleto 1.x despitepackage.jsonbump to 3.x
package.jsondeclares"@ai-sdk/google": "^3.0.72", but the lockfile still lists"@ai-sdk/google": "^1.0.2"under the root workspace deps and resolves the package to@ai-sdk/google@1.2.19in thepackagesmap. This mismatch breaks reproducible installs and can cause CI/local environments to use different versions than intended.
Evidence (from bun.lock):
- Top workspace deps:
workspaces[""] .dependencies["@ai-sdk/google"] = "^1.0.2"(near the start of the file). - Packages resolution:
"@ai-sdk/google": ["@ai-sdk/google@1.2.19", …](see thepackagessection).
Action: Run your package manager (bun install) to regenerate bun.lock and commit it so it resolves @ai-sdk/google@^3.x and updates transitives accordingly.
- [BLOCKING] package.json:107 — Major version bump of
@ai-sdk/google(1.x → 3.x) with no accompanying migration/code/test updates risks breaking changes
This PR upgrades@ai-sdk/googlefrom^1.0.2to^3.0.72inpackage.jsonbut introduces no source or test changes to adapt to potential breaking changes across v2/v3 of the Vercel AI SDK Google provider (e.g., option shapes, model identifiers, tool/function-calling behavior, provider-utils versions). Crossing multiple majors without validating or adjusting call sites can cause typecheck failures or runtime errors after install.
Evidence:
package.json:107-137now shows"@ai-sdk/google": "^3.0.72"while other provider deps remain unchanged.- Repo diff shows no changes under
src/or tests in this PR; and thebun.lockstill resolves 1.x, indicating no local install/migration was performed.
Requested action: either (a) include the necessary migration changes validated by bun run typecheck and tests, or (b) defer the upgrade until a coordinated migration is ready.
- [BLOCKING] package.json:109 — Version skew across
@ai-sdk/*providers (googleat 3.x whileanthropic/openairemain 1.x) likely incompatible
@ai-sdk/googleis bumped to^3.0.72while@ai-sdk/anthropicand@ai-sdk/openairemain at^1.0.2. The Vercel AI SDK provider packages often coordinate breaking changes by major version and rely on shared@ai-sdk/provider(-utils)types. Mixing provider majors can lead to peer-dependency conflicts, incompatible types, or subtle runtime differences when used alongside theaipackage (^4.x).
Evidence: package.json dependencies show:
"@ai-sdk/google": "^3.0.72""@ai-sdk/anthropic": "^1.0.2""@ai-sdk/openai": "^1.0.2"
Action: Verify the compatibility/peerDependencies for @ai-sdk/google@3.x with our ai@^4.x and align other providers to compatible majors, or keep all providers on a consistent compatible set.
Spec verification
| Criterion | Status | Evidence |
|---|---|---|
| The PR must include code and/or configuration changes necessary to handle breaking changes introduced by the dependency upgrade. | Not Met | Only package.json was modified to bump @ai-sdk/google to ^3.0.72 (package.json:107-137); no src/ or tests were changed. bun.lock still pins @ai-sdk/google to 1.x (bun.lock top workspace deps and packages map). |
| All related provider packages should remain on compatible major versions to avoid peer-dependency/type incompatibilities. | Not Met | package.json shows mixed majors: @ai-sdk/google: ^3.0.72 vs @ai-sdk/anthropic: ^1.0.2 and @ai-sdk/openai: ^1.0.2 (package.json:107-137). |
| The lockfile should be updated to ensure reproducible installs across environments after dependency changes. | Not Met | bun.lock top-level workspace deps still list "@ai-sdk/google": "^1.0.2" and the packages resolution maps to @ai-sdk/google@1.2.19, while package.json declares ^3.0.72 (bun.lock: header and packages["@ai-sdk/google"]). |
a5fb9bb to
5c5b1a2
Compare
There was a problem hiding this comment.
Independent adversarial review (Chinese-wall)
Reviewer: minsky-reviewer[bot] via openai:gpt-5
Tier: unknown
The prior blocking issues remain unresolved. package.json now bumps @ai-sdk/google to ^3.0.72, but bun.lock still pins 1.x and resolves @ai-sdk/google@1.2.19, breaking reproducible installs. Additionally, this major upgrade (1.x → 3.x) was made without any migration or validation changes in src/ or tests, and there is version skew across @ai-sdk/* providers (google@3.x vs anthropic/openai@1.x) that may cause incompatibilities. Please regenerate the lockfile, align provider versions or document compatibility, and include any required code/test migrations validated by typecheck and CI before merging.
Findings
- [BLOCKING] bun.lock:1 — Lockfile not updated —
bun.lockstill pins@ai-sdk/googleto 1.x despitepackage.jsonbump to 3.x
package.jsonnow declares"@ai-sdk/google": "^3.0.72", but the lockfile still records the root workspace dependency as"@ai-sdk/google": "^1.0.2"and resolves the package to@ai-sdk/google@1.2.19in thepackagesmap.
Evidence from bun.lock:
- Top workspace deps:
workspaces[""] .dependencies["@ai-sdk/google"] = "^1.0.2"(near the start of the file). - Packages section entry:
"@ai-sdk/google": ["@ai-sdk/google@1.2.19", …].
This mismatch breaks reproducible installs and can lead to CI/local divergence. Action: run your package manager (e.g., bun install) to regenerate bun.lock so it resolves @ai-sdk/google@^3.x, and commit the updated lockfile.
- [BLOCKING] package.json:119 — Major version bump of
@ai-sdk/google(1.x → 3.x) without coordinated migrations or validation
This PR upgrades@ai-sdk/googlefrom^1.0.2to^3.0.72but includes no source or test changes to adapt to potential breaking changes across v2/v3 of the Vercel AI SDK Google provider (e.g., option shapes, model IDs, tool/function calling behavior, return types, provider-utils versions). Crossing multiple majors without validating or adjusting call sites can cause type-check failures or runtime errors after install. Prior rounds flagged this; the current diff still contains no code/test updates and the lockfile still resolves 1.x, indicating no local install/migration was performed.
Evidence:
package.json:dependenciesshows"@ai-sdk/google": "^3.0.72"with@ai-sdk/anthropicand@ai-sdk/openaiunchanged.- No changes in
src/ortests/directories in this PR.
Requested action: either (a) include necessary migration changes and demonstrate compatibility via bun run typecheck and tests, or (b) defer the upgrade until a coordinated migration is ready.
- [BLOCKING] package.json:118 — Version skew across
@ai-sdk/*providers —google@3.xwhileanthropic/openairemain1.x
@ai-sdk/googleis bumped to^3.0.72while@ai-sdk/anthropicand@ai-sdk/openairemain at^1.0.2. The Vercel AI SDK provider packages often coordinate breaking changes by major version and rely on shared@ai-sdk/provider(-utils)types. Mixing provider majors can lead to peer-dependency conflicts, incompatible types, or subtle runtime differences when used alongsideai@^4.x.
Evidence (package.json:dependencies):
"@ai-sdk/google": "^3.0.72""@ai-sdk/anthropic": "^1.0.2""@ai-sdk/openai": "^1.0.2"
Action: verify the compatibility/peerDependencies for @ai-sdk/google@3.x with your ai version and align other providers to compatible majors, or keep all providers on a consistent, compatible set.
Spec verification
| Criterion | Status | Evidence |
|---|---|---|
| The PR must include code and/or configuration changes necessary to handle breaking changes introduced by the dependency upgrade. | Not Met | Only package.json was modified to bump @ai-sdk/google to ^3.0.72 (package.json:dependencies). No src/ or tests/ files changed, and bun.lock still resolves @ai-sdk/google@1.x (bun.lock top workspace deps and packages map). |
| All related provider packages should remain on compatible major versions to avoid peer-dependency/type incompatibilities. | Not Met | package.json:dependencies shows mixed majors: @ai-sdk/google: ^3.0.72 vs @ai-sdk/anthropic: ^1.0.2 and @ai-sdk/openai: ^1.0.2. No alignment or compatibility notes provided. |
| The lockfile should be updated to ensure reproducible installs across environments after dependency changes. | Not Met | bun.lock still lists @ai-sdk/google: ^1.0.2 under root workspace deps and resolves to @ai-sdk/google@1.2.19, while package.json declares ^3.0.72 (bun.lock header and packages["@ai-sdk/google"]). |
5c5b1a2 to
10f8996
Compare
There was a problem hiding this comment.
Independent adversarial review (Chinese-wall)
Reviewer: minsky-reviewer[bot] via openai:gpt-5
Tier: unknown
The prior blocking issues remain. package.json now bumps @ai-sdk/google to ^3.0.72, but bun.lock still pins the root workspace to ^1.0.2 and resolves @ai-sdk/google@1.2.19, breaking reproducible installs. No source or test migrations accompany this multi-major upgrade, and other @ai-sdk providers remain on 1.x, creating version skew that may cause incompatibilities. Please regenerate the lockfile, align provider majors or document verified compatibility, and include any necessary code/test updates to handle breaking changes before merging.
Findings
- [BLOCKING] bun.lock:1 — Lockfile not updated —
bun.lockstill pins@ai-sdk/googleto 1.x despitepackage.jsonbump to 3.x
package.jsondeclares"@ai-sdk/google": "^3.0.72", but the lockfile still records the root workspace dependency as"@ai-sdk/google": "^1.0.2"and resolves the package to@ai-sdk/google@1.2.19.
Evidence from bun.lock:
- Top workspace deps near the start:
workspaces[""] .dependencies["@ai-sdk/google"] = "^1.0.2"(seebun.lock:1-30). - Packages section:
"@ai-sdk/google": ["@ai-sdk/google@1.2.19", …](search for"@ai-sdk/google": ["@ai-sdk/google@1.2.19").
This mismatch breaks reproducible installs and can lead to CI/local divergence. Action: run your package manager (e.g., bun install) to regenerate bun.lock so it resolves @ai-sdk/google@^3.x, and commit the updated lockfile.
- [BLOCKING] package.json:119 — Major version bump of
@ai-sdk/google(1.x → 3.x) without coordinated migrations or validation
This PR upgrades@ai-sdk/googlefrom^1.0.2to^3.0.72but includes no source or test changes to adapt to potential breaking changes across v2/v3 of the Vercel AI SDK Google provider (e.g., option shapes, model IDs, tool/function calling behavior, return types, provider-utils versions). Crossing multiple majors without validating or adjusting call sites can cause type-check failures or runtime errors after install. The stale lockfile resolving1.xalso indicates no local install/migration was performed.
Evidence:
package.json:dependenciesshows"@ai-sdk/google": "^3.0.72"while the rest of the repo remains unchanged (src/and tests are untouched in this PR).bun.locktop-level workspace deps andpackagesmap still point to@ai-sdk/google@1.x.
Requested action: either (a) include necessary migration changes and demonstrate compatibility via bun run typecheck and tests, or (b) defer the upgrade until a coordinated migration is ready.
- [BLOCKING] package.json:118 — Version skew across
@ai-sdk/*providers —google@3.xwhileanthropic/openairemain1.x
@ai-sdk/googleis bumped to^3.0.72while@ai-sdk/anthropicand@ai-sdk/openairemain at^1.0.2. The Vercel AI SDK provider packages often coordinate breaking changes by major version and rely on shared@ai-sdk/provider(-utils)types. Mixing provider majors can lead to peer-dependency conflicts, incompatible types, or subtle runtime differences when used alongsideai@^4.x.
Evidence (package.json:dependencies):
"@ai-sdk/google": "^3.0.72""@ai-sdk/anthropic": "^1.0.2""@ai-sdk/openai": "^1.0.2"
Action: verify the compatibility/peerDependencies for @ai-sdk/google@3.x with your ai version and align other providers to compatible majors, or keep all providers on a consistent, compatible set.
Spec verification
| Criterion | Status | Evidence |
|---|---|---|
| The PR must include code and/or configuration changes necessary to handle breaking changes introduced by the dependency upgrade. | Not Met | Only package.json was modified to bump @ai-sdk/google to ^3.0.72 (package.json:dependencies). No src/ or tests were changed. bun.lock still pins @ai-sdk/google to 1.x (bun.lock workspace deps and packages map). |
| All related provider packages should remain on compatible major versions to avoid peer-dependency/type incompatibilities. | Not Met | package.json:dependencies shows mixed majors: @ai-sdk/google: ^3.0.72 vs @ai-sdk/anthropic: ^1.0.2 and @ai-sdk/openai: ^1.0.2. No alignment or compatibility notes provided. |
| The lockfile should be updated to ensure reproducible installs across environments after dependency changes. | Not Met | bun.lock still lists "@ai-sdk/google": "^1.0.2" under root workspace deps and resolves to @ai-sdk/google@1.2.19, while package.json declares ^3.0.72 (bun.lock header and packages["@ai-sdk/google"]). |
10f8996 to
4c79da2
Compare
There was a problem hiding this comment.
Independent adversarial review (Chinese-wall)
Reviewer: minsky-reviewer[bot] via openai:gpt-5
Tier: 3
Prior blocking issues persist. package.json now bumps @ai-sdk/google to ^3.0.75, but bun.lock still pins the root to ^1.0.2 and resolves @ai-sdk/google@1.2.19, breaking reproducible installs. Additionally, the major bump from 1.x→3.x is not accompanied by any migration or validation changes in source/tests, and provider versions are now skewed (google@3.x while anthropic/openai remain 1.x), risking incompatibilities. Please regenerate the lockfile, align provider majors or document compatibility, and include any required code/test updates to handle breaking changes before merging.
Findings
- [BLOCKING] bun.lock:1 — Lockfile not updated —
bun.lockstill pins@ai-sdk/googleto 1.x despitepackage.jsonbump to 3.x
package.jsondeclares"@ai-sdk/google": "^3.0.75", but the lockfile still records the root workspace dependency as"@ai-sdk/google": "^1.0.2"and resolves the package to@ai-sdk/google@1.2.19.
Evidence:
bun.locktop workspace deps: the opening object showsworkspaces[""] .dependencies["@ai-sdk/google"] = "^1.0.2"(seebun.lock:1-30).bun.lockpackages map: entry for"@ai-sdk/google": ["@ai-sdk/google@1.2.19", …]confirms resolution to 1.x.package.jsonnow lists"@ai-sdk/google": "^3.0.75"underdependencies.
This mismatch breaks reproducible installs and can cause CI/local environments to pull different versions than intended. Action: run your package manager (e.g., bun install) to regenerate bun.lock so it resolves @ai-sdk/google@^3.x, and commit the updated lockfile.
- [BLOCKING] package.json:140 — Major version bump of
@ai-sdk/google(1.x → 3.x) without migrations/tests risks breaking changes
This PR upgrades@ai-sdk/googlefrom^1.0.2to^3.0.75inpackage.jsonbut introduces no source or test changes to adapt to potential breaking changes across v2/v3 of the Vercel AI SDK Google provider (e.g., option shapes, model identifiers, function/tool-calling semantics, provider-utils versions). Crossing multiple majors without validating or adjusting call sites can cause typecheck failures or runtime errors after install.
Evidence:
package.json:dependenciesnow shows"@ai-sdk/google": "^3.0.75"while no other repo files undersrc/or tests were changed in this PR.- The stale
bun.lockstill resolving1.xfurther suggests no local install/migration was performed.
Requested action: either (a) include the necessary migration changes validated by bun run typecheck and tests, or (b) defer the upgrade until a coordinated migration is ready.
- [BLOCKING] package.json:139 — Version skew across
@ai-sdk/*providers —google@3.xwhileanthropic/openairemain1.x
@ai-sdk/googleis bumped to^3.0.75while@ai-sdk/anthropicand@ai-sdk/openairemain at^1.0.2. Provider packages in the Vercel AI SDK ecosystem often coordinate breaking changes by major version and rely on shared@ai-sdk/provider(-utils)types. Mixing provider majors can lead to peer-dependency conflicts, incompatible types, or subtle runtime differences when used alongsideai@^4.x.
Evidence (package.json:dependencies):
"@ai-sdk/google": "^3.0.75""@ai-sdk/anthropic": "^1.0.2""@ai-sdk/openai": "^1.0.2"
Action: verify compatibility/peerDeps for @ai-sdk/google@3.x with our ai@^4.x and align other providers to compatible majors, or keep all providers on a consistent, compatible set.
Spec verification
| Criterion | Status | Evidence |
|---|---|---|
| The PR must include code and/or configuration changes necessary to handle breaking changes introduced by the dependency upgrade. | Not Met | Only package.json was modified to bump @ai-sdk/google to ^3.0.75 (package.json:dependencies). No src/ or tests were changed. bun.lock still pins @ai-sdk/google to 1.x (see bun.lock top workspace deps and packages map). |
| All related provider packages should remain on compatible major versions to avoid peer-dependency/type incompatibilities. | Not Met | package.json:dependencies shows mixed majors: @ai-sdk/google: ^3.0.75 vs @ai-sdk/anthropic: ^1.0.2 and @ai-sdk/openai: ^1.0.2. No alignment or compatibility notes provided. |
| The lockfile should be updated to ensure reproducible installs across environments after dependency changes. | Not Met | bun.lock still declares @ai-sdk/google: ^1.0.2 under the root workspace deps and resolves to @ai-sdk/google@1.2.19, while package.json declares ^3.0.75 (see bun.lock header and packages["@ai-sdk/google"]). |
Bumps [@ai-sdk/google](https://github.com/vercel/ai/tree/HEAD/packages/google) from 1.2.22 to 3.0.75. - [Release notes](https://github.com/vercel/ai/releases) - [Changelog](https://github.com/vercel/ai/blob/@ai-sdk/google@3.0.75/packages/google/CHANGELOG.md) - [Commits](https://github.com/vercel/ai/commits/@ai-sdk/google@3.0.75/packages/google) --- updated-dependencies: - dependency-name: "@ai-sdk/google" dependency-version: 3.0.64 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
4c79da2 to
9789701
Compare
There was a problem hiding this comment.
Independent adversarial review (Chinese-wall)
Reviewer: minsky-reviewer[bot] via openai:gpt-5
Tier: 3
The prior blocking findings remain unresolved. package.json bumps @ai-sdk/google to ^3.0.75, but bun.lock still pins the root workspace to ^1.0.2 and resolves @ai-sdk/google@1.2.19, breaking reproducible installs. Additionally, this major upgrade ships without any migration or validation changes in src/tests, and the @ai-sdk/* providers are now on mixed major versions (google 3.x vs anthropic/openai 1.x), increasing incompatibility risk. Please regenerate the lockfile, align provider versions or verify cross-compatibility, and include any necessary code/test updates to handle breaking changes before merging.
Findings
- [BLOCKING] bun.lock:1 — Lockfile not updated —
bun.lockstill pins@ai-sdk/googleto 1.x despitepackage.jsonbump to 3.x
package.jsonnow declares"@ai-sdk/google": "^3.0.75", but the lockfile’s root workspace still lists"@ai-sdk/google": "^1.0.2"and resolves the package to@ai-sdk/google@1.2.19.
Evidence (from bun.lock):
- Top workspace deps near the start:
workspaces[""] .dependencies["@ai-sdk/google"] = "^1.0.2"(seebun.lock:1-30). - Packages map:
"@ai-sdk/google": ["@ai-sdk/google@1.2.19", …]confirms 1.x resolution.
This mismatch breaks reproducible installs and can cause CI/local divergence. Action: run your package manager (e.g., bun install) to regenerate bun.lock so it resolves @ai-sdk/google@^3.x, and commit the updated lockfile.
- [BLOCKING] package.json:137 — Major version bump of
@ai-sdk/google(1.x → 3.x) without coordinated migrations/tests risks breaking changes
This PR upgrades@ai-sdk/googlefrom^1.0.2to^3.0.75inpackage.jsonbut introduces no source or test changes to adapt to potential breaking changes across v2/v3 of the Vercel AI SDK Google provider (e.g., options/model identifiers, tool/function-calling semantics, streaming behavior, provider-utils versions). Crossing majors without validating or adjusting call sites can cause typecheck failures or runtime errors after install.
Evidence:
package.json:dependenciesnow shows"@ai-sdk/google": "^3.0.75"while no other repo files undersrc/or tests changed in this PR.bun.lockstill resolves@ai-sdk/google@1.x, suggesting no local install/migration was performed.
Requested action: either (a) include necessary migration changes and validate via bun run typecheck/tests, or (b) defer the upgrade until a coordinated migration PR is ready.
- [BLOCKING] package.json:136 — Version skew across
@ai-sdk/*providers —google@3.xwhileanthropic/openairemain1.x
@ai-sdk/googleis bumped to^3.0.75while@ai-sdk/anthropicand@ai-sdk/openairemain at^1.0.2. Provider packages in the Vercel AI SDK share common@ai-sdk/provider(-utils)layers and coordinate breaking changes by major version. Mixing provider majors can lead to peer-dependency/type incompatibilities or subtle runtime differences with ourai@^4.xdependency.
Evidence (package.json:dependencies):
"@ai-sdk/google": "^3.0.75""@ai-sdk/anthropic": "^1.0.2""@ai-sdk/openai": "^1.0.2"
Action: verify compatibility/peerDeps for @ai-sdk/google@3.x with ai@^4.x and align other providers to compatible majors, or keep all providers on a consistent compatible set.
Spec verification
| Criterion | Status | Evidence |
|---|---|---|
| The PR must include code and/or configuration changes necessary to handle breaking changes introduced by the dependency upgrade. | Not Met | Only package.json changed to bump @ai-sdk/google to ^3.0.75 (package.json:dependencies), with no src/ or tests updates. bun.lock still resolves @ai-sdk/google@1.x (bun.lock top workspace deps and packages map), indicating no validated migration. |
| All related provider packages should remain on compatible major versions to avoid peer-dependency/type incompatibilities. | Not Met | package.json:dependencies shows mixed majors: @ai-sdk/google: ^3.0.75 vs @ai-sdk/anthropic: ^1.0.2 and @ai-sdk/openai: ^1.0.2. No alignment or compatibility notes provided. |
| The lockfile should be updated to ensure reproducible installs across environments after dependency changes. | Not Met | bun.lock still lists @ai-sdk/google: ^1.0.2 under root workspace deps and resolves to @ai-sdk/google@1.2.19, while package.json declares ^3.0.75 (see bun.lock header and packages["@ai-sdk/google"]). |
Bumps @ai-sdk/google from 1.2.22 to 3.0.75.
Release notes
Sourced from @ai-sdk/google's releases.
Changelog
Sourced from @ai-sdk/google's changelog.
... (truncated)
Commits
f8d3003Version Packages (#15356)ab15576Backport: feat(google): update Interactions API implementation to cater for u...2e7664bVersion Packages (#15315)3ca0daaBackport: fix(provider/google): supportfunctionCall.idwhen returned by Ge...e2f1bcaVersion Packages (#15216)bb1eb98Backport: feat(google): add fileData support to embedding model (#15204)d5bbdbcVersion Packages (#15174)b3642feBackport: feat(provider/google): support cancelling long-running Interactions...e70aab9Version Packages (#15138)59530cfBackport: fix(google): emit no-args streaming tool calls and preserve thought...Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for
@ai-sdk/googlesince your current version.