Skip to content

chore: bump framework dependencies across packages and workbenches#1433

Open
pranaygp wants to merge 4 commits intomainfrom
pgp/more-e2e-test-improvements
Open

chore: bump framework dependencies across packages and workbenches#1433
pranaygp wants to merge 4 commits intomainfrom
pgp/more-e2e-test-improvements

Conversation

@pranaygp
Copy link
Collaborator

Summary

  • Bump minor/patch versions for framework dependencies across all packages and workbenches
  • Fix nitro v3 beta API change (externals → rollup external config)
  • Fix rollup peer dependency for nitro-v3 workbench

Updated dependencies

Package From To
nitro (catalog) 3.0.1-alpha.1 3.0.260311-beta
hono ^4.9.10 ^4.12.8
nitropack ^2.12.7 ^2.13.1
express ^5.1.0 ^5.2.1
fastify ^5.6.2 ^5.8.2
next 16.1.6 16.1.7
nuxt 4.0.0 / ^4.1.3 4.4.2 / ^4.4.2
@nuxt/kit 4.3.1 4.4.2
@nuxt/schema 4.3.1 4.4.2
@nestjs/* ^11.0.x ^11.1.17
@sveltejs/kit ^2.43.2 ^2.55.0
svelte ^5.39.5 ^5.54.0
@sveltejs/adapter-node ^5.4.0 ^5.5.4
@sveltejs/adapter-vercel ^6.1.1 ^6.3.3
rollup (nitro-v3) ^4.53.2 ^4.59.0

Not included (major version bumps for follow-up)

  • astro 5 → 6 (+ @astrojs/node 9→10, @astrojs/vercel 9→10)
  • vite 7 → 8
  • h3 1.x → 2.x (still RC)

Test plan

  • CI passes for all workbenches
  • E2E tests pass

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@changeset-bot
Copy link

changeset-bot bot commented Mar 18, 2026

⚠️ No Changeset found

Latest commit: d92ce58

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel
Copy link
Contributor

vercel bot commented Mar 18, 2026

@github-actions
Copy link
Contributor

github-actions bot commented Mar 18, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
❌ ▲ Vercel Production 757 1 67 825
✅ 💻 Local Development 727 0 98 825
✅ 📦 Local Production 518 0 82 600
✅ 🐘 Local Postgres 518 0 82 600
✅ 🪟 Windows 72 0 3 75
❌ 🌍 Community Worlds 118 56 15 189
✅ 📋 Other 198 0 27 225
Total 2908 57 374 3339

❌ Failed Tests

▲ Vercel Production (1 failed)

vite (1 failed):

  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KKZXQWHYJ762KR91HPFWCGDM | 🔍 observability
🌍 Community Worlds (56 failed)

mongodb (3 failed):

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

redis (2 failed):

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

turso (51 failed):

  • addTenWorkflow | wrun_01KKZXGCSAQ8NDJVX8S36CGR13
  • addTenWorkflow | wrun_01KKZXGCSAQ8NDJVX8S36CGR13
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KKZXHPV2AYQRXKX6TCFR0E5S
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KKZXGKME2ECK2S70ZWPTZEZ1
  • promiseRaceWorkflow | wrun_01KKZXGR8JH0S2KEN2W6J627P6
  • promiseAnyWorkflow | wrun_01KKZXGTGD6BYPTFSHYC5FQBMR
  • importedStepOnlyWorkflow | wrun_01KKZXJ150110S80B1KHVG61VC
  • hookWorkflow | wrun_01KKZXH7TWZZERPYZMKHN9WTMV
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KKZXHJVGFKER6G58E5ZR94Z4
  • webhookWorkflow | wrun_01KKZXHVKBR3CV5CQ5DNKSVFXF
  • sleepingWorkflow | wrun_01KKZXJ1YFAQSZMRNRATGNKKRQ
  • parallelSleepWorkflow | wrun_01KKZXJERA5C1RXRP4QSE4101Z
  • nullByteWorkflow | wrun_01KKZXJK9595VX7J1Q30MVAD13
  • workflowAndStepMetadataWorkflow | wrun_01KKZXJND0N7V486BSE4810K9X
  • fetchWorkflow | wrun_01KKZXKH2EK74H9YCYTWPB6BQT
  • promiseRaceStressTestWorkflow | wrun_01KKZXKMQN3MJDJ1Y4Z05XM924
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KKZXPJVBHVXPQAFAG2CXX3QF
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KKZXQ859X8GRAB7K2NHAHYA2
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KKZXQWHYJ762KR91HPFWCGDM
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KKZXR3KV7WC8S6ZNDSH38SXP
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KKZXRCMXSD5Y1VM1K5T5SWKG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KKZXRJ89CG8ST8236XSD0VW2
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KKZXRMJH43DDBYM6M77C46T1
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KKZXS4D5M3XBZEN50MWBY68F
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KKZXSA4ZTNPGR65G2YCH35W4
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KKZXSHGV51JBJ3144FD9F4B2
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KKZXSQ8HPSVVTGQACRA4EA4J
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KKZXSYBXB96E96AZX5VM98KA
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KKZXT5BR2AT89J7J9ZCWJ9D9
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KKZXTCR3FNTJJX801KQQQTX1
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KKZXTQZFVWAF87VY080RX42D
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KKZXTZEEMMA8VTKWKAVT63E2
  • cancelRun - cancelling a running workflow | wrun_01KKZXV7BAE2V7HPBHWHBYN3ZD
  • cancelRun via CLI - cancelling a running workflow | wrun_01KKZXVGP1SBBQSFBBKMGQMSC5
  • 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 | wrun_01KKZXVWZ0VBMNTV5F7P84BPA9
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KKZXWHB8FXC7QSZ2VH8MVKSP
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KKZXWXQZ6NGXT436EXX8JH3X

Details by Category

❌ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 68 0 7
✅ example 68 0 7
✅ express 68 0 7
✅ fastify 68 0 7
✅ hono 68 0 7
✅ nextjs-turbopack 73 0 2
✅ nextjs-webpack 73 0 2
✅ nitro 68 0 7
✅ nuxt 68 0 7
✅ sveltekit 68 0 7
❌ vite 67 1 7
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 66 0 9
✅ express-stable 66 0 9
✅ fastify-stable 66 0 9
✅ hono-stable 66 0 9
✅ nextjs-turbopack-stable 72 0 3
✅ nextjs-webpack-canary 55 0 20
✅ nextjs-webpack-stable 72 0 3
✅ nitro-stable 66 0 9
✅ nuxt-stable 66 0 9
✅ sveltekit-stable 66 0 9
✅ vite-stable 66 0 9
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 66 0 9
✅ nextjs-turbopack-canary 55 0 20
✅ nextjs-turbopack-stable 72 0 3
✅ nextjs-webpack-canary 55 0 20
✅ nextjs-webpack-stable 72 0 3
✅ nuxt-stable 66 0 9
✅ sveltekit-stable 66 0 9
✅ vite-stable 66 0 9
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 66 0 9
✅ nextjs-turbopack-canary 55 0 20
✅ nextjs-turbopack-stable 72 0 3
✅ nextjs-webpack-canary 55 0 20
✅ nextjs-webpack-stable 72 0 3
✅ nuxt-stable 66 0 9
✅ sveltekit-stable 66 0 9
✅ vite-stable 66 0 9
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 72 0 3
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 2
❌ mongodb 52 3 3
✅ redis-dev 3 0 2
❌ redis 53 2 3
✅ turso-dev 3 0 2
❌ turso 4 51 3
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 66 0 9
✅ e2e-local-postgres-nest-stable 66 0 9
✅ e2e-local-prod-nest-stable 66 0 9

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 18, 2026

📊 Benchmark Results

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

workflow with no steps

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 0.445s (-34.6% 🟢) 2.154s (-14.3% 🟢) 1.709s 10 1.00x
▲ Vercel Express 0.487s (-2.1%) 2.219s (-15.7% 🟢) 1.732s 10 1.09x
▲ Vercel Nitro 0.564s (+17.0% 🔺) 2.778s (+15.3% 🔺) 2.214s 10 1.27x

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

workflow with 1 step

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.013s (~) 3.435s (-8.1% 🟢) 1.423s 10 1.00x
▲ Vercel Nitro 2.017s (-17.1% 🟢) 3.791s (-8.2% 🟢) 1.774s 10 1.00x
▲ Vercel Next.js (Turbopack) 2.066s (~) 4.182s (+12.2% 🔺) 2.116s 10 1.03x

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

workflow with 10 sequential steps

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 16.800s (+2.0%) 18.995s (+3.0%) 2.195s 2 1.00x
▲ Vercel Nitro 17.372s (+8.9% 🔺) 19.322s (+7.4% 🔺) 1.950s 2 1.03x
▲ Vercel Next.js (Turbopack) 17.435s (+0.8%) 20.224s (+7.2% 🔺) 2.789s 2 1.04x

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

workflow with 25 sequential steps

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 43.285s (-1.2%) 45.337s (~) 2.052s 2 1.00x
▲ Vercel Next.js (Turbopack) 43.529s (-0.9%) 45.266s (-1.1%) 1.738s 2 1.01x
▲ Vercel Nitro 43.620s (~) 45.379s (~) 1.759s 2 1.01x

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

workflow with 50 sequential steps

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 92.501s (-2.7%) 94.267s (-4.0%) 1.766s 1 1.00x
▲ Vercel Next.js (Turbopack) 94.556s (-2.9%) 95.720s (-2.8%) 1.164s 1 1.02x
▲ Vercel Nitro 95.436s (+2.6%) 97.286s (+3.2%) 1.850s 1 1.03x

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

Promise.all with 10 concurrent steps

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.421s (-3.2%) 3.874s (-6.1% 🟢) 1.453s 8 1.00x
▲ Vercel Express 2.506s (+5.5% 🔺) 3.964s (+1.4%) 1.458s 8 1.04x
▲ Vercel Next.js (Turbopack) 2.880s (+23.9% 🔺) 3.920s (+11.0% 🔺) 1.041s 8 1.19x

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

Promise.all with 25 concurrent steps

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.407s (-5.9% 🟢) 3.846s (~) 1.439s 8 1.00x
▲ Vercel Next.js (Turbopack) 2.567s (-7.5% 🟢) 3.822s (-3.2%) 1.256s 8 1.07x
▲ Vercel Nitro 2.940s (+15.5% 🔺) 4.446s (+10.5% 🔺) 1.506s 7 1.22x

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

Promise.all with 50 concurrent steps

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.709s (-1.2%) 3.985s (-8.5% 🟢) 1.277s 8 1.00x
▲ Vercel Express 3.203s (+14.5% 🔺) 4.778s (+13.3% 🔺) 1.575s 7 1.18x
▲ Vercel Next.js (Turbopack) 3.555s (+15.4% 🔺) 5.312s (+10.4% 🔺) 1.757s 6 1.31x

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

Promise.race with 10 concurrent steps

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.091s (-1.4%) 3.409s (-6.6% 🟢) 1.318s 9 1.00x
▲ Vercel Nitro 2.181s (+1.9%) 3.701s (+1.0%) 1.520s 9 1.04x
▲ Vercel Express 2.230s (+0.9%) 3.698s (-6.1% 🟢) 1.468s 9 1.07x

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

Promise.race with 25 concurrent steps

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.359s (-12.3% 🟢) 3.418s (-16.6% 🟢) 1.059s 9 1.00x
▲ Vercel Nitro 2.622s (+6.4% 🔺) 4.059s (+5.4% 🔺) 1.437s 8 1.11x
▲ Vercel Express 2.657s (-8.4% 🟢) 3.970s (-7.6% 🟢) 1.313s 8 1.13x

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

Promise.race with 50 concurrent steps

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.898s (-8.9% 🟢) 4.550s (-9.4% 🟢) 1.652s 7 1.00x
▲ Vercel Express 3.044s (+3.9%) 4.164s (-4.7%) 1.120s 8 1.05x
▲ Vercel Next.js (Turbopack) 3.265s (-17.1% 🟢) 4.792s (-11.6% 🟢) 1.527s 7 1.13x

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

Stream Benchmarks (includes TTFB metrics)
workflow with stream

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 1.520s (+0.7%) 2.390s (+11.1% 🔺) 0.007s (+34.7% 🔺) 2.928s (+7.9% 🔺) 1.408s 10 1.00x
▲ Vercel Next.js (Turbopack) 1.570s (-11.3% 🟢) 2.538s (-2.2%) 0.006s (+19.6% 🔺) 3.066s (-4.7%) 1.496s 10 1.03x
▲ Vercel Nitro 1.664s (-1.7%) 2.558s (-6.3% 🟢) 0.006s (+22.4% 🔺) 3.209s (-5.5% 🟢) 1.545s 10 1.09x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
▲ Vercel Express 6/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express ▲ Vercel 12/12
Next.js (Turbopack) ▲ Vercel 12/12
Nitro ▲ Vercel 12/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

The new nitro beta removed `nitro/~internal/runtime/plugin` and
exports `definePlugin` from the main `nitro` entry instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@pranaygp pranaygp marked this pull request as ready for review March 18, 2026 07:54
@pranaygp pranaygp requested review from a team and ijjk as code owners March 18, 2026 07:54
Copilot AI review requested due to automatic review settings March 18, 2026 07:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the repo’s workbench examples and internal integrations to align with newer framework/tooling versions (notably Nitro v3 beta), and adjusts build configuration to support workspace imports and avoid dev reload issues.

Changes:

  • Bump framework/tooling dependencies across multiple workbench examples (Nuxt, SvelteKit, Next, Nitro, etc.) and workspace catalog (nitro).
  • Update Nitro v3 plugin example + docs to use definePlugin instead of internal defineNitroPlugin import.
  • Adjust workflow/nitro module to externalize the .nitro/workflow build output via a Rollup external wrapper; add a Vite alias for @repo.

Reviewed changes

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

Show a summary per file
File Description
workbench/vite/vite.config.ts Adds @repo alias to resolve workspace imports in the Vite example.
workbench/sveltekit/package.json Updates SvelteKit/Svelte and adapter versions.
workbench/nuxt/package.json Updates Nuxt version used by the Nuxt workbench.
workbench/nitro-v3/plugins/start-pg-world.ts Switches Nitro plugin definition to definePlugin API.
workbench/nitro-v3/package.json Updates Rollup version for Nitro v3 workbench.
workbench/nitro-v2/package.json Updates nitropack version for Nitro v2 workbench.
workbench/nextjs-webpack/package.json Bumps Next version for the webpack workbench.
workbench/nextjs-turbopack/package.json Bumps Next version for the turbopack workbench.
workbench/nest/package.json Updates NestJS + Express dependency versions for Nest workbench.
workbench/hono/package.json Updates Hono version.
workbench/fastify/package.json Updates Fastify version.
workbench/express/package.json Updates Express version.
pnpm-workspace.yaml Updates the workspace catalog nitro version to a v3 beta.
packages/nuxt/package.json Aligns @nuxt/* + nuxt versions used by @workflow/nuxt.
packages/nitro/src/index.ts Changes dev externalization approach to a Rollup external wrapper in rollup:before.
packages/next/package.json Bumps Next version used for @workflow/next development.
packages/nest/package.json Updates NestJS devDependencies used by @workflow/nest.
docs/content/docs/deploying/world/postgres-world.mdx Updates docs snippet to use definePlugin from nitro.

💡 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 on lines +8 to +11
resolve: {
alias: {
'@repo': resolve(__dirname, '../..'),
},
Comment on lines +46 to +53
if (typeof prevExternal === 'function')
return (
prevExternal as (
id: string,
...args: unknown[]
) => boolean | null | undefined
)(id, ...args);
if (Array.isArray(prevExternal)) return prevExternal.includes(id);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants