Skip to content

chore(deps): bump workers-ai-provider from 4.0.0 to 4.0.1 - #2796

Merged
simple-agent-manager[bot] merged 4 commits into
mainfrom
dependabot/npm_and_yarn/workers-ai-provider-4.0.1
Nov 18, 2026
Merged

simple-agent-manager[bot] merged 4 commits into
mainfrom
dependabot/npm_and_yarn/workers-ai-provider-4.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Bumps workers-ai-provider from 4.0.0 to 4.0.1.

Release notes

Sourced from workers-ai-provider's releases.

workers-ai-provider@4.0.1

Patch Changes

  • #675 0146296 Thanks @​mattzcarey! - Deprecate both packages. Use createAI from agents/models/ai-sdk, and ai-search-provider for AI Search. Nothing changes at runtime.
Commits
  • f451cc8 Merge pull request #677 from cloudflare/changeset-release/main
  • 70b5fa4 Version Packages
  • 56c548a Merge pull request #675 from cloudflare/deprecate-providers-for-agents
  • b7fa22e chore: deprecate workers-ai-provider's AI Search in favour of ai-search-provider
  • 216177b chore: deprecate the credentials and REST modes too, now createAI takes an ac...
  • acd2dbd chore: deprecation notes match createAI's catalog ids, BYOK options and resume
  • 0146296 chore: deprecate binding paths superseded by createAI from agents/models/ai-sdk
  • 0e5bc3b Merge pull request #630 from cloudflare/changeset-release/main
  • 504f378 Version Packages
  • ee879a6 Merge pull request #658 from superhighfives/fix/unified-gemini-thought-signat...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

SAM maintenance state

Owner task 01M7J4DRVF3H4CF5Y5905NJ2AW. Fresh reconciliation17:04Z: zero competing URL+branch owners; all association pages show sole self ownership; no submitted reviews or human holds. Candidate d6c124a9af226984a8a98c989bc7924dd0262e07 normally merges current main 10ec60b9c106345cc75f185d0261a0c98eced770, required because staging lease records now use queue version2 and old workflows refuse them. Net diff remains API manifest and provider lock entries only (2files,6insertions/6deletions). Original PR/branch/history retained; no force pushes/default changes/evidence commits. #2795 shipped; #2797–#2802 remain serially queued.

Upstream compatibility evidence

Official release, annotated tag bf2919fa7f696502d150b6e62e178905c316bf77 dereferenced to f451cc88a2124940fcb08e4b2145b64f884edd43; comparison inspected. Provider changes add deprecation documentation/JSDoc and version/changelog metadata. Existing createWorkersAI binding API remains available. SAM consumers are lazy-loaded TTS text cleanup and summarization in apps/api/src/services/tts-text.ts; no provider migration is needed for this patch. Peer graph remains @ai-sdk/provider4.0.34 + ai7.0.137; no scheduling/resource/auth/coverage behavior changes intended.

Validation and Specialist Review Evidence

Previous candidate7949e28188a5dfba160510fc2b21f8d65671e5ab passed install/build18/lint22/typecheck36/TTS72, current-body preflight, Cloudflare review and full CI 43895743429 including requiredDOW133423204849 and PR Evidence; 43895248087, Sonar/E2ESmoke/CodSpeed alsoPASS. New integration candidate d6c124a frozen installPASS, build18/18PASS and focused TTS72/72PASS. Updated-head Cloudflare/implementation review /root/review_2796 PASS with no findings; live verification subsequently passed (evidence below); automatic PR CI 43914868435 SUCCESS including required Durable Object Workers133493882530; E2E43914868599, CodSpeed43914868483 and SonarCloud PASS. No pending/failed checks; completed CI event subscription cancelled. Earlier lease wakes consumed or cancelled. Reconciled head/checks immediately after registration. No dependency implementation changed during main merge. Real staging/feature verification and cleanup subsequently passed. PR completion remains blocked only by the shared noise gate and final release reconciliation; prior-head success alone is insufficient.

CodeRabbit Review Evidence

Label requested15:19Z; label workflow43895121004 skipped for this Dependabot author. One trusted-main fallback 43895261415 SUCCESS, posting the request through the configured human identity at15:23:30Z. CodeRabbit replied15:23:38Z Review skipped / Action not completed; its updated status says the bot has no assigned review seat. No submitted review or findings. Best effort complete on explicit skip; no retrigger/seat change/waiver. Retained label requested incremental review on d6c124a; CodeRabbit check133466211716 and updated comment explicitly skipped: automatic reviews are now disabled on this repository. The earlier trusted request had separately skipped for bot-seat eligibility. Best effort ends immediately; no retrigger. Any actual review arriving before merge remains binding. CI/review fallback f4af5420-d735-4e0f-9dac-15279041bcae consumed; completed CI subscription cancelled. Earlier PR review/comment subscription 52242550-7bbc-47a2-9413-e88406405ffe expired18:00Z; fresh review/comment reconciliation remains required before merge. Reconcile current head/checks on resume. All deployment/lease waits are consumed or cancelled; no machine work remains pending.

Staging Verification Evidence

HELD: real provider verification and cleanup PASS; shared staging noise gate unresolved. Candidate d6c124a9af226984a8a98c989bc7924dd0262e07. Staging run43984241885 Cloudflare deploy job133709909146 PASS; authoritative own lease7839951772 acquired00:03:57.599Z, expires01:03:57.599Z November17. No default/resource/scheduling changes.

Actual browser checks00:14:17–00:15:12Z: health200, dashboard rendered with zero page errors. Two bounded requests exercised real workers-ai-provider/Mastra consumers: full200, MP3audio51,696bytes, cached repeattrue; summary200, MP3audio64,224bytes, summarizedtrue, cached repeattrue. Exact log-marker searches scoped to sam2-api-staging2 and request windows returned cleanup_complete1 at00:14:30.940Z (invocatione366f6392525fed13a04afc60e17d9ce), summary_complete1 at00:15:06.474Z (invocationf48ad26f618b958d9ffbab11bea8d074), cleanup_failed0 and summary_failed0. Admin normalization omitted message bodies; exact upstream needle results establish markers. Local specialist independently confirms code/Cloudflare and live feature PASS; completion remains pending below. Signout200 November17 00:23Z and local cookie file removed. Release 43987155985 SUCCESS; authoritative snapshot7840324147 at00:26:06.808Z confirms holder=null. Actual next queued task01M7HX1VGDCD7Z45K59Q5PMCPB notified. Credential inboxask01M7KE3J10FDWP3AZ1SJTAD9A3 is resolved.

Deployment smoke attempt1:10PASS,1dashboard failed networkidle15s timeout afterretry. One failed-job-only retry (attempt2) SUCCESS, no redeploy. Overall staging run is now SUCCESS. Standard unchanged24h observability-noise check FAIL: pre-existing incident sweep303 (300beforecandidate), Hetzner placement64allbefore, KV42939allbefore; legacy telemetry403. SAM Idea01M7KE1VAKJTKGV21CAAK6MQMG tracks secondary installation Operations project misconfiguration. Owner: staging installation/bootstrap maintainers. Release condition: valid Operations project configuration, successful sweep and unchanged noise gate; no threshold weakening or evidence deletion.

Cleanup COMPLETE November17 04:53:43Z: temporary credential supplied securely; current staging2 holder task01M7KNQ0DC1TGYTM00GA32ZZ0V explicitly confirmed isolated deletion does not conflict with its D1/UI verification (verified peer event09924ab8-6981-48e7-b436-39b678a20d72, acknowledged). Exactly two own audio objects, storage IDs sam-pr2796-1794874466148-full and sam-pr2796-1794874466148-summary under tts/staging2-agent-admin/ in sam2-staging2-assets, first read200 with expected51,696/64,224bytes, DELETE200 each, subsequent GET404 each. No other objects, auth/session/config/deploy/lease state changed. No VMs/workspaces provisioned. Signout200 and release43987155985SUCCESS previously confirmed. Credential request01M7KE01RFC7939R4BYY3AP5B4 fulfilled; inboxask01M7KE3J10FDWP3AZ1SJTAD9A3 archived/resolved. Cleanup is no longer a release blocker.

Durable deployment subscriptionfc95dbc8-2cea-433e-889d-8e05ccbc5286 expiry02:30Z +acceptedfallback9c8a4180-9d15-4223-a91a-7aede495e11d00:30Z were consumed/cancelled after release43987155985 SUCCESS. The accepted00:30 fallback established final release state; no machine work is pending. Queue/lease/deploy events read and acknowledged. Prior queue-only runner-delay failure43937040444 tracked in SAM Idea01M7JX5VJ1JFPGCA91TY8F6TV8; current acquisition resolves that gate for this candidate. No merge until applicable gates complete; no human review hold or waiver invented.

Release gate

Final current-head CI + specialist/completion review + CodeRabbit best effort + successful staging/feature checks before merge. After merge, actual production deployment containing merge plus minimal health smoke before #2797. Current PR remains unmerged.

Agent Preflight (Required)

  • Preflight completed before code changes

Classification

  • cross-component-change

External References

Official Cloudflare provider release/tag/comparison linked above reviewed before followup commit; patch preserves runtime API and adds deprecation guidance. No speculative migration.

Codebase Impact Analysis

apps/api/package.json and pnpm-lock.yaml only. TTS cleanup/summary createWorkersAI binding consumers inspected; same AI SDK peer versions. Unrelated transitive updates restored. Runtime staging and focused TTS tests verify integration; full required CI remains binding.

Documentation & Specs

N/A: dependency patch changes no product API or user flow. No migration or additional provider introduced. Historical documentation retained.

Constitution & Risk Check

PrinciplesII/VI retain tests, coverage and release gates; X limits dependency scope; XI introduces no runtime values. Security/auth and scheduling/resource defaults unchanged. Main risk is provider/AI SDK integration; focused tests and real leased staging are required.

Bounded batch disposition — November17 04:56Z

HELD on original branch dependabot/npm_and_yarn/workers-ai-provider-4.0.1, reconciled head d6c124a9af226984a8a98c989bc7924dd0262e07. Current GitHub checks have no pending/failing results. No submitted reviews or competing URL+branch owner; all association pages read, sole task01M7J4DRVF3H4CF5Y5905NJ2AW, hasMore=false. Comments are bot reports; #2796 sole human-identity comment is the trusted CodeRabbit workflow request, with no human hold.

Only remaining completed-candidate release blocker is unchanged shared staging noise gate. Fresh read04:55:08Z against sam2-observability-staging2 using the gate's24h window/defaultthreshold10 still returns incident_triggers288, Hetzner-placement56, KV-rate-limit19. No waiver, threshold change or historical evidence deletion. Owner: staging installation/bootstrap maintenance (SAM project maintainers); tracking SAM Idea01M7KE1VAKJTKGV21CAAK6MQMG. Release condition: repair configured missing Operations project/scheduled sweep, unchanged observability-noisePASS, final completion review and fresh head/check/review/owner reconciliation, then merge and actual production deploy/minimalhealth. No merge or production release is claimed.

Bumps [workers-ai-provider](https://github.com/cloudflare/ai) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/cloudflare/ai/releases)
- [Commits](https://github.com/cloudflare/ai/compare/workers-ai-provider@4.0.0...workers-ai-provider@4.0.1)

---
updated-dependencies:
- dependency-name: workers-ai-provider
  dependency-version: 4.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 16, 2026
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codspeed

codspeed Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 5 untouched benchmarks
⏩ 1 skipped benchmark1


Comparing dependabot/npm_and_yarn/workers-ai-provider-4.0.1 (d6c124a) with main (5d1a247)2

Open in CodSpeed

Footnotes

  1. 1 benchmark was skipped, so the baseline result was used instead. If it was deleted from the codebase, click here and archive it to remove it from the performance reports. ↩

  2. No successful run was found on main (10ec60b) during the generation of this report, so 5d1a247 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@simple-agent-manager simple-agent-manager Bot added the coderabbit-review Trigger CodeRabbit review for opt-in PRs label Nov 16, 2026
@raphaeltm

Copy link
Copy Markdown
Owner

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Action not completed

Review skipped.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@sonarqubecloud

Copy link
Copy Markdown

@simple-agent-manager

Copy link
Copy Markdown
Contributor

Taken over by Claude task 01M7PX3R4EQ8HWCQEAER9748A3. Release evidence for workers-ai-provider 4.0.1:

  • Upstream diff (cloudflare-specialist review, PASS): only @deprecated JSDoc on createWorkersAI, gateway and AI Search helpers; no runtime change. Consumer: apps/api/src/services/tts-text.ts.
  • CI on head d6c124a all green, including the required Durable Object Workers check. CodeRabbit: explicit "Review skipped" (bot-author guard).
  • Local reviewers: cloudflare-specialist PASS; task-completion-validator PASS for this PR.

Staging verification — primary staging, 2026-11-18 (Claude task 01M7PX3R4EQ8HWCQEAER9748A3)

All eight open dependency bumps were deployed together on integration branch sam/take-over-land-open-9748a3 (head f776f2823; merges every PR head, including the #2877 fix pairing @mastra/core 1.84.0, plus a regenerated lockfile). Deploy Staging run 44288653931 passed, including smoke tests. Each bump's consumers were exercised:

  • TTS via Mastra + workers-ai-provider + ai (apps/api/src/services/tts-text.ts): POST /api/tts/synthesize full mode returned 200 with 60,768 bytes of audio; Worker log tts.cleanup_complete (gemma-4 cleanup through the Mastra Agent). Summary mode returned 200 summarized: true with 46,944 bytes; tts.summary_complete on the first attempt (7,118 → 139 chars). Repeat requests hit the cache. The full-mode cleanup needed 3 attempts (two empty LLM results). A local A/B through the same Agent and provider against the real model gave 8/8 non-empty on old deps and 8/8 on new deps, so this is model variance (long reasoning output), not a regression.
  • SAM operator (Mastra Agent.stream, tool calls, @mastra/schema-compat 1.4.0): a turn streamed thinking ×8, tool ×2, text ×6 and done. It persisted as completed with the correct answer ("33 projects"). The setting was restored to disabled afterwards.
  • yaml 2.9.1 (compose parser in POST /api/projects/:id/environments/:envId/releases): a 51-service compose built from an anchor/alias, with a folded quoted string, parsed and stopped at the image-count limit ("Manifest contains 51 tag-based image references; the configured limit is 50"). An alias bomb returned 400 COMPOSE_PARSE_FAILED "Excessive alias count". No release was created.
  • Real VM (vm-agent with all three Go bumps; required release 69d717b9): a conversation task on the "Claude Code VM Chat" profile provisioned fresh node 01M7Q5HP9AAGVPFXRE8XBZ3ZKD (GCP medium, asia-south1-b, created 11:09:22Z after the deploy, Cloudflare Tunnel). It sent its first heartbeat at 11:12:10Z. The workspace was running at 11:13:04Z, and the Claude agent replied x86_64 v22.23.5. Terminal access via POST /api/terminal/token and wss://ws-<id>.sammy.party/terminal/ws, a control-plane JWT validated by keyfunc 3.9.2 in the vm-agent, echoed deps-ok-42 and x86_64. A tampered token was refused (WebSocket close 1006, plain GET 401). Cleanup: workspace deletion confirmed, node deleted, both 404, D1 rows gone, no nodes left.
  • patternmatcher / compress consumers (internal/publish/contextcollect, internal/builder) run only during app publish, which would provision a separate deployment node. They are covered by consumer tests on amd64 and under arm64 emulation (PASS), and by a zstd probe with SAM's exact options: 6–25 MB corpora round-trip, and compressed output is byte-identical on amd64 and arm64.
  • Observability noise gate (pnpm quality:observability-noise, unchanged defaults 24h/10). Before (09:41Z) and after (11:23Z) show the same 6 pre-existing groups with identical counts (86/67/57/47/33/17). No new group and no increase; pre-existing noise waived per Raphaël 2026-11-18. The Worker tail from 11:10 to 11:24Z had no exceptions; the only error logs were idle_cleanup.cleanup_failed for an unrelated session.
  • Lease released early (run 44294388985 succeeded); next queued task notified.

🤖 Generated with Claude Code

@simple-agent-manager
simple-agent-manager Bot merged commit 8880381 into main Nov 18, 2026
67 of 69 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/workers-ai-provider-4.0.1 branch November 18, 2026 14:15

This branch had an error being deployed

1 abandoned and 1 inactive deployments
staging2 — d6c124a9 Deployed Nov 17, 2026 by github-actions[bot]
staging — d6c124a9 Deployed Nov 17, 2026 by simple-agent-manager[bot] via lease #3041
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

coderabbit-review Trigger CodeRabbit review for opt-in PRs dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant