fix(ai): use workspace:* for workflow peer dependency - #1320

Merged
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep
Mar 11, 2026
Merged

fix(ai): use workspace:* for workflow peer dependency#1320
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Replaces the hardcoded "^4.1.0-beta.63" version range for the workflow peer dependency in @workflow/ai with workspace:*
  • This ensures the peer dependency version stays in sync automatically — pnpm resolves it to the correct version at publish time
  • Fixes the changeset version warning: Package "@workflow/ai" must depend on the current version of "workflow"

The hardcoded version range in peerDependencies would fall out of sync
with the actual workflow package version, causing changeset warnings.
Using workspace:* lets pnpm resolve the correct version at publish time.
CopilotAI review requested due to automatic review settings March 10, 2026 23:38
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 10, 2026 23:38
@changeset-bot

changeset-botBot commented Mar 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6c28e73

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

This PR includes changesets to release 1 package
NameType
@workflow/aiPatch

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

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

@vercel

vercelBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 10, 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🥇 Nitro0.026s (-21.0% 🟢)1.005s (~)0.979s101.00x
💻 LocalExpress0.033s (-3.8%)1.006s (~)0.973s101.23x
💻 LocalNext.js (Turbopack)0.038s1.005s0.967s101.45x
🌐 RedisNext.js (Turbopack)0.046s1.006s0.960s101.75x
🐘 PostgresNext.js (Turbopack)0.047s1.011s0.965s101.77x
🐘 PostgresExpress0.054s (-6.3% 🟢)1.011s (~)0.958s102.03x
🐘 PostgresNitro0.056s (+30.8% 🔺)1.011s (~)0.955s102.13x
🌐 MongoDBNext.js (Turbopack)0.080s1.008s0.928s103.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.444s (+0.8%)2.441s (+20.7% 🔺)1.997s101.00x
▲ VercelNext.js (Turbopack)0.489s (-24.2% 🟢)2.305s (-12.9% 🟢)1.815s101.10x
▲ VercelNitro0.534s (+8.6% 🔺)2.424s (+5.3% 🔺)1.890s101.20x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.073s (-2.7%)2.006s (~)0.933s101.00x
🌐 RedisNext.js (Turbopack)1.102s2.006s0.905s101.03x
💻 LocalExpress1.103s (~)2.005s (~)0.902s101.03x
💻 LocalNext.js (Turbopack)1.107s2.007s0.900s101.03x
🐘 PostgresExpress1.121s (~)2.012s (~)0.891s101.04x
🐘 PostgresNitro1.123s (+2.5%)2.013s (~)0.890s101.05x
🐘 PostgresNext.js (Turbopack)1.123s2.012s0.889s101.05x
🌐 MongoDBNext.js (Turbopack)1.292s2.008s0.716s101.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.003s (+0.8%)4.096s (+26.6% 🔺)2.093s101.00x
▲ VercelNext.js (Turbopack)2.044s (+0.8%)3.586s (-18.4% 🟢)1.542s101.02x
▲ VercelNitro2.068s (~)4.191s (+13.6% 🔺)2.123s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.528s (-2.2%)11.022s (~)0.494s31.00x
🌐 RedisNext.js (Turbopack)10.657s11.024s0.367s31.01x
💻 LocalNext.js (Turbopack)10.707s11.024s0.317s31.02x
💻 LocalExpress10.768s (~)11.022s (~)0.254s31.02x
🐘 PostgresNext.js (Turbopack)10.786s11.040s0.255s31.02x
🐘 PostgresNitro10.808s (+1.8%)11.046s (~)0.238s31.03x
🐘 PostgresExpress10.851s (~)11.040s (~)0.189s31.03x
🌐 MongoDBNext.js (Turbopack)12.267s13.021s0.754s31.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express17.266s (+4.7%)19.056s (+6.9% 🔺)1.790s21.00x
▲ VercelNext.js (Turbopack)17.306s (+1.9%)19.249s (+4.3%)1.943s21.00x
▲ VercelNitro17.439s (-3.9%)18.761s (-6.5% 🟢)1.322s21.01x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)26.546s27.051s0.506s31.00x
💻 LocalNitro26.565s (-2.3%)27.054s (-3.6%)0.489s31.00x
🐘 PostgresNext.js (Turbopack)26.788s27.062s0.273s31.01x
🐘 PostgresExpress26.914s (-0.7%)27.056s (-2.4%)0.142s31.01x
💻 LocalNext.js (Turbopack)26.938s27.049s0.111s31.01x
🐘 PostgresNitro26.939s (+1.8%)27.060s (~)0.121s31.01x
💻 LocalExpress27.179s (~)28.049s (~)0.870s31.02x
🌐 MongoDBNext.js (Turbopack)30.556s31.051s0.495s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express44.258s (-1.6%)45.581s (-2.6%)1.323s21.00x
▲ VercelNitro44.834s (~)46.447s (~)1.613s21.01x
▲ VercelNext.js (Turbopack)45.419s (-1.4%)47.202s (-1.6%)1.783s21.03x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)53.100s53.597s0.497s21.00x
🐘 PostgresNext.js (Turbopack)53.617s54.101s0.483s21.01x
🐘 PostgresNitro53.855s (+1.8%)54.096s (+1.9%)0.242s21.01x
🐘 PostgresExpress53.867s (-0.8%)54.095s (-1.8%)0.228s21.01x
💻 LocalNitro54.471s (-2.7%)55.103s (-1.8%)0.631s21.03x
💻 LocalNext.js (Turbopack)55.694s56.105s0.411s21.05x
💻 LocalExpress55.980s (~)56.096s (~)0.116s21.05x
🌐 MongoDBNext.js (Turbopack)60.908s61.070s0.162s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express96.713s (~)98.418s (~)1.705s11.00x
▲ VercelNext.js (Turbopack)97.092s (-4.9%)98.262s (-5.8% 🟢)1.170s11.00x
▲ VercelNitro98.282s (-2.2%)99.435s (-3.1%)1.153s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.273s2.006s0.733s151.00x
🐘 PostgresExpress1.351s (-4.8%)2.011s (~)0.660s151.06x
💻 LocalNitro1.352s (-2.8%)2.006s (~)0.654s151.06x
🐘 PostgresNitro1.365s (+5.7% 🔺)2.011s (~)0.646s151.07x
🐘 PostgresNext.js (Turbopack)1.367s2.011s0.643s151.07x
💻 LocalExpress1.403s (-0.5%)2.005s (~)0.603s151.10x
💻 LocalNext.js (Turbopack)1.427s2.006s0.578s151.12x
🌐 MongoDBNext.js (Turbopack)2.160s3.009s0.849s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.630s (+6.5% 🔺)3.821s (-6.9% 🟢)1.191s81.00x
▲ VercelNitro2.770s (-7.8% 🟢)4.020s (-11.4% 🟢)1.251s81.05x
▲ VercelExpress2.833s (+15.5% 🔺)4.181s (+16.8% 🔺)1.348s81.08x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)2.025s2.739s0.714s111.00x
🐘 PostgresNitro2.061s (+11.2% 🔺)2.598s (+16.7% 🔺)0.537s121.02x
🐘 PostgresExpress2.062s (+0.7%)2.744s (+5.4% 🔺)0.682s111.02x
💻 LocalNitro2.323s (-10.9% 🟢)3.007s (~)0.684s101.15x
🌐 RedisNext.js (Turbopack)2.494s3.008s0.514s101.23x
💻 LocalExpress2.565s (-1.0%)3.007s (~)0.443s101.27x
💻 LocalNext.js (Turbopack)2.576s3.007s0.431s101.27x
🌐 MongoDBNext.js (Turbopack)4.715s5.179s0.464s62.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.789s (+19.9% 🔺)4.108s (+26.7% 🔺)1.318s81.00x
▲ VercelNitro2.812s (+14.7% 🔺)4.191s (+10.6% 🔺)1.379s81.01x
▲ VercelNext.js (Turbopack)3.241s (-1.5%)4.582s (-1.2%)1.341s71.16x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.240s (-15.3% 🟢)4.151s (-9.7% 🟢)0.911s81.00x
🐘 PostgresNitro3.510s (+30.9% 🔺)4.310s (+16.9% 🔺)0.800s71.08x
🐘 PostgresNext.js (Turbopack)3.845s4.595s0.751s71.19x
🌐 RedisNext.js (Turbopack)4.016s4.438s0.422s71.24x
💻 LocalNitro6.325s (-12.9% 🟢)7.014s (-12.5% 🟢)0.690s51.95x
💻 LocalExpress7.341s (+2.2%)8.021s (~)0.679s42.27x
💻 LocalNext.js (Turbopack)7.446s8.020s0.574s42.30x
🌐 MongoDBNext.js (Turbopack)10.106s10.689s0.583s33.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.193s (-7.8% 🟢)4.560s (-5.0% 🟢)1.367s71.00x
▲ VercelNitro3.613s (+19.3% 🔺)5.393s (+28.2% 🔺)1.780s61.13x
▲ VercelExpress3.888s (+39.9% 🔺)5.633s (+45.0% 🔺)1.746s61.22x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.261s2.006s0.745s151.00x
💻 LocalNitro1.355s (-5.3% 🟢)2.004s (~)0.649s151.07x
🐘 PostgresExpress1.363s (-5.9% 🟢)2.012s (~)0.649s151.08x
🐘 PostgresNitro1.373s (+5.5% 🔺)2.011s (~)0.638s151.09x
🐘 PostgresNext.js (Turbopack)1.377s2.012s0.634s151.09x
💻 LocalExpress1.443s (+3.0%)2.005s (~)0.562s151.14x
💻 LocalNext.js (Turbopack)1.459s2.005s0.547s151.16x
🌐 MongoDBNext.js (Turbopack)2.137s3.009s0.873s101.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.284s (+3.4%)3.858s (+18.7% 🔺)1.574s81.00x
▲ VercelNext.js (Turbopack)2.293s (-1.6%)3.779s (-3.3%)1.485s81.00x
▲ VercelNitro2.555s (+14.3% 🔺)4.092s (+10.1% 🔺)1.536s81.12x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.928s (+4.2%)2.511s (+8.3% 🔺)0.583s121.00x
🐘 PostgresNext.js (Turbopack)1.935s2.398s0.463s131.00x
🐘 PostgresExpress2.000s (-7.4% 🟢)2.598s (-8.6% 🟢)0.597s121.04x
💻 LocalNitro2.423s (-10.3% 🟢)3.008s (~)0.586s101.26x
🌐 RedisNext.js (Turbopack)2.529s3.008s0.479s101.31x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s101.38x
💻 LocalExpress2.702s (+0.6%)3.007s (~)0.305s101.40x
🌐 MongoDBNext.js (Turbopack)4.705s5.178s0.472s62.44x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.888s (+7.9% 🔺)4.348s (+7.3% 🔺)1.460s71.00x
▲ VercelExpress2.984s (+7.5% 🔺)4.326s (+12.7% 🔺)1.342s81.03x
▲ VercelNext.js (Turbopack)3.381s (+5.2% 🔺)4.880s (+3.3%)1.499s71.17x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.021s (+4.8%)3.767s (-3.2%)0.746s81.00x
🐘 PostgresNext.js (Turbopack)3.666s4.592s0.926s71.21x
🐘 PostgresExpress3.785s (-10.8% 🟢)4.456s (-11.8% 🟢)0.672s71.25x
🌐 RedisNext.js (Turbopack)4.033s4.725s0.692s71.33x
💻 LocalNitro7.158s (-9.3% 🟢)7.770s (-3.1%)0.612s42.37x
💻 LocalNext.js (Turbopack)7.817s8.266s0.449s42.59x
💻 LocalExpress7.903s (~)8.016s (-3.1%)0.113s42.62x
🌐 MongoDBNext.js (Turbopack)9.884s10.349s0.465s33.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.285s (-10.0% 🟢)5.127s (+9.8% 🔺)1.842s61.00x
▲ VercelNitro3.286s (-12.1% 🟢)4.735s (-12.5% 🟢)1.449s71.00x
▲ VercelNext.js (Turbopack)3.432s (-24.4% 🟢)4.787s (-25.7% 🟢)1.355s71.04x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.110s (-35.4% 🟢)1.003s (~)0.009s (-19.1% 🟢)1.015s (~)0.905s101.00x
🌐 RedisNext.js (Turbopack)0.144s1.000s0.002s1.008s0.864s101.31x
💻 LocalNext.js (Turbopack)0.145s1.001s0.011s1.017s0.872s101.32x
💻 LocalExpress0.166s (-0.9%)1.003s (~)0.011s (-1.8%)1.017s (~)0.850s101.51x
🐘 PostgresNext.js (Turbopack)0.173s1.001s0.001s1.013s0.840s101.58x
🐘 PostgresExpress0.178s (-20.8% 🟢)0.991s (-0.5%)0.002s (+12.5% 🔺)1.012s (~)0.834s101.62x
🐘 PostgresNitro0.195s (+30.4% 🔺)0.992s (-0.8%)0.001s (-13.3% 🟢)1.012s (~)0.817s101.77x
🌐 MongoDBNext.js (Turbopack)0.503s0.945s0.002s1.010s0.507s104.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.642s (-2.9%)2.335s (-11.4% 🟢)0.005s (~)2.875s (-11.1% 🟢)1.232s101.00x
▲ VercelExpress1.760s (+0.8%)2.729s (+3.3%)0.005s (-16.7% 🟢)3.323s (+5.2% 🔺)1.563s101.07x
▲ VercelNitro1.912s (+3.7%)2.893s (+9.4% 🔺)0.005s (-82.2% 🟢)3.458s (+5.6% 🔺)1.546s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro12/12
🐘 PostgresNext.js (Turbopack)6/12
▲ VercelExpress8/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres7/12
Next.js (Turbopack)🌐 Redis7/12
Nitro💻 Local7/12
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
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions

github-actionsBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1195515189
✅ 📋 Other147027174
Total2728553643147

❌ Failed Tests

🌍 Community Worlds (55 failed)

mongodb (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • 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
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • 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 (queue-based) - workflow and step endpoints respond to health check messages
  • 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
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5323
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

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

Updates @workflow/ai’s workflow peer dependency to use the pnpm workspace protocol so it can stay aligned with the monorepo’s workflow package version and avoid Changesets versioning warnings.

Changes:

  • Replace the hardcoded workflow peer dependency range with workspace:* in @workflow/ai.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/ai/package.json Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Nathan Rajlich <n@n8.io>

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh thanks, I think I had to hardcode this for the 4.1.0 release to prevent the ai package from being auto-bumped to 5.0.0 and forgot to fix it after

@TooTallNate
TooTallNate merged commit b28a5fd into mainMar 11, 2026
166 of 168 checks passed
@TooTallNate
TooTallNate deleted the fix/ai-workflow-peer-dep branch March 11, 2026 01:39
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
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@VaguelySerious
, '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(ai): use workspace:* for workflow peer dependency - #1320

Merged
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep
Mar 11, 2026
Merged

fix(ai): use workspace:* for workflow peer dependency#1320
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Replaces the hardcoded "^4.1.0-beta.63" version range for the workflow peer dependency in @workflow/ai with workspace:*
  • This ensures the peer dependency version stays in sync automatically — pnpm resolves it to the correct version at publish time
  • Fixes the changeset version warning: Package "@workflow/ai" must depend on the current version of "workflow"

The hardcoded version range in peerDependencies would fall out of sync
with the actual workflow package version, causing changeset warnings.
Using workspace:* lets pnpm resolve the correct version at publish time.
CopilotAI review requested due to automatic review settings March 10, 2026 23:38
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 10, 2026 23:38
@changeset-bot

changeset-botBot commented Mar 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6c28e73

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

This PR includes changesets to release 1 package
NameType
@workflow/aiPatch

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

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

@vercel

vercelBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 10, 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🥇 Nitro0.026s (-21.0% 🟢)1.005s (~)0.979s101.00x
💻 LocalExpress0.033s (-3.8%)1.006s (~)0.973s101.23x
💻 LocalNext.js (Turbopack)0.038s1.005s0.967s101.45x
🌐 RedisNext.js (Turbopack)0.046s1.006s0.960s101.75x
🐘 PostgresNext.js (Turbopack)0.047s1.011s0.965s101.77x
🐘 PostgresExpress0.054s (-6.3% 🟢)1.011s (~)0.958s102.03x
🐘 PostgresNitro0.056s (+30.8% 🔺)1.011s (~)0.955s102.13x
🌐 MongoDBNext.js (Turbopack)0.080s1.008s0.928s103.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.444s (+0.8%)2.441s (+20.7% 🔺)1.997s101.00x
▲ VercelNext.js (Turbopack)0.489s (-24.2% 🟢)2.305s (-12.9% 🟢)1.815s101.10x
▲ VercelNitro0.534s (+8.6% 🔺)2.424s (+5.3% 🔺)1.890s101.20x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.073s (-2.7%)2.006s (~)0.933s101.00x
🌐 RedisNext.js (Turbopack)1.102s2.006s0.905s101.03x
💻 LocalExpress1.103s (~)2.005s (~)0.902s101.03x
💻 LocalNext.js (Turbopack)1.107s2.007s0.900s101.03x
🐘 PostgresExpress1.121s (~)2.012s (~)0.891s101.04x
🐘 PostgresNitro1.123s (+2.5%)2.013s (~)0.890s101.05x
🐘 PostgresNext.js (Turbopack)1.123s2.012s0.889s101.05x
🌐 MongoDBNext.js (Turbopack)1.292s2.008s0.716s101.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.003s (+0.8%)4.096s (+26.6% 🔺)2.093s101.00x
▲ VercelNext.js (Turbopack)2.044s (+0.8%)3.586s (-18.4% 🟢)1.542s101.02x
▲ VercelNitro2.068s (~)4.191s (+13.6% 🔺)2.123s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.528s (-2.2%)11.022s (~)0.494s31.00x
🌐 RedisNext.js (Turbopack)10.657s11.024s0.367s31.01x
💻 LocalNext.js (Turbopack)10.707s11.024s0.317s31.02x
💻 LocalExpress10.768s (~)11.022s (~)0.254s31.02x
🐘 PostgresNext.js (Turbopack)10.786s11.040s0.255s31.02x
🐘 PostgresNitro10.808s (+1.8%)11.046s (~)0.238s31.03x
🐘 PostgresExpress10.851s (~)11.040s (~)0.189s31.03x
🌐 MongoDBNext.js (Turbopack)12.267s13.021s0.754s31.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express17.266s (+4.7%)19.056s (+6.9% 🔺)1.790s21.00x
▲ VercelNext.js (Turbopack)17.306s (+1.9%)19.249s (+4.3%)1.943s21.00x
▲ VercelNitro17.439s (-3.9%)18.761s (-6.5% 🟢)1.322s21.01x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)26.546s27.051s0.506s31.00x
💻 LocalNitro26.565s (-2.3%)27.054s (-3.6%)0.489s31.00x
🐘 PostgresNext.js (Turbopack)26.788s27.062s0.273s31.01x
🐘 PostgresExpress26.914s (-0.7%)27.056s (-2.4%)0.142s31.01x
💻 LocalNext.js (Turbopack)26.938s27.049s0.111s31.01x
🐘 PostgresNitro26.939s (+1.8%)27.060s (~)0.121s31.01x
💻 LocalExpress27.179s (~)28.049s (~)0.870s31.02x
🌐 MongoDBNext.js (Turbopack)30.556s31.051s0.495s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express44.258s (-1.6%)45.581s (-2.6%)1.323s21.00x
▲ VercelNitro44.834s (~)46.447s (~)1.613s21.01x
▲ VercelNext.js (Turbopack)45.419s (-1.4%)47.202s (-1.6%)1.783s21.03x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)53.100s53.597s0.497s21.00x
🐘 PostgresNext.js (Turbopack)53.617s54.101s0.483s21.01x
🐘 PostgresNitro53.855s (+1.8%)54.096s (+1.9%)0.242s21.01x
🐘 PostgresExpress53.867s (-0.8%)54.095s (-1.8%)0.228s21.01x
💻 LocalNitro54.471s (-2.7%)55.103s (-1.8%)0.631s21.03x
💻 LocalNext.js (Turbopack)55.694s56.105s0.411s21.05x
💻 LocalExpress55.980s (~)56.096s (~)0.116s21.05x
🌐 MongoDBNext.js (Turbopack)60.908s61.070s0.162s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express96.713s (~)98.418s (~)1.705s11.00x
▲ VercelNext.js (Turbopack)97.092s (-4.9%)98.262s (-5.8% 🟢)1.170s11.00x
▲ VercelNitro98.282s (-2.2%)99.435s (-3.1%)1.153s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.273s2.006s0.733s151.00x
🐘 PostgresExpress1.351s (-4.8%)2.011s (~)0.660s151.06x
💻 LocalNitro1.352s (-2.8%)2.006s (~)0.654s151.06x
🐘 PostgresNitro1.365s (+5.7% 🔺)2.011s (~)0.646s151.07x
🐘 PostgresNext.js (Turbopack)1.367s2.011s0.643s151.07x
💻 LocalExpress1.403s (-0.5%)2.005s (~)0.603s151.10x
💻 LocalNext.js (Turbopack)1.427s2.006s0.578s151.12x
🌐 MongoDBNext.js (Turbopack)2.160s3.009s0.849s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.630s (+6.5% 🔺)3.821s (-6.9% 🟢)1.191s81.00x
▲ VercelNitro2.770s (-7.8% 🟢)4.020s (-11.4% 🟢)1.251s81.05x
▲ VercelExpress2.833s (+15.5% 🔺)4.181s (+16.8% 🔺)1.348s81.08x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)2.025s2.739s0.714s111.00x
🐘 PostgresNitro2.061s (+11.2% 🔺)2.598s (+16.7% 🔺)0.537s121.02x
🐘 PostgresExpress2.062s (+0.7%)2.744s (+5.4% 🔺)0.682s111.02x
💻 LocalNitro2.323s (-10.9% 🟢)3.007s (~)0.684s101.15x
🌐 RedisNext.js (Turbopack)2.494s3.008s0.514s101.23x
💻 LocalExpress2.565s (-1.0%)3.007s (~)0.443s101.27x
💻 LocalNext.js (Turbopack)2.576s3.007s0.431s101.27x
🌐 MongoDBNext.js (Turbopack)4.715s5.179s0.464s62.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.789s (+19.9% 🔺)4.108s (+26.7% 🔺)1.318s81.00x
▲ VercelNitro2.812s (+14.7% 🔺)4.191s (+10.6% 🔺)1.379s81.01x
▲ VercelNext.js (Turbopack)3.241s (-1.5%)4.582s (-1.2%)1.341s71.16x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.240s (-15.3% 🟢)4.151s (-9.7% 🟢)0.911s81.00x
🐘 PostgresNitro3.510s (+30.9% 🔺)4.310s (+16.9% 🔺)0.800s71.08x
🐘 PostgresNext.js (Turbopack)3.845s4.595s0.751s71.19x
🌐 RedisNext.js (Turbopack)4.016s4.438s0.422s71.24x
💻 LocalNitro6.325s (-12.9% 🟢)7.014s (-12.5% 🟢)0.690s51.95x
💻 LocalExpress7.341s (+2.2%)8.021s (~)0.679s42.27x
💻 LocalNext.js (Turbopack)7.446s8.020s0.574s42.30x
🌐 MongoDBNext.js (Turbopack)10.106s10.689s0.583s33.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.193s (-7.8% 🟢)4.560s (-5.0% 🟢)1.367s71.00x
▲ VercelNitro3.613s (+19.3% 🔺)5.393s (+28.2% 🔺)1.780s61.13x
▲ VercelExpress3.888s (+39.9% 🔺)5.633s (+45.0% 🔺)1.746s61.22x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.261s2.006s0.745s151.00x
💻 LocalNitro1.355s (-5.3% 🟢)2.004s (~)0.649s151.07x
🐘 PostgresExpress1.363s (-5.9% 🟢)2.012s (~)0.649s151.08x
🐘 PostgresNitro1.373s (+5.5% 🔺)2.011s (~)0.638s151.09x
🐘 PostgresNext.js (Turbopack)1.377s2.012s0.634s151.09x
💻 LocalExpress1.443s (+3.0%)2.005s (~)0.562s151.14x
💻 LocalNext.js (Turbopack)1.459s2.005s0.547s151.16x
🌐 MongoDBNext.js (Turbopack)2.137s3.009s0.873s101.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.284s (+3.4%)3.858s (+18.7% 🔺)1.574s81.00x
▲ VercelNext.js (Turbopack)2.293s (-1.6%)3.779s (-3.3%)1.485s81.00x
▲ VercelNitro2.555s (+14.3% 🔺)4.092s (+10.1% 🔺)1.536s81.12x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.928s (+4.2%)2.511s (+8.3% 🔺)0.583s121.00x
🐘 PostgresNext.js (Turbopack)1.935s2.398s0.463s131.00x
🐘 PostgresExpress2.000s (-7.4% 🟢)2.598s (-8.6% 🟢)0.597s121.04x
💻 LocalNitro2.423s (-10.3% 🟢)3.008s (~)0.586s101.26x
🌐 RedisNext.js (Turbopack)2.529s3.008s0.479s101.31x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s101.38x
💻 LocalExpress2.702s (+0.6%)3.007s (~)0.305s101.40x
🌐 MongoDBNext.js (Turbopack)4.705s5.178s0.472s62.44x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.888s (+7.9% 🔺)4.348s (+7.3% 🔺)1.460s71.00x
▲ VercelExpress2.984s (+7.5% 🔺)4.326s (+12.7% 🔺)1.342s81.03x
▲ VercelNext.js (Turbopack)3.381s (+5.2% 🔺)4.880s (+3.3%)1.499s71.17x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.021s (+4.8%)3.767s (-3.2%)0.746s81.00x
🐘 PostgresNext.js (Turbopack)3.666s4.592s0.926s71.21x
🐘 PostgresExpress3.785s (-10.8% 🟢)4.456s (-11.8% 🟢)0.672s71.25x
🌐 RedisNext.js (Turbopack)4.033s4.725s0.692s71.33x
💻 LocalNitro7.158s (-9.3% 🟢)7.770s (-3.1%)0.612s42.37x
💻 LocalNext.js (Turbopack)7.817s8.266s0.449s42.59x
💻 LocalExpress7.903s (~)8.016s (-3.1%)0.113s42.62x
🌐 MongoDBNext.js (Turbopack)9.884s10.349s0.465s33.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.285s (-10.0% 🟢)5.127s (+9.8% 🔺)1.842s61.00x
▲ VercelNitro3.286s (-12.1% 🟢)4.735s (-12.5% 🟢)1.449s71.00x
▲ VercelNext.js (Turbopack)3.432s (-24.4% 🟢)4.787s (-25.7% 🟢)1.355s71.04x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.110s (-35.4% 🟢)1.003s (~)0.009s (-19.1% 🟢)1.015s (~)0.905s101.00x
🌐 RedisNext.js (Turbopack)0.144s1.000s0.002s1.008s0.864s101.31x
💻 LocalNext.js (Turbopack)0.145s1.001s0.011s1.017s0.872s101.32x
💻 LocalExpress0.166s (-0.9%)1.003s (~)0.011s (-1.8%)1.017s (~)0.850s101.51x
🐘 PostgresNext.js (Turbopack)0.173s1.001s0.001s1.013s0.840s101.58x
🐘 PostgresExpress0.178s (-20.8% 🟢)0.991s (-0.5%)0.002s (+12.5% 🔺)1.012s (~)0.834s101.62x
🐘 PostgresNitro0.195s (+30.4% 🔺)0.992s (-0.8%)0.001s (-13.3% 🟢)1.012s (~)0.817s101.77x
🌐 MongoDBNext.js (Turbopack)0.503s0.945s0.002s1.010s0.507s104.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.642s (-2.9%)2.335s (-11.4% 🟢)0.005s (~)2.875s (-11.1% 🟢)1.232s101.00x
▲ VercelExpress1.760s (+0.8%)2.729s (+3.3%)0.005s (-16.7% 🟢)3.323s (+5.2% 🔺)1.563s101.07x
▲ VercelNitro1.912s (+3.7%)2.893s (+9.4% 🔺)0.005s (-82.2% 🟢)3.458s (+5.6% 🔺)1.546s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro12/12
🐘 PostgresNext.js (Turbopack)6/12
▲ VercelExpress8/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres7/12
Next.js (Turbopack)🌐 Redis7/12
Nitro💻 Local7/12
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
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions

github-actionsBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1195515189
✅ 📋 Other147027174
Total2728553643147

❌ Failed Tests

🌍 Community Worlds (55 failed)

mongodb (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • 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
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • 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 (queue-based) - workflow and step endpoints respond to health check messages
  • 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
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5323
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

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

Updates @workflow/ai’s workflow peer dependency to use the pnpm workspace protocol so it can stay aligned with the monorepo’s workflow package version and avoid Changesets versioning warnings.

Changes:

  • Replace the hardcoded workflow peer dependency range with workspace:* in @workflow/ai.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/ai/package.json Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Nathan Rajlich <n@n8.io>

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh thanks, I think I had to hardcode this for the 4.1.0 release to prevent the ai package from being auto-bumped to 5.0.0 and forgot to fix it after

@TooTallNate
TooTallNate merged commit b28a5fd into mainMar 11, 2026
166 of 168 checks passed
@TooTallNate
TooTallNate deleted the fix/ai-workflow-peer-dep branch March 11, 2026 01:39
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
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@VaguelySerious
, '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(ai): use workspace:* for workflow peer dependency - #1320

Merged
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep
Mar 11, 2026
Merged

fix(ai): use workspace:* for workflow peer dependency#1320
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Replaces the hardcoded "^4.1.0-beta.63" version range for the workflow peer dependency in @workflow/ai with workspace:*
  • This ensures the peer dependency version stays in sync automatically — pnpm resolves it to the correct version at publish time
  • Fixes the changeset version warning: Package "@workflow/ai" must depend on the current version of "workflow"

The hardcoded version range in peerDependencies would fall out of sync
with the actual workflow package version, causing changeset warnings.
Using workspace:* lets pnpm resolve the correct version at publish time.
CopilotAI review requested due to automatic review settings March 10, 2026 23:38
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 10, 2026 23:38
@changeset-bot

changeset-botBot commented Mar 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6c28e73

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

This PR includes changesets to release 1 package
NameType
@workflow/aiPatch

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

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

@vercel

vercelBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 10, 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🥇 Nitro0.026s (-21.0% 🟢)1.005s (~)0.979s101.00x
💻 LocalExpress0.033s (-3.8%)1.006s (~)0.973s101.23x
💻 LocalNext.js (Turbopack)0.038s1.005s0.967s101.45x
🌐 RedisNext.js (Turbopack)0.046s1.006s0.960s101.75x
🐘 PostgresNext.js (Turbopack)0.047s1.011s0.965s101.77x
🐘 PostgresExpress0.054s (-6.3% 🟢)1.011s (~)0.958s102.03x
🐘 PostgresNitro0.056s (+30.8% 🔺)1.011s (~)0.955s102.13x
🌐 MongoDBNext.js (Turbopack)0.080s1.008s0.928s103.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.444s (+0.8%)2.441s (+20.7% 🔺)1.997s101.00x
▲ VercelNext.js (Turbopack)0.489s (-24.2% 🟢)2.305s (-12.9% 🟢)1.815s101.10x
▲ VercelNitro0.534s (+8.6% 🔺)2.424s (+5.3% 🔺)1.890s101.20x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.073s (-2.7%)2.006s (~)0.933s101.00x
🌐 RedisNext.js (Turbopack)1.102s2.006s0.905s101.03x
💻 LocalExpress1.103s (~)2.005s (~)0.902s101.03x
💻 LocalNext.js (Turbopack)1.107s2.007s0.900s101.03x
🐘 PostgresExpress1.121s (~)2.012s (~)0.891s101.04x
🐘 PostgresNitro1.123s (+2.5%)2.013s (~)0.890s101.05x
🐘 PostgresNext.js (Turbopack)1.123s2.012s0.889s101.05x
🌐 MongoDBNext.js (Turbopack)1.292s2.008s0.716s101.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.003s (+0.8%)4.096s (+26.6% 🔺)2.093s101.00x
▲ VercelNext.js (Turbopack)2.044s (+0.8%)3.586s (-18.4% 🟢)1.542s101.02x
▲ VercelNitro2.068s (~)4.191s (+13.6% 🔺)2.123s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.528s (-2.2%)11.022s (~)0.494s31.00x
🌐 RedisNext.js (Turbopack)10.657s11.024s0.367s31.01x
💻 LocalNext.js (Turbopack)10.707s11.024s0.317s31.02x
💻 LocalExpress10.768s (~)11.022s (~)0.254s31.02x
🐘 PostgresNext.js (Turbopack)10.786s11.040s0.255s31.02x
🐘 PostgresNitro10.808s (+1.8%)11.046s (~)0.238s31.03x
🐘 PostgresExpress10.851s (~)11.040s (~)0.189s31.03x
🌐 MongoDBNext.js (Turbopack)12.267s13.021s0.754s31.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express17.266s (+4.7%)19.056s (+6.9% 🔺)1.790s21.00x
▲ VercelNext.js (Turbopack)17.306s (+1.9%)19.249s (+4.3%)1.943s21.00x
▲ VercelNitro17.439s (-3.9%)18.761s (-6.5% 🟢)1.322s21.01x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)26.546s27.051s0.506s31.00x
💻 LocalNitro26.565s (-2.3%)27.054s (-3.6%)0.489s31.00x
🐘 PostgresNext.js (Turbopack)26.788s27.062s0.273s31.01x
🐘 PostgresExpress26.914s (-0.7%)27.056s (-2.4%)0.142s31.01x
💻 LocalNext.js (Turbopack)26.938s27.049s0.111s31.01x
🐘 PostgresNitro26.939s (+1.8%)27.060s (~)0.121s31.01x
💻 LocalExpress27.179s (~)28.049s (~)0.870s31.02x
🌐 MongoDBNext.js (Turbopack)30.556s31.051s0.495s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express44.258s (-1.6%)45.581s (-2.6%)1.323s21.00x
▲ VercelNitro44.834s (~)46.447s (~)1.613s21.01x
▲ VercelNext.js (Turbopack)45.419s (-1.4%)47.202s (-1.6%)1.783s21.03x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)53.100s53.597s0.497s21.00x
🐘 PostgresNext.js (Turbopack)53.617s54.101s0.483s21.01x
🐘 PostgresNitro53.855s (+1.8%)54.096s (+1.9%)0.242s21.01x
🐘 PostgresExpress53.867s (-0.8%)54.095s (-1.8%)0.228s21.01x
💻 LocalNitro54.471s (-2.7%)55.103s (-1.8%)0.631s21.03x
💻 LocalNext.js (Turbopack)55.694s56.105s0.411s21.05x
💻 LocalExpress55.980s (~)56.096s (~)0.116s21.05x
🌐 MongoDBNext.js (Turbopack)60.908s61.070s0.162s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express96.713s (~)98.418s (~)1.705s11.00x
▲ VercelNext.js (Turbopack)97.092s (-4.9%)98.262s (-5.8% 🟢)1.170s11.00x
▲ VercelNitro98.282s (-2.2%)99.435s (-3.1%)1.153s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.273s2.006s0.733s151.00x
🐘 PostgresExpress1.351s (-4.8%)2.011s (~)0.660s151.06x
💻 LocalNitro1.352s (-2.8%)2.006s (~)0.654s151.06x
🐘 PostgresNitro1.365s (+5.7% 🔺)2.011s (~)0.646s151.07x
🐘 PostgresNext.js (Turbopack)1.367s2.011s0.643s151.07x
💻 LocalExpress1.403s (-0.5%)2.005s (~)0.603s151.10x
💻 LocalNext.js (Turbopack)1.427s2.006s0.578s151.12x
🌐 MongoDBNext.js (Turbopack)2.160s3.009s0.849s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.630s (+6.5% 🔺)3.821s (-6.9% 🟢)1.191s81.00x
▲ VercelNitro2.770s (-7.8% 🟢)4.020s (-11.4% 🟢)1.251s81.05x
▲ VercelExpress2.833s (+15.5% 🔺)4.181s (+16.8% 🔺)1.348s81.08x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)2.025s2.739s0.714s111.00x
🐘 PostgresNitro2.061s (+11.2% 🔺)2.598s (+16.7% 🔺)0.537s121.02x
🐘 PostgresExpress2.062s (+0.7%)2.744s (+5.4% 🔺)0.682s111.02x
💻 LocalNitro2.323s (-10.9% 🟢)3.007s (~)0.684s101.15x
🌐 RedisNext.js (Turbopack)2.494s3.008s0.514s101.23x
💻 LocalExpress2.565s (-1.0%)3.007s (~)0.443s101.27x
💻 LocalNext.js (Turbopack)2.576s3.007s0.431s101.27x
🌐 MongoDBNext.js (Turbopack)4.715s5.179s0.464s62.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.789s (+19.9% 🔺)4.108s (+26.7% 🔺)1.318s81.00x
▲ VercelNitro2.812s (+14.7% 🔺)4.191s (+10.6% 🔺)1.379s81.01x
▲ VercelNext.js (Turbopack)3.241s (-1.5%)4.582s (-1.2%)1.341s71.16x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.240s (-15.3% 🟢)4.151s (-9.7% 🟢)0.911s81.00x
🐘 PostgresNitro3.510s (+30.9% 🔺)4.310s (+16.9% 🔺)0.800s71.08x
🐘 PostgresNext.js (Turbopack)3.845s4.595s0.751s71.19x
🌐 RedisNext.js (Turbopack)4.016s4.438s0.422s71.24x
💻 LocalNitro6.325s (-12.9% 🟢)7.014s (-12.5% 🟢)0.690s51.95x
💻 LocalExpress7.341s (+2.2%)8.021s (~)0.679s42.27x
💻 LocalNext.js (Turbopack)7.446s8.020s0.574s42.30x
🌐 MongoDBNext.js (Turbopack)10.106s10.689s0.583s33.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.193s (-7.8% 🟢)4.560s (-5.0% 🟢)1.367s71.00x
▲ VercelNitro3.613s (+19.3% 🔺)5.393s (+28.2% 🔺)1.780s61.13x
▲ VercelExpress3.888s (+39.9% 🔺)5.633s (+45.0% 🔺)1.746s61.22x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.261s2.006s0.745s151.00x
💻 LocalNitro1.355s (-5.3% 🟢)2.004s (~)0.649s151.07x
🐘 PostgresExpress1.363s (-5.9% 🟢)2.012s (~)0.649s151.08x
🐘 PostgresNitro1.373s (+5.5% 🔺)2.011s (~)0.638s151.09x
🐘 PostgresNext.js (Turbopack)1.377s2.012s0.634s151.09x
💻 LocalExpress1.443s (+3.0%)2.005s (~)0.562s151.14x
💻 LocalNext.js (Turbopack)1.459s2.005s0.547s151.16x
🌐 MongoDBNext.js (Turbopack)2.137s3.009s0.873s101.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.284s (+3.4%)3.858s (+18.7% 🔺)1.574s81.00x
▲ VercelNext.js (Turbopack)2.293s (-1.6%)3.779s (-3.3%)1.485s81.00x
▲ VercelNitro2.555s (+14.3% 🔺)4.092s (+10.1% 🔺)1.536s81.12x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.928s (+4.2%)2.511s (+8.3% 🔺)0.583s121.00x
🐘 PostgresNext.js (Turbopack)1.935s2.398s0.463s131.00x
🐘 PostgresExpress2.000s (-7.4% 🟢)2.598s (-8.6% 🟢)0.597s121.04x
💻 LocalNitro2.423s (-10.3% 🟢)3.008s (~)0.586s101.26x
🌐 RedisNext.js (Turbopack)2.529s3.008s0.479s101.31x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s101.38x
💻 LocalExpress2.702s (+0.6%)3.007s (~)0.305s101.40x
🌐 MongoDBNext.js (Turbopack)4.705s5.178s0.472s62.44x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.888s (+7.9% 🔺)4.348s (+7.3% 🔺)1.460s71.00x
▲ VercelExpress2.984s (+7.5% 🔺)4.326s (+12.7% 🔺)1.342s81.03x
▲ VercelNext.js (Turbopack)3.381s (+5.2% 🔺)4.880s (+3.3%)1.499s71.17x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.021s (+4.8%)3.767s (-3.2%)0.746s81.00x
🐘 PostgresNext.js (Turbopack)3.666s4.592s0.926s71.21x
🐘 PostgresExpress3.785s (-10.8% 🟢)4.456s (-11.8% 🟢)0.672s71.25x
🌐 RedisNext.js (Turbopack)4.033s4.725s0.692s71.33x
💻 LocalNitro7.158s (-9.3% 🟢)7.770s (-3.1%)0.612s42.37x
💻 LocalNext.js (Turbopack)7.817s8.266s0.449s42.59x
💻 LocalExpress7.903s (~)8.016s (-3.1%)0.113s42.62x
🌐 MongoDBNext.js (Turbopack)9.884s10.349s0.465s33.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.285s (-10.0% 🟢)5.127s (+9.8% 🔺)1.842s61.00x
▲ VercelNitro3.286s (-12.1% 🟢)4.735s (-12.5% 🟢)1.449s71.00x
▲ VercelNext.js (Turbopack)3.432s (-24.4% 🟢)4.787s (-25.7% 🟢)1.355s71.04x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.110s (-35.4% 🟢)1.003s (~)0.009s (-19.1% 🟢)1.015s (~)0.905s101.00x
🌐 RedisNext.js (Turbopack)0.144s1.000s0.002s1.008s0.864s101.31x
💻 LocalNext.js (Turbopack)0.145s1.001s0.011s1.017s0.872s101.32x
💻 LocalExpress0.166s (-0.9%)1.003s (~)0.011s (-1.8%)1.017s (~)0.850s101.51x
🐘 PostgresNext.js (Turbopack)0.173s1.001s0.001s1.013s0.840s101.58x
🐘 PostgresExpress0.178s (-20.8% 🟢)0.991s (-0.5%)0.002s (+12.5% 🔺)1.012s (~)0.834s101.62x
🐘 PostgresNitro0.195s (+30.4% 🔺)0.992s (-0.8%)0.001s (-13.3% 🟢)1.012s (~)0.817s101.77x
🌐 MongoDBNext.js (Turbopack)0.503s0.945s0.002s1.010s0.507s104.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.642s (-2.9%)2.335s (-11.4% 🟢)0.005s (~)2.875s (-11.1% 🟢)1.232s101.00x
▲ VercelExpress1.760s (+0.8%)2.729s (+3.3%)0.005s (-16.7% 🟢)3.323s (+5.2% 🔺)1.563s101.07x
▲ VercelNitro1.912s (+3.7%)2.893s (+9.4% 🔺)0.005s (-82.2% 🟢)3.458s (+5.6% 🔺)1.546s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro12/12
🐘 PostgresNext.js (Turbopack)6/12
▲ VercelExpress8/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres7/12
Next.js (Turbopack)🌐 Redis7/12
Nitro💻 Local7/12
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
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions

github-actionsBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1195515189
✅ 📋 Other147027174
Total2728553643147

❌ Failed Tests

🌍 Community Worlds (55 failed)

mongodb (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • 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
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • 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 (queue-based) - workflow and step endpoints respond to health check messages
  • 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
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5323
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

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

Updates @workflow/ai’s workflow peer dependency to use the pnpm workspace protocol so it can stay aligned with the monorepo’s workflow package version and avoid Changesets versioning warnings.

Changes:

  • Replace the hardcoded workflow peer dependency range with workspace:* in @workflow/ai.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/ai/package.json Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Nathan Rajlich <n@n8.io>

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh thanks, I think I had to hardcode this for the 4.1.0 release to prevent the ai package from being auto-bumped to 5.0.0 and forgot to fix it after

@TooTallNate
TooTallNate merged commit b28a5fd into mainMar 11, 2026
166 of 168 checks passed
@TooTallNate
TooTallNate deleted the fix/ai-workflow-peer-dep branch March 11, 2026 01:39
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
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@VaguelySerious
, '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(ai): use workspace:* for workflow peer dependency - #1320

Merged
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep
Mar 11, 2026
Merged

fix(ai): use workspace:* for workflow peer dependency#1320
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Replaces the hardcoded "^4.1.0-beta.63" version range for the workflow peer dependency in @workflow/ai with workspace:*
  • This ensures the peer dependency version stays in sync automatically — pnpm resolves it to the correct version at publish time
  • Fixes the changeset version warning: Package "@workflow/ai" must depend on the current version of "workflow"

The hardcoded version range in peerDependencies would fall out of sync
with the actual workflow package version, causing changeset warnings.
Using workspace:* lets pnpm resolve the correct version at publish time.
CopilotAI review requested due to automatic review settings March 10, 2026 23:38
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 10, 2026 23:38
@changeset-bot

changeset-botBot commented Mar 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6c28e73

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

This PR includes changesets to release 1 package
NameType
@workflow/aiPatch

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

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

@vercel

vercelBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 10, 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🥇 Nitro0.026s (-21.0% 🟢)1.005s (~)0.979s101.00x
💻 LocalExpress0.033s (-3.8%)1.006s (~)0.973s101.23x
💻 LocalNext.js (Turbopack)0.038s1.005s0.967s101.45x
🌐 RedisNext.js (Turbopack)0.046s1.006s0.960s101.75x
🐘 PostgresNext.js (Turbopack)0.047s1.011s0.965s101.77x
🐘 PostgresExpress0.054s (-6.3% 🟢)1.011s (~)0.958s102.03x
🐘 PostgresNitro0.056s (+30.8% 🔺)1.011s (~)0.955s102.13x
🌐 MongoDBNext.js (Turbopack)0.080s1.008s0.928s103.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.444s (+0.8%)2.441s (+20.7% 🔺)1.997s101.00x
▲ VercelNext.js (Turbopack)0.489s (-24.2% 🟢)2.305s (-12.9% 🟢)1.815s101.10x
▲ VercelNitro0.534s (+8.6% 🔺)2.424s (+5.3% 🔺)1.890s101.20x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.073s (-2.7%)2.006s (~)0.933s101.00x
🌐 RedisNext.js (Turbopack)1.102s2.006s0.905s101.03x
💻 LocalExpress1.103s (~)2.005s (~)0.902s101.03x
💻 LocalNext.js (Turbopack)1.107s2.007s0.900s101.03x
🐘 PostgresExpress1.121s (~)2.012s (~)0.891s101.04x
🐘 PostgresNitro1.123s (+2.5%)2.013s (~)0.890s101.05x
🐘 PostgresNext.js (Turbopack)1.123s2.012s0.889s101.05x
🌐 MongoDBNext.js (Turbopack)1.292s2.008s0.716s101.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.003s (+0.8%)4.096s (+26.6% 🔺)2.093s101.00x
▲ VercelNext.js (Turbopack)2.044s (+0.8%)3.586s (-18.4% 🟢)1.542s101.02x
▲ VercelNitro2.068s (~)4.191s (+13.6% 🔺)2.123s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.528s (-2.2%)11.022s (~)0.494s31.00x
🌐 RedisNext.js (Turbopack)10.657s11.024s0.367s31.01x
💻 LocalNext.js (Turbopack)10.707s11.024s0.317s31.02x
💻 LocalExpress10.768s (~)11.022s (~)0.254s31.02x
🐘 PostgresNext.js (Turbopack)10.786s11.040s0.255s31.02x
🐘 PostgresNitro10.808s (+1.8%)11.046s (~)0.238s31.03x
🐘 PostgresExpress10.851s (~)11.040s (~)0.189s31.03x
🌐 MongoDBNext.js (Turbopack)12.267s13.021s0.754s31.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express17.266s (+4.7%)19.056s (+6.9% 🔺)1.790s21.00x
▲ VercelNext.js (Turbopack)17.306s (+1.9%)19.249s (+4.3%)1.943s21.00x
▲ VercelNitro17.439s (-3.9%)18.761s (-6.5% 🟢)1.322s21.01x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)26.546s27.051s0.506s31.00x
💻 LocalNitro26.565s (-2.3%)27.054s (-3.6%)0.489s31.00x
🐘 PostgresNext.js (Turbopack)26.788s27.062s0.273s31.01x
🐘 PostgresExpress26.914s (-0.7%)27.056s (-2.4%)0.142s31.01x
💻 LocalNext.js (Turbopack)26.938s27.049s0.111s31.01x
🐘 PostgresNitro26.939s (+1.8%)27.060s (~)0.121s31.01x
💻 LocalExpress27.179s (~)28.049s (~)0.870s31.02x
🌐 MongoDBNext.js (Turbopack)30.556s31.051s0.495s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express44.258s (-1.6%)45.581s (-2.6%)1.323s21.00x
▲ VercelNitro44.834s (~)46.447s (~)1.613s21.01x
▲ VercelNext.js (Turbopack)45.419s (-1.4%)47.202s (-1.6%)1.783s21.03x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)53.100s53.597s0.497s21.00x
🐘 PostgresNext.js (Turbopack)53.617s54.101s0.483s21.01x
🐘 PostgresNitro53.855s (+1.8%)54.096s (+1.9%)0.242s21.01x
🐘 PostgresExpress53.867s (-0.8%)54.095s (-1.8%)0.228s21.01x
💻 LocalNitro54.471s (-2.7%)55.103s (-1.8%)0.631s21.03x
💻 LocalNext.js (Turbopack)55.694s56.105s0.411s21.05x
💻 LocalExpress55.980s (~)56.096s (~)0.116s21.05x
🌐 MongoDBNext.js (Turbopack)60.908s61.070s0.162s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express96.713s (~)98.418s (~)1.705s11.00x
▲ VercelNext.js (Turbopack)97.092s (-4.9%)98.262s (-5.8% 🟢)1.170s11.00x
▲ VercelNitro98.282s (-2.2%)99.435s (-3.1%)1.153s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.273s2.006s0.733s151.00x
🐘 PostgresExpress1.351s (-4.8%)2.011s (~)0.660s151.06x
💻 LocalNitro1.352s (-2.8%)2.006s (~)0.654s151.06x
🐘 PostgresNitro1.365s (+5.7% 🔺)2.011s (~)0.646s151.07x
🐘 PostgresNext.js (Turbopack)1.367s2.011s0.643s151.07x
💻 LocalExpress1.403s (-0.5%)2.005s (~)0.603s151.10x
💻 LocalNext.js (Turbopack)1.427s2.006s0.578s151.12x
🌐 MongoDBNext.js (Turbopack)2.160s3.009s0.849s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.630s (+6.5% 🔺)3.821s (-6.9% 🟢)1.191s81.00x
▲ VercelNitro2.770s (-7.8% 🟢)4.020s (-11.4% 🟢)1.251s81.05x
▲ VercelExpress2.833s (+15.5% 🔺)4.181s (+16.8% 🔺)1.348s81.08x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)2.025s2.739s0.714s111.00x
🐘 PostgresNitro2.061s (+11.2% 🔺)2.598s (+16.7% 🔺)0.537s121.02x
🐘 PostgresExpress2.062s (+0.7%)2.744s (+5.4% 🔺)0.682s111.02x
💻 LocalNitro2.323s (-10.9% 🟢)3.007s (~)0.684s101.15x
🌐 RedisNext.js (Turbopack)2.494s3.008s0.514s101.23x
💻 LocalExpress2.565s (-1.0%)3.007s (~)0.443s101.27x
💻 LocalNext.js (Turbopack)2.576s3.007s0.431s101.27x
🌐 MongoDBNext.js (Turbopack)4.715s5.179s0.464s62.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.789s (+19.9% 🔺)4.108s (+26.7% 🔺)1.318s81.00x
▲ VercelNitro2.812s (+14.7% 🔺)4.191s (+10.6% 🔺)1.379s81.01x
▲ VercelNext.js (Turbopack)3.241s (-1.5%)4.582s (-1.2%)1.341s71.16x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.240s (-15.3% 🟢)4.151s (-9.7% 🟢)0.911s81.00x
🐘 PostgresNitro3.510s (+30.9% 🔺)4.310s (+16.9% 🔺)0.800s71.08x
🐘 PostgresNext.js (Turbopack)3.845s4.595s0.751s71.19x
🌐 RedisNext.js (Turbopack)4.016s4.438s0.422s71.24x
💻 LocalNitro6.325s (-12.9% 🟢)7.014s (-12.5% 🟢)0.690s51.95x
💻 LocalExpress7.341s (+2.2%)8.021s (~)0.679s42.27x
💻 LocalNext.js (Turbopack)7.446s8.020s0.574s42.30x
🌐 MongoDBNext.js (Turbopack)10.106s10.689s0.583s33.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.193s (-7.8% 🟢)4.560s (-5.0% 🟢)1.367s71.00x
▲ VercelNitro3.613s (+19.3% 🔺)5.393s (+28.2% 🔺)1.780s61.13x
▲ VercelExpress3.888s (+39.9% 🔺)5.633s (+45.0% 🔺)1.746s61.22x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.261s2.006s0.745s151.00x
💻 LocalNitro1.355s (-5.3% 🟢)2.004s (~)0.649s151.07x
🐘 PostgresExpress1.363s (-5.9% 🟢)2.012s (~)0.649s151.08x
🐘 PostgresNitro1.373s (+5.5% 🔺)2.011s (~)0.638s151.09x
🐘 PostgresNext.js (Turbopack)1.377s2.012s0.634s151.09x
💻 LocalExpress1.443s (+3.0%)2.005s (~)0.562s151.14x
💻 LocalNext.js (Turbopack)1.459s2.005s0.547s151.16x
🌐 MongoDBNext.js (Turbopack)2.137s3.009s0.873s101.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.284s (+3.4%)3.858s (+18.7% 🔺)1.574s81.00x
▲ VercelNext.js (Turbopack)2.293s (-1.6%)3.779s (-3.3%)1.485s81.00x
▲ VercelNitro2.555s (+14.3% 🔺)4.092s (+10.1% 🔺)1.536s81.12x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.928s (+4.2%)2.511s (+8.3% 🔺)0.583s121.00x
🐘 PostgresNext.js (Turbopack)1.935s2.398s0.463s131.00x
🐘 PostgresExpress2.000s (-7.4% 🟢)2.598s (-8.6% 🟢)0.597s121.04x
💻 LocalNitro2.423s (-10.3% 🟢)3.008s (~)0.586s101.26x
🌐 RedisNext.js (Turbopack)2.529s3.008s0.479s101.31x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s101.38x
💻 LocalExpress2.702s (+0.6%)3.007s (~)0.305s101.40x
🌐 MongoDBNext.js (Turbopack)4.705s5.178s0.472s62.44x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.888s (+7.9% 🔺)4.348s (+7.3% 🔺)1.460s71.00x
▲ VercelExpress2.984s (+7.5% 🔺)4.326s (+12.7% 🔺)1.342s81.03x
▲ VercelNext.js (Turbopack)3.381s (+5.2% 🔺)4.880s (+3.3%)1.499s71.17x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.021s (+4.8%)3.767s (-3.2%)0.746s81.00x
🐘 PostgresNext.js (Turbopack)3.666s4.592s0.926s71.21x
🐘 PostgresExpress3.785s (-10.8% 🟢)4.456s (-11.8% 🟢)0.672s71.25x
🌐 RedisNext.js (Turbopack)4.033s4.725s0.692s71.33x
💻 LocalNitro7.158s (-9.3% 🟢)7.770s (-3.1%)0.612s42.37x
💻 LocalNext.js (Turbopack)7.817s8.266s0.449s42.59x
💻 LocalExpress7.903s (~)8.016s (-3.1%)0.113s42.62x
🌐 MongoDBNext.js (Turbopack)9.884s10.349s0.465s33.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.285s (-10.0% 🟢)5.127s (+9.8% 🔺)1.842s61.00x
▲ VercelNitro3.286s (-12.1% 🟢)4.735s (-12.5% 🟢)1.449s71.00x
▲ VercelNext.js (Turbopack)3.432s (-24.4% 🟢)4.787s (-25.7% 🟢)1.355s71.04x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.110s (-35.4% 🟢)1.003s (~)0.009s (-19.1% 🟢)1.015s (~)0.905s101.00x
🌐 RedisNext.js (Turbopack)0.144s1.000s0.002s1.008s0.864s101.31x
💻 LocalNext.js (Turbopack)0.145s1.001s0.011s1.017s0.872s101.32x
💻 LocalExpress0.166s (-0.9%)1.003s (~)0.011s (-1.8%)1.017s (~)0.850s101.51x
🐘 PostgresNext.js (Turbopack)0.173s1.001s0.001s1.013s0.840s101.58x
🐘 PostgresExpress0.178s (-20.8% 🟢)0.991s (-0.5%)0.002s (+12.5% 🔺)1.012s (~)0.834s101.62x
🐘 PostgresNitro0.195s (+30.4% 🔺)0.992s (-0.8%)0.001s (-13.3% 🟢)1.012s (~)0.817s101.77x
🌐 MongoDBNext.js (Turbopack)0.503s0.945s0.002s1.010s0.507s104.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.642s (-2.9%)2.335s (-11.4% 🟢)0.005s (~)2.875s (-11.1% 🟢)1.232s101.00x
▲ VercelExpress1.760s (+0.8%)2.729s (+3.3%)0.005s (-16.7% 🟢)3.323s (+5.2% 🔺)1.563s101.07x
▲ VercelNitro1.912s (+3.7%)2.893s (+9.4% 🔺)0.005s (-82.2% 🟢)3.458s (+5.6% 🔺)1.546s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro12/12
🐘 PostgresNext.js (Turbopack)6/12
▲ VercelExpress8/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres7/12
Next.js (Turbopack)🌐 Redis7/12
Nitro💻 Local7/12
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
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions

github-actionsBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1195515189
✅ 📋 Other147027174
Total2728553643147

❌ Failed Tests

🌍 Community Worlds (55 failed)

mongodb (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • 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
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • 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 (queue-based) - workflow and step endpoints respond to health check messages
  • 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
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5323
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

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

Updates @workflow/ai’s workflow peer dependency to use the pnpm workspace protocol so it can stay aligned with the monorepo’s workflow package version and avoid Changesets versioning warnings.

Changes:

  • Replace the hardcoded workflow peer dependency range with workspace:* in @workflow/ai.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/ai/package.json Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Nathan Rajlich <n@n8.io>

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh thanks, I think I had to hardcode this for the 4.1.0 release to prevent the ai package from being auto-bumped to 5.0.0 and forgot to fix it after

@TooTallNate
TooTallNate merged commit b28a5fd into mainMar 11, 2026
166 of 168 checks passed
@TooTallNate
TooTallNate deleted the fix/ai-workflow-peer-dep branch March 11, 2026 01:39
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
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@VaguelySerious
, '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(ai): use workspace:* for workflow peer dependency - #1320

Merged
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep
Mar 11, 2026
Merged

fix(ai): use workspace:* for workflow peer dependency#1320
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Replaces the hardcoded "^4.1.0-beta.63" version range for the workflow peer dependency in @workflow/ai with workspace:*
  • This ensures the peer dependency version stays in sync automatically — pnpm resolves it to the correct version at publish time
  • Fixes the changeset version warning: Package "@workflow/ai" must depend on the current version of "workflow"

The hardcoded version range in peerDependencies would fall out of sync
with the actual workflow package version, causing changeset warnings.
Using workspace:* lets pnpm resolve the correct version at publish time.
CopilotAI review requested due to automatic review settings March 10, 2026 23:38
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 10, 2026 23:38
@changeset-bot

changeset-botBot commented Mar 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6c28e73

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

This PR includes changesets to release 1 package
NameType
@workflow/aiPatch

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

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

@vercel

vercelBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 10, 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🥇 Nitro0.026s (-21.0% 🟢)1.005s (~)0.979s101.00x
💻 LocalExpress0.033s (-3.8%)1.006s (~)0.973s101.23x
💻 LocalNext.js (Turbopack)0.038s1.005s0.967s101.45x
🌐 RedisNext.js (Turbopack)0.046s1.006s0.960s101.75x
🐘 PostgresNext.js (Turbopack)0.047s1.011s0.965s101.77x
🐘 PostgresExpress0.054s (-6.3% 🟢)1.011s (~)0.958s102.03x
🐘 PostgresNitro0.056s (+30.8% 🔺)1.011s (~)0.955s102.13x
🌐 MongoDBNext.js (Turbopack)0.080s1.008s0.928s103.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.444s (+0.8%)2.441s (+20.7% 🔺)1.997s101.00x
▲ VercelNext.js (Turbopack)0.489s (-24.2% 🟢)2.305s (-12.9% 🟢)1.815s101.10x
▲ VercelNitro0.534s (+8.6% 🔺)2.424s (+5.3% 🔺)1.890s101.20x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.073s (-2.7%)2.006s (~)0.933s101.00x
🌐 RedisNext.js (Turbopack)1.102s2.006s0.905s101.03x
💻 LocalExpress1.103s (~)2.005s (~)0.902s101.03x
💻 LocalNext.js (Turbopack)1.107s2.007s0.900s101.03x
🐘 PostgresExpress1.121s (~)2.012s (~)0.891s101.04x
🐘 PostgresNitro1.123s (+2.5%)2.013s (~)0.890s101.05x
🐘 PostgresNext.js (Turbopack)1.123s2.012s0.889s101.05x
🌐 MongoDBNext.js (Turbopack)1.292s2.008s0.716s101.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.003s (+0.8%)4.096s (+26.6% 🔺)2.093s101.00x
▲ VercelNext.js (Turbopack)2.044s (+0.8%)3.586s (-18.4% 🟢)1.542s101.02x
▲ VercelNitro2.068s (~)4.191s (+13.6% 🔺)2.123s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.528s (-2.2%)11.022s (~)0.494s31.00x
🌐 RedisNext.js (Turbopack)10.657s11.024s0.367s31.01x
💻 LocalNext.js (Turbopack)10.707s11.024s0.317s31.02x
💻 LocalExpress10.768s (~)11.022s (~)0.254s31.02x
🐘 PostgresNext.js (Turbopack)10.786s11.040s0.255s31.02x
🐘 PostgresNitro10.808s (+1.8%)11.046s (~)0.238s31.03x
🐘 PostgresExpress10.851s (~)11.040s (~)0.189s31.03x
🌐 MongoDBNext.js (Turbopack)12.267s13.021s0.754s31.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express17.266s (+4.7%)19.056s (+6.9% 🔺)1.790s21.00x
▲ VercelNext.js (Turbopack)17.306s (+1.9%)19.249s (+4.3%)1.943s21.00x
▲ VercelNitro17.439s (-3.9%)18.761s (-6.5% 🟢)1.322s21.01x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)26.546s27.051s0.506s31.00x
💻 LocalNitro26.565s (-2.3%)27.054s (-3.6%)0.489s31.00x
🐘 PostgresNext.js (Turbopack)26.788s27.062s0.273s31.01x
🐘 PostgresExpress26.914s (-0.7%)27.056s (-2.4%)0.142s31.01x
💻 LocalNext.js (Turbopack)26.938s27.049s0.111s31.01x
🐘 PostgresNitro26.939s (+1.8%)27.060s (~)0.121s31.01x
💻 LocalExpress27.179s (~)28.049s (~)0.870s31.02x
🌐 MongoDBNext.js (Turbopack)30.556s31.051s0.495s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express44.258s (-1.6%)45.581s (-2.6%)1.323s21.00x
▲ VercelNitro44.834s (~)46.447s (~)1.613s21.01x
▲ VercelNext.js (Turbopack)45.419s (-1.4%)47.202s (-1.6%)1.783s21.03x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)53.100s53.597s0.497s21.00x
🐘 PostgresNext.js (Turbopack)53.617s54.101s0.483s21.01x
🐘 PostgresNitro53.855s (+1.8%)54.096s (+1.9%)0.242s21.01x
🐘 PostgresExpress53.867s (-0.8%)54.095s (-1.8%)0.228s21.01x
💻 LocalNitro54.471s (-2.7%)55.103s (-1.8%)0.631s21.03x
💻 LocalNext.js (Turbopack)55.694s56.105s0.411s21.05x
💻 LocalExpress55.980s (~)56.096s (~)0.116s21.05x
🌐 MongoDBNext.js (Turbopack)60.908s61.070s0.162s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express96.713s (~)98.418s (~)1.705s11.00x
▲ VercelNext.js (Turbopack)97.092s (-4.9%)98.262s (-5.8% 🟢)1.170s11.00x
▲ VercelNitro98.282s (-2.2%)99.435s (-3.1%)1.153s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.273s2.006s0.733s151.00x
🐘 PostgresExpress1.351s (-4.8%)2.011s (~)0.660s151.06x
💻 LocalNitro1.352s (-2.8%)2.006s (~)0.654s151.06x
🐘 PostgresNitro1.365s (+5.7% 🔺)2.011s (~)0.646s151.07x
🐘 PostgresNext.js (Turbopack)1.367s2.011s0.643s151.07x
💻 LocalExpress1.403s (-0.5%)2.005s (~)0.603s151.10x
💻 LocalNext.js (Turbopack)1.427s2.006s0.578s151.12x
🌐 MongoDBNext.js (Turbopack)2.160s3.009s0.849s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.630s (+6.5% 🔺)3.821s (-6.9% 🟢)1.191s81.00x
▲ VercelNitro2.770s (-7.8% 🟢)4.020s (-11.4% 🟢)1.251s81.05x
▲ VercelExpress2.833s (+15.5% 🔺)4.181s (+16.8% 🔺)1.348s81.08x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)2.025s2.739s0.714s111.00x
🐘 PostgresNitro2.061s (+11.2% 🔺)2.598s (+16.7% 🔺)0.537s121.02x
🐘 PostgresExpress2.062s (+0.7%)2.744s (+5.4% 🔺)0.682s111.02x
💻 LocalNitro2.323s (-10.9% 🟢)3.007s (~)0.684s101.15x
🌐 RedisNext.js (Turbopack)2.494s3.008s0.514s101.23x
💻 LocalExpress2.565s (-1.0%)3.007s (~)0.443s101.27x
💻 LocalNext.js (Turbopack)2.576s3.007s0.431s101.27x
🌐 MongoDBNext.js (Turbopack)4.715s5.179s0.464s62.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.789s (+19.9% 🔺)4.108s (+26.7% 🔺)1.318s81.00x
▲ VercelNitro2.812s (+14.7% 🔺)4.191s (+10.6% 🔺)1.379s81.01x
▲ VercelNext.js (Turbopack)3.241s (-1.5%)4.582s (-1.2%)1.341s71.16x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.240s (-15.3% 🟢)4.151s (-9.7% 🟢)0.911s81.00x
🐘 PostgresNitro3.510s (+30.9% 🔺)4.310s (+16.9% 🔺)0.800s71.08x
🐘 PostgresNext.js (Turbopack)3.845s4.595s0.751s71.19x
🌐 RedisNext.js (Turbopack)4.016s4.438s0.422s71.24x
💻 LocalNitro6.325s (-12.9% 🟢)7.014s (-12.5% 🟢)0.690s51.95x
💻 LocalExpress7.341s (+2.2%)8.021s (~)0.679s42.27x
💻 LocalNext.js (Turbopack)7.446s8.020s0.574s42.30x
🌐 MongoDBNext.js (Turbopack)10.106s10.689s0.583s33.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.193s (-7.8% 🟢)4.560s (-5.0% 🟢)1.367s71.00x
▲ VercelNitro3.613s (+19.3% 🔺)5.393s (+28.2% 🔺)1.780s61.13x
▲ VercelExpress3.888s (+39.9% 🔺)5.633s (+45.0% 🔺)1.746s61.22x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.261s2.006s0.745s151.00x
💻 LocalNitro1.355s (-5.3% 🟢)2.004s (~)0.649s151.07x
🐘 PostgresExpress1.363s (-5.9% 🟢)2.012s (~)0.649s151.08x
🐘 PostgresNitro1.373s (+5.5% 🔺)2.011s (~)0.638s151.09x
🐘 PostgresNext.js (Turbopack)1.377s2.012s0.634s151.09x
💻 LocalExpress1.443s (+3.0%)2.005s (~)0.562s151.14x
💻 LocalNext.js (Turbopack)1.459s2.005s0.547s151.16x
🌐 MongoDBNext.js (Turbopack)2.137s3.009s0.873s101.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.284s (+3.4%)3.858s (+18.7% 🔺)1.574s81.00x
▲ VercelNext.js (Turbopack)2.293s (-1.6%)3.779s (-3.3%)1.485s81.00x
▲ VercelNitro2.555s (+14.3% 🔺)4.092s (+10.1% 🔺)1.536s81.12x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.928s (+4.2%)2.511s (+8.3% 🔺)0.583s121.00x
🐘 PostgresNext.js (Turbopack)1.935s2.398s0.463s131.00x
🐘 PostgresExpress2.000s (-7.4% 🟢)2.598s (-8.6% 🟢)0.597s121.04x
💻 LocalNitro2.423s (-10.3% 🟢)3.008s (~)0.586s101.26x
🌐 RedisNext.js (Turbopack)2.529s3.008s0.479s101.31x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s101.38x
💻 LocalExpress2.702s (+0.6%)3.007s (~)0.305s101.40x
🌐 MongoDBNext.js (Turbopack)4.705s5.178s0.472s62.44x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.888s (+7.9% 🔺)4.348s (+7.3% 🔺)1.460s71.00x
▲ VercelExpress2.984s (+7.5% 🔺)4.326s (+12.7% 🔺)1.342s81.03x
▲ VercelNext.js (Turbopack)3.381s (+5.2% 🔺)4.880s (+3.3%)1.499s71.17x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.021s (+4.8%)3.767s (-3.2%)0.746s81.00x
🐘 PostgresNext.js (Turbopack)3.666s4.592s0.926s71.21x
🐘 PostgresExpress3.785s (-10.8% 🟢)4.456s (-11.8% 🟢)0.672s71.25x
🌐 RedisNext.js (Turbopack)4.033s4.725s0.692s71.33x
💻 LocalNitro7.158s (-9.3% 🟢)7.770s (-3.1%)0.612s42.37x
💻 LocalNext.js (Turbopack)7.817s8.266s0.449s42.59x
💻 LocalExpress7.903s (~)8.016s (-3.1%)0.113s42.62x
🌐 MongoDBNext.js (Turbopack)9.884s10.349s0.465s33.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.285s (-10.0% 🟢)5.127s (+9.8% 🔺)1.842s61.00x
▲ VercelNitro3.286s (-12.1% 🟢)4.735s (-12.5% 🟢)1.449s71.00x
▲ VercelNext.js (Turbopack)3.432s (-24.4% 🟢)4.787s (-25.7% 🟢)1.355s71.04x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.110s (-35.4% 🟢)1.003s (~)0.009s (-19.1% 🟢)1.015s (~)0.905s101.00x
🌐 RedisNext.js (Turbopack)0.144s1.000s0.002s1.008s0.864s101.31x
💻 LocalNext.js (Turbopack)0.145s1.001s0.011s1.017s0.872s101.32x
💻 LocalExpress0.166s (-0.9%)1.003s (~)0.011s (-1.8%)1.017s (~)0.850s101.51x
🐘 PostgresNext.js (Turbopack)0.173s1.001s0.001s1.013s0.840s101.58x
🐘 PostgresExpress0.178s (-20.8% 🟢)0.991s (-0.5%)0.002s (+12.5% 🔺)1.012s (~)0.834s101.62x
🐘 PostgresNitro0.195s (+30.4% 🔺)0.992s (-0.8%)0.001s (-13.3% 🟢)1.012s (~)0.817s101.77x
🌐 MongoDBNext.js (Turbopack)0.503s0.945s0.002s1.010s0.507s104.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.642s (-2.9%)2.335s (-11.4% 🟢)0.005s (~)2.875s (-11.1% 🟢)1.232s101.00x
▲ VercelExpress1.760s (+0.8%)2.729s (+3.3%)0.005s (-16.7% 🟢)3.323s (+5.2% 🔺)1.563s101.07x
▲ VercelNitro1.912s (+3.7%)2.893s (+9.4% 🔺)0.005s (-82.2% 🟢)3.458s (+5.6% 🔺)1.546s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro12/12
🐘 PostgresNext.js (Turbopack)6/12
▲ VercelExpress8/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres7/12
Next.js (Turbopack)🌐 Redis7/12
Nitro💻 Local7/12
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
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions

github-actionsBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1195515189
✅ 📋 Other147027174
Total2728553643147

❌ Failed Tests

🌍 Community Worlds (55 failed)

mongodb (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • 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
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • 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 (queue-based) - workflow and step endpoints respond to health check messages
  • 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
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5323
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

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

Updates @workflow/ai’s workflow peer dependency to use the pnpm workspace protocol so it can stay aligned with the monorepo’s workflow package version and avoid Changesets versioning warnings.

Changes:

  • Replace the hardcoded workflow peer dependency range with workspace:* in @workflow/ai.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/ai/package.json Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Nathan Rajlich <n@n8.io>

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh thanks, I think I had to hardcode this for the 4.1.0 release to prevent the ai package from being auto-bumped to 5.0.0 and forgot to fix it after

@TooTallNate
TooTallNate merged commit b28a5fd into mainMar 11, 2026
166 of 168 checks passed
@TooTallNate
TooTallNate deleted the fix/ai-workflow-peer-dep branch March 11, 2026 01:39
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
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@VaguelySerious
, '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(ai): use workspace:* for workflow peer dependency - #1320

Merged
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep
Mar 11, 2026
Merged

fix(ai): use workspace:* for workflow peer dependency#1320
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Replaces the hardcoded "^4.1.0-beta.63" version range for the workflow peer dependency in @workflow/ai with workspace:*
  • This ensures the peer dependency version stays in sync automatically — pnpm resolves it to the correct version at publish time
  • Fixes the changeset version warning: Package "@workflow/ai" must depend on the current version of "workflow"

The hardcoded version range in peerDependencies would fall out of sync
with the actual workflow package version, causing changeset warnings.
Using workspace:* lets pnpm resolve the correct version at publish time.
CopilotAI review requested due to automatic review settings March 10, 2026 23:38
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 10, 2026 23:38
@changeset-bot

changeset-botBot commented Mar 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6c28e73

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

This PR includes changesets to release 1 package
NameType
@workflow/aiPatch

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

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

@vercel

vercelBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 10, 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🥇 Nitro0.026s (-21.0% 🟢)1.005s (~)0.979s101.00x
💻 LocalExpress0.033s (-3.8%)1.006s (~)0.973s101.23x
💻 LocalNext.js (Turbopack)0.038s1.005s0.967s101.45x
🌐 RedisNext.js (Turbopack)0.046s1.006s0.960s101.75x
🐘 PostgresNext.js (Turbopack)0.047s1.011s0.965s101.77x
🐘 PostgresExpress0.054s (-6.3% 🟢)1.011s (~)0.958s102.03x
🐘 PostgresNitro0.056s (+30.8% 🔺)1.011s (~)0.955s102.13x
🌐 MongoDBNext.js (Turbopack)0.080s1.008s0.928s103.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.444s (+0.8%)2.441s (+20.7% 🔺)1.997s101.00x
▲ VercelNext.js (Turbopack)0.489s (-24.2% 🟢)2.305s (-12.9% 🟢)1.815s101.10x
▲ VercelNitro0.534s (+8.6% 🔺)2.424s (+5.3% 🔺)1.890s101.20x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.073s (-2.7%)2.006s (~)0.933s101.00x
🌐 RedisNext.js (Turbopack)1.102s2.006s0.905s101.03x
💻 LocalExpress1.103s (~)2.005s (~)0.902s101.03x
💻 LocalNext.js (Turbopack)1.107s2.007s0.900s101.03x
🐘 PostgresExpress1.121s (~)2.012s (~)0.891s101.04x
🐘 PostgresNitro1.123s (+2.5%)2.013s (~)0.890s101.05x
🐘 PostgresNext.js (Turbopack)1.123s2.012s0.889s101.05x
🌐 MongoDBNext.js (Turbopack)1.292s2.008s0.716s101.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.003s (+0.8%)4.096s (+26.6% 🔺)2.093s101.00x
▲ VercelNext.js (Turbopack)2.044s (+0.8%)3.586s (-18.4% 🟢)1.542s101.02x
▲ VercelNitro2.068s (~)4.191s (+13.6% 🔺)2.123s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.528s (-2.2%)11.022s (~)0.494s31.00x
🌐 RedisNext.js (Turbopack)10.657s11.024s0.367s31.01x
💻 LocalNext.js (Turbopack)10.707s11.024s0.317s31.02x
💻 LocalExpress10.768s (~)11.022s (~)0.254s31.02x
🐘 PostgresNext.js (Turbopack)10.786s11.040s0.255s31.02x
🐘 PostgresNitro10.808s (+1.8%)11.046s (~)0.238s31.03x
🐘 PostgresExpress10.851s (~)11.040s (~)0.189s31.03x
🌐 MongoDBNext.js (Turbopack)12.267s13.021s0.754s31.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express17.266s (+4.7%)19.056s (+6.9% 🔺)1.790s21.00x
▲ VercelNext.js (Turbopack)17.306s (+1.9%)19.249s (+4.3%)1.943s21.00x
▲ VercelNitro17.439s (-3.9%)18.761s (-6.5% 🟢)1.322s21.01x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)26.546s27.051s0.506s31.00x
💻 LocalNitro26.565s (-2.3%)27.054s (-3.6%)0.489s31.00x
🐘 PostgresNext.js (Turbopack)26.788s27.062s0.273s31.01x
🐘 PostgresExpress26.914s (-0.7%)27.056s (-2.4%)0.142s31.01x
💻 LocalNext.js (Turbopack)26.938s27.049s0.111s31.01x
🐘 PostgresNitro26.939s (+1.8%)27.060s (~)0.121s31.01x
💻 LocalExpress27.179s (~)28.049s (~)0.870s31.02x
🌐 MongoDBNext.js (Turbopack)30.556s31.051s0.495s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express44.258s (-1.6%)45.581s (-2.6%)1.323s21.00x
▲ VercelNitro44.834s (~)46.447s (~)1.613s21.01x
▲ VercelNext.js (Turbopack)45.419s (-1.4%)47.202s (-1.6%)1.783s21.03x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)53.100s53.597s0.497s21.00x
🐘 PostgresNext.js (Turbopack)53.617s54.101s0.483s21.01x
🐘 PostgresNitro53.855s (+1.8%)54.096s (+1.9%)0.242s21.01x
🐘 PostgresExpress53.867s (-0.8%)54.095s (-1.8%)0.228s21.01x
💻 LocalNitro54.471s (-2.7%)55.103s (-1.8%)0.631s21.03x
💻 LocalNext.js (Turbopack)55.694s56.105s0.411s21.05x
💻 LocalExpress55.980s (~)56.096s (~)0.116s21.05x
🌐 MongoDBNext.js (Turbopack)60.908s61.070s0.162s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express96.713s (~)98.418s (~)1.705s11.00x
▲ VercelNext.js (Turbopack)97.092s (-4.9%)98.262s (-5.8% 🟢)1.170s11.00x
▲ VercelNitro98.282s (-2.2%)99.435s (-3.1%)1.153s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.273s2.006s0.733s151.00x
🐘 PostgresExpress1.351s (-4.8%)2.011s (~)0.660s151.06x
💻 LocalNitro1.352s (-2.8%)2.006s (~)0.654s151.06x
🐘 PostgresNitro1.365s (+5.7% 🔺)2.011s (~)0.646s151.07x
🐘 PostgresNext.js (Turbopack)1.367s2.011s0.643s151.07x
💻 LocalExpress1.403s (-0.5%)2.005s (~)0.603s151.10x
💻 LocalNext.js (Turbopack)1.427s2.006s0.578s151.12x
🌐 MongoDBNext.js (Turbopack)2.160s3.009s0.849s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.630s (+6.5% 🔺)3.821s (-6.9% 🟢)1.191s81.00x
▲ VercelNitro2.770s (-7.8% 🟢)4.020s (-11.4% 🟢)1.251s81.05x
▲ VercelExpress2.833s (+15.5% 🔺)4.181s (+16.8% 🔺)1.348s81.08x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)2.025s2.739s0.714s111.00x
🐘 PostgresNitro2.061s (+11.2% 🔺)2.598s (+16.7% 🔺)0.537s121.02x
🐘 PostgresExpress2.062s (+0.7%)2.744s (+5.4% 🔺)0.682s111.02x
💻 LocalNitro2.323s (-10.9% 🟢)3.007s (~)0.684s101.15x
🌐 RedisNext.js (Turbopack)2.494s3.008s0.514s101.23x
💻 LocalExpress2.565s (-1.0%)3.007s (~)0.443s101.27x
💻 LocalNext.js (Turbopack)2.576s3.007s0.431s101.27x
🌐 MongoDBNext.js (Turbopack)4.715s5.179s0.464s62.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.789s (+19.9% 🔺)4.108s (+26.7% 🔺)1.318s81.00x
▲ VercelNitro2.812s (+14.7% 🔺)4.191s (+10.6% 🔺)1.379s81.01x
▲ VercelNext.js (Turbopack)3.241s (-1.5%)4.582s (-1.2%)1.341s71.16x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.240s (-15.3% 🟢)4.151s (-9.7% 🟢)0.911s81.00x
🐘 PostgresNitro3.510s (+30.9% 🔺)4.310s (+16.9% 🔺)0.800s71.08x
🐘 PostgresNext.js (Turbopack)3.845s4.595s0.751s71.19x
🌐 RedisNext.js (Turbopack)4.016s4.438s0.422s71.24x
💻 LocalNitro6.325s (-12.9% 🟢)7.014s (-12.5% 🟢)0.690s51.95x
💻 LocalExpress7.341s (+2.2%)8.021s (~)0.679s42.27x
💻 LocalNext.js (Turbopack)7.446s8.020s0.574s42.30x
🌐 MongoDBNext.js (Turbopack)10.106s10.689s0.583s33.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.193s (-7.8% 🟢)4.560s (-5.0% 🟢)1.367s71.00x
▲ VercelNitro3.613s (+19.3% 🔺)5.393s (+28.2% 🔺)1.780s61.13x
▲ VercelExpress3.888s (+39.9% 🔺)5.633s (+45.0% 🔺)1.746s61.22x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.261s2.006s0.745s151.00x
💻 LocalNitro1.355s (-5.3% 🟢)2.004s (~)0.649s151.07x
🐘 PostgresExpress1.363s (-5.9% 🟢)2.012s (~)0.649s151.08x
🐘 PostgresNitro1.373s (+5.5% 🔺)2.011s (~)0.638s151.09x
🐘 PostgresNext.js (Turbopack)1.377s2.012s0.634s151.09x
💻 LocalExpress1.443s (+3.0%)2.005s (~)0.562s151.14x
💻 LocalNext.js (Turbopack)1.459s2.005s0.547s151.16x
🌐 MongoDBNext.js (Turbopack)2.137s3.009s0.873s101.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.284s (+3.4%)3.858s (+18.7% 🔺)1.574s81.00x
▲ VercelNext.js (Turbopack)2.293s (-1.6%)3.779s (-3.3%)1.485s81.00x
▲ VercelNitro2.555s (+14.3% 🔺)4.092s (+10.1% 🔺)1.536s81.12x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.928s (+4.2%)2.511s (+8.3% 🔺)0.583s121.00x
🐘 PostgresNext.js (Turbopack)1.935s2.398s0.463s131.00x
🐘 PostgresExpress2.000s (-7.4% 🟢)2.598s (-8.6% 🟢)0.597s121.04x
💻 LocalNitro2.423s (-10.3% 🟢)3.008s (~)0.586s101.26x
🌐 RedisNext.js (Turbopack)2.529s3.008s0.479s101.31x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s101.38x
💻 LocalExpress2.702s (+0.6%)3.007s (~)0.305s101.40x
🌐 MongoDBNext.js (Turbopack)4.705s5.178s0.472s62.44x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.888s (+7.9% 🔺)4.348s (+7.3% 🔺)1.460s71.00x
▲ VercelExpress2.984s (+7.5% 🔺)4.326s (+12.7% 🔺)1.342s81.03x
▲ VercelNext.js (Turbopack)3.381s (+5.2% 🔺)4.880s (+3.3%)1.499s71.17x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.021s (+4.8%)3.767s (-3.2%)0.746s81.00x
🐘 PostgresNext.js (Turbopack)3.666s4.592s0.926s71.21x
🐘 PostgresExpress3.785s (-10.8% 🟢)4.456s (-11.8% 🟢)0.672s71.25x
🌐 RedisNext.js (Turbopack)4.033s4.725s0.692s71.33x
💻 LocalNitro7.158s (-9.3% 🟢)7.770s (-3.1%)0.612s42.37x
💻 LocalNext.js (Turbopack)7.817s8.266s0.449s42.59x
💻 LocalExpress7.903s (~)8.016s (-3.1%)0.113s42.62x
🌐 MongoDBNext.js (Turbopack)9.884s10.349s0.465s33.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.285s (-10.0% 🟢)5.127s (+9.8% 🔺)1.842s61.00x
▲ VercelNitro3.286s (-12.1% 🟢)4.735s (-12.5% 🟢)1.449s71.00x
▲ VercelNext.js (Turbopack)3.432s (-24.4% 🟢)4.787s (-25.7% 🟢)1.355s71.04x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.110s (-35.4% 🟢)1.003s (~)0.009s (-19.1% 🟢)1.015s (~)0.905s101.00x
🌐 RedisNext.js (Turbopack)0.144s1.000s0.002s1.008s0.864s101.31x
💻 LocalNext.js (Turbopack)0.145s1.001s0.011s1.017s0.872s101.32x
💻 LocalExpress0.166s (-0.9%)1.003s (~)0.011s (-1.8%)1.017s (~)0.850s101.51x
🐘 PostgresNext.js (Turbopack)0.173s1.001s0.001s1.013s0.840s101.58x
🐘 PostgresExpress0.178s (-20.8% 🟢)0.991s (-0.5%)0.002s (+12.5% 🔺)1.012s (~)0.834s101.62x
🐘 PostgresNitro0.195s (+30.4% 🔺)0.992s (-0.8%)0.001s (-13.3% 🟢)1.012s (~)0.817s101.77x
🌐 MongoDBNext.js (Turbopack)0.503s0.945s0.002s1.010s0.507s104.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.642s (-2.9%)2.335s (-11.4% 🟢)0.005s (~)2.875s (-11.1% 🟢)1.232s101.00x
▲ VercelExpress1.760s (+0.8%)2.729s (+3.3%)0.005s (-16.7% 🟢)3.323s (+5.2% 🔺)1.563s101.07x
▲ VercelNitro1.912s (+3.7%)2.893s (+9.4% 🔺)0.005s (-82.2% 🟢)3.458s (+5.6% 🔺)1.546s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro12/12
🐘 PostgresNext.js (Turbopack)6/12
▲ VercelExpress8/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres7/12
Next.js (Turbopack)🌐 Redis7/12
Nitro💻 Local7/12
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
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions

github-actionsBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1195515189
✅ 📋 Other147027174
Total2728553643147

❌ Failed Tests

🌍 Community Worlds (55 failed)

mongodb (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • 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
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • 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 (queue-based) - workflow and step endpoints respond to health check messages
  • 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
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5323
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

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

Updates @workflow/ai’s workflow peer dependency to use the pnpm workspace protocol so it can stay aligned with the monorepo’s workflow package version and avoid Changesets versioning warnings.

Changes:

  • Replace the hardcoded workflow peer dependency range with workspace:* in @workflow/ai.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/ai/package.json Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Nathan Rajlich <n@n8.io>

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh thanks, I think I had to hardcode this for the 4.1.0 release to prevent the ai package from being auto-bumped to 5.0.0 and forgot to fix it after

@TooTallNate
TooTallNate merged commit b28a5fd into mainMar 11, 2026
166 of 168 checks passed
@TooTallNate
TooTallNate deleted the fix/ai-workflow-peer-dep branch March 11, 2026 01:39
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
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@VaguelySerious
, '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(ai): use workspace:* for workflow peer dependency - #1320

Merged
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep
Mar 11, 2026
Merged

fix(ai): use workspace:* for workflow peer dependency#1320
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Replaces the hardcoded "^4.1.0-beta.63" version range for the workflow peer dependency in @workflow/ai with workspace:*
  • This ensures the peer dependency version stays in sync automatically — pnpm resolves it to the correct version at publish time
  • Fixes the changeset version warning: Package "@workflow/ai" must depend on the current version of "workflow"

The hardcoded version range in peerDependencies would fall out of sync
with the actual workflow package version, causing changeset warnings.
Using workspace:* lets pnpm resolve the correct version at publish time.
CopilotAI review requested due to automatic review settings March 10, 2026 23:38
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 10, 2026 23:38
@changeset-bot

changeset-botBot commented Mar 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6c28e73

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

This PR includes changesets to release 1 package
NameType
@workflow/aiPatch

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

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

@vercel

vercelBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 10, 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🥇 Nitro0.026s (-21.0% 🟢)1.005s (~)0.979s101.00x
💻 LocalExpress0.033s (-3.8%)1.006s (~)0.973s101.23x
💻 LocalNext.js (Turbopack)0.038s1.005s0.967s101.45x
🌐 RedisNext.js (Turbopack)0.046s1.006s0.960s101.75x
🐘 PostgresNext.js (Turbopack)0.047s1.011s0.965s101.77x
🐘 PostgresExpress0.054s (-6.3% 🟢)1.011s (~)0.958s102.03x
🐘 PostgresNitro0.056s (+30.8% 🔺)1.011s (~)0.955s102.13x
🌐 MongoDBNext.js (Turbopack)0.080s1.008s0.928s103.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.444s (+0.8%)2.441s (+20.7% 🔺)1.997s101.00x
▲ VercelNext.js (Turbopack)0.489s (-24.2% 🟢)2.305s (-12.9% 🟢)1.815s101.10x
▲ VercelNitro0.534s (+8.6% 🔺)2.424s (+5.3% 🔺)1.890s101.20x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.073s (-2.7%)2.006s (~)0.933s101.00x
🌐 RedisNext.js (Turbopack)1.102s2.006s0.905s101.03x
💻 LocalExpress1.103s (~)2.005s (~)0.902s101.03x
💻 LocalNext.js (Turbopack)1.107s2.007s0.900s101.03x
🐘 PostgresExpress1.121s (~)2.012s (~)0.891s101.04x
🐘 PostgresNitro1.123s (+2.5%)2.013s (~)0.890s101.05x
🐘 PostgresNext.js (Turbopack)1.123s2.012s0.889s101.05x
🌐 MongoDBNext.js (Turbopack)1.292s2.008s0.716s101.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.003s (+0.8%)4.096s (+26.6% 🔺)2.093s101.00x
▲ VercelNext.js (Turbopack)2.044s (+0.8%)3.586s (-18.4% 🟢)1.542s101.02x
▲ VercelNitro2.068s (~)4.191s (+13.6% 🔺)2.123s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.528s (-2.2%)11.022s (~)0.494s31.00x
🌐 RedisNext.js (Turbopack)10.657s11.024s0.367s31.01x
💻 LocalNext.js (Turbopack)10.707s11.024s0.317s31.02x
💻 LocalExpress10.768s (~)11.022s (~)0.254s31.02x
🐘 PostgresNext.js (Turbopack)10.786s11.040s0.255s31.02x
🐘 PostgresNitro10.808s (+1.8%)11.046s (~)0.238s31.03x
🐘 PostgresExpress10.851s (~)11.040s (~)0.189s31.03x
🌐 MongoDBNext.js (Turbopack)12.267s13.021s0.754s31.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express17.266s (+4.7%)19.056s (+6.9% 🔺)1.790s21.00x
▲ VercelNext.js (Turbopack)17.306s (+1.9%)19.249s (+4.3%)1.943s21.00x
▲ VercelNitro17.439s (-3.9%)18.761s (-6.5% 🟢)1.322s21.01x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)26.546s27.051s0.506s31.00x
💻 LocalNitro26.565s (-2.3%)27.054s (-3.6%)0.489s31.00x
🐘 PostgresNext.js (Turbopack)26.788s27.062s0.273s31.01x
🐘 PostgresExpress26.914s (-0.7%)27.056s (-2.4%)0.142s31.01x
💻 LocalNext.js (Turbopack)26.938s27.049s0.111s31.01x
🐘 PostgresNitro26.939s (+1.8%)27.060s (~)0.121s31.01x
💻 LocalExpress27.179s (~)28.049s (~)0.870s31.02x
🌐 MongoDBNext.js (Turbopack)30.556s31.051s0.495s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express44.258s (-1.6%)45.581s (-2.6%)1.323s21.00x
▲ VercelNitro44.834s (~)46.447s (~)1.613s21.01x
▲ VercelNext.js (Turbopack)45.419s (-1.4%)47.202s (-1.6%)1.783s21.03x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)53.100s53.597s0.497s21.00x
🐘 PostgresNext.js (Turbopack)53.617s54.101s0.483s21.01x
🐘 PostgresNitro53.855s (+1.8%)54.096s (+1.9%)0.242s21.01x
🐘 PostgresExpress53.867s (-0.8%)54.095s (-1.8%)0.228s21.01x
💻 LocalNitro54.471s (-2.7%)55.103s (-1.8%)0.631s21.03x
💻 LocalNext.js (Turbopack)55.694s56.105s0.411s21.05x
💻 LocalExpress55.980s (~)56.096s (~)0.116s21.05x
🌐 MongoDBNext.js (Turbopack)60.908s61.070s0.162s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express96.713s (~)98.418s (~)1.705s11.00x
▲ VercelNext.js (Turbopack)97.092s (-4.9%)98.262s (-5.8% 🟢)1.170s11.00x
▲ VercelNitro98.282s (-2.2%)99.435s (-3.1%)1.153s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.273s2.006s0.733s151.00x
🐘 PostgresExpress1.351s (-4.8%)2.011s (~)0.660s151.06x
💻 LocalNitro1.352s (-2.8%)2.006s (~)0.654s151.06x
🐘 PostgresNitro1.365s (+5.7% 🔺)2.011s (~)0.646s151.07x
🐘 PostgresNext.js (Turbopack)1.367s2.011s0.643s151.07x
💻 LocalExpress1.403s (-0.5%)2.005s (~)0.603s151.10x
💻 LocalNext.js (Turbopack)1.427s2.006s0.578s151.12x
🌐 MongoDBNext.js (Turbopack)2.160s3.009s0.849s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.630s (+6.5% 🔺)3.821s (-6.9% 🟢)1.191s81.00x
▲ VercelNitro2.770s (-7.8% 🟢)4.020s (-11.4% 🟢)1.251s81.05x
▲ VercelExpress2.833s (+15.5% 🔺)4.181s (+16.8% 🔺)1.348s81.08x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)2.025s2.739s0.714s111.00x
🐘 PostgresNitro2.061s (+11.2% 🔺)2.598s (+16.7% 🔺)0.537s121.02x
🐘 PostgresExpress2.062s (+0.7%)2.744s (+5.4% 🔺)0.682s111.02x
💻 LocalNitro2.323s (-10.9% 🟢)3.007s (~)0.684s101.15x
🌐 RedisNext.js (Turbopack)2.494s3.008s0.514s101.23x
💻 LocalExpress2.565s (-1.0%)3.007s (~)0.443s101.27x
💻 LocalNext.js (Turbopack)2.576s3.007s0.431s101.27x
🌐 MongoDBNext.js (Turbopack)4.715s5.179s0.464s62.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.789s (+19.9% 🔺)4.108s (+26.7% 🔺)1.318s81.00x
▲ VercelNitro2.812s (+14.7% 🔺)4.191s (+10.6% 🔺)1.379s81.01x
▲ VercelNext.js (Turbopack)3.241s (-1.5%)4.582s (-1.2%)1.341s71.16x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.240s (-15.3% 🟢)4.151s (-9.7% 🟢)0.911s81.00x
🐘 PostgresNitro3.510s (+30.9% 🔺)4.310s (+16.9% 🔺)0.800s71.08x
🐘 PostgresNext.js (Turbopack)3.845s4.595s0.751s71.19x
🌐 RedisNext.js (Turbopack)4.016s4.438s0.422s71.24x
💻 LocalNitro6.325s (-12.9% 🟢)7.014s (-12.5% 🟢)0.690s51.95x
💻 LocalExpress7.341s (+2.2%)8.021s (~)0.679s42.27x
💻 LocalNext.js (Turbopack)7.446s8.020s0.574s42.30x
🌐 MongoDBNext.js (Turbopack)10.106s10.689s0.583s33.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.193s (-7.8% 🟢)4.560s (-5.0% 🟢)1.367s71.00x
▲ VercelNitro3.613s (+19.3% 🔺)5.393s (+28.2% 🔺)1.780s61.13x
▲ VercelExpress3.888s (+39.9% 🔺)5.633s (+45.0% 🔺)1.746s61.22x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.261s2.006s0.745s151.00x
💻 LocalNitro1.355s (-5.3% 🟢)2.004s (~)0.649s151.07x
🐘 PostgresExpress1.363s (-5.9% 🟢)2.012s (~)0.649s151.08x
🐘 PostgresNitro1.373s (+5.5% 🔺)2.011s (~)0.638s151.09x
🐘 PostgresNext.js (Turbopack)1.377s2.012s0.634s151.09x
💻 LocalExpress1.443s (+3.0%)2.005s (~)0.562s151.14x
💻 LocalNext.js (Turbopack)1.459s2.005s0.547s151.16x
🌐 MongoDBNext.js (Turbopack)2.137s3.009s0.873s101.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.284s (+3.4%)3.858s (+18.7% 🔺)1.574s81.00x
▲ VercelNext.js (Turbopack)2.293s (-1.6%)3.779s (-3.3%)1.485s81.00x
▲ VercelNitro2.555s (+14.3% 🔺)4.092s (+10.1% 🔺)1.536s81.12x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.928s (+4.2%)2.511s (+8.3% 🔺)0.583s121.00x
🐘 PostgresNext.js (Turbopack)1.935s2.398s0.463s131.00x
🐘 PostgresExpress2.000s (-7.4% 🟢)2.598s (-8.6% 🟢)0.597s121.04x
💻 LocalNitro2.423s (-10.3% 🟢)3.008s (~)0.586s101.26x
🌐 RedisNext.js (Turbopack)2.529s3.008s0.479s101.31x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s101.38x
💻 LocalExpress2.702s (+0.6%)3.007s (~)0.305s101.40x
🌐 MongoDBNext.js (Turbopack)4.705s5.178s0.472s62.44x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.888s (+7.9% 🔺)4.348s (+7.3% 🔺)1.460s71.00x
▲ VercelExpress2.984s (+7.5% 🔺)4.326s (+12.7% 🔺)1.342s81.03x
▲ VercelNext.js (Turbopack)3.381s (+5.2% 🔺)4.880s (+3.3%)1.499s71.17x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.021s (+4.8%)3.767s (-3.2%)0.746s81.00x
🐘 PostgresNext.js (Turbopack)3.666s4.592s0.926s71.21x
🐘 PostgresExpress3.785s (-10.8% 🟢)4.456s (-11.8% 🟢)0.672s71.25x
🌐 RedisNext.js (Turbopack)4.033s4.725s0.692s71.33x
💻 LocalNitro7.158s (-9.3% 🟢)7.770s (-3.1%)0.612s42.37x
💻 LocalNext.js (Turbopack)7.817s8.266s0.449s42.59x
💻 LocalExpress7.903s (~)8.016s (-3.1%)0.113s42.62x
🌐 MongoDBNext.js (Turbopack)9.884s10.349s0.465s33.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.285s (-10.0% 🟢)5.127s (+9.8% 🔺)1.842s61.00x
▲ VercelNitro3.286s (-12.1% 🟢)4.735s (-12.5% 🟢)1.449s71.00x
▲ VercelNext.js (Turbopack)3.432s (-24.4% 🟢)4.787s (-25.7% 🟢)1.355s71.04x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.110s (-35.4% 🟢)1.003s (~)0.009s (-19.1% 🟢)1.015s (~)0.905s101.00x
🌐 RedisNext.js (Turbopack)0.144s1.000s0.002s1.008s0.864s101.31x
💻 LocalNext.js (Turbopack)0.145s1.001s0.011s1.017s0.872s101.32x
💻 LocalExpress0.166s (-0.9%)1.003s (~)0.011s (-1.8%)1.017s (~)0.850s101.51x
🐘 PostgresNext.js (Turbopack)0.173s1.001s0.001s1.013s0.840s101.58x
🐘 PostgresExpress0.178s (-20.8% 🟢)0.991s (-0.5%)0.002s (+12.5% 🔺)1.012s (~)0.834s101.62x
🐘 PostgresNitro0.195s (+30.4% 🔺)0.992s (-0.8%)0.001s (-13.3% 🟢)1.012s (~)0.817s101.77x
🌐 MongoDBNext.js (Turbopack)0.503s0.945s0.002s1.010s0.507s104.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.642s (-2.9%)2.335s (-11.4% 🟢)0.005s (~)2.875s (-11.1% 🟢)1.232s101.00x
▲ VercelExpress1.760s (+0.8%)2.729s (+3.3%)0.005s (-16.7% 🟢)3.323s (+5.2% 🔺)1.563s101.07x
▲ VercelNitro1.912s (+3.7%)2.893s (+9.4% 🔺)0.005s (-82.2% 🟢)3.458s (+5.6% 🔺)1.546s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro12/12
🐘 PostgresNext.js (Turbopack)6/12
▲ VercelExpress8/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres7/12
Next.js (Turbopack)🌐 Redis7/12
Nitro💻 Local7/12
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
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions

github-actionsBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1195515189
✅ 📋 Other147027174
Total2728553643147

❌ Failed Tests

🌍 Community Worlds (55 failed)

mongodb (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • 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
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • 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 (queue-based) - workflow and step endpoints respond to health check messages
  • 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
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5323
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

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

Updates @workflow/ai’s workflow peer dependency to use the pnpm workspace protocol so it can stay aligned with the monorepo’s workflow package version and avoid Changesets versioning warnings.

Changes:

  • Replace the hardcoded workflow peer dependency range with workspace:* in @workflow/ai.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/ai/package.json Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Nathan Rajlich <n@n8.io>

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh thanks, I think I had to hardcode this for the 4.1.0 release to prevent the ai package from being auto-bumped to 5.0.0 and forgot to fix it after

@TooTallNate
TooTallNate merged commit b28a5fd into mainMar 11, 2026
166 of 168 checks passed
@TooTallNate
TooTallNate deleted the fix/ai-workflow-peer-dep branch March 11, 2026 01:39
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
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@VaguelySerious
, '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(ai): use workspace:* for workflow peer dependency - #1320

Merged
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep
Mar 11, 2026
Merged

fix(ai): use workspace:* for workflow peer dependency#1320
TooTallNate merged 3 commits into
mainfrom
fix/ai-workflow-peer-dep

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Replaces the hardcoded "^4.1.0-beta.63" version range for the workflow peer dependency in @workflow/ai with workspace:*
  • This ensures the peer dependency version stays in sync automatically — pnpm resolves it to the correct version at publish time
  • Fixes the changeset version warning: Package "@workflow/ai" must depend on the current version of "workflow"

The hardcoded version range in peerDependencies would fall out of sync
with the actual workflow package version, causing changeset warnings.
Using workspace:* lets pnpm resolve the correct version at publish time.
CopilotAI review requested due to automatic review settings March 10, 2026 23:38
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 10, 2026 23:38
@changeset-bot

changeset-botBot commented Mar 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6c28e73

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

This PR includes changesets to release 1 package
NameType
@workflow/aiPatch

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

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

@vercel

vercelBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 10, 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🥇 Nitro0.026s (-21.0% 🟢)1.005s (~)0.979s101.00x
💻 LocalExpress0.033s (-3.8%)1.006s (~)0.973s101.23x
💻 LocalNext.js (Turbopack)0.038s1.005s0.967s101.45x
🌐 RedisNext.js (Turbopack)0.046s1.006s0.960s101.75x
🐘 PostgresNext.js (Turbopack)0.047s1.011s0.965s101.77x
🐘 PostgresExpress0.054s (-6.3% 🟢)1.011s (~)0.958s102.03x
🐘 PostgresNitro0.056s (+30.8% 🔺)1.011s (~)0.955s102.13x
🌐 MongoDBNext.js (Turbopack)0.080s1.008s0.928s103.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.444s (+0.8%)2.441s (+20.7% 🔺)1.997s101.00x
▲ VercelNext.js (Turbopack)0.489s (-24.2% 🟢)2.305s (-12.9% 🟢)1.815s101.10x
▲ VercelNitro0.534s (+8.6% 🔺)2.424s (+5.3% 🔺)1.890s101.20x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.073s (-2.7%)2.006s (~)0.933s101.00x
🌐 RedisNext.js (Turbopack)1.102s2.006s0.905s101.03x
💻 LocalExpress1.103s (~)2.005s (~)0.902s101.03x
💻 LocalNext.js (Turbopack)1.107s2.007s0.900s101.03x
🐘 PostgresExpress1.121s (~)2.012s (~)0.891s101.04x
🐘 PostgresNitro1.123s (+2.5%)2.013s (~)0.890s101.05x
🐘 PostgresNext.js (Turbopack)1.123s2.012s0.889s101.05x
🌐 MongoDBNext.js (Turbopack)1.292s2.008s0.716s101.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.003s (+0.8%)4.096s (+26.6% 🔺)2.093s101.00x
▲ VercelNext.js (Turbopack)2.044s (+0.8%)3.586s (-18.4% 🟢)1.542s101.02x
▲ VercelNitro2.068s (~)4.191s (+13.6% 🔺)2.123s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.528s (-2.2%)11.022s (~)0.494s31.00x
🌐 RedisNext.js (Turbopack)10.657s11.024s0.367s31.01x
💻 LocalNext.js (Turbopack)10.707s11.024s0.317s31.02x
💻 LocalExpress10.768s (~)11.022s (~)0.254s31.02x
🐘 PostgresNext.js (Turbopack)10.786s11.040s0.255s31.02x
🐘 PostgresNitro10.808s (+1.8%)11.046s (~)0.238s31.03x
🐘 PostgresExpress10.851s (~)11.040s (~)0.189s31.03x
🌐 MongoDBNext.js (Turbopack)12.267s13.021s0.754s31.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express17.266s (+4.7%)19.056s (+6.9% 🔺)1.790s21.00x
▲ VercelNext.js (Turbopack)17.306s (+1.9%)19.249s (+4.3%)1.943s21.00x
▲ VercelNitro17.439s (-3.9%)18.761s (-6.5% 🟢)1.322s21.01x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)26.546s27.051s0.506s31.00x
💻 LocalNitro26.565s (-2.3%)27.054s (-3.6%)0.489s31.00x
🐘 PostgresNext.js (Turbopack)26.788s27.062s0.273s31.01x
🐘 PostgresExpress26.914s (-0.7%)27.056s (-2.4%)0.142s31.01x
💻 LocalNext.js (Turbopack)26.938s27.049s0.111s31.01x
🐘 PostgresNitro26.939s (+1.8%)27.060s (~)0.121s31.01x
💻 LocalExpress27.179s (~)28.049s (~)0.870s31.02x
🌐 MongoDBNext.js (Turbopack)30.556s31.051s0.495s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express44.258s (-1.6%)45.581s (-2.6%)1.323s21.00x
▲ VercelNitro44.834s (~)46.447s (~)1.613s21.01x
▲ VercelNext.js (Turbopack)45.419s (-1.4%)47.202s (-1.6%)1.783s21.03x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)53.100s53.597s0.497s21.00x
🐘 PostgresNext.js (Turbopack)53.617s54.101s0.483s21.01x
🐘 PostgresNitro53.855s (+1.8%)54.096s (+1.9%)0.242s21.01x
🐘 PostgresExpress53.867s (-0.8%)54.095s (-1.8%)0.228s21.01x
💻 LocalNitro54.471s (-2.7%)55.103s (-1.8%)0.631s21.03x
💻 LocalNext.js (Turbopack)55.694s56.105s0.411s21.05x
💻 LocalExpress55.980s (~)56.096s (~)0.116s21.05x
🌐 MongoDBNext.js (Turbopack)60.908s61.070s0.162s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express96.713s (~)98.418s (~)1.705s11.00x
▲ VercelNext.js (Turbopack)97.092s (-4.9%)98.262s (-5.8% 🟢)1.170s11.00x
▲ VercelNitro98.282s (-2.2%)99.435s (-3.1%)1.153s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.273s2.006s0.733s151.00x
🐘 PostgresExpress1.351s (-4.8%)2.011s (~)0.660s151.06x
💻 LocalNitro1.352s (-2.8%)2.006s (~)0.654s151.06x
🐘 PostgresNitro1.365s (+5.7% 🔺)2.011s (~)0.646s151.07x
🐘 PostgresNext.js (Turbopack)1.367s2.011s0.643s151.07x
💻 LocalExpress1.403s (-0.5%)2.005s (~)0.603s151.10x
💻 LocalNext.js (Turbopack)1.427s2.006s0.578s151.12x
🌐 MongoDBNext.js (Turbopack)2.160s3.009s0.849s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.630s (+6.5% 🔺)3.821s (-6.9% 🟢)1.191s81.00x
▲ VercelNitro2.770s (-7.8% 🟢)4.020s (-11.4% 🟢)1.251s81.05x
▲ VercelExpress2.833s (+15.5% 🔺)4.181s (+16.8% 🔺)1.348s81.08x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)2.025s2.739s0.714s111.00x
🐘 PostgresNitro2.061s (+11.2% 🔺)2.598s (+16.7% 🔺)0.537s121.02x
🐘 PostgresExpress2.062s (+0.7%)2.744s (+5.4% 🔺)0.682s111.02x
💻 LocalNitro2.323s (-10.9% 🟢)3.007s (~)0.684s101.15x
🌐 RedisNext.js (Turbopack)2.494s3.008s0.514s101.23x
💻 LocalExpress2.565s (-1.0%)3.007s (~)0.443s101.27x
💻 LocalNext.js (Turbopack)2.576s3.007s0.431s101.27x
🌐 MongoDBNext.js (Turbopack)4.715s5.179s0.464s62.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.789s (+19.9% 🔺)4.108s (+26.7% 🔺)1.318s81.00x
▲ VercelNitro2.812s (+14.7% 🔺)4.191s (+10.6% 🔺)1.379s81.01x
▲ VercelNext.js (Turbopack)3.241s (-1.5%)4.582s (-1.2%)1.341s71.16x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.240s (-15.3% 🟢)4.151s (-9.7% 🟢)0.911s81.00x
🐘 PostgresNitro3.510s (+30.9% 🔺)4.310s (+16.9% 🔺)0.800s71.08x
🐘 PostgresNext.js (Turbopack)3.845s4.595s0.751s71.19x
🌐 RedisNext.js (Turbopack)4.016s4.438s0.422s71.24x
💻 LocalNitro6.325s (-12.9% 🟢)7.014s (-12.5% 🟢)0.690s51.95x
💻 LocalExpress7.341s (+2.2%)8.021s (~)0.679s42.27x
💻 LocalNext.js (Turbopack)7.446s8.020s0.574s42.30x
🌐 MongoDBNext.js (Turbopack)10.106s10.689s0.583s33.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.193s (-7.8% 🟢)4.560s (-5.0% 🟢)1.367s71.00x
▲ VercelNitro3.613s (+19.3% 🔺)5.393s (+28.2% 🔺)1.780s61.13x
▲ VercelExpress3.888s (+39.9% 🔺)5.633s (+45.0% 🔺)1.746s61.22x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.261s2.006s0.745s151.00x
💻 LocalNitro1.355s (-5.3% 🟢)2.004s (~)0.649s151.07x
🐘 PostgresExpress1.363s (-5.9% 🟢)2.012s (~)0.649s151.08x
🐘 PostgresNitro1.373s (+5.5% 🔺)2.011s (~)0.638s151.09x
🐘 PostgresNext.js (Turbopack)1.377s2.012s0.634s151.09x
💻 LocalExpress1.443s (+3.0%)2.005s (~)0.562s151.14x
💻 LocalNext.js (Turbopack)1.459s2.005s0.547s151.16x
🌐 MongoDBNext.js (Turbopack)2.137s3.009s0.873s101.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.284s (+3.4%)3.858s (+18.7% 🔺)1.574s81.00x
▲ VercelNext.js (Turbopack)2.293s (-1.6%)3.779s (-3.3%)1.485s81.00x
▲ VercelNitro2.555s (+14.3% 🔺)4.092s (+10.1% 🔺)1.536s81.12x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.928s (+4.2%)2.511s (+8.3% 🔺)0.583s121.00x
🐘 PostgresNext.js (Turbopack)1.935s2.398s0.463s131.00x
🐘 PostgresExpress2.000s (-7.4% 🟢)2.598s (-8.6% 🟢)0.597s121.04x
💻 LocalNitro2.423s (-10.3% 🟢)3.008s (~)0.586s101.26x
🌐 RedisNext.js (Turbopack)2.529s3.008s0.479s101.31x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s101.38x
💻 LocalExpress2.702s (+0.6%)3.007s (~)0.305s101.40x
🌐 MongoDBNext.js (Turbopack)4.705s5.178s0.472s62.44x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.888s (+7.9% 🔺)4.348s (+7.3% 🔺)1.460s71.00x
▲ VercelExpress2.984s (+7.5% 🔺)4.326s (+12.7% 🔺)1.342s81.03x
▲ VercelNext.js (Turbopack)3.381s (+5.2% 🔺)4.880s (+3.3%)1.499s71.17x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.021s (+4.8%)3.767s (-3.2%)0.746s81.00x
🐘 PostgresNext.js (Turbopack)3.666s4.592s0.926s71.21x
🐘 PostgresExpress3.785s (-10.8% 🟢)4.456s (-11.8% 🟢)0.672s71.25x
🌐 RedisNext.js (Turbopack)4.033s4.725s0.692s71.33x
💻 LocalNitro7.158s (-9.3% 🟢)7.770s (-3.1%)0.612s42.37x
💻 LocalNext.js (Turbopack)7.817s8.266s0.449s42.59x
💻 LocalExpress7.903s (~)8.016s (-3.1%)0.113s42.62x
🌐 MongoDBNext.js (Turbopack)9.884s10.349s0.465s33.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.285s (-10.0% 🟢)5.127s (+9.8% 🔺)1.842s61.00x
▲ VercelNitro3.286s (-12.1% 🟢)4.735s (-12.5% 🟢)1.449s71.00x
▲ VercelNext.js (Turbopack)3.432s (-24.4% 🟢)4.787s (-25.7% 🟢)1.355s71.04x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.110s (-35.4% 🟢)1.003s (~)0.009s (-19.1% 🟢)1.015s (~)0.905s101.00x
🌐 RedisNext.js (Turbopack)0.144s1.000s0.002s1.008s0.864s101.31x
💻 LocalNext.js (Turbopack)0.145s1.001s0.011s1.017s0.872s101.32x
💻 LocalExpress0.166s (-0.9%)1.003s (~)0.011s (-1.8%)1.017s (~)0.850s101.51x
🐘 PostgresNext.js (Turbopack)0.173s1.001s0.001s1.013s0.840s101.58x
🐘 PostgresExpress0.178s (-20.8% 🟢)0.991s (-0.5%)0.002s (+12.5% 🔺)1.012s (~)0.834s101.62x
🐘 PostgresNitro0.195s (+30.4% 🔺)0.992s (-0.8%)0.001s (-13.3% 🟢)1.012s (~)0.817s101.77x
🌐 MongoDBNext.js (Turbopack)0.503s0.945s0.002s1.010s0.507s104.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.642s (-2.9%)2.335s (-11.4% 🟢)0.005s (~)2.875s (-11.1% 🟢)1.232s101.00x
▲ VercelExpress1.760s (+0.8%)2.729s (+3.3%)0.005s (-16.7% 🟢)3.323s (+5.2% 🔺)1.563s101.07x
▲ VercelNitro1.912s (+3.7%)2.893s (+9.4% 🔺)0.005s (-82.2% 🟢)3.458s (+5.6% 🔺)1.546s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro12/12
🐘 PostgresNext.js (Turbopack)6/12
▲ VercelExpress8/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres7/12
Next.js (Turbopack)🌐 Redis7/12
Nitro💻 Local7/12
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
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions

github-actionsBot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1195515189
✅ 📋 Other147027174
Total2728553643147

❌ Failed Tests

🌍 Community Worlds (55 failed)

mongodb (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • 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
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • 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 (queue-based) - workflow and step endpoints respond to health check messages
  • 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
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5323
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

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

Updates @workflow/ai’s workflow peer dependency to use the pnpm workspace protocol so it can stay aligned with the monorepo’s workflow package version and avoid Changesets versioning warnings.

Changes:

  • Replace the hardcoded workflow peer dependency range with workspace:* in @workflow/ai.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/ai/package.json Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Nathan Rajlich <n@n8.io>

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh thanks, I think I had to hardcode this for the 4.1.0 release to prevent the ai package from being auto-bumped to 5.0.0 and forgot to fix it after

@TooTallNate
TooTallNate merged commit b28a5fd into mainMar 11, 2026
166 of 168 checks passed
@TooTallNate
TooTallNate deleted the fix/ai-workflow-peer-dep branch March 11, 2026 01:39
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
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@VaguelySerious