Skip to content

[web-shared] Fix resolve hook modal theming and token fetching#856

Merged
karthikscale3 merged 1 commit into
mainfrom
karthik/workflow-o11y-hook-fix
Jan 26, 2026
Merged

[web-shared] Fix resolve hook modal theming and token fetching#856
karthikscale3 merged 1 commit into
mainfrom
karthik/workflow-o11y-hook-fix

Conversation

@karthikscale3
Copy link
Copy Markdown
Contributor

Summary

  • Align resolve hook modal styling with theme tokens and secondary cancel button.
  • Improve hook resolution by fetching and preferring the latest hook token.
  • Keep the send payload flow stable while updating modal visuals.

Test plan

  • Open a run with a hook, open Resolve Hook modal in light and dark mode.
  • Verify Cancel uses secondary styling and modal colors adapt correctly.
  • Send a payload and confirm the hook resolves successfully.

Before

  • In Dark mode - the text inside the text area is also white and hence it's visible only when highlighted.
  • The "Send Payload" button click handler was blocked due to the form submission.
  • The dialog has the same theme for both light and dark themes.
image

The "Resolve Hook" button theme is off.

image

After

image image

Keep the modal aligned with theme tokens and ensure hook resolution has the token it needs.
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jan 26, 2026

🦋 Changeset detected

Latest commit: 573e8f5

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

This PR includes changesets to release 1 package
Name Type
@workflow/web-shared Patch

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

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

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jan 26, 2026

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

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 26, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 457 0 38 495
❌ 💻 Local Development 416 2 32 450
✅ 📦 Local Production 418 0 32 450
✅ 🐘 Local Postgres 418 0 32 450
✅ 🪟 Windows 45 0 0 45
❌ 🌍 Community Worlds 31 161 0 192
Total 1785 163 134 2082

❌ Failed Tests

💻 Local Development (2 failed)

astro-stable (2 failed):

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

mongodb (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

redis (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

starter (41 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

turso (40 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 41 0 4
✅ example 41 0 4
✅ express 41 0 4
✅ fastify 41 0 4
✅ hono 41 0 4
✅ nextjs-turbopack 44 0 1
✅ nextjs-webpack 44 0 1
✅ nitro 41 0 4
✅ nuxt 41 0 4
✅ sveltekit 41 0 4
✅ vite 41 0 4
❌ 💻 Local Development
App Passed Failed Skipped
❌ astro-stable 39 2 4
✅ express-stable 41 0 4
✅ fastify-stable 41 0 4
✅ hono-stable 41 0 4
✅ nextjs-turbopack-stable 45 0 0
✅ nextjs-webpack-stable 45 0 0
✅ nitro-stable 41 0 4
✅ nuxt-stable 41 0 4
✅ sveltekit-stable 41 0 4
✅ vite-stable 41 0 4
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 41 0 4
✅ express-stable 41 0 4
✅ fastify-stable 41 0 4
✅ hono-stable 41 0 4
✅ nextjs-turbopack-stable 45 0 0
✅ nextjs-webpack-stable 45 0 0
✅ nitro-stable 41 0 4
✅ nuxt-stable 41 0 4
✅ sveltekit-stable 41 0 4
✅ vite-stable 41 0 4
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 41 0 4
✅ express-stable 41 0 4
✅ fastify-stable 41 0 4
✅ hono-stable 41 0 4
✅ nextjs-turbopack-stable 45 0 0
✅ nextjs-webpack-stable 45 0 0
✅ nitro-stable 41 0 4
✅ nuxt-stable 41 0 4
✅ sveltekit-stable 41 0 4
✅ vite-stable 41 0 4
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 45 0 0
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 0
❌ mongodb 5 40 0
✅ redis-dev 3 0 0
❌ redis 5 40 0
✅ starter-dev 3 0 0
❌ starter 4 41 0
✅ turso-dev 3 0 0
❌ turso 5 40 0

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 26, 2026

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 0.040s (-5.6% 🟢) 1.019s (~) 0.978s 10 1.00x
💻 Local Express 0.042s (-2.6%) 1.007s (~) 0.965s 10 1.04x
💻 Local Nitro 0.042s (~) 1.007s (~) 0.965s 10 1.04x
🐘 Postgres Nitro 0.259s (+6.5% 🔺) 1.012s (~) 0.753s 10 6.41x
🐘 Postgres Next.js (Turbopack) 0.277s (-31.8% 🟢) 1.031s (+0.8%) 0.754s 10 6.85x
🐘 Postgres Express 0.353s (+31.1% 🔺) 1.014s (~) 0.661s 10 8.74x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 0.668s (-23.3% 🟢) 1.680s (~) 1.012s 10 1.00x
▲ Vercel Nitro 0.677s (-11.2% 🟢) 1.713s (-2.9%) 1.036s 10 1.01x
▲ Vercel Express 0.697s (-19.2% 🟢) 1.534s (-17.3% 🟢) 0.838s 10 1.04x

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

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 1.093s (~) 2.012s (~) 0.919s 10 1.00x
💻 Local Nitro 1.112s (~) 2.007s (~) 0.895s 10 1.02x
💻 Local Express 1.114s (~) 2.007s (~) 0.893s 10 1.02x
🐘 Postgres Nitro 2.018s (-6.2% 🟢) 2.813s (-6.6% 🟢) 0.795s 10 1.85x
🐘 Postgres Next.js (Turbopack) 2.142s (+28.4% 🔺) 2.722s (+34.9% 🔺) 0.580s 10 1.96x
🐘 Postgres Express 2.204s (~) 3.014s (~) 0.810s 10 2.02x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.934s (-11.0% 🟢) 3.692s (-12.7% 🟢) 0.758s 10 1.00x
▲ Vercel Next.js (Turbopack) 3.002s (-6.7% 🟢) 3.665s (-6.1% 🟢) 0.663s 10 1.02x
▲ Vercel Nitro 3.111s (-6.5% 🟢) 3.946s (-4.6%) 0.835s 10 1.06x

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

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 10.717s (~) 11.017s (~) 0.300s 5 1.00x
💻 Local Express 10.817s (~) 11.013s (~) 0.196s 5 1.01x
💻 Local Nitro 10.827s (~) 11.012s (~) 0.185s 5 1.01x
🐘 Postgres Next.js (Turbopack) 15.252s (+9.9% 🔺) 15.848s (+9.8% 🔺) 0.597s 5 1.42x
🐘 Postgres Nitro 15.490s (-24.3% 🟢) 16.027s (-23.8% 🟢) 0.537s 5 1.45x
🐘 Postgres Express 20.268s (-0.8%) 21.032s (~) 0.765s 5 1.89x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 27.814s (+12.6% 🔺) 28.717s (+10.1% 🔺) 0.903s 5 1.00x
▲ Vercel Nitro 28.002s (+11.9% 🔺) 28.719s (+11.1% 🔺) 0.717s 5 1.01x
▲ Vercel Next.js (Turbopack) 28.060s (+6.3% 🔺) 28.881s (+6.5% 🔺) 0.821s 5 1.01x

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

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 1.392s (-2.3%) 2.006s (~) 0.614s 15 1.00x
💻 Local Nitro 1.396s (-1.6%) 2.006s (~) 0.610s 15 1.00x
💻 Local Next.js (Turbopack) 1.415s (+1.4%) 2.013s (~) 0.598s 15 1.02x
🐘 Postgres Next.js (Turbopack) 1.730s (-6.7% 🟢) 2.084s (-6.7% 🟢) 0.354s 15 1.24x
🐘 Postgres Nitro 2.207s (-3.1%) 2.679s (-11.0% 🟢) 0.472s 12 1.59x
🐘 Postgres Express 2.437s (+13.0% 🔺) 3.017s (~) 0.580s 10 1.75x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.955s (-8.9% 🟢) 3.709s (-3.5%) 0.754s 9 1.00x
▲ Vercel Express 3.059s (-2.1%) 3.834s (-3.3%) 0.775s 8 1.04x
▲ Vercel Nitro 3.182s (-7.5% 🟢) 4.081s (-1.2%) 0.899s 8 1.08x

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

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 2.416s (-3.6%) 3.057s (+0.6%) 0.641s 10 1.00x
💻 Local Nitro 2.452s (-1.1%) 3.088s (+2.0%) 0.636s 10 1.01x
💻 Local Next.js (Turbopack) 2.494s (-2.4%) 3.059s (-1.6%) 0.565s 10 1.03x
🐘 Postgres Express 8.272s (~) 8.819s (~) 0.547s 4 3.42x
🐘 Postgres Next.js (Turbopack) 11.149s (-12.4% 🟢) 12.074s (-7.6% 🟢) 0.925s 3 4.61x
🐘 Postgres Nitro 11.706s (+48.2% 🔺) 12.022s (+40.4% 🔺) 0.316s 3 4.85x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.496s (-5.0%) 4.059s (-8.9% 🟢) 0.563s 8 1.00x
▲ Vercel Nitro 3.634s (-4.7%) 4.331s (-8.2% 🟢) 0.697s 8 1.04x
▲ Vercel Next.js (Turbopack) 3.695s (-10.6% 🟢) 4.453s (-7.5% 🟢) 0.758s 7 1.06x

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

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 1.411s (+1.3%) 2.009s (~) 0.598s 15 1.00x
💻 Local Express 1.413s (-1.3%) 2.006s (~) 0.593s 15 1.00x
💻 Local Nitro 1.416s (~) 2.005s (~) 0.590s 15 1.00x
🐘 Postgres Next.js (Turbopack) 1.709s (-25.0% 🟢) 2.084s (-26.7% 🟢) 0.375s 15 1.21x
🐘 Postgres Nitro 2.087s (+0.6%) 2.599s (+12.1% 🔺) 0.511s 12 1.48x
🐘 Postgres Express 2.215s (+4.1%) 2.512s (-6.4% 🟢) 0.297s 12 1.57x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.993s (-14.6% 🟢) 3.790s (-10.0% 🟢) 0.797s 8 1.00x
▲ Vercel Express 3.020s (-5.4% 🟢) 3.712s (-5.2% 🟢) 0.692s 9 1.01x
▲ Vercel Nitro 3.887s (+26.0% 🔺) 4.820s (+21.0% 🔺) 0.933s 7 1.30x

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

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 2.499s (-3.7%) 3.011s (-0.7%) 0.512s 10 1.00x
💻 Local Nitro 2.542s (-2.5%) 3.017s (~) 0.475s 10 1.02x
💻 Local Next.js (Turbopack) 2.605s (+4.0%) 3.024s (-0.7%) 0.419s 10 1.04x
🐘 Postgres Express 10.301s (-11.4% 🟢) 10.743s (-10.8% 🟢) 0.441s 3 4.12x
🐘 Postgres Next.js (Turbopack) 12.026s (-10.5% 🟢) 12.406s (-11.8% 🟢) 0.380s 3 4.81x
🐘 Postgres Nitro 12.642s (+6.3% 🔺) 13.369s (+8.2% 🔺) 0.728s 3 5.06x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.439s (-4.0%) 4.292s (-8.0% 🟢) 0.853s 8 1.00x
▲ Vercel Next.js (Turbopack) 3.503s (-10.9% 🟢) 3.958s (-18.1% 🟢) 0.455s 8 1.02x
▲ Vercel Nitro 4.381s (+19.6% 🔺) 5.386s (+21.7% 🔺) 1.004s 6 1.27x

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

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 0.148s (+2.3%) 1.003s (~) 0.018s (+8.6% 🔺) 1.029s (~) 0.881s 10 1.00x
💻 Local Nitro 0.179s (+0.7%) 0.992s (~) 0.014s (-17.5% 🟢) 1.020s (~) 0.841s 10 1.21x
💻 Local Express 0.181s (-1.6%) 0.992s (~) 0.014s (-2.1%) 1.021s (~) 0.839s 10 1.22x
🐘 Postgres Next.js (Turbopack) 1.244s (+45.9% 🔺) 1.802s (+138.0% 🔺) 0.000s (NaN%) 2.023s (+98.2% 🔺) 0.779s 10 8.38x
🐘 Postgres Nitro 1.315s (-43.7% 🟢) 1.719s (-36.5% 🟢) 0.000s (+Infinity% 🔺) 2.012s (-33.2% 🟢) 0.697s 10 8.86x
🐘 Postgres Express 1.391s (-37.2% 🟢) 1.652s (-41.5% 🟢) 0.000s (NaN%) 2.015s (-33.2% 🟢) 0.624s 10 9.37x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.246s (-8.6% 🟢) 3.442s (-4.1%) 0.782s (-32.8% 🟢) 4.794s (-10.9% 🟢) 1.548s 10 1.00x
▲ Vercel Express 3.301s (-4.3%) 3.360s (-1.0%) 0.781s (-9.0% 🟢) 4.802s (-5.1% 🟢) 1.501s 10 1.02x
▲ Vercel Next.js (Turbopack) 3.569s (+1.3%) 3.793s (-1.7%) 0.878s (+11.3% 🔺) 5.201s (~) 1.632s 10 1.10x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@karthikscale3 karthikscale3 changed the title Fix resolve hook modal theming and token fetching [web-shared] Fix resolve hook modal theming and token fetching Jan 26, 2026
@karthikscale3 karthikscale3 merged commit f64b776 into main Jan 26, 2026
91 of 92 checks passed
@karthikscale3 karthikscale3 deleted the karthik/workflow-o11y-hook-fix branch January 26, 2026 19:51
pranaygp added a commit that referenced this pull request Jan 28, 2026
…s-and-commands

* origin/main:
  fix(@workflow/ai): support provider-executed tools (AI SDK v6) (#734)
  Publish "workflow" and "@workflow/core" package versions in sync (#870)
  Add SDK version to workflow run executionContext for observability (#868)
  Allow recreateRun to accept an optional deploymentId parameter (#869)
  Add support for top-level `using` declarations inside of step / workflow functions (#866)
  docs: URL in docs was missing the docs/ prefix, 404 errors (#852)
  Add "classes" object to `manifest.json` file (#864)
  Fix Nest workbench app build (#865)
  Ignore Astro on local dev tests for source map e2e tests (#863)
  Enable custom class serialization transformations for "client" mode (#860)
  Submit request bodies with CBOR encoding (#844)
  [world-vercel] Update queue to use VQS v3 API (#799)
  NestJS framework support (#840)
  Fix resolve hook theming and token fetching. (#856)
  docs: rename Control Flow Patterns to Common Patterns and add new content (#846)
  docs: revamp World documentation pages (#763)
  Remove unused `getWritable` stub function (#855)

# Conflicts:
#	packages/core/package.json
#	pnpm-lock.yaml
Sign up for 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