Skip to content

fix(ci): cap broken AI SDK v6 patches - #2141

Merged
cjol merged 1 commit into
mainfrom
fix/exclude-broken-ai6-patches
Aug 24, 2026
Merged

fix(ci): cap broken AI SDK v6 patches#2141
cjol merged 1 commit into
mainfrom
fix/exclude-broken-ai6-patches

Conversation

@mattzcarey

Copy link
Copy Markdown
Contributor

Summary

Temporarily cap the AI SDK v6 compatibility lane at the last known-good patch:

>=6.0.0 <6.0.260

This changes only the throwaway dependency range written by scripts/use-ai-sdk-major.mjs. Published peer ranges and the repository lockfile are unchanged.

Why

The compatibility workflow uses pnpm install --no-frozen-lockfile, so ai@^6.0.0 began resolving newly published patches during existing PR runs.

Observed behavior:

  • ai@6.0.259: Think Workers 886/886
  • ai@6.0.260: 16 deterministic failures in client-tool and HITL tests
  • ai@6.0.261: same 16 failures
  • ai@6.0.263: same 16 failures

The failure reproduces on current main, so it is not caused by the PR that first exposed it. The affected tool results remain at input-available, and RPC client-tool executors are not invoked.

The cap keeps testing the supported v6 line without silently dropping AI v6 coverage. It should be removed or advanced when an upstream patch restores the affected behavior.

Verification

  • compatibility script rewrites every targeted ai dependency to >=6.0.0 <6.0.260
  • pnpm resolves that range to ai@6.0.259
  • exact Think Workers compatibility lane: 44 files, 886 tests passed
  • script syntax, Oxfmt, Oxlint, and git diff --check pass

@changeset-bot

changeset-bot Bot commented Aug 21, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: cd9b798

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Aug 21, 2026

Copy link
Copy Markdown

Open in StackBlitz

agents

npm i https://pkg.pr.new/agents@2141

@cloudflare/ai-chat

npm i https://pkg.pr.new/@cloudflare/ai-chat@2141

@cloudflare/codemode

npm i https://pkg.pr.new/@cloudflare/codemode@2141

hono-agents

npm i https://pkg.pr.new/hono-agents@2141

@cloudflare/shell

npm i https://pkg.pr.new/@cloudflare/shell@2141

@cloudflare/think

npm i https://pkg.pr.new/@cloudflare/think@2141

@cloudflare/voice

npm i https://pkg.pr.new/@cloudflare/voice@2141

@cloudflare/worker-bundler

npm i https://pkg.pr.new/@cloudflare/worker-bundler@2141

commit: cd9b798

@cjol
cjol merged commit dab4e75 into main Aug 24, 2026
7 checks passed
@cjol
cjol deleted the fix/exclude-broken-ai6-patches branch August 24, 2026 09:13
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