Skip to content

Conversation

@VaguelySerious
Copy link
Member

@VaguelySerious VaguelySerious commented Jan 15, 2026

This is a refactor of #768 which moves the accumulation logic to a step. The test harness I was using to test #768 didn't correctly account for the workflow transformation, so collectUiMessages didn't actually work as intended before (also reported in issue #739).

This PR moves the final accumulation call to a "use step" at the end of the agent.stream call. The actual logic still uses AI SDK's readUIMessageStream internally, just like before.

I alternatively considered pre-creating a stream in a setup step, then double piping to that stream, before passing it to the final step that can call readUIMessageStream on it. In a non-workflow world, this would result in a performance improvement (native stream use), but since we are awaiting step boundaries anyway, it would not help in this case, and it would make the content less observable.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot
Copy link

changeset-bot bot commented Jan 15, 2026

🦋 Changeset detected

Latest commit: 171d1b2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@workflow/ai Patch
@workflow/docs-typecheck Patch

Not sure what this means? Click here to learn what changesets are.

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

@vercel
Copy link
Contributor

vercel bot commented Jan 15, 2026

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

Project Deployment Review Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Jan 15, 2026 2:30pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Jan 15, 2026 2:30pm
example-workflow Ready Ready Preview, Comment Jan 15, 2026 2:30pm
workbench-astro-workflow Ready Ready Preview, Comment Jan 15, 2026 2:30pm
workbench-express-workflow Ready Ready Preview, Comment Jan 15, 2026 2:30pm
workbench-fastify-workflow Ready Ready Preview, Comment Jan 15, 2026 2:30pm
workbench-hono-workflow Ready Ready Preview, Comment Jan 15, 2026 2:30pm
workbench-nitro-workflow Ready Ready Preview, Comment Jan 15, 2026 2:30pm
workbench-nuxt-workflow Ready Ready Preview, Comment Jan 15, 2026 2:30pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Jan 15, 2026 2:30pm
workbench-vite-workflow Ready Ready Preview, Comment Jan 15, 2026 2:30pm
workflow-docs Ready Ready Preview, Comment Jan 15, 2026 2:30pm

@github-actions
Copy link
Contributor

github-actions bot commented Jan 15, 2026

📊 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
🌐 Starter 🥇 Next.js (Turbopack) 0.039s (+6.9% 🔺) 1.014s (~) 0.976s 10 1.00x
💻 Local Next.js (Turbopack) 0.040s (+0.5%) 1.016s (~) 0.975s 10 1.04x
🌐 Redis Next.js (Turbopack) 0.041s (-3.6%) 1.018s (~) 0.977s 10 1.05x
💻 Local Express 0.043s (-1.1%) 1.007s (~) 0.964s 10 1.12x
💻 Local Nitro 0.043s (-6.5% 🟢) 1.007s (~) 0.964s 10 1.12x
🌐 MongoDB Next.js (Turbopack) 0.059s (-31.3% 🟢) 1.015s (~) 0.956s 10 1.54x
🌐 Turso Next.js (Turbopack) 0.111s (+22.5% 🔺) 1.014s (~) 0.903s 10 2.88x
🐘 Postgres Next.js (Turbopack) 0.202s (-39.9% 🟢) 1.019s (-0.5%) 0.817s 10 5.24x
🐘 Postgres Nitro 0.239s (-26.1% 🟢) 1.012s (~) 0.773s 10 6.19x
🐘 Postgres Express 0.316s (+23.5% 🔺) 1.013s (~) 0.697s 10 8.19x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 0.595s (-8.9% 🟢) 1.499s (-11.8% 🟢) 0.904s 10 1.00x
▲ Vercel Express 0.605s (-19.1% 🟢) 1.570s (~) 0.965s 10 1.02x
▲ Vercel Next.js (Turbopack) 0.654s (-15.7% 🟢) 1.704s (-5.5% 🟢) 1.050s 10 1.10x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 1.090s (-1.2%) 2.012s (~) 0.922s 10 1.00x
🌐 Starter Next.js (Turbopack) 1.093s (+1.2%) 2.009s (~) 0.916s 10 1.00x
🌐 Redis Next.js (Turbopack) 1.105s (+0.6%) 2.013s (~) 0.907s 10 1.01x
💻 Local Nitro 1.112s (~) 2.007s (~) 0.895s 10 1.02x
💻 Local Express 1.115s (~) 2.007s (~) 0.893s 10 1.02x
🌐 Turso Next.js (Turbopack) 1.294s (+0.5%) 2.013s (~) 0.719s 10 1.19x
🌐 MongoDB Next.js (Turbopack) 1.312s (+1.1%) 2.014s (~) 0.702s 10 1.20x
🐘 Postgres Nitro 1.604s (-34.4% 🟢) 2.012s (-33.6% 🟢) 0.408s 10 1.47x
🐘 Postgres Next.js (Turbopack) 1.799s (+1.2%) 2.122s (+5.3% 🔺) 0.323s 10 1.65x
🐘 Postgres Express 2.171s (+27.2% 🔺) 3.014s (+36.1% 🔺) 0.843s 10 1.99x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.823s (+0.8%) 3.745s (+3.0%) 0.921s 10 1.00x
▲ Vercel Express 2.893s (~) 3.728s (+2.6%) 0.835s 10 1.02x
▲ Vercel Nitro 2.941s (+4.2%) 3.671s (-2.2%) 0.730s 10 1.04x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 10.593s (~) 11.011s (~) 0.418s 5 1.00x
💻 Local Next.js (Turbopack) 10.657s (~) 11.015s (~) 0.358s 5 1.01x
🌐 Redis Next.js (Turbopack) 10.675s (~) 11.017s (~) 0.341s 5 1.01x
💻 Local Nitro 10.783s (~) 11.013s (~) 0.230s 5 1.02x
💻 Local Express 10.803s (~) 11.012s (~) 0.209s 5 1.02x
🌐 Turso Next.js (Turbopack) 12.208s (~) 13.032s (~) 0.823s 5 1.15x
🌐 MongoDB Next.js (Turbopack) 12.234s (~) 13.027s (~) 0.793s 5 1.15x
🐘 Postgres Next.js (Turbopack) 14.885s (-1.5%) 15.036s (-6.2% 🟢) 0.151s 5 1.41x
🐘 Postgres Nitro 15.470s (-23.9% 🟢) 16.034s (-23.8% 🟢) 0.564s 5 1.46x
🐘 Postgres Express 20.423s (+30.3% 🔺) 21.032s (+31.2% 🔺) 0.609s 5 1.93x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 27.117s (+16.9% 🔺) 27.838s (+15.9% 🔺) 0.721s 5 1.00x
▲ Vercel Next.js (Turbopack) 27.274s (+15.5% 🔺) 28.180s (+16.4% 🔺) 0.906s 5 1.01x
▲ Vercel Express 27.816s (+20.3% 🔺) 28.730s (+20.5% 🔺) 0.914s 5 1.03x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 1.343s (~) 2.008s (~) 0.665s 15 1.00x
🌐 Redis Next.js (Turbopack) 1.373s (+1.1%) 2.010s (~) 0.638s 15 1.02x
💻 Local Next.js (Turbopack) 1.376s (-1.0%) 2.011s (~) 0.635s 15 1.02x
💻 Local Express 1.412s (~) 2.007s (~) 0.595s 15 1.05x
💻 Local Nitro 1.418s (+1.0%) 2.005s (~) 0.587s 15 1.06x
🐘 Postgres Next.js (Turbopack) 1.699s (-3.4%) 2.080s (+3.2%) 0.382s 15 1.27x
🐘 Postgres Nitro 1.813s (-32.5% 🟢) 2.010s (-33.3% 🟢) 0.197s 15 1.35x
🌐 MongoDB Next.js (Turbopack) 2.168s (+0.7%) 3.015s (~) 0.847s 10 1.61x
🌐 Turso Next.js (Turbopack) 2.222s (~) 3.016s (~) 0.794s 10 1.65x
🐘 Postgres Express 2.370s (+34.4% 🔺) 3.013s (+44.9% 🔺) 0.643s 10 1.77x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.932s (-14.3% 🟢) 3.786s (-4.9%) 0.854s 8 1.00x
▲ Vercel Next.js (Turbopack) 2.996s (-13.3% 🟢) 3.906s (-6.6% 🟢) 0.910s 8 1.02x
▲ Vercel Nitro 3.053s (-2.9%) 3.751s (-8.0% 🟢) 0.698s 8 1.04x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 1.975s (-9.5% 🟢) 2.590s (-17.6% 🟢) 0.615s 12 1.00x
💻 Local Nitro 2.197s (-0.6%) 3.171s (+0.6%) 0.973s 10 1.11x
💻 Local Express 2.206s (-1.9%) 3.142s (-1.4%) 0.935s 10 1.12x
🐘 Postgres Next.js (Turbopack) 2.442s (+1.4%) 3.015s (~) 0.573s 10 1.24x
🌐 Starter Next.js (Turbopack) 2.459s (~) 3.009s (~) 0.550s 10 1.24x
🌐 Redis Next.js (Turbopack) 2.503s (~) 3.015s (~) 0.512s 10 1.27x
🐘 Postgres Nitro 2.601s (-13.4% 🟢) 3.018s (-9.9% 🟢) 0.417s 10 1.32x
🐘 Postgres Express 2.767s (-2.8%) 3.021s (~) 0.254s 10 1.40x
🌐 MongoDB Next.js (Turbopack) 4.636s (-1.1%) 5.184s (~) 0.548s 6 2.35x
🌐 Turso Next.js (Turbopack) 4.788s (+1.3%) 5.182s (~) 0.394s 6 2.42x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.466s (-23.1% 🟢) 3.944s (-27.6% 🟢) 0.479s 8 1.00x
▲ Vercel Next.js (Turbopack) 3.857s (-22.1% 🟢) 4.645s (-18.2% 🟢) 0.787s 7 1.11x
▲ Vercel Nitro 4.020s (-17.6% 🟢) 4.862s (-13.1% 🟢) 0.843s 7 1.16x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 1.344s (+0.9%) 2.008s (~) 0.664s 15 1.00x
🌐 Redis Next.js (Turbopack) 1.380s (+2.0%) 2.011s (~) 0.632s 15 1.03x
💻 Local Next.js (Turbopack) 1.386s (-1.1%) 2.010s (~) 0.624s 15 1.03x
💻 Local Nitro 1.417s (+0.9%) 2.005s (~) 0.588s 15 1.05x
💻 Local Express 1.434s (-0.7%) 2.006s (~) 0.571s 15 1.07x
🐘 Postgres Next.js (Turbopack) 1.623s (-9.7% 🟢) 2.012s (~) 0.389s 15 1.21x
🐘 Postgres Nitro 1.884s (+5.0% 🔺) 2.012s (~) 0.128s 15 1.40x
🐘 Postgres Express 1.965s (+15.1% 🔺) 2.397s (+19.2% 🔺) 0.432s 13 1.46x
🌐 MongoDB Next.js (Turbopack) 2.157s (+1.1%) 3.012s (~) 0.855s 10 1.61x
🌐 Turso Next.js (Turbopack) 2.240s (~) 3.014s (~) 0.774s 10 1.67x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.686s (-21.1% 🟢) 3.666s (-15.3% 🟢) 0.980s 9 1.00x
▲ Vercel Next.js (Turbopack) 2.920s (-6.2% 🟢) 3.911s (+4.2%) 0.991s 8 1.09x
▲ Vercel Express 3.040s (-1.2%) 3.967s (-1.5%) 0.927s 8 1.13x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 2.024s (-7.6% 🟢) 2.781s (-9.9% 🟢) 0.758s 11 1.00x
💻 Local Express 2.286s (~) 3.223s (~) 0.937s 10 1.13x
💻 Local Nitro 2.293s (+4.0%) 3.205s (+1.6%) 0.912s 10 1.13x
🌐 Starter Next.js (Turbopack) 2.455s (-2.3%) 3.008s (~) 0.553s 10 1.21x
🌐 Redis Next.js (Turbopack) 2.509s (+1.5%) 3.012s (~) 0.503s 10 1.24x
🐘 Postgres Next.js (Turbopack) 2.566s (+4.6%) 3.022s (~) 0.457s 10 1.27x
🐘 Postgres Nitro 2.672s (-2.1%) 3.011s (~) 0.339s 10 1.32x
🐘 Postgres Express 2.883s (+11.8% 🔺) 3.012s (~) 0.129s 10 1.42x
🌐 Turso Next.js (Turbopack) 4.633s (-2.5%) 5.179s (~) 0.546s 6 2.29x
🌐 MongoDB Next.js (Turbopack) 4.641s (~) 5.179s (~) 0.538s 6 2.29x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.141s (-14.7% 🟢) 3.687s (-18.4% 🟢) 0.547s 9 1.00x
▲ Vercel Next.js (Turbopack) 3.419s (-5.0% 🟢) 4.023s (-2.9%) 0.604s 8 1.09x
▲ Vercel Express 4.057s (+25.5% 🔺) 4.748s (+24.1% 🔺) 0.690s 7 1.29x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 0.122s (-7.2% 🟢) 1.005s (~) 0.000s (NaN%) 1.011s (~) 0.888s 10 1.00x
💻 Local Next.js (Turbopack) 0.136s (-0.5%) 1.002s (~) 0.016s (-0.6%) 1.026s (~) 0.890s 10 1.11x
🌐 Redis Next.js (Turbopack) 0.145s (-2.5%) 1.005s (~) 0.000s (-100.0% 🟢) 1.014s (~) 0.868s 10 1.19x
💻 Local Express 0.179s (~) 0.992s (~) 0.017s (+7.1% 🔺) 1.024s (~) 0.845s 10 1.46x
💻 Local Nitro 0.179s (+2.3%) 0.992s (~) 0.015s (-9.1% 🟢) 1.021s (~) 0.842s 10 1.46x
🌐 Turso Next.js (Turbopack) 0.485s (+7.5% 🔺) 0.969s (-2.9%) 0.000s (NaN%) 1.013s (~) 0.528s 10 3.96x
🌐 MongoDB Next.js (Turbopack) 0.490s (-5.7% 🟢) 0.960s (+3.3%) 0.000s (~) 1.013s (~) 0.523s 10 4.00x
🐘 Postgres Next.js (Turbopack) 0.840s (-35.8% 🟢) 1.241s (-20.1% 🟢) 0.000s (NaN%) 1.315s (-27.6% 🟢) 0.475s 10 6.86x
🐘 Postgres Nitro 1.306s (-38.4% 🟢) 1.729s (-40.9% 🟢) 0.000s (NaN%) 2.011s (-33.3% 🟢) 0.706s 10 10.66x
🐘 Postgres Express 2.319s (+76.0% 🔺) 2.724s (+52.9% 🔺) 0.000s (NaN%) 3.015s (+49.7% 🔺) 0.696s 10 18.93x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.747s (-3.1%) 3.305s (+3.6%) 0.294s (-14.8% 🟢) 4.055s (+1.8%) 1.308s 10 1.00x
▲ Vercel Nitro 2.815s (-5.1% 🟢) 3.271s (~) 0.300s (-40.4% 🟢) 4.010s (-7.2% 🟢) 1.195s 10 1.02x
▲ Vercel Express 2.825s (+2.7%) 3.201s (~) 0.279s (-47.9% 🟢) 3.953s (-5.5% 🟢) 1.128s 10 1.03x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
💻 Local Next.js (Turbopack) 8/8
🐘 Postgres Next.js (Turbopack) 7/8
▲ Vercel Nitro 4/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 💻 Local 8/8
Next.js (Turbopack) 🌐 Starter 5/8
Nitro 💻 Local 8/8
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

@github-actions
Copy link
Contributor

github-actions bot commented Jan 15, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
❌ ▲ Vercel Production 407 11 11 429
❌ 💻 Local Development 372 10 8 390
❌ 📦 Local Production 372 10 8 390
❌ 🐘 Local Postgres 372 10 8 390
❌ 🪟 Windows 38 1 0 39
❌ 🌍 Community Worlds 144 24 0 168
Total 1705 66 35 1806

❌ Failed Tests

▲ Vercel Production (11 failed)

astro (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

example (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

express (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

fastify (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

hono (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nextjs-turbopack (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nextjs-webpack (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nitro (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nuxt (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

sveltekit (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

vite (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()
💻 Local Development (10 failed)

astro-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

express-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

fastify-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

hono-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nextjs-turbopack-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nextjs-webpack-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nitro-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nuxt-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

sveltekit-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

vite-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()
📦 Local Production (10 failed)

astro-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

express-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

fastify-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

hono-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nextjs-turbopack-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nextjs-webpack-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nitro-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nuxt-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

sveltekit-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

vite-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()
🐘 Local Postgres (10 failed)

astro-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

express-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

fastify-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

hono-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nextjs-turbopack-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nextjs-webpack-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nitro-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

nuxt-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

sveltekit-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()

vite-stable (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()
🪟 Windows (1 failed)

nextjs-turbopack (1 failed):

  • thisSerializationWorkflow - step function invoked with .call() and .apply()
🌍 Community Worlds (24 failed)

mongodb (2 failed):

  • webhookWorkflow
  • thisSerializationWorkflow - step function invoked with .call() and .apply()

redis (2 failed):

  • webhookWorkflow
  • thisSerializationWorkflow - step function invoked with .call() and .apply()

starter (18 failed):

  • addTenWorkflow
  • addTenWorkflow
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • 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
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()

turso (2 failed):

  • webhookWorkflow
  • thisSerializationWorkflow - step function invoked with .call() and .apply()

Details by Category

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

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@VaguelySerious VaguelySerious changed the title [ai] Fix collectUiMessages option by refactoring it to use AI SDK's [ai] Fix collectUiMessages option by refactoring it to use AI SDK's readUIMessageStream Jan 15, 2026
@VaguelySerious VaguelySerious changed the title [ai] Fix collectUiMessages option by refactoring it to use AI SDK's readUIMessageStream [ai] Fix collectUiMessages option by refactoring accumulation to happen in a separate step call Jan 15, 2026
@VaguelySerious VaguelySerious changed the title [ai] Fix collectUiMessages option by refactoring accumulation to happen in a separate step call [ai] Fix collectUiMessages option by accumulating chunks in a separate step call Jan 15, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@VaguelySerious VaguelySerious changed the base branch from main to peter/fix-step-serialization January 15, 2026 14:04
I, Peter Wielander <mittgfu@gmail.com>, hereby add my Signed-off-by to this commit: 0e8fe8c

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
…e made in sequence, causing incomplete UI state collection in DurableAgent.

Co-authored-by: VaguelySerious <mittgfu@gmail.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
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