Skip to content

Conversation

@visyat
Copy link
Contributor

@visyat visyat commented Dec 13, 2025

Version mismatch between ai and @ai-sdk/react causing "Ask AI" chat responses to succeed, but then the user be hit with client-side message schema validation errors which would fill up the entire page

Production:

Screen.Recording.2025-12-13.at.12.17.20.AM.mov

Preview

Screen.Recording.2025-12-13.at.12.18.54.AM.mov

@changeset-bot
Copy link

changeset-bot bot commented Dec 13, 2025

⚠️ No Changeset found

Latest commit: deeb065

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

@vercel
Copy link
Contributor

vercel bot commented Dec 13, 2025

You must have Developer access to commit code to Vercel Labs on Vercel. If you contact an administrator and receive Developer access, commit again to see your changes.

Learn more: https://vercel.com/docs/accounts/team-members-and-roles/access-roles#team-level-roles

@github-actions
Copy link
Contributor

github-actions bot commented Dec 13, 2025

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 0.030s (-28.7% 🟢) 1.007s (~) 0.976s 10 1.00x
🌐 Starter Next.js (Turbopack) 0.037s (~) 1.013s (~) 0.976s 10 1.24x
💻 Local Next.js (Turbopack) 0.041s (+2.8%) 1.018s (~) 0.978s 10 1.34x
🌐 Redis Next.js (Turbopack) 0.041s (+3.3%) 1.017s (~) 0.976s 10 1.34x
💻 Local Express 0.048s (+1.1%) 1.007s (~) 0.960s 10 1.57x
🌐 MongoDB Next.js (Turbopack) 0.053s (-14.7% 🟢) 1.016s (~) 0.963s 10 1.74x
🌐 Turso Next.js (Turbopack) 0.100s (-1.8%) 1.014s (~) 0.914s 10 3.29x
🐘 Postgres Next.js (Turbopack) 0.157s (-58.1% 🟢) 1.020s (~) 0.863s 10 5.18x
🐘 Postgres Nitro 0.301s (-9.5% 🟢) 1.012s (-2.1%) 0.711s 10 9.94x
🐘 Postgres Express 0.358s (-7.3% 🟢) 1.014s (~) 0.655s 10 11.83x
workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 1.074s (-3.2%) 2.006s (~) 0.931s 10 1.00x
🌐 Starter Next.js (Turbopack) 1.080s (-1.4%) 2.010s (~) 0.931s 10 1.01x
💻 Local Next.js (Turbopack) 1.098s (~) 2.012s (~) 0.915s 10 1.02x
🌐 Redis Next.js (Turbopack) 1.100s (~) 2.012s (~) 0.912s 10 1.02x
💻 Local Express 1.113s (~) 2.006s (~) 0.893s 10 1.04x
🌐 Turso Next.js (Turbopack) 1.290s (-1.9%) 2.012s (~) 0.722s 10 1.20x
🌐 MongoDB Next.js (Turbopack) 1.313s (~) 2.014s (~) 0.701s 10 1.22x
🐘 Postgres Next.js (Turbopack) 1.909s (+10.2% 🔺) 2.017s (~) 0.109s 10 1.78x
🐘 Postgres Nitro 2.163s (-11.3% 🟢) 3.016s (~) 0.853s 10 2.01x
🐘 Postgres Express 2.210s (-1.1%) 3.014s (~) 0.804s 10 2.06x
workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 10.520s (-2.5%) 11.011s (~) 0.491s 5 1.00x
🌐 Starter Next.js (Turbopack) 10.586s (~) 11.011s (~) 0.425s 5 1.01x
🌐 Redis Next.js (Turbopack) 10.664s (~) 11.013s (~) 0.349s 5 1.01x
💻 Local Next.js (Turbopack) 10.680s (~) 11.019s (~) 0.340s 5 1.02x
💻 Local Express 10.782s (~) 11.011s (~) 0.228s 5 1.02x
🌐 Turso Next.js (Turbopack) 12.198s (~) 13.021s (~) 0.824s 5 1.16x
🌐 MongoDB Next.js (Turbopack) 12.235s (~) 13.023s (~) 0.788s 5 1.16x
🐘 Postgres Next.js (Turbopack) 15.244s (+3.3%) 16.036s (+5.3% 🔺) 0.792s 5 1.45x
🐘 Postgres Express 19.153s (-5.6% 🟢) 19.833s (-5.7% 🟢) 0.681s 5 1.82x
🐘 Postgres Nitro 20.444s (+13.0% 🔺) 21.033s (+12.9% 🔺) 0.589s 5 1.94x
workflow with 10 parallel steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 1.327s (-4.1%) 2.006s (~) 0.678s 5 1.00x
🌐 Starter Next.js (Turbopack) 1.344s (-0.7%) 2.009s (~) 0.664s 5 1.01x
🌐 Redis Next.js (Turbopack) 1.354s (+1.7%) 2.010s (~) 0.656s 5 1.02x
💻 Local Next.js (Turbopack) 1.373s (+1.5%) 2.010s (~) 0.637s 5 1.03x
💻 Local Express 1.386s (~) 2.006s (~) 0.620s 5 1.04x
🐘 Postgres Next.js (Turbopack) 2.015s (+3.3%) 2.616s (+8.2% 🔺) 0.601s 5 1.52x
🌐 MongoDB Next.js (Turbopack) 2.145s (~) 3.012s (~) 0.867s 5 1.62x
🌐 Turso Next.js (Turbopack) 2.150s (-3.1%) 3.012s (-0.6%) 0.862s 5 1.62x
🐘 Postgres Express 2.607s (-2.1%) 3.012s (~) 0.405s 5 1.96x
🐘 Postgres Nitro 2.620s (+39.8% 🔺) 3.017s (+36.5% 🔺) 0.397s 5 1.97x
stress test: Promise.all with 100 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 6.442s (-0.9%) 6.738s (-2.8%) 0.296s 5 1.00x
🌐 Redis Next.js (Turbopack) 7.935s (+0.7%) 8.347s (+1.8%) 0.412s 4 1.23x
🐘 Postgres Express 8.654s (-2.7%) 9.131s (-3.8%) 0.477s 4 1.34x
🐘 Postgres Next.js (Turbopack) 9.220s (+7.5% 🔺) 9.603s (+7.6% 🔺) 0.382s 4 1.43x
🐘 Postgres Nitro 9.249s (+2.8%) 9.470s (~) 0.221s 4 1.44x
💻 Local Nitro 11.631s (-11.8% 🟢) 11.897s (-10.3% 🟢) 0.266s 3 1.81x
💻 Local Express 13.490s (~) 13.672s (~) 0.182s 3 2.09x
💻 Local Next.js (Turbopack) 15.451s (+10.2% 🔺) 15.766s (+9.6% 🔺) 0.315s 3 2.40x
🌐 MongoDB Next.js (Turbopack) 19.851s (~) 20.533s (~) 0.682s 2 3.08x
🌐 Turso Next.js (Turbopack) 19.904s (~) 20.531s (~) 0.627s 2 3.09x
stress test: Promise.race with 100 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 6.518s (-2.1%) 6.772s (-2.2%) 0.254s 5 1.00x
🌐 Redis Next.js (Turbopack) 8.320s (+2.5%) 8.781s (+4.0%) 0.461s 4 1.28x
🐘 Postgres Express 9.384s (-3.1%) 9.587s (-3.0%) 0.203s 4 1.44x
🐘 Postgres Nitro 9.526s (-3.4%) 9.838s (-2.3%) 0.312s 4 1.46x
🐘 Postgres Next.js (Turbopack) 10.285s (+16.3% 🔺) 10.513s (+12.3% 🔺) 0.228s 3 1.58x
💻 Local Nitro 12.231s (-12.2% 🟢) 12.416s (-11.4% 🟢) 0.184s 3 1.88x
💻 Local Express 13.538s (-3.0%) 14.115s (-1.0%) 0.577s 3 2.08x
💻 Local Next.js (Turbopack) 18.305s (+10.8% 🔺) 18.714s (+11.2% 🔺) 0.409s 2 2.81x
🌐 MongoDB Next.js (Turbopack) 19.994s (-0.9%) 20.561s (~) 0.567s 2 3.07x
🌐 Turso Next.js (Turbopack) 20.201s (+0.6%) 20.538s (~) 0.337s 2 3.10x
Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 0.109s (-36.8% 🟢) 1.000s (+0.8%) 0.012s (-15.2% 🟢) 1.018s (~) 0.909s 10 1.00x
🌐 Starter Next.js (Turbopack) 0.123s (-2.4%) 1.005s (~) 0.000s (NaN%) 1.010s (~) 0.886s 10 1.13x
💻 Local Next.js (Turbopack) 0.141s (+1.7%) 1.003s (~) 0.016s (+7.3% 🔺) 1.028s (~) 0.887s 10 1.29x
🌐 Redis Next.js (Turbopack) 0.142s (+3.6%) 1.005s (~) 0.000s (-100.0% 🟢) 1.014s (~) 0.871s 10 1.30x
💻 Local Express 0.175s (+1.3%) 0.992s (~) 0.014s (-2.1%) 1.020s (~) 0.845s 10 1.60x
🌐 Turso Next.js (Turbopack) 0.496s (+4.1%) 0.957s (-2.8%) 0.000s (+Infinity% 🔺) 1.013s (~) 0.517s 10 4.54x
🌐 MongoDB Next.js (Turbopack) 0.498s (-2.8%) 0.951s (+1.3%) 0.000s (+Infinity% 🔺) 1.012s (~) 0.514s 10 4.56x
🐘 Postgres Next.js (Turbopack) 0.684s (-27.3% 🟢) 0.880s (+8.0% 🔺) 0.000s (~) 1.016s (-8.9% 🟢) 0.332s 10 6.26x
🐘 Postgres Express 1.291s (-44.2% 🟢) 1.750s (-36.0% 🟢) 0.000s (~) 2.013s (-33.2% 🟢) 0.722s 10 11.83x
🐘 Postgres Nitro 2.282s (+124.2% 🔺) 2.764s (+58.2% 🔺) 0.000s (-100.0% 🟢) 3.015s (+66.4% 🔺) 0.733s 10 20.89x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
💻 Local Nitro 7/7
🐘 Postgres Next.js (Turbopack) 5/7
Fastest World by Framework

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 💻 Local 5/7
Next.js (Turbopack) 🌐 Starter 7/7
Nitro 💻 Local 5/7
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Starter: Community world (local development)
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 13, 2025

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ 💻 Local Development 252 0 8 260
✅ 📦 Local Production 252 0 8 260
✅ 🐘 Local Postgres 252 0 8 260
✅ 🪟 Windows 26 0 0 26
❌ 🌍 Community Worlds 105 11 0 116
Total 887 11 24 922

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 25 0 1
✅ express-stable 25 0 1
✅ fastify-stable 25 0 1
✅ hono-stable 25 0 1
✅ nextjs-turbopack-stable 26 0 0
✅ nextjs-webpack-stable 26 0 0
✅ nitro-stable 25 0 1
✅ nuxt-stable 25 0 1
✅ sveltekit-stable 25 0 1
✅ vite-stable 25 0 1
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 25 0 1
✅ express-stable 25 0 1
✅ fastify-stable 25 0 1
✅ hono-stable 25 0 1
✅ nextjs-turbopack-stable 26 0 0
✅ nextjs-webpack-stable 26 0 0
✅ nitro-stable 25 0 1
✅ nuxt-stable 25 0 1
✅ sveltekit-stable 25 0 1
✅ vite-stable 25 0 1
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 25 0 1
✅ express-stable 25 0 1
✅ fastify-stable 25 0 1
✅ hono-stable 25 0 1
✅ nextjs-turbopack-stable 26 0 0
✅ nextjs-webpack-stable 26 0 0
✅ nitro-stable 25 0 1
✅ nuxt-stable 25 0 1
✅ sveltekit-stable 25 0 1
✅ vite-stable 25 0 1
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 26 0 0
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 0
❌ mongodb 25 1 0
✅ redis-dev 3 0 0
❌ redis 25 1 0
✅ starter-dev 3 0 0
❌ starter 18 8 0
✅ turso-dev 3 0 0
❌ turso 25 1 0

📋 View full workflow run


Some E2E test jobs failed:

  • Vercel Prod: failure
  • Local Dev: success
  • Local Prod: success
  • Local Postgres: success
  • Windows: success

Check the workflow run for details.

@visyat visyat changed the title [docs] bump @ai/react version to stop schema validation errors [docs] bump @ai-sdk/react version to stop schema validation errors Dec 13, 2025
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​ai-sdk/​react@​2.0.115991007398100

View full report

@vercel
Copy link
Contributor

vercel bot commented Dec 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
workflow-docs Ready Ready Preview, Comment Dec 13, 2025 8:16am

@TooTallNate TooTallNate merged commit 3198f6d into main Dec 13, 2025
63 of 88 checks passed
@TooTallNate TooTallNate deleted the docs/bump-ai-sdk-version branch December 13, 2025 09:25
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.

3 participants