Fix Nest workbench app build - #865

Merged
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import
Jan 27, 2026
Merged

Fix Nest workbench app build#865
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Jan 27, 2026

Copy link
Copy Markdown
Member

Fixes errors:

Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
Error: ../example/workflows/97_bench.ts(38,19): error TS2345: Argument of type 'Promise<number>' is not assignable to parameter of type 'never'.

This gets the app to build properly. Fails at runtime, but at least this could get current CI green.

```
Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
```
@changeset-bot

changeset-botBot commented Jan 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7f87c82

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

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production457038495
❌ 💻 Local Development416232450
✅ 📦 Local Production418032450
✅ 🐘 Local Postgres418032450
✅ 🪟 Windows450045
❌ 🌍 Community Worlds311610192
✅ 📋 Other123012135
Total19081631462217

❌ Failed Tests

💻 Local Development (2 failed)

astro-stable (2 failed):

  • 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
🌍 Community Worlds (161 failed)

mongodb (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

redis (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

starter (41 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (CLI) - workflow health command reports healthy endpoints
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

turso (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro4104
✅ example4104
✅ express4104
✅ fastify4104
✅ hono4104
✅ nextjs-turbopack4401
✅ nextjs-webpack4401
✅ nitro4104
✅ nuxt4104
✅ sveltekit4104
✅ vite4104
❌ 💻 Local Development
AppPassedFailedSkipped
❌ astro-stable3924
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack4500
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb5400
✅ redis-dev300
❌ redis5400
✅ starter-dev300
❌ starter4410
✅ turso-dev300
❌ turso5400
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4104
✅ e2e-local-postgres-nest-stable4104
✅ e2e-local-prod-nest-stable4104

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.040s (-9.1% 🟢)1.017s (~)0.977s101.00x
💻 LocalNitro0.043s (~)1.007s (~)0.964s101.06x
💻 LocalExpress0.044s (-1.6%)1.008s (~)0.964s101.09x
🐘 PostgresNext.js (Turbopack)0.132s (-33.4% 🟢)1.021s (~)0.889s103.29x
🐘 PostgresNitro0.245s (+11.9% 🔺)1.013s (~)0.768s106.11x
🐘 PostgresExpress0.266s (+9.6% 🔺)1.014s (~)0.749s106.62x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.640s (-19.8% 🟢)1.793s (+4.7%)1.153s101.00x
▲ VercelExpress0.707s (-4.6%)1.719s (-1.9%)1.012s101.10x
▲ VercelNext.js (Turbopack)0.883s (+6.5% 🔺)1.805s (+0.6%)0.921s101.38x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.102s (+0.8%)2.011s (~)0.910s101.00x
💻 LocalNitro1.111s (~)2.007s (~)0.895s101.01x
💻 LocalExpress1.117s (~)2.008s (~)0.891s101.01x
🐘 PostgresNext.js (Turbopack)1.928s (-13.7% 🟢)2.016s (-28.5% 🟢)0.088s101.75x
🐘 PostgresExpress2.128s (-4.2%)3.015s (~)0.887s101.93x
🐘 PostgresNitro2.195s (-2.5%)3.015s (~)0.820s101.99x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.862s (-3.2%)3.680s (+0.8%)0.818s101.00x
▲ VercelNitro2.924s (+2.8%)3.775s (+1.5%)0.851s101.02x
▲ VercelNext.js (Turbopack)2.970s (+5.5% 🔺)3.837s (-1.2%)0.867s101.04x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.714s (~)11.018s (~)0.304s51.00x
💻 LocalNitro10.827s (~)11.014s (~)0.187s51.01x
💻 LocalExpress10.838s (~)11.016s (~)0.177s51.01x
🐘 PostgresNext.js (Turbopack)14.924s (-2.6%)15.232s (-5.0% 🟢)0.308s51.39x
🐘 PostgresNitro20.435s (~)21.034s (~)0.599s51.91x
🐘 PostgresExpress20.526s (~)21.036s (~)0.510s51.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express22.518s (-1.8%)23.412s (-0.9%)0.894s51.00x
▲ VercelNext.js (Turbopack)23.046s (-3.2%)23.861s (-2.6%)0.815s51.02x
▲ VercelNitro23.046s (-1.9%)24.003s (~)0.957s51.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.355s (-2.5%)2.012s (~)0.657s151.00x
💻 LocalNitro1.402s (~)2.006s (~)0.604s151.03x
💻 LocalExpress1.403s (~)2.007s (~)0.604s151.04x
🐘 PostgresNext.js (Turbopack)1.834s (-19.7% 🟢)2.016s (-29.2% 🟢)0.182s151.35x
🐘 PostgresNitro2.254s (-9.2% 🟢)3.014s (~)0.760s101.66x
🐘 PostgresExpress2.393s (+5.1% 🔺)3.014s (~)0.621s101.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.109s (-26.1% 🟢)3.909s (-22.4% 🟢)0.800s81.00x
▲ VercelNitro3.142s (-11.9% 🟢)4.039s (-7.4% 🟢)0.897s81.01x
▲ VercelExpress3.269s (+6.3% 🔺)4.144s (+4.1%)0.875s81.05x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)2.419s (-1.6%)3.194s (+2.0%)0.776s101.00x
💻 LocalExpress2.515s (+2.2%)3.023s (~)0.507s101.04x
💻 LocalNitro2.531s (~)3.026s (~)0.495s101.05x
🐘 PostgresNitro7.871s (-11.0% 🟢)8.303s (-10.7% 🟢)0.432s43.25x
🐘 PostgresExpress9.321s (+16.9% 🔺)10.093s (+17.9% 🔺)0.772s33.85x
🐘 PostgresNext.js (Turbopack)10.346s (-8.6% 🟢)11.025s (-5.7% 🟢)0.679s34.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.459s (-6.6% 🟢)4.145s (-7.7% 🟢)0.686s81.00x
▲ VercelExpress3.565s (-13.0% 🟢)4.348s (-8.1% 🟢)0.783s71.03x
▲ VercelNitro3.574s (+7.4% 🔺)4.453s (~)0.879s71.03x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.401s (-0.7%)2.011s (~)0.609s151.00x
💻 LocalNitro1.423s (~)2.006s (~)0.583s151.02x
💻 LocalExpress1.425s (+0.7%)2.006s (~)0.581s151.02x
🐘 PostgresExpress1.955s (-6.5% 🟢)2.513s (-6.2% 🟢)0.558s121.39x
🐘 PostgresNext.js (Turbopack)2.097s (+11.1% 🔺)2.515s (+4.8%)0.418s121.50x
🐘 PostgresNitro2.128s (+3.6%)2.511s (~)0.383s121.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.824s (-4.6%)3.715s (-1.8%)0.892s91.00x
▲ VercelNitro2.856s (+2.8%)3.777s (-0.7%)0.921s91.01x
▲ VercelNext.js (Turbopack)2.938s (-5.4% 🟢)3.790s (-4.2%)0.852s81.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express2.519s (-0.5%)3.015s (~)0.496s101.00x
💻 LocalNext.js (Turbopack)2.543s (~)3.045s (~)0.503s101.01x
💻 LocalNitro2.650s (-0.6%)3.013s (~)0.363s101.05x
🐘 PostgresExpress10.261s (-12.2% 🟢)10.705s (-13.6% 🟢)0.444s34.07x
🐘 PostgresNitro11.185s (-4.7%)11.690s (-3.1%)0.505s34.44x
🐘 PostgresNext.js (Turbopack)12.295s (+7.4% 🔺)13.050s (+4.7%)0.755s34.88x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-12.4% 🟢)3.820s (-8.8% 🟢)0.820s81.00x
▲ VercelNext.js (Turbopack)3.092s (-10.1% 🟢)3.808s (-8.7% 🟢)0.716s81.03x
▲ VercelExpress3.097s (-2.1%)3.840s (~)0.743s81.03x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.140s (-3.3%)1.003s (~)0.017s (+1.2%)1.027s (~)0.887s101.00x
💻 LocalExpress0.181s (-1.8%)0.993s (~)0.016s (+3.1%)1.024s (~)0.843s101.29x
💻 LocalNitro0.182s (+0.7%)0.992s (~)0.017s (+20.4% 🔺)1.022s (~)0.841s101.30x
🐘 PostgresNext.js (Turbopack)0.728s (-36.7% 🟢)1.052s (-44.4% 🟢)0.000s (NaN%)1.115s (-44.8% 🟢)0.386s105.21x
🐘 PostgresNitro2.229s (+3.5%)2.814s (-2.7%)0.000s (NaN%)3.015s (~)0.786s1015.93x
🐘 PostgresExpress2.360s (+5.8% 🔺)2.681s (-4.7%)0.000s (-100.0% 🟢)3.016s (~)0.656s1016.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-5.0% 🟢)3.370s (+1.4%)0.422s (-56.6% 🟢)4.274s (-13.2% 🟢)1.274s101.00x
▲ VercelNext.js (Turbopack)3.082s (-2.6%)3.404s (-2.7%)0.537s (-48.3% 🟢)4.415s (-13.5% 🟢)1.334s101.03x
▲ VercelExpress3.103s (+2.9%)3.165s (-2.8%)0.534s (-24.3% 🟢)4.387s (-2.5%)1.283s101.03x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)7/8
🐘 PostgresNext.js (Turbopack)5/8
▲ VercelNitro3/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local8/8
Next.js (Turbopack)💻 Local8/8
Nitro💻 Local8/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

@vercel

vercelBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-nextjs-workflow-webpackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-astro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-express-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-fastify-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-hono-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nitro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nuxt-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-sveltekit-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-vite-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workflow-nestReadyReadyPreview, CommentJan 27, 2026 8:05am
1 Skipped Deployment
ProjectDeploymentReviewUpdated (UTC)
workflow-docsSkippedSkippedJan 27, 2026 8:05am

@vercel
vercelBottemporarily deployed to Preview – workflow-docs January 27, 2026 07:55 Inactive
@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

This stack of pull requests is managed by Graphite. Learn more about stacking.

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes TypeScript compilation errors in the workbench example workflows that were preventing the Nest workbench app from building. The changes address two specific TypeScript errors by updating an import statement and adding a type annotation.

Changes:

  • Updated OpenAI import from default to named export to match OpenAI SDK v6.x API
  • Added explicit type annotation for promises array to fix TypeScript type inference issue

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

FileDescription
workbench/example/workflows/5_hooks.tsChanged OpenAI import from default to named export to fix constructability error
workbench/example/workflows/97_bench.tsAdded explicit Promise<number>[] type annotation to promises array to fix type inference error

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TooTallNate
TooTallNate merged commit f2ab6ee into mainJan 27, 2026
102 of 103 checks passed
@TooTallNate
TooTallNate deleted the 01-26-use_proper_openai_import branch January 27, 2026 08:21
pranaygp added a commit that referenced this pull request Jan 28, 2026
…s-and-commands
* origin/main:
fix(@workflow/ai): support provider-executed tools (AI SDK v6) (#734)
Publish "workflow" and "@workflow/core" package versions in sync (#870)
Add SDK version to workflow run executionContext for observability (#868)
Allow recreateRun to accept an optional deploymentId parameter (#869)
Add support for top-level `using` declarations inside of step / workflow functions (#866)
docs: URL in docs was missing the docs/ prefix, 404 errors (#852)
Add "classes" object to `manifest.json` file (#864)
Fix Nest workbench app build (#865)
Ignore Astro on local dev tests for source map e2e tests (#863)
Enable custom class serialization transformations for "client" mode (#860)
Submit request bodies with CBOR encoding (#844)
[world-vercel] Update queue to use VQS v3 API (#799)
NestJS framework support (#840)
Fix resolve hook theming and token fetching. (#856)
docs: rename Control Flow Patterns to Common Patterns and add new content (#846)
docs: revamp World documentation pages (#763)
Remove unused `getWritable` stub function (#855)
# Conflicts:
#	packages/core/package.json
#	pnpm-lock.yaml
Sign up for freeto 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

@TooTallNate@ijjk
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

Fix Nest workbench app build - #865

Merged
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import
Jan 27, 2026
Merged

Fix Nest workbench app build#865
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Jan 27, 2026

Copy link
Copy Markdown
Member

Fixes errors:

Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
Error: ../example/workflows/97_bench.ts(38,19): error TS2345: Argument of type 'Promise<number>' is not assignable to parameter of type 'never'.

This gets the app to build properly. Fails at runtime, but at least this could get current CI green.

```
Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
```
@changeset-bot

changeset-botBot commented Jan 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7f87c82

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

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production457038495
❌ 💻 Local Development416232450
✅ 📦 Local Production418032450
✅ 🐘 Local Postgres418032450
✅ 🪟 Windows450045
❌ 🌍 Community Worlds311610192
✅ 📋 Other123012135
Total19081631462217

❌ Failed Tests

💻 Local Development (2 failed)

astro-stable (2 failed):

  • 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
🌍 Community Worlds (161 failed)

mongodb (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

redis (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

starter (41 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (CLI) - workflow health command reports healthy endpoints
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

turso (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro4104
✅ example4104
✅ express4104
✅ fastify4104
✅ hono4104
✅ nextjs-turbopack4401
✅ nextjs-webpack4401
✅ nitro4104
✅ nuxt4104
✅ sveltekit4104
✅ vite4104
❌ 💻 Local Development
AppPassedFailedSkipped
❌ astro-stable3924
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack4500
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb5400
✅ redis-dev300
❌ redis5400
✅ starter-dev300
❌ starter4410
✅ turso-dev300
❌ turso5400
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4104
✅ e2e-local-postgres-nest-stable4104
✅ e2e-local-prod-nest-stable4104

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.040s (-9.1% 🟢)1.017s (~)0.977s101.00x
💻 LocalNitro0.043s (~)1.007s (~)0.964s101.06x
💻 LocalExpress0.044s (-1.6%)1.008s (~)0.964s101.09x
🐘 PostgresNext.js (Turbopack)0.132s (-33.4% 🟢)1.021s (~)0.889s103.29x
🐘 PostgresNitro0.245s (+11.9% 🔺)1.013s (~)0.768s106.11x
🐘 PostgresExpress0.266s (+9.6% 🔺)1.014s (~)0.749s106.62x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.640s (-19.8% 🟢)1.793s (+4.7%)1.153s101.00x
▲ VercelExpress0.707s (-4.6%)1.719s (-1.9%)1.012s101.10x
▲ VercelNext.js (Turbopack)0.883s (+6.5% 🔺)1.805s (+0.6%)0.921s101.38x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.102s (+0.8%)2.011s (~)0.910s101.00x
💻 LocalNitro1.111s (~)2.007s (~)0.895s101.01x
💻 LocalExpress1.117s (~)2.008s (~)0.891s101.01x
🐘 PostgresNext.js (Turbopack)1.928s (-13.7% 🟢)2.016s (-28.5% 🟢)0.088s101.75x
🐘 PostgresExpress2.128s (-4.2%)3.015s (~)0.887s101.93x
🐘 PostgresNitro2.195s (-2.5%)3.015s (~)0.820s101.99x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.862s (-3.2%)3.680s (+0.8%)0.818s101.00x
▲ VercelNitro2.924s (+2.8%)3.775s (+1.5%)0.851s101.02x
▲ VercelNext.js (Turbopack)2.970s (+5.5% 🔺)3.837s (-1.2%)0.867s101.04x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.714s (~)11.018s (~)0.304s51.00x
💻 LocalNitro10.827s (~)11.014s (~)0.187s51.01x
💻 LocalExpress10.838s (~)11.016s (~)0.177s51.01x
🐘 PostgresNext.js (Turbopack)14.924s (-2.6%)15.232s (-5.0% 🟢)0.308s51.39x
🐘 PostgresNitro20.435s (~)21.034s (~)0.599s51.91x
🐘 PostgresExpress20.526s (~)21.036s (~)0.510s51.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express22.518s (-1.8%)23.412s (-0.9%)0.894s51.00x
▲ VercelNext.js (Turbopack)23.046s (-3.2%)23.861s (-2.6%)0.815s51.02x
▲ VercelNitro23.046s (-1.9%)24.003s (~)0.957s51.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.355s (-2.5%)2.012s (~)0.657s151.00x
💻 LocalNitro1.402s (~)2.006s (~)0.604s151.03x
💻 LocalExpress1.403s (~)2.007s (~)0.604s151.04x
🐘 PostgresNext.js (Turbopack)1.834s (-19.7% 🟢)2.016s (-29.2% 🟢)0.182s151.35x
🐘 PostgresNitro2.254s (-9.2% 🟢)3.014s (~)0.760s101.66x
🐘 PostgresExpress2.393s (+5.1% 🔺)3.014s (~)0.621s101.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.109s (-26.1% 🟢)3.909s (-22.4% 🟢)0.800s81.00x
▲ VercelNitro3.142s (-11.9% 🟢)4.039s (-7.4% 🟢)0.897s81.01x
▲ VercelExpress3.269s (+6.3% 🔺)4.144s (+4.1%)0.875s81.05x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)2.419s (-1.6%)3.194s (+2.0%)0.776s101.00x
💻 LocalExpress2.515s (+2.2%)3.023s (~)0.507s101.04x
💻 LocalNitro2.531s (~)3.026s (~)0.495s101.05x
🐘 PostgresNitro7.871s (-11.0% 🟢)8.303s (-10.7% 🟢)0.432s43.25x
🐘 PostgresExpress9.321s (+16.9% 🔺)10.093s (+17.9% 🔺)0.772s33.85x
🐘 PostgresNext.js (Turbopack)10.346s (-8.6% 🟢)11.025s (-5.7% 🟢)0.679s34.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.459s (-6.6% 🟢)4.145s (-7.7% 🟢)0.686s81.00x
▲ VercelExpress3.565s (-13.0% 🟢)4.348s (-8.1% 🟢)0.783s71.03x
▲ VercelNitro3.574s (+7.4% 🔺)4.453s (~)0.879s71.03x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.401s (-0.7%)2.011s (~)0.609s151.00x
💻 LocalNitro1.423s (~)2.006s (~)0.583s151.02x
💻 LocalExpress1.425s (+0.7%)2.006s (~)0.581s151.02x
🐘 PostgresExpress1.955s (-6.5% 🟢)2.513s (-6.2% 🟢)0.558s121.39x
🐘 PostgresNext.js (Turbopack)2.097s (+11.1% 🔺)2.515s (+4.8%)0.418s121.50x
🐘 PostgresNitro2.128s (+3.6%)2.511s (~)0.383s121.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.824s (-4.6%)3.715s (-1.8%)0.892s91.00x
▲ VercelNitro2.856s (+2.8%)3.777s (-0.7%)0.921s91.01x
▲ VercelNext.js (Turbopack)2.938s (-5.4% 🟢)3.790s (-4.2%)0.852s81.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express2.519s (-0.5%)3.015s (~)0.496s101.00x
💻 LocalNext.js (Turbopack)2.543s (~)3.045s (~)0.503s101.01x
💻 LocalNitro2.650s (-0.6%)3.013s (~)0.363s101.05x
🐘 PostgresExpress10.261s (-12.2% 🟢)10.705s (-13.6% 🟢)0.444s34.07x
🐘 PostgresNitro11.185s (-4.7%)11.690s (-3.1%)0.505s34.44x
🐘 PostgresNext.js (Turbopack)12.295s (+7.4% 🔺)13.050s (+4.7%)0.755s34.88x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-12.4% 🟢)3.820s (-8.8% 🟢)0.820s81.00x
▲ VercelNext.js (Turbopack)3.092s (-10.1% 🟢)3.808s (-8.7% 🟢)0.716s81.03x
▲ VercelExpress3.097s (-2.1%)3.840s (~)0.743s81.03x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.140s (-3.3%)1.003s (~)0.017s (+1.2%)1.027s (~)0.887s101.00x
💻 LocalExpress0.181s (-1.8%)0.993s (~)0.016s (+3.1%)1.024s (~)0.843s101.29x
💻 LocalNitro0.182s (+0.7%)0.992s (~)0.017s (+20.4% 🔺)1.022s (~)0.841s101.30x
🐘 PostgresNext.js (Turbopack)0.728s (-36.7% 🟢)1.052s (-44.4% 🟢)0.000s (NaN%)1.115s (-44.8% 🟢)0.386s105.21x
🐘 PostgresNitro2.229s (+3.5%)2.814s (-2.7%)0.000s (NaN%)3.015s (~)0.786s1015.93x
🐘 PostgresExpress2.360s (+5.8% 🔺)2.681s (-4.7%)0.000s (-100.0% 🟢)3.016s (~)0.656s1016.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-5.0% 🟢)3.370s (+1.4%)0.422s (-56.6% 🟢)4.274s (-13.2% 🟢)1.274s101.00x
▲ VercelNext.js (Turbopack)3.082s (-2.6%)3.404s (-2.7%)0.537s (-48.3% 🟢)4.415s (-13.5% 🟢)1.334s101.03x
▲ VercelExpress3.103s (+2.9%)3.165s (-2.8%)0.534s (-24.3% 🟢)4.387s (-2.5%)1.283s101.03x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)7/8
🐘 PostgresNext.js (Turbopack)5/8
▲ VercelNitro3/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local8/8
Next.js (Turbopack)💻 Local8/8
Nitro💻 Local8/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

@vercel

vercelBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-nextjs-workflow-webpackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-astro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-express-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-fastify-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-hono-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nitro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nuxt-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-sveltekit-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-vite-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workflow-nestReadyReadyPreview, CommentJan 27, 2026 8:05am
1 Skipped Deployment
ProjectDeploymentReviewUpdated (UTC)
workflow-docsSkippedSkippedJan 27, 2026 8:05am

@vercel
vercelBottemporarily deployed to Preview – workflow-docs January 27, 2026 07:55 Inactive
@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

This stack of pull requests is managed by Graphite. Learn more about stacking.

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes TypeScript compilation errors in the workbench example workflows that were preventing the Nest workbench app from building. The changes address two specific TypeScript errors by updating an import statement and adding a type annotation.

Changes:

  • Updated OpenAI import from default to named export to match OpenAI SDK v6.x API
  • Added explicit type annotation for promises array to fix TypeScript type inference issue

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

FileDescription
workbench/example/workflows/5_hooks.tsChanged OpenAI import from default to named export to fix constructability error
workbench/example/workflows/97_bench.tsAdded explicit Promise<number>[] type annotation to promises array to fix type inference error

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TooTallNate
TooTallNate merged commit f2ab6ee into mainJan 27, 2026
102 of 103 checks passed
@TooTallNate
TooTallNate deleted the 01-26-use_proper_openai_import branch January 27, 2026 08:21
pranaygp added a commit that referenced this pull request Jan 28, 2026
…s-and-commands
* origin/main:
fix(@workflow/ai): support provider-executed tools (AI SDK v6) (#734)
Publish "workflow" and "@workflow/core" package versions in sync (#870)
Add SDK version to workflow run executionContext for observability (#868)
Allow recreateRun to accept an optional deploymentId parameter (#869)
Add support for top-level `using` declarations inside of step / workflow functions (#866)
docs: URL in docs was missing the docs/ prefix, 404 errors (#852)
Add "classes" object to `manifest.json` file (#864)
Fix Nest workbench app build (#865)
Ignore Astro on local dev tests for source map e2e tests (#863)
Enable custom class serialization transformations for "client" mode (#860)
Submit request bodies with CBOR encoding (#844)
[world-vercel] Update queue to use VQS v3 API (#799)
NestJS framework support (#840)
Fix resolve hook theming and token fetching. (#856)
docs: rename Control Flow Patterns to Common Patterns and add new content (#846)
docs: revamp World documentation pages (#763)
Remove unused `getWritable` stub function (#855)
# Conflicts:
#	packages/core/package.json
#	pnpm-lock.yaml
Sign up for freeto 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

@TooTallNate@ijjk
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Fix Nest workbench app build - #865

Merged
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import
Jan 27, 2026
Merged

Fix Nest workbench app build#865
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Jan 27, 2026

Copy link
Copy Markdown
Member

Fixes errors:

Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
Error: ../example/workflows/97_bench.ts(38,19): error TS2345: Argument of type 'Promise<number>' is not assignable to parameter of type 'never'.

This gets the app to build properly. Fails at runtime, but at least this could get current CI green.

```
Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
```
@changeset-bot

changeset-botBot commented Jan 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7f87c82

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

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production457038495
❌ 💻 Local Development416232450
✅ 📦 Local Production418032450
✅ 🐘 Local Postgres418032450
✅ 🪟 Windows450045
❌ 🌍 Community Worlds311610192
✅ 📋 Other123012135
Total19081631462217

❌ Failed Tests

💻 Local Development (2 failed)

astro-stable (2 failed):

  • 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
🌍 Community Worlds (161 failed)

mongodb (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

redis (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

starter (41 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (CLI) - workflow health command reports healthy endpoints
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

turso (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro4104
✅ example4104
✅ express4104
✅ fastify4104
✅ hono4104
✅ nextjs-turbopack4401
✅ nextjs-webpack4401
✅ nitro4104
✅ nuxt4104
✅ sveltekit4104
✅ vite4104
❌ 💻 Local Development
AppPassedFailedSkipped
❌ astro-stable3924
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack4500
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb5400
✅ redis-dev300
❌ redis5400
✅ starter-dev300
❌ starter4410
✅ turso-dev300
❌ turso5400
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4104
✅ e2e-local-postgres-nest-stable4104
✅ e2e-local-prod-nest-stable4104

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.040s (-9.1% 🟢)1.017s (~)0.977s101.00x
💻 LocalNitro0.043s (~)1.007s (~)0.964s101.06x
💻 LocalExpress0.044s (-1.6%)1.008s (~)0.964s101.09x
🐘 PostgresNext.js (Turbopack)0.132s (-33.4% 🟢)1.021s (~)0.889s103.29x
🐘 PostgresNitro0.245s (+11.9% 🔺)1.013s (~)0.768s106.11x
🐘 PostgresExpress0.266s (+9.6% 🔺)1.014s (~)0.749s106.62x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.640s (-19.8% 🟢)1.793s (+4.7%)1.153s101.00x
▲ VercelExpress0.707s (-4.6%)1.719s (-1.9%)1.012s101.10x
▲ VercelNext.js (Turbopack)0.883s (+6.5% 🔺)1.805s (+0.6%)0.921s101.38x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.102s (+0.8%)2.011s (~)0.910s101.00x
💻 LocalNitro1.111s (~)2.007s (~)0.895s101.01x
💻 LocalExpress1.117s (~)2.008s (~)0.891s101.01x
🐘 PostgresNext.js (Turbopack)1.928s (-13.7% 🟢)2.016s (-28.5% 🟢)0.088s101.75x
🐘 PostgresExpress2.128s (-4.2%)3.015s (~)0.887s101.93x
🐘 PostgresNitro2.195s (-2.5%)3.015s (~)0.820s101.99x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.862s (-3.2%)3.680s (+0.8%)0.818s101.00x
▲ VercelNitro2.924s (+2.8%)3.775s (+1.5%)0.851s101.02x
▲ VercelNext.js (Turbopack)2.970s (+5.5% 🔺)3.837s (-1.2%)0.867s101.04x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.714s (~)11.018s (~)0.304s51.00x
💻 LocalNitro10.827s (~)11.014s (~)0.187s51.01x
💻 LocalExpress10.838s (~)11.016s (~)0.177s51.01x
🐘 PostgresNext.js (Turbopack)14.924s (-2.6%)15.232s (-5.0% 🟢)0.308s51.39x
🐘 PostgresNitro20.435s (~)21.034s (~)0.599s51.91x
🐘 PostgresExpress20.526s (~)21.036s (~)0.510s51.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express22.518s (-1.8%)23.412s (-0.9%)0.894s51.00x
▲ VercelNext.js (Turbopack)23.046s (-3.2%)23.861s (-2.6%)0.815s51.02x
▲ VercelNitro23.046s (-1.9%)24.003s (~)0.957s51.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.355s (-2.5%)2.012s (~)0.657s151.00x
💻 LocalNitro1.402s (~)2.006s (~)0.604s151.03x
💻 LocalExpress1.403s (~)2.007s (~)0.604s151.04x
🐘 PostgresNext.js (Turbopack)1.834s (-19.7% 🟢)2.016s (-29.2% 🟢)0.182s151.35x
🐘 PostgresNitro2.254s (-9.2% 🟢)3.014s (~)0.760s101.66x
🐘 PostgresExpress2.393s (+5.1% 🔺)3.014s (~)0.621s101.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.109s (-26.1% 🟢)3.909s (-22.4% 🟢)0.800s81.00x
▲ VercelNitro3.142s (-11.9% 🟢)4.039s (-7.4% 🟢)0.897s81.01x
▲ VercelExpress3.269s (+6.3% 🔺)4.144s (+4.1%)0.875s81.05x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)2.419s (-1.6%)3.194s (+2.0%)0.776s101.00x
💻 LocalExpress2.515s (+2.2%)3.023s (~)0.507s101.04x
💻 LocalNitro2.531s (~)3.026s (~)0.495s101.05x
🐘 PostgresNitro7.871s (-11.0% 🟢)8.303s (-10.7% 🟢)0.432s43.25x
🐘 PostgresExpress9.321s (+16.9% 🔺)10.093s (+17.9% 🔺)0.772s33.85x
🐘 PostgresNext.js (Turbopack)10.346s (-8.6% 🟢)11.025s (-5.7% 🟢)0.679s34.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.459s (-6.6% 🟢)4.145s (-7.7% 🟢)0.686s81.00x
▲ VercelExpress3.565s (-13.0% 🟢)4.348s (-8.1% 🟢)0.783s71.03x
▲ VercelNitro3.574s (+7.4% 🔺)4.453s (~)0.879s71.03x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.401s (-0.7%)2.011s (~)0.609s151.00x
💻 LocalNitro1.423s (~)2.006s (~)0.583s151.02x
💻 LocalExpress1.425s (+0.7%)2.006s (~)0.581s151.02x
🐘 PostgresExpress1.955s (-6.5% 🟢)2.513s (-6.2% 🟢)0.558s121.39x
🐘 PostgresNext.js (Turbopack)2.097s (+11.1% 🔺)2.515s (+4.8%)0.418s121.50x
🐘 PostgresNitro2.128s (+3.6%)2.511s (~)0.383s121.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.824s (-4.6%)3.715s (-1.8%)0.892s91.00x
▲ VercelNitro2.856s (+2.8%)3.777s (-0.7%)0.921s91.01x
▲ VercelNext.js (Turbopack)2.938s (-5.4% 🟢)3.790s (-4.2%)0.852s81.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express2.519s (-0.5%)3.015s (~)0.496s101.00x
💻 LocalNext.js (Turbopack)2.543s (~)3.045s (~)0.503s101.01x
💻 LocalNitro2.650s (-0.6%)3.013s (~)0.363s101.05x
🐘 PostgresExpress10.261s (-12.2% 🟢)10.705s (-13.6% 🟢)0.444s34.07x
🐘 PostgresNitro11.185s (-4.7%)11.690s (-3.1%)0.505s34.44x
🐘 PostgresNext.js (Turbopack)12.295s (+7.4% 🔺)13.050s (+4.7%)0.755s34.88x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-12.4% 🟢)3.820s (-8.8% 🟢)0.820s81.00x
▲ VercelNext.js (Turbopack)3.092s (-10.1% 🟢)3.808s (-8.7% 🟢)0.716s81.03x
▲ VercelExpress3.097s (-2.1%)3.840s (~)0.743s81.03x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.140s (-3.3%)1.003s (~)0.017s (+1.2%)1.027s (~)0.887s101.00x
💻 LocalExpress0.181s (-1.8%)0.993s (~)0.016s (+3.1%)1.024s (~)0.843s101.29x
💻 LocalNitro0.182s (+0.7%)0.992s (~)0.017s (+20.4% 🔺)1.022s (~)0.841s101.30x
🐘 PostgresNext.js (Turbopack)0.728s (-36.7% 🟢)1.052s (-44.4% 🟢)0.000s (NaN%)1.115s (-44.8% 🟢)0.386s105.21x
🐘 PostgresNitro2.229s (+3.5%)2.814s (-2.7%)0.000s (NaN%)3.015s (~)0.786s1015.93x
🐘 PostgresExpress2.360s (+5.8% 🔺)2.681s (-4.7%)0.000s (-100.0% 🟢)3.016s (~)0.656s1016.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-5.0% 🟢)3.370s (+1.4%)0.422s (-56.6% 🟢)4.274s (-13.2% 🟢)1.274s101.00x
▲ VercelNext.js (Turbopack)3.082s (-2.6%)3.404s (-2.7%)0.537s (-48.3% 🟢)4.415s (-13.5% 🟢)1.334s101.03x
▲ VercelExpress3.103s (+2.9%)3.165s (-2.8%)0.534s (-24.3% 🟢)4.387s (-2.5%)1.283s101.03x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)7/8
🐘 PostgresNext.js (Turbopack)5/8
▲ VercelNitro3/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local8/8
Next.js (Turbopack)💻 Local8/8
Nitro💻 Local8/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

@vercel

vercelBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-nextjs-workflow-webpackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-astro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-express-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-fastify-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-hono-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nitro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nuxt-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-sveltekit-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-vite-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workflow-nestReadyReadyPreview, CommentJan 27, 2026 8:05am
1 Skipped Deployment
ProjectDeploymentReviewUpdated (UTC)
workflow-docsSkippedSkippedJan 27, 2026 8:05am

@vercel
vercelBottemporarily deployed to Preview – workflow-docs January 27, 2026 07:55 Inactive
@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

This stack of pull requests is managed by Graphite. Learn more about stacking.

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes TypeScript compilation errors in the workbench example workflows that were preventing the Nest workbench app from building. The changes address two specific TypeScript errors by updating an import statement and adding a type annotation.

Changes:

  • Updated OpenAI import from default to named export to match OpenAI SDK v6.x API
  • Added explicit type annotation for promises array to fix TypeScript type inference issue

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

FileDescription
workbench/example/workflows/5_hooks.tsChanged OpenAI import from default to named export to fix constructability error
workbench/example/workflows/97_bench.tsAdded explicit Promise<number>[] type annotation to promises array to fix type inference error

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TooTallNate
TooTallNate merged commit f2ab6ee into mainJan 27, 2026
102 of 103 checks passed
@TooTallNate
TooTallNate deleted the 01-26-use_proper_openai_import branch January 27, 2026 08:21
pranaygp added a commit that referenced this pull request Jan 28, 2026
…s-and-commands
* origin/main:
fix(@workflow/ai): support provider-executed tools (AI SDK v6) (#734)
Publish "workflow" and "@workflow/core" package versions in sync (#870)
Add SDK version to workflow run executionContext for observability (#868)
Allow recreateRun to accept an optional deploymentId parameter (#869)
Add support for top-level `using` declarations inside of step / workflow functions (#866)
docs: URL in docs was missing the docs/ prefix, 404 errors (#852)
Add "classes" object to `manifest.json` file (#864)
Fix Nest workbench app build (#865)
Ignore Astro on local dev tests for source map e2e tests (#863)
Enable custom class serialization transformations for "client" mode (#860)
Submit request bodies with CBOR encoding (#844)
[world-vercel] Update queue to use VQS v3 API (#799)
NestJS framework support (#840)
Fix resolve hook theming and token fetching. (#856)
docs: rename Control Flow Patterns to Common Patterns and add new content (#846)
docs: revamp World documentation pages (#763)
Remove unused `getWritable` stub function (#855)
# Conflicts:
#	packages/core/package.json
#	pnpm-lock.yaml
Sign up for freeto 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

@TooTallNate@ijjk
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Fix Nest workbench app build - #865

Merged
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import
Jan 27, 2026
Merged

Fix Nest workbench app build#865
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Jan 27, 2026

Copy link
Copy Markdown
Member

Fixes errors:

Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
Error: ../example/workflows/97_bench.ts(38,19): error TS2345: Argument of type 'Promise<number>' is not assignable to parameter of type 'never'.

This gets the app to build properly. Fails at runtime, but at least this could get current CI green.

```
Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
```
@changeset-bot

changeset-botBot commented Jan 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7f87c82

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

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production457038495
❌ 💻 Local Development416232450
✅ 📦 Local Production418032450
✅ 🐘 Local Postgres418032450
✅ 🪟 Windows450045
❌ 🌍 Community Worlds311610192
✅ 📋 Other123012135
Total19081631462217

❌ Failed Tests

💻 Local Development (2 failed)

astro-stable (2 failed):

  • 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
🌍 Community Worlds (161 failed)

mongodb (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

redis (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

starter (41 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (CLI) - workflow health command reports healthy endpoints
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

turso (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro4104
✅ example4104
✅ express4104
✅ fastify4104
✅ hono4104
✅ nextjs-turbopack4401
✅ nextjs-webpack4401
✅ nitro4104
✅ nuxt4104
✅ sveltekit4104
✅ vite4104
❌ 💻 Local Development
AppPassedFailedSkipped
❌ astro-stable3924
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack4500
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb5400
✅ redis-dev300
❌ redis5400
✅ starter-dev300
❌ starter4410
✅ turso-dev300
❌ turso5400
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4104
✅ e2e-local-postgres-nest-stable4104
✅ e2e-local-prod-nest-stable4104

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.040s (-9.1% 🟢)1.017s (~)0.977s101.00x
💻 LocalNitro0.043s (~)1.007s (~)0.964s101.06x
💻 LocalExpress0.044s (-1.6%)1.008s (~)0.964s101.09x
🐘 PostgresNext.js (Turbopack)0.132s (-33.4% 🟢)1.021s (~)0.889s103.29x
🐘 PostgresNitro0.245s (+11.9% 🔺)1.013s (~)0.768s106.11x
🐘 PostgresExpress0.266s (+9.6% 🔺)1.014s (~)0.749s106.62x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.640s (-19.8% 🟢)1.793s (+4.7%)1.153s101.00x
▲ VercelExpress0.707s (-4.6%)1.719s (-1.9%)1.012s101.10x
▲ VercelNext.js (Turbopack)0.883s (+6.5% 🔺)1.805s (+0.6%)0.921s101.38x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.102s (+0.8%)2.011s (~)0.910s101.00x
💻 LocalNitro1.111s (~)2.007s (~)0.895s101.01x
💻 LocalExpress1.117s (~)2.008s (~)0.891s101.01x
🐘 PostgresNext.js (Turbopack)1.928s (-13.7% 🟢)2.016s (-28.5% 🟢)0.088s101.75x
🐘 PostgresExpress2.128s (-4.2%)3.015s (~)0.887s101.93x
🐘 PostgresNitro2.195s (-2.5%)3.015s (~)0.820s101.99x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.862s (-3.2%)3.680s (+0.8%)0.818s101.00x
▲ VercelNitro2.924s (+2.8%)3.775s (+1.5%)0.851s101.02x
▲ VercelNext.js (Turbopack)2.970s (+5.5% 🔺)3.837s (-1.2%)0.867s101.04x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.714s (~)11.018s (~)0.304s51.00x
💻 LocalNitro10.827s (~)11.014s (~)0.187s51.01x
💻 LocalExpress10.838s (~)11.016s (~)0.177s51.01x
🐘 PostgresNext.js (Turbopack)14.924s (-2.6%)15.232s (-5.0% 🟢)0.308s51.39x
🐘 PostgresNitro20.435s (~)21.034s (~)0.599s51.91x
🐘 PostgresExpress20.526s (~)21.036s (~)0.510s51.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express22.518s (-1.8%)23.412s (-0.9%)0.894s51.00x
▲ VercelNext.js (Turbopack)23.046s (-3.2%)23.861s (-2.6%)0.815s51.02x
▲ VercelNitro23.046s (-1.9%)24.003s (~)0.957s51.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.355s (-2.5%)2.012s (~)0.657s151.00x
💻 LocalNitro1.402s (~)2.006s (~)0.604s151.03x
💻 LocalExpress1.403s (~)2.007s (~)0.604s151.04x
🐘 PostgresNext.js (Turbopack)1.834s (-19.7% 🟢)2.016s (-29.2% 🟢)0.182s151.35x
🐘 PostgresNitro2.254s (-9.2% 🟢)3.014s (~)0.760s101.66x
🐘 PostgresExpress2.393s (+5.1% 🔺)3.014s (~)0.621s101.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.109s (-26.1% 🟢)3.909s (-22.4% 🟢)0.800s81.00x
▲ VercelNitro3.142s (-11.9% 🟢)4.039s (-7.4% 🟢)0.897s81.01x
▲ VercelExpress3.269s (+6.3% 🔺)4.144s (+4.1%)0.875s81.05x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)2.419s (-1.6%)3.194s (+2.0%)0.776s101.00x
💻 LocalExpress2.515s (+2.2%)3.023s (~)0.507s101.04x
💻 LocalNitro2.531s (~)3.026s (~)0.495s101.05x
🐘 PostgresNitro7.871s (-11.0% 🟢)8.303s (-10.7% 🟢)0.432s43.25x
🐘 PostgresExpress9.321s (+16.9% 🔺)10.093s (+17.9% 🔺)0.772s33.85x
🐘 PostgresNext.js (Turbopack)10.346s (-8.6% 🟢)11.025s (-5.7% 🟢)0.679s34.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.459s (-6.6% 🟢)4.145s (-7.7% 🟢)0.686s81.00x
▲ VercelExpress3.565s (-13.0% 🟢)4.348s (-8.1% 🟢)0.783s71.03x
▲ VercelNitro3.574s (+7.4% 🔺)4.453s (~)0.879s71.03x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.401s (-0.7%)2.011s (~)0.609s151.00x
💻 LocalNitro1.423s (~)2.006s (~)0.583s151.02x
💻 LocalExpress1.425s (+0.7%)2.006s (~)0.581s151.02x
🐘 PostgresExpress1.955s (-6.5% 🟢)2.513s (-6.2% 🟢)0.558s121.39x
🐘 PostgresNext.js (Turbopack)2.097s (+11.1% 🔺)2.515s (+4.8%)0.418s121.50x
🐘 PostgresNitro2.128s (+3.6%)2.511s (~)0.383s121.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.824s (-4.6%)3.715s (-1.8%)0.892s91.00x
▲ VercelNitro2.856s (+2.8%)3.777s (-0.7%)0.921s91.01x
▲ VercelNext.js (Turbopack)2.938s (-5.4% 🟢)3.790s (-4.2%)0.852s81.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express2.519s (-0.5%)3.015s (~)0.496s101.00x
💻 LocalNext.js (Turbopack)2.543s (~)3.045s (~)0.503s101.01x
💻 LocalNitro2.650s (-0.6%)3.013s (~)0.363s101.05x
🐘 PostgresExpress10.261s (-12.2% 🟢)10.705s (-13.6% 🟢)0.444s34.07x
🐘 PostgresNitro11.185s (-4.7%)11.690s (-3.1%)0.505s34.44x
🐘 PostgresNext.js (Turbopack)12.295s (+7.4% 🔺)13.050s (+4.7%)0.755s34.88x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-12.4% 🟢)3.820s (-8.8% 🟢)0.820s81.00x
▲ VercelNext.js (Turbopack)3.092s (-10.1% 🟢)3.808s (-8.7% 🟢)0.716s81.03x
▲ VercelExpress3.097s (-2.1%)3.840s (~)0.743s81.03x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.140s (-3.3%)1.003s (~)0.017s (+1.2%)1.027s (~)0.887s101.00x
💻 LocalExpress0.181s (-1.8%)0.993s (~)0.016s (+3.1%)1.024s (~)0.843s101.29x
💻 LocalNitro0.182s (+0.7%)0.992s (~)0.017s (+20.4% 🔺)1.022s (~)0.841s101.30x
🐘 PostgresNext.js (Turbopack)0.728s (-36.7% 🟢)1.052s (-44.4% 🟢)0.000s (NaN%)1.115s (-44.8% 🟢)0.386s105.21x
🐘 PostgresNitro2.229s (+3.5%)2.814s (-2.7%)0.000s (NaN%)3.015s (~)0.786s1015.93x
🐘 PostgresExpress2.360s (+5.8% 🔺)2.681s (-4.7%)0.000s (-100.0% 🟢)3.016s (~)0.656s1016.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-5.0% 🟢)3.370s (+1.4%)0.422s (-56.6% 🟢)4.274s (-13.2% 🟢)1.274s101.00x
▲ VercelNext.js (Turbopack)3.082s (-2.6%)3.404s (-2.7%)0.537s (-48.3% 🟢)4.415s (-13.5% 🟢)1.334s101.03x
▲ VercelExpress3.103s (+2.9%)3.165s (-2.8%)0.534s (-24.3% 🟢)4.387s (-2.5%)1.283s101.03x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)7/8
🐘 PostgresNext.js (Turbopack)5/8
▲ VercelNitro3/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local8/8
Next.js (Turbopack)💻 Local8/8
Nitro💻 Local8/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

@vercel

vercelBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-nextjs-workflow-webpackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-astro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-express-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-fastify-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-hono-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nitro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nuxt-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-sveltekit-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-vite-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workflow-nestReadyReadyPreview, CommentJan 27, 2026 8:05am
1 Skipped Deployment
ProjectDeploymentReviewUpdated (UTC)
workflow-docsSkippedSkippedJan 27, 2026 8:05am

@vercel
vercelBottemporarily deployed to Preview – workflow-docs January 27, 2026 07:55 Inactive
@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

This stack of pull requests is managed by Graphite. Learn more about stacking.

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes TypeScript compilation errors in the workbench example workflows that were preventing the Nest workbench app from building. The changes address two specific TypeScript errors by updating an import statement and adding a type annotation.

Changes:

  • Updated OpenAI import from default to named export to match OpenAI SDK v6.x API
  • Added explicit type annotation for promises array to fix TypeScript type inference issue

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

FileDescription
workbench/example/workflows/5_hooks.tsChanged OpenAI import from default to named export to fix constructability error
workbench/example/workflows/97_bench.tsAdded explicit Promise<number>[] type annotation to promises array to fix type inference error

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TooTallNate
TooTallNate merged commit f2ab6ee into mainJan 27, 2026
102 of 103 checks passed
@TooTallNate
TooTallNate deleted the 01-26-use_proper_openai_import branch January 27, 2026 08:21
pranaygp added a commit that referenced this pull request Jan 28, 2026
…s-and-commands
* origin/main:
fix(@workflow/ai): support provider-executed tools (AI SDK v6) (#734)
Publish "workflow" and "@workflow/core" package versions in sync (#870)
Add SDK version to workflow run executionContext for observability (#868)
Allow recreateRun to accept an optional deploymentId parameter (#869)
Add support for top-level `using` declarations inside of step / workflow functions (#866)
docs: URL in docs was missing the docs/ prefix, 404 errors (#852)
Add "classes" object to `manifest.json` file (#864)
Fix Nest workbench app build (#865)
Ignore Astro on local dev tests for source map e2e tests (#863)
Enable custom class serialization transformations for "client" mode (#860)
Submit request bodies with CBOR encoding (#844)
[world-vercel] Update queue to use VQS v3 API (#799)
NestJS framework support (#840)
Fix resolve hook theming and token fetching. (#856)
docs: rename Control Flow Patterns to Common Patterns and add new content (#846)
docs: revamp World documentation pages (#763)
Remove unused `getWritable` stub function (#855)
# Conflicts:
#	packages/core/package.json
#	pnpm-lock.yaml
Sign up for freeto 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

@TooTallNate@ijjk
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

Fix Nest workbench app build - #865

Merged
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import
Jan 27, 2026
Merged

Fix Nest workbench app build#865
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Jan 27, 2026

Copy link
Copy Markdown
Member

Fixes errors:

Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
Error: ../example/workflows/97_bench.ts(38,19): error TS2345: Argument of type 'Promise<number>' is not assignable to parameter of type 'never'.

This gets the app to build properly. Fails at runtime, but at least this could get current CI green.

```
Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
```
@changeset-bot

changeset-botBot commented Jan 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7f87c82

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

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production457038495
❌ 💻 Local Development416232450
✅ 📦 Local Production418032450
✅ 🐘 Local Postgres418032450
✅ 🪟 Windows450045
❌ 🌍 Community Worlds311610192
✅ 📋 Other123012135
Total19081631462217

❌ Failed Tests

💻 Local Development (2 failed)

astro-stable (2 failed):

  • 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
🌍 Community Worlds (161 failed)

mongodb (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

redis (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

starter (41 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (CLI) - workflow health command reports healthy endpoints
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

turso (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro4104
✅ example4104
✅ express4104
✅ fastify4104
✅ hono4104
✅ nextjs-turbopack4401
✅ nextjs-webpack4401
✅ nitro4104
✅ nuxt4104
✅ sveltekit4104
✅ vite4104
❌ 💻 Local Development
AppPassedFailedSkipped
❌ astro-stable3924
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack4500
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb5400
✅ redis-dev300
❌ redis5400
✅ starter-dev300
❌ starter4410
✅ turso-dev300
❌ turso5400
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4104
✅ e2e-local-postgres-nest-stable4104
✅ e2e-local-prod-nest-stable4104

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.040s (-9.1% 🟢)1.017s (~)0.977s101.00x
💻 LocalNitro0.043s (~)1.007s (~)0.964s101.06x
💻 LocalExpress0.044s (-1.6%)1.008s (~)0.964s101.09x
🐘 PostgresNext.js (Turbopack)0.132s (-33.4% 🟢)1.021s (~)0.889s103.29x
🐘 PostgresNitro0.245s (+11.9% 🔺)1.013s (~)0.768s106.11x
🐘 PostgresExpress0.266s (+9.6% 🔺)1.014s (~)0.749s106.62x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.640s (-19.8% 🟢)1.793s (+4.7%)1.153s101.00x
▲ VercelExpress0.707s (-4.6%)1.719s (-1.9%)1.012s101.10x
▲ VercelNext.js (Turbopack)0.883s (+6.5% 🔺)1.805s (+0.6%)0.921s101.38x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.102s (+0.8%)2.011s (~)0.910s101.00x
💻 LocalNitro1.111s (~)2.007s (~)0.895s101.01x
💻 LocalExpress1.117s (~)2.008s (~)0.891s101.01x
🐘 PostgresNext.js (Turbopack)1.928s (-13.7% 🟢)2.016s (-28.5% 🟢)0.088s101.75x
🐘 PostgresExpress2.128s (-4.2%)3.015s (~)0.887s101.93x
🐘 PostgresNitro2.195s (-2.5%)3.015s (~)0.820s101.99x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.862s (-3.2%)3.680s (+0.8%)0.818s101.00x
▲ VercelNitro2.924s (+2.8%)3.775s (+1.5%)0.851s101.02x
▲ VercelNext.js (Turbopack)2.970s (+5.5% 🔺)3.837s (-1.2%)0.867s101.04x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.714s (~)11.018s (~)0.304s51.00x
💻 LocalNitro10.827s (~)11.014s (~)0.187s51.01x
💻 LocalExpress10.838s (~)11.016s (~)0.177s51.01x
🐘 PostgresNext.js (Turbopack)14.924s (-2.6%)15.232s (-5.0% 🟢)0.308s51.39x
🐘 PostgresNitro20.435s (~)21.034s (~)0.599s51.91x
🐘 PostgresExpress20.526s (~)21.036s (~)0.510s51.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express22.518s (-1.8%)23.412s (-0.9%)0.894s51.00x
▲ VercelNext.js (Turbopack)23.046s (-3.2%)23.861s (-2.6%)0.815s51.02x
▲ VercelNitro23.046s (-1.9%)24.003s (~)0.957s51.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.355s (-2.5%)2.012s (~)0.657s151.00x
💻 LocalNitro1.402s (~)2.006s (~)0.604s151.03x
💻 LocalExpress1.403s (~)2.007s (~)0.604s151.04x
🐘 PostgresNext.js (Turbopack)1.834s (-19.7% 🟢)2.016s (-29.2% 🟢)0.182s151.35x
🐘 PostgresNitro2.254s (-9.2% 🟢)3.014s (~)0.760s101.66x
🐘 PostgresExpress2.393s (+5.1% 🔺)3.014s (~)0.621s101.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.109s (-26.1% 🟢)3.909s (-22.4% 🟢)0.800s81.00x
▲ VercelNitro3.142s (-11.9% 🟢)4.039s (-7.4% 🟢)0.897s81.01x
▲ VercelExpress3.269s (+6.3% 🔺)4.144s (+4.1%)0.875s81.05x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)2.419s (-1.6%)3.194s (+2.0%)0.776s101.00x
💻 LocalExpress2.515s (+2.2%)3.023s (~)0.507s101.04x
💻 LocalNitro2.531s (~)3.026s (~)0.495s101.05x
🐘 PostgresNitro7.871s (-11.0% 🟢)8.303s (-10.7% 🟢)0.432s43.25x
🐘 PostgresExpress9.321s (+16.9% 🔺)10.093s (+17.9% 🔺)0.772s33.85x
🐘 PostgresNext.js (Turbopack)10.346s (-8.6% 🟢)11.025s (-5.7% 🟢)0.679s34.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.459s (-6.6% 🟢)4.145s (-7.7% 🟢)0.686s81.00x
▲ VercelExpress3.565s (-13.0% 🟢)4.348s (-8.1% 🟢)0.783s71.03x
▲ VercelNitro3.574s (+7.4% 🔺)4.453s (~)0.879s71.03x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.401s (-0.7%)2.011s (~)0.609s151.00x
💻 LocalNitro1.423s (~)2.006s (~)0.583s151.02x
💻 LocalExpress1.425s (+0.7%)2.006s (~)0.581s151.02x
🐘 PostgresExpress1.955s (-6.5% 🟢)2.513s (-6.2% 🟢)0.558s121.39x
🐘 PostgresNext.js (Turbopack)2.097s (+11.1% 🔺)2.515s (+4.8%)0.418s121.50x
🐘 PostgresNitro2.128s (+3.6%)2.511s (~)0.383s121.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.824s (-4.6%)3.715s (-1.8%)0.892s91.00x
▲ VercelNitro2.856s (+2.8%)3.777s (-0.7%)0.921s91.01x
▲ VercelNext.js (Turbopack)2.938s (-5.4% 🟢)3.790s (-4.2%)0.852s81.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express2.519s (-0.5%)3.015s (~)0.496s101.00x
💻 LocalNext.js (Turbopack)2.543s (~)3.045s (~)0.503s101.01x
💻 LocalNitro2.650s (-0.6%)3.013s (~)0.363s101.05x
🐘 PostgresExpress10.261s (-12.2% 🟢)10.705s (-13.6% 🟢)0.444s34.07x
🐘 PostgresNitro11.185s (-4.7%)11.690s (-3.1%)0.505s34.44x
🐘 PostgresNext.js (Turbopack)12.295s (+7.4% 🔺)13.050s (+4.7%)0.755s34.88x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-12.4% 🟢)3.820s (-8.8% 🟢)0.820s81.00x
▲ VercelNext.js (Turbopack)3.092s (-10.1% 🟢)3.808s (-8.7% 🟢)0.716s81.03x
▲ VercelExpress3.097s (-2.1%)3.840s (~)0.743s81.03x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.140s (-3.3%)1.003s (~)0.017s (+1.2%)1.027s (~)0.887s101.00x
💻 LocalExpress0.181s (-1.8%)0.993s (~)0.016s (+3.1%)1.024s (~)0.843s101.29x
💻 LocalNitro0.182s (+0.7%)0.992s (~)0.017s (+20.4% 🔺)1.022s (~)0.841s101.30x
🐘 PostgresNext.js (Turbopack)0.728s (-36.7% 🟢)1.052s (-44.4% 🟢)0.000s (NaN%)1.115s (-44.8% 🟢)0.386s105.21x
🐘 PostgresNitro2.229s (+3.5%)2.814s (-2.7%)0.000s (NaN%)3.015s (~)0.786s1015.93x
🐘 PostgresExpress2.360s (+5.8% 🔺)2.681s (-4.7%)0.000s (-100.0% 🟢)3.016s (~)0.656s1016.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-5.0% 🟢)3.370s (+1.4%)0.422s (-56.6% 🟢)4.274s (-13.2% 🟢)1.274s101.00x
▲ VercelNext.js (Turbopack)3.082s (-2.6%)3.404s (-2.7%)0.537s (-48.3% 🟢)4.415s (-13.5% 🟢)1.334s101.03x
▲ VercelExpress3.103s (+2.9%)3.165s (-2.8%)0.534s (-24.3% 🟢)4.387s (-2.5%)1.283s101.03x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)7/8
🐘 PostgresNext.js (Turbopack)5/8
▲ VercelNitro3/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local8/8
Next.js (Turbopack)💻 Local8/8
Nitro💻 Local8/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

@vercel

vercelBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-nextjs-workflow-webpackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-astro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-express-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-fastify-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-hono-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nitro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nuxt-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-sveltekit-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-vite-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workflow-nestReadyReadyPreview, CommentJan 27, 2026 8:05am
1 Skipped Deployment
ProjectDeploymentReviewUpdated (UTC)
workflow-docsSkippedSkippedJan 27, 2026 8:05am

@vercel
vercelBottemporarily deployed to Preview – workflow-docs January 27, 2026 07:55 Inactive
@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

This stack of pull requests is managed by Graphite. Learn more about stacking.

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes TypeScript compilation errors in the workbench example workflows that were preventing the Nest workbench app from building. The changes address two specific TypeScript errors by updating an import statement and adding a type annotation.

Changes:

  • Updated OpenAI import from default to named export to match OpenAI SDK v6.x API
  • Added explicit type annotation for promises array to fix TypeScript type inference issue

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

FileDescription
workbench/example/workflows/5_hooks.tsChanged OpenAI import from default to named export to fix constructability error
workbench/example/workflows/97_bench.tsAdded explicit Promise<number>[] type annotation to promises array to fix type inference error

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TooTallNate
TooTallNate merged commit f2ab6ee into mainJan 27, 2026
102 of 103 checks passed
@TooTallNate
TooTallNate deleted the 01-26-use_proper_openai_import branch January 27, 2026 08:21
pranaygp added a commit that referenced this pull request Jan 28, 2026
…s-and-commands
* origin/main:
fix(@workflow/ai): support provider-executed tools (AI SDK v6) (#734)
Publish "workflow" and "@workflow/core" package versions in sync (#870)
Add SDK version to workflow run executionContext for observability (#868)
Allow recreateRun to accept an optional deploymentId parameter (#869)
Add support for top-level `using` declarations inside of step / workflow functions (#866)
docs: URL in docs was missing the docs/ prefix, 404 errors (#852)
Add "classes" object to `manifest.json` file (#864)
Fix Nest workbench app build (#865)
Ignore Astro on local dev tests for source map e2e tests (#863)
Enable custom class serialization transformations for "client" mode (#860)
Submit request bodies with CBOR encoding (#844)
[world-vercel] Update queue to use VQS v3 API (#799)
NestJS framework support (#840)
Fix resolve hook theming and token fetching. (#856)
docs: rename Control Flow Patterns to Common Patterns and add new content (#846)
docs: revamp World documentation pages (#763)
Remove unused `getWritable` stub function (#855)
# Conflicts:
#	packages/core/package.json
#	pnpm-lock.yaml
Sign up for freeto 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

@TooTallNate@ijjk
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Fix Nest workbench app build - #865

Merged
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import
Jan 27, 2026
Merged

Fix Nest workbench app build#865
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Jan 27, 2026

Copy link
Copy Markdown
Member

Fixes errors:

Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
Error: ../example/workflows/97_bench.ts(38,19): error TS2345: Argument of type 'Promise<number>' is not assignable to parameter of type 'never'.

This gets the app to build properly. Fails at runtime, but at least this could get current CI green.

```
Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
```
@changeset-bot

changeset-botBot commented Jan 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7f87c82

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

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production457038495
❌ 💻 Local Development416232450
✅ 📦 Local Production418032450
✅ 🐘 Local Postgres418032450
✅ 🪟 Windows450045
❌ 🌍 Community Worlds311610192
✅ 📋 Other123012135
Total19081631462217

❌ Failed Tests

💻 Local Development (2 failed)

astro-stable (2 failed):

  • 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
🌍 Community Worlds (161 failed)

mongodb (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

redis (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

starter (41 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (CLI) - workflow health command reports healthy endpoints
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

turso (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro4104
✅ example4104
✅ express4104
✅ fastify4104
✅ hono4104
✅ nextjs-turbopack4401
✅ nextjs-webpack4401
✅ nitro4104
✅ nuxt4104
✅ sveltekit4104
✅ vite4104
❌ 💻 Local Development
AppPassedFailedSkipped
❌ astro-stable3924
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack4500
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb5400
✅ redis-dev300
❌ redis5400
✅ starter-dev300
❌ starter4410
✅ turso-dev300
❌ turso5400
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4104
✅ e2e-local-postgres-nest-stable4104
✅ e2e-local-prod-nest-stable4104

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.040s (-9.1% 🟢)1.017s (~)0.977s101.00x
💻 LocalNitro0.043s (~)1.007s (~)0.964s101.06x
💻 LocalExpress0.044s (-1.6%)1.008s (~)0.964s101.09x
🐘 PostgresNext.js (Turbopack)0.132s (-33.4% 🟢)1.021s (~)0.889s103.29x
🐘 PostgresNitro0.245s (+11.9% 🔺)1.013s (~)0.768s106.11x
🐘 PostgresExpress0.266s (+9.6% 🔺)1.014s (~)0.749s106.62x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.640s (-19.8% 🟢)1.793s (+4.7%)1.153s101.00x
▲ VercelExpress0.707s (-4.6%)1.719s (-1.9%)1.012s101.10x
▲ VercelNext.js (Turbopack)0.883s (+6.5% 🔺)1.805s (+0.6%)0.921s101.38x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.102s (+0.8%)2.011s (~)0.910s101.00x
💻 LocalNitro1.111s (~)2.007s (~)0.895s101.01x
💻 LocalExpress1.117s (~)2.008s (~)0.891s101.01x
🐘 PostgresNext.js (Turbopack)1.928s (-13.7% 🟢)2.016s (-28.5% 🟢)0.088s101.75x
🐘 PostgresExpress2.128s (-4.2%)3.015s (~)0.887s101.93x
🐘 PostgresNitro2.195s (-2.5%)3.015s (~)0.820s101.99x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.862s (-3.2%)3.680s (+0.8%)0.818s101.00x
▲ VercelNitro2.924s (+2.8%)3.775s (+1.5%)0.851s101.02x
▲ VercelNext.js (Turbopack)2.970s (+5.5% 🔺)3.837s (-1.2%)0.867s101.04x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.714s (~)11.018s (~)0.304s51.00x
💻 LocalNitro10.827s (~)11.014s (~)0.187s51.01x
💻 LocalExpress10.838s (~)11.016s (~)0.177s51.01x
🐘 PostgresNext.js (Turbopack)14.924s (-2.6%)15.232s (-5.0% 🟢)0.308s51.39x
🐘 PostgresNitro20.435s (~)21.034s (~)0.599s51.91x
🐘 PostgresExpress20.526s (~)21.036s (~)0.510s51.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express22.518s (-1.8%)23.412s (-0.9%)0.894s51.00x
▲ VercelNext.js (Turbopack)23.046s (-3.2%)23.861s (-2.6%)0.815s51.02x
▲ VercelNitro23.046s (-1.9%)24.003s (~)0.957s51.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.355s (-2.5%)2.012s (~)0.657s151.00x
💻 LocalNitro1.402s (~)2.006s (~)0.604s151.03x
💻 LocalExpress1.403s (~)2.007s (~)0.604s151.04x
🐘 PostgresNext.js (Turbopack)1.834s (-19.7% 🟢)2.016s (-29.2% 🟢)0.182s151.35x
🐘 PostgresNitro2.254s (-9.2% 🟢)3.014s (~)0.760s101.66x
🐘 PostgresExpress2.393s (+5.1% 🔺)3.014s (~)0.621s101.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.109s (-26.1% 🟢)3.909s (-22.4% 🟢)0.800s81.00x
▲ VercelNitro3.142s (-11.9% 🟢)4.039s (-7.4% 🟢)0.897s81.01x
▲ VercelExpress3.269s (+6.3% 🔺)4.144s (+4.1%)0.875s81.05x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)2.419s (-1.6%)3.194s (+2.0%)0.776s101.00x
💻 LocalExpress2.515s (+2.2%)3.023s (~)0.507s101.04x
💻 LocalNitro2.531s (~)3.026s (~)0.495s101.05x
🐘 PostgresNitro7.871s (-11.0% 🟢)8.303s (-10.7% 🟢)0.432s43.25x
🐘 PostgresExpress9.321s (+16.9% 🔺)10.093s (+17.9% 🔺)0.772s33.85x
🐘 PostgresNext.js (Turbopack)10.346s (-8.6% 🟢)11.025s (-5.7% 🟢)0.679s34.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.459s (-6.6% 🟢)4.145s (-7.7% 🟢)0.686s81.00x
▲ VercelExpress3.565s (-13.0% 🟢)4.348s (-8.1% 🟢)0.783s71.03x
▲ VercelNitro3.574s (+7.4% 🔺)4.453s (~)0.879s71.03x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.401s (-0.7%)2.011s (~)0.609s151.00x
💻 LocalNitro1.423s (~)2.006s (~)0.583s151.02x
💻 LocalExpress1.425s (+0.7%)2.006s (~)0.581s151.02x
🐘 PostgresExpress1.955s (-6.5% 🟢)2.513s (-6.2% 🟢)0.558s121.39x
🐘 PostgresNext.js (Turbopack)2.097s (+11.1% 🔺)2.515s (+4.8%)0.418s121.50x
🐘 PostgresNitro2.128s (+3.6%)2.511s (~)0.383s121.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.824s (-4.6%)3.715s (-1.8%)0.892s91.00x
▲ VercelNitro2.856s (+2.8%)3.777s (-0.7%)0.921s91.01x
▲ VercelNext.js (Turbopack)2.938s (-5.4% 🟢)3.790s (-4.2%)0.852s81.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express2.519s (-0.5%)3.015s (~)0.496s101.00x
💻 LocalNext.js (Turbopack)2.543s (~)3.045s (~)0.503s101.01x
💻 LocalNitro2.650s (-0.6%)3.013s (~)0.363s101.05x
🐘 PostgresExpress10.261s (-12.2% 🟢)10.705s (-13.6% 🟢)0.444s34.07x
🐘 PostgresNitro11.185s (-4.7%)11.690s (-3.1%)0.505s34.44x
🐘 PostgresNext.js (Turbopack)12.295s (+7.4% 🔺)13.050s (+4.7%)0.755s34.88x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-12.4% 🟢)3.820s (-8.8% 🟢)0.820s81.00x
▲ VercelNext.js (Turbopack)3.092s (-10.1% 🟢)3.808s (-8.7% 🟢)0.716s81.03x
▲ VercelExpress3.097s (-2.1%)3.840s (~)0.743s81.03x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.140s (-3.3%)1.003s (~)0.017s (+1.2%)1.027s (~)0.887s101.00x
💻 LocalExpress0.181s (-1.8%)0.993s (~)0.016s (+3.1%)1.024s (~)0.843s101.29x
💻 LocalNitro0.182s (+0.7%)0.992s (~)0.017s (+20.4% 🔺)1.022s (~)0.841s101.30x
🐘 PostgresNext.js (Turbopack)0.728s (-36.7% 🟢)1.052s (-44.4% 🟢)0.000s (NaN%)1.115s (-44.8% 🟢)0.386s105.21x
🐘 PostgresNitro2.229s (+3.5%)2.814s (-2.7%)0.000s (NaN%)3.015s (~)0.786s1015.93x
🐘 PostgresExpress2.360s (+5.8% 🔺)2.681s (-4.7%)0.000s (-100.0% 🟢)3.016s (~)0.656s1016.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-5.0% 🟢)3.370s (+1.4%)0.422s (-56.6% 🟢)4.274s (-13.2% 🟢)1.274s101.00x
▲ VercelNext.js (Turbopack)3.082s (-2.6%)3.404s (-2.7%)0.537s (-48.3% 🟢)4.415s (-13.5% 🟢)1.334s101.03x
▲ VercelExpress3.103s (+2.9%)3.165s (-2.8%)0.534s (-24.3% 🟢)4.387s (-2.5%)1.283s101.03x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)7/8
🐘 PostgresNext.js (Turbopack)5/8
▲ VercelNitro3/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local8/8
Next.js (Turbopack)💻 Local8/8
Nitro💻 Local8/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

@vercel

vercelBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-nextjs-workflow-webpackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-astro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-express-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-fastify-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-hono-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nitro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nuxt-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-sveltekit-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-vite-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workflow-nestReadyReadyPreview, CommentJan 27, 2026 8:05am
1 Skipped Deployment
ProjectDeploymentReviewUpdated (UTC)
workflow-docsSkippedSkippedJan 27, 2026 8:05am

@vercel
vercelBottemporarily deployed to Preview – workflow-docs January 27, 2026 07:55 Inactive
@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

This stack of pull requests is managed by Graphite. Learn more about stacking.

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes TypeScript compilation errors in the workbench example workflows that were preventing the Nest workbench app from building. The changes address two specific TypeScript errors by updating an import statement and adding a type annotation.

Changes:

  • Updated OpenAI import from default to named export to match OpenAI SDK v6.x API
  • Added explicit type annotation for promises array to fix TypeScript type inference issue

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

FileDescription
workbench/example/workflows/5_hooks.tsChanged OpenAI import from default to named export to fix constructability error
workbench/example/workflows/97_bench.tsAdded explicit Promise<number>[] type annotation to promises array to fix type inference error

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TooTallNate
TooTallNate merged commit f2ab6ee into mainJan 27, 2026
102 of 103 checks passed
@TooTallNate
TooTallNate deleted the 01-26-use_proper_openai_import branch January 27, 2026 08:21
pranaygp added a commit that referenced this pull request Jan 28, 2026
…s-and-commands
* origin/main:
fix(@workflow/ai): support provider-executed tools (AI SDK v6) (#734)
Publish "workflow" and "@workflow/core" package versions in sync (#870)
Add SDK version to workflow run executionContext for observability (#868)
Allow recreateRun to accept an optional deploymentId parameter (#869)
Add support for top-level `using` declarations inside of step / workflow functions (#866)
docs: URL in docs was missing the docs/ prefix, 404 errors (#852)
Add "classes" object to `manifest.json` file (#864)
Fix Nest workbench app build (#865)
Ignore Astro on local dev tests for source map e2e tests (#863)
Enable custom class serialization transformations for "client" mode (#860)
Submit request bodies with CBOR encoding (#844)
[world-vercel] Update queue to use VQS v3 API (#799)
NestJS framework support (#840)
Fix resolve hook theming and token fetching. (#856)
docs: rename Control Flow Patterns to Common Patterns and add new content (#846)
docs: revamp World documentation pages (#763)
Remove unused `getWritable` stub function (#855)
# Conflicts:
#	packages/core/package.json
#	pnpm-lock.yaml
Sign up for freeto 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

@TooTallNate@ijjk
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Fix Nest workbench app build - #865

Merged
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import
Jan 27, 2026
Merged

Fix Nest workbench app build#865
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Jan 27, 2026

Copy link
Copy Markdown
Member

Fixes errors:

Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
Error: ../example/workflows/97_bench.ts(38,19): error TS2345: Argument of type 'Promise<number>' is not assignable to parameter of type 'never'.

This gets the app to build properly. Fails at runtime, but at least this could get current CI green.

```
Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
```
@changeset-bot

changeset-botBot commented Jan 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7f87c82

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

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production457038495
❌ 💻 Local Development416232450
✅ 📦 Local Production418032450
✅ 🐘 Local Postgres418032450
✅ 🪟 Windows450045
❌ 🌍 Community Worlds311610192
✅ 📋 Other123012135
Total19081631462217

❌ Failed Tests

💻 Local Development (2 failed)

astro-stable (2 failed):

  • 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
🌍 Community Worlds (161 failed)

mongodb (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

redis (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

starter (41 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (CLI) - workflow health command reports healthy endpoints
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

turso (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro4104
✅ example4104
✅ express4104
✅ fastify4104
✅ hono4104
✅ nextjs-turbopack4401
✅ nextjs-webpack4401
✅ nitro4104
✅ nuxt4104
✅ sveltekit4104
✅ vite4104
❌ 💻 Local Development
AppPassedFailedSkipped
❌ astro-stable3924
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack4500
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb5400
✅ redis-dev300
❌ redis5400
✅ starter-dev300
❌ starter4410
✅ turso-dev300
❌ turso5400
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4104
✅ e2e-local-postgres-nest-stable4104
✅ e2e-local-prod-nest-stable4104

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.040s (-9.1% 🟢)1.017s (~)0.977s101.00x
💻 LocalNitro0.043s (~)1.007s (~)0.964s101.06x
💻 LocalExpress0.044s (-1.6%)1.008s (~)0.964s101.09x
🐘 PostgresNext.js (Turbopack)0.132s (-33.4% 🟢)1.021s (~)0.889s103.29x
🐘 PostgresNitro0.245s (+11.9% 🔺)1.013s (~)0.768s106.11x
🐘 PostgresExpress0.266s (+9.6% 🔺)1.014s (~)0.749s106.62x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.640s (-19.8% 🟢)1.793s (+4.7%)1.153s101.00x
▲ VercelExpress0.707s (-4.6%)1.719s (-1.9%)1.012s101.10x
▲ VercelNext.js (Turbopack)0.883s (+6.5% 🔺)1.805s (+0.6%)0.921s101.38x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.102s (+0.8%)2.011s (~)0.910s101.00x
💻 LocalNitro1.111s (~)2.007s (~)0.895s101.01x
💻 LocalExpress1.117s (~)2.008s (~)0.891s101.01x
🐘 PostgresNext.js (Turbopack)1.928s (-13.7% 🟢)2.016s (-28.5% 🟢)0.088s101.75x
🐘 PostgresExpress2.128s (-4.2%)3.015s (~)0.887s101.93x
🐘 PostgresNitro2.195s (-2.5%)3.015s (~)0.820s101.99x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.862s (-3.2%)3.680s (+0.8%)0.818s101.00x
▲ VercelNitro2.924s (+2.8%)3.775s (+1.5%)0.851s101.02x
▲ VercelNext.js (Turbopack)2.970s (+5.5% 🔺)3.837s (-1.2%)0.867s101.04x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.714s (~)11.018s (~)0.304s51.00x
💻 LocalNitro10.827s (~)11.014s (~)0.187s51.01x
💻 LocalExpress10.838s (~)11.016s (~)0.177s51.01x
🐘 PostgresNext.js (Turbopack)14.924s (-2.6%)15.232s (-5.0% 🟢)0.308s51.39x
🐘 PostgresNitro20.435s (~)21.034s (~)0.599s51.91x
🐘 PostgresExpress20.526s (~)21.036s (~)0.510s51.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express22.518s (-1.8%)23.412s (-0.9%)0.894s51.00x
▲ VercelNext.js (Turbopack)23.046s (-3.2%)23.861s (-2.6%)0.815s51.02x
▲ VercelNitro23.046s (-1.9%)24.003s (~)0.957s51.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.355s (-2.5%)2.012s (~)0.657s151.00x
💻 LocalNitro1.402s (~)2.006s (~)0.604s151.03x
💻 LocalExpress1.403s (~)2.007s (~)0.604s151.04x
🐘 PostgresNext.js (Turbopack)1.834s (-19.7% 🟢)2.016s (-29.2% 🟢)0.182s151.35x
🐘 PostgresNitro2.254s (-9.2% 🟢)3.014s (~)0.760s101.66x
🐘 PostgresExpress2.393s (+5.1% 🔺)3.014s (~)0.621s101.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.109s (-26.1% 🟢)3.909s (-22.4% 🟢)0.800s81.00x
▲ VercelNitro3.142s (-11.9% 🟢)4.039s (-7.4% 🟢)0.897s81.01x
▲ VercelExpress3.269s (+6.3% 🔺)4.144s (+4.1%)0.875s81.05x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)2.419s (-1.6%)3.194s (+2.0%)0.776s101.00x
💻 LocalExpress2.515s (+2.2%)3.023s (~)0.507s101.04x
💻 LocalNitro2.531s (~)3.026s (~)0.495s101.05x
🐘 PostgresNitro7.871s (-11.0% 🟢)8.303s (-10.7% 🟢)0.432s43.25x
🐘 PostgresExpress9.321s (+16.9% 🔺)10.093s (+17.9% 🔺)0.772s33.85x
🐘 PostgresNext.js (Turbopack)10.346s (-8.6% 🟢)11.025s (-5.7% 🟢)0.679s34.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.459s (-6.6% 🟢)4.145s (-7.7% 🟢)0.686s81.00x
▲ VercelExpress3.565s (-13.0% 🟢)4.348s (-8.1% 🟢)0.783s71.03x
▲ VercelNitro3.574s (+7.4% 🔺)4.453s (~)0.879s71.03x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.401s (-0.7%)2.011s (~)0.609s151.00x
💻 LocalNitro1.423s (~)2.006s (~)0.583s151.02x
💻 LocalExpress1.425s (+0.7%)2.006s (~)0.581s151.02x
🐘 PostgresExpress1.955s (-6.5% 🟢)2.513s (-6.2% 🟢)0.558s121.39x
🐘 PostgresNext.js (Turbopack)2.097s (+11.1% 🔺)2.515s (+4.8%)0.418s121.50x
🐘 PostgresNitro2.128s (+3.6%)2.511s (~)0.383s121.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.824s (-4.6%)3.715s (-1.8%)0.892s91.00x
▲ VercelNitro2.856s (+2.8%)3.777s (-0.7%)0.921s91.01x
▲ VercelNext.js (Turbopack)2.938s (-5.4% 🟢)3.790s (-4.2%)0.852s81.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express2.519s (-0.5%)3.015s (~)0.496s101.00x
💻 LocalNext.js (Turbopack)2.543s (~)3.045s (~)0.503s101.01x
💻 LocalNitro2.650s (-0.6%)3.013s (~)0.363s101.05x
🐘 PostgresExpress10.261s (-12.2% 🟢)10.705s (-13.6% 🟢)0.444s34.07x
🐘 PostgresNitro11.185s (-4.7%)11.690s (-3.1%)0.505s34.44x
🐘 PostgresNext.js (Turbopack)12.295s (+7.4% 🔺)13.050s (+4.7%)0.755s34.88x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-12.4% 🟢)3.820s (-8.8% 🟢)0.820s81.00x
▲ VercelNext.js (Turbopack)3.092s (-10.1% 🟢)3.808s (-8.7% 🟢)0.716s81.03x
▲ VercelExpress3.097s (-2.1%)3.840s (~)0.743s81.03x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.140s (-3.3%)1.003s (~)0.017s (+1.2%)1.027s (~)0.887s101.00x
💻 LocalExpress0.181s (-1.8%)0.993s (~)0.016s (+3.1%)1.024s (~)0.843s101.29x
💻 LocalNitro0.182s (+0.7%)0.992s (~)0.017s (+20.4% 🔺)1.022s (~)0.841s101.30x
🐘 PostgresNext.js (Turbopack)0.728s (-36.7% 🟢)1.052s (-44.4% 🟢)0.000s (NaN%)1.115s (-44.8% 🟢)0.386s105.21x
🐘 PostgresNitro2.229s (+3.5%)2.814s (-2.7%)0.000s (NaN%)3.015s (~)0.786s1015.93x
🐘 PostgresExpress2.360s (+5.8% 🔺)2.681s (-4.7%)0.000s (-100.0% 🟢)3.016s (~)0.656s1016.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-5.0% 🟢)3.370s (+1.4%)0.422s (-56.6% 🟢)4.274s (-13.2% 🟢)1.274s101.00x
▲ VercelNext.js (Turbopack)3.082s (-2.6%)3.404s (-2.7%)0.537s (-48.3% 🟢)4.415s (-13.5% 🟢)1.334s101.03x
▲ VercelExpress3.103s (+2.9%)3.165s (-2.8%)0.534s (-24.3% 🟢)4.387s (-2.5%)1.283s101.03x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)7/8
🐘 PostgresNext.js (Turbopack)5/8
▲ VercelNitro3/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local8/8
Next.js (Turbopack)💻 Local8/8
Nitro💻 Local8/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

@vercel

vercelBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-nextjs-workflow-webpackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-astro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-express-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-fastify-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-hono-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nitro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nuxt-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-sveltekit-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-vite-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workflow-nestReadyReadyPreview, CommentJan 27, 2026 8:05am
1 Skipped Deployment
ProjectDeploymentReviewUpdated (UTC)
workflow-docsSkippedSkippedJan 27, 2026 8:05am

@vercel
vercelBottemporarily deployed to Preview – workflow-docs January 27, 2026 07:55 Inactive
@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

This stack of pull requests is managed by Graphite. Learn more about stacking.

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes TypeScript compilation errors in the workbench example workflows that were preventing the Nest workbench app from building. The changes address two specific TypeScript errors by updating an import statement and adding a type annotation.

Changes:

  • Updated OpenAI import from default to named export to match OpenAI SDK v6.x API
  • Added explicit type annotation for promises array to fix TypeScript type inference issue

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

FileDescription
workbench/example/workflows/5_hooks.tsChanged OpenAI import from default to named export to fix constructability error
workbench/example/workflows/97_bench.tsAdded explicit Promise<number>[] type annotation to promises array to fix type inference error

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TooTallNate
TooTallNate merged commit f2ab6ee into mainJan 27, 2026
102 of 103 checks passed
@TooTallNate
TooTallNate deleted the 01-26-use_proper_openai_import branch January 27, 2026 08:21
pranaygp added a commit that referenced this pull request Jan 28, 2026
…s-and-commands
* origin/main:
fix(@workflow/ai): support provider-executed tools (AI SDK v6) (#734)
Publish "workflow" and "@workflow/core" package versions in sync (#870)
Add SDK version to workflow run executionContext for observability (#868)
Allow recreateRun to accept an optional deploymentId parameter (#869)
Add support for top-level `using` declarations inside of step / workflow functions (#866)
docs: URL in docs was missing the docs/ prefix, 404 errors (#852)
Add "classes" object to `manifest.json` file (#864)
Fix Nest workbench app build (#865)
Ignore Astro on local dev tests for source map e2e tests (#863)
Enable custom class serialization transformations for "client" mode (#860)
Submit request bodies with CBOR encoding (#844)
[world-vercel] Update queue to use VQS v3 API (#799)
NestJS framework support (#840)
Fix resolve hook theming and token fetching. (#856)
docs: rename Control Flow Patterns to Common Patterns and add new content (#846)
docs: revamp World documentation pages (#763)
Remove unused `getWritable` stub function (#855)
# Conflicts:
#	packages/core/package.json
#	pnpm-lock.yaml
Sign up for freeto 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

@TooTallNate@ijjk
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

Fix Nest workbench app build - #865

Merged
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import
Jan 27, 2026
Merged

Fix Nest workbench app build#865
TooTallNate merged 2 commits into
mainfrom
01-26-use_proper_openai_import

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Jan 27, 2026

Copy link
Copy Markdown
Member

Fixes errors:

Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
Error: ../example/workflows/97_bench.ts(38,19): error TS2345: Argument of type 'Promise<number>' is not assignable to parameter of type 'never'.

This gets the app to build properly. Fails at runtime, but at least this could get current CI green.

```
Error: ../example/workflows/5_hooks.ts(36,22): error TS2351: This expression is not constructable.
Type 'typeof import("/vercel/path0/node_modules/.pnpm/openai@6.1.0_ws@8.18.3_zod@4.1.11/node_modules/openai/index")' has no construct signatures.
```
@changeset-bot

changeset-botBot commented Jan 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7f87c82

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

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production457038495
❌ 💻 Local Development416232450
✅ 📦 Local Production418032450
✅ 🐘 Local Postgres418032450
✅ 🪟 Windows450045
❌ 🌍 Community Worlds311610192
✅ 📋 Other123012135
Total19081631462217

❌ Failed Tests

💻 Local Development (2 failed)

astro-stable (2 failed):

  • 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
🌍 Community Worlds (161 failed)

mongodb (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

redis (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

starter (41 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (CLI) - workflow health command reports healthy endpoints
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

turso (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • 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()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro4104
✅ example4104
✅ express4104
✅ fastify4104
✅ hono4104
✅ nextjs-turbopack4401
✅ nextjs-webpack4401
✅ nitro4104
✅ nuxt4104
✅ sveltekit4104
✅ vite4104
❌ 💻 Local Development
AppPassedFailedSkipped
❌ astro-stable3924
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4104
✅ express-stable4104
✅ fastify-stable4104
✅ hono-stable4104
✅ nextjs-turbopack-stable4500
✅ nextjs-webpack-stable4500
✅ nitro-stable4104
✅ nuxt-stable4104
✅ sveltekit-stable4104
✅ vite-stable4104
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack4500
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb5400
✅ redis-dev300
❌ redis5400
✅ starter-dev300
❌ starter4410
✅ turso-dev300
❌ turso5400
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4104
✅ e2e-local-postgres-nest-stable4104
✅ e2e-local-prod-nest-stable4104

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.040s (-9.1% 🟢)1.017s (~)0.977s101.00x
💻 LocalNitro0.043s (~)1.007s (~)0.964s101.06x
💻 LocalExpress0.044s (-1.6%)1.008s (~)0.964s101.09x
🐘 PostgresNext.js (Turbopack)0.132s (-33.4% 🟢)1.021s (~)0.889s103.29x
🐘 PostgresNitro0.245s (+11.9% 🔺)1.013s (~)0.768s106.11x
🐘 PostgresExpress0.266s (+9.6% 🔺)1.014s (~)0.749s106.62x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.640s (-19.8% 🟢)1.793s (+4.7%)1.153s101.00x
▲ VercelExpress0.707s (-4.6%)1.719s (-1.9%)1.012s101.10x
▲ VercelNext.js (Turbopack)0.883s (+6.5% 🔺)1.805s (+0.6%)0.921s101.38x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.102s (+0.8%)2.011s (~)0.910s101.00x
💻 LocalNitro1.111s (~)2.007s (~)0.895s101.01x
💻 LocalExpress1.117s (~)2.008s (~)0.891s101.01x
🐘 PostgresNext.js (Turbopack)1.928s (-13.7% 🟢)2.016s (-28.5% 🟢)0.088s101.75x
🐘 PostgresExpress2.128s (-4.2%)3.015s (~)0.887s101.93x
🐘 PostgresNitro2.195s (-2.5%)3.015s (~)0.820s101.99x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.862s (-3.2%)3.680s (+0.8%)0.818s101.00x
▲ VercelNitro2.924s (+2.8%)3.775s (+1.5%)0.851s101.02x
▲ VercelNext.js (Turbopack)2.970s (+5.5% 🔺)3.837s (-1.2%)0.867s101.04x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.714s (~)11.018s (~)0.304s51.00x
💻 LocalNitro10.827s (~)11.014s (~)0.187s51.01x
💻 LocalExpress10.838s (~)11.016s (~)0.177s51.01x
🐘 PostgresNext.js (Turbopack)14.924s (-2.6%)15.232s (-5.0% 🟢)0.308s51.39x
🐘 PostgresNitro20.435s (~)21.034s (~)0.599s51.91x
🐘 PostgresExpress20.526s (~)21.036s (~)0.510s51.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express22.518s (-1.8%)23.412s (-0.9%)0.894s51.00x
▲ VercelNext.js (Turbopack)23.046s (-3.2%)23.861s (-2.6%)0.815s51.02x
▲ VercelNitro23.046s (-1.9%)24.003s (~)0.957s51.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.355s (-2.5%)2.012s (~)0.657s151.00x
💻 LocalNitro1.402s (~)2.006s (~)0.604s151.03x
💻 LocalExpress1.403s (~)2.007s (~)0.604s151.04x
🐘 PostgresNext.js (Turbopack)1.834s (-19.7% 🟢)2.016s (-29.2% 🟢)0.182s151.35x
🐘 PostgresNitro2.254s (-9.2% 🟢)3.014s (~)0.760s101.66x
🐘 PostgresExpress2.393s (+5.1% 🔺)3.014s (~)0.621s101.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.109s (-26.1% 🟢)3.909s (-22.4% 🟢)0.800s81.00x
▲ VercelNitro3.142s (-11.9% 🟢)4.039s (-7.4% 🟢)0.897s81.01x
▲ VercelExpress3.269s (+6.3% 🔺)4.144s (+4.1%)0.875s81.05x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)2.419s (-1.6%)3.194s (+2.0%)0.776s101.00x
💻 LocalExpress2.515s (+2.2%)3.023s (~)0.507s101.04x
💻 LocalNitro2.531s (~)3.026s (~)0.495s101.05x
🐘 PostgresNitro7.871s (-11.0% 🟢)8.303s (-10.7% 🟢)0.432s43.25x
🐘 PostgresExpress9.321s (+16.9% 🔺)10.093s (+17.9% 🔺)0.772s33.85x
🐘 PostgresNext.js (Turbopack)10.346s (-8.6% 🟢)11.025s (-5.7% 🟢)0.679s34.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.459s (-6.6% 🟢)4.145s (-7.7% 🟢)0.686s81.00x
▲ VercelExpress3.565s (-13.0% 🟢)4.348s (-8.1% 🟢)0.783s71.03x
▲ VercelNitro3.574s (+7.4% 🔺)4.453s (~)0.879s71.03x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.401s (-0.7%)2.011s (~)0.609s151.00x
💻 LocalNitro1.423s (~)2.006s (~)0.583s151.02x
💻 LocalExpress1.425s (+0.7%)2.006s (~)0.581s151.02x
🐘 PostgresExpress1.955s (-6.5% 🟢)2.513s (-6.2% 🟢)0.558s121.39x
🐘 PostgresNext.js (Turbopack)2.097s (+11.1% 🔺)2.515s (+4.8%)0.418s121.50x
🐘 PostgresNitro2.128s (+3.6%)2.511s (~)0.383s121.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.824s (-4.6%)3.715s (-1.8%)0.892s91.00x
▲ VercelNitro2.856s (+2.8%)3.777s (-0.7%)0.921s91.01x
▲ VercelNext.js (Turbopack)2.938s (-5.4% 🟢)3.790s (-4.2%)0.852s81.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express2.519s (-0.5%)3.015s (~)0.496s101.00x
💻 LocalNext.js (Turbopack)2.543s (~)3.045s (~)0.503s101.01x
💻 LocalNitro2.650s (-0.6%)3.013s (~)0.363s101.05x
🐘 PostgresExpress10.261s (-12.2% 🟢)10.705s (-13.6% 🟢)0.444s34.07x
🐘 PostgresNitro11.185s (-4.7%)11.690s (-3.1%)0.505s34.44x
🐘 PostgresNext.js (Turbopack)12.295s (+7.4% 🔺)13.050s (+4.7%)0.755s34.88x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-12.4% 🟢)3.820s (-8.8% 🟢)0.820s81.00x
▲ VercelNext.js (Turbopack)3.092s (-10.1% 🟢)3.808s (-8.7% 🟢)0.716s81.03x
▲ VercelExpress3.097s (-2.1%)3.840s (~)0.743s81.03x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.140s (-3.3%)1.003s (~)0.017s (+1.2%)1.027s (~)0.887s101.00x
💻 LocalExpress0.181s (-1.8%)0.993s (~)0.016s (+3.1%)1.024s (~)0.843s101.29x
💻 LocalNitro0.182s (+0.7%)0.992s (~)0.017s (+20.4% 🔺)1.022s (~)0.841s101.30x
🐘 PostgresNext.js (Turbopack)0.728s (-36.7% 🟢)1.052s (-44.4% 🟢)0.000s (NaN%)1.115s (-44.8% 🟢)0.386s105.21x
🐘 PostgresNitro2.229s (+3.5%)2.814s (-2.7%)0.000s (NaN%)3.015s (~)0.786s1015.93x
🐘 PostgresExpress2.360s (+5.8% 🔺)2.681s (-4.7%)0.000s (-100.0% 🟢)3.016s (~)0.656s1016.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.000s (-5.0% 🟢)3.370s (+1.4%)0.422s (-56.6% 🟢)4.274s (-13.2% 🟢)1.274s101.00x
▲ VercelNext.js (Turbopack)3.082s (-2.6%)3.404s (-2.7%)0.537s (-48.3% 🟢)4.415s (-13.5% 🟢)1.334s101.03x
▲ VercelExpress3.103s (+2.9%)3.165s (-2.8%)0.534s (-24.3% 🟢)4.387s (-2.5%)1.283s101.03x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)7/8
🐘 PostgresNext.js (Turbopack)5/8
▲ VercelNitro3/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local8/8
Next.js (Turbopack)💻 Local8/8
Nitro💻 Local8/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

@vercel

vercelBot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-nextjs-workflow-webpackReadyReadyPreview, CommentJan 27, 2026 8:05am
example-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-astro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-express-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-fastify-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-hono-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nitro-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-nuxt-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-sveltekit-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workbench-vite-workflowReadyReadyPreview, CommentJan 27, 2026 8:05am
workflow-nestReadyReadyPreview, CommentJan 27, 2026 8:05am
1 Skipped Deployment
ProjectDeploymentReviewUpdated (UTC)
workflow-docsSkippedSkippedJan 27, 2026 8:05am

@vercel
vercelBottemporarily deployed to Preview – workflow-docs January 27, 2026 07:55 Inactive
@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

This stack of pull requests is managed by Graphite. Learn more about stacking.

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes TypeScript compilation errors in the workbench example workflows that were preventing the Nest workbench app from building. The changes address two specific TypeScript errors by updating an import statement and adding a type annotation.

Changes:

  • Updated OpenAI import from default to named export to match OpenAI SDK v6.x API
  • Added explicit type annotation for promises array to fix TypeScript type inference issue

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

FileDescription
workbench/example/workflows/5_hooks.tsChanged OpenAI import from default to named export to fix constructability error
workbench/example/workflows/97_bench.tsAdded explicit Promise<number>[] type annotation to promises array to fix type inference error

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TooTallNate
TooTallNate merged commit f2ab6ee into mainJan 27, 2026
102 of 103 checks passed
@TooTallNate
TooTallNate deleted the 01-26-use_proper_openai_import branch January 27, 2026 08:21
pranaygp added a commit that referenced this pull request Jan 28, 2026
…s-and-commands
* origin/main:
fix(@workflow/ai): support provider-executed tools (AI SDK v6) (#734)
Publish "workflow" and "@workflow/core" package versions in sync (#870)
Add SDK version to workflow run executionContext for observability (#868)
Allow recreateRun to accept an optional deploymentId parameter (#869)
Add support for top-level `using` declarations inside of step / workflow functions (#866)
docs: URL in docs was missing the docs/ prefix, 404 errors (#852)
Add "classes" object to `manifest.json` file (#864)
Fix Nest workbench app build (#865)
Ignore Astro on local dev tests for source map e2e tests (#863)
Enable custom class serialization transformations for "client" mode (#860)
Submit request bodies with CBOR encoding (#844)
[world-vercel] Update queue to use VQS v3 API (#799)
NestJS framework support (#840)
Fix resolve hook theming and token fetching. (#856)
docs: rename Control Flow Patterns to Common Patterns and add new content (#846)
docs: revamp World documentation pages (#763)
Remove unused `getWritable` stub function (#855)
# Conflicts:
#	packages/core/package.json
#	pnpm-lock.yaml
Sign up for freeto 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

@TooTallNate@ijjk