Add workflow endpoints health check query parameter - #613

Merged
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter
Dec 15, 2025
Merged

Add workflow endpoints health check query parameter#613
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Dec 15, 2025

Copy link
Copy Markdown
Member

Added a health check query parameter to workflow endpoints.

What changed?

  • Added a withHealthCheck function that wraps request handlers to check for the __health query parameter
  • When a request includes ?__health, the endpoint returns a 200 OK response immediately
  • Applied this wrapper to both workflow and step entrypoints

How to test?

  1. Make a request to any workflow endpoint with the __health query parameter:
    curl https://your-app.vercel.app/.well-known/workflow/v1/flow?__health
    
  2. Verify that the endpoint returns a 200 OK response with "OK" in the body

Why make this change?

This change enables health checking of workflow endpoints without triggering actual workflow execution. This is useful for monitoring systems to verify that workflow endpoints are accessible and responsive without causing side effects or consuming resources unnecessarily.

@changeset-bot

changeset-botBot commented Dec 15, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 48cadca

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

This PR includes changesets to release 12 packages
NameType
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
workflowPatch
@workflow/astroPatch
@workflow/sveltekitPatch
@workflow/world-testingPatch
@workflow/nuxtPatch
@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 Dec 15, 2025

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-astro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-express-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-fastify-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-hono-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nitro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nuxt-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-sveltekit-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-tanstack-start-workflowErrorErrorDec 15, 2025 10:51pm
workbench-vite-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workflow-docsReadyReadyPreview, CommentDec 15, 2025 10:51pm

@github-actions

github-actionsBot commented Dec 15, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.040s (+7.2% 🔺)1.015s (~)0.974s101.00x
🌐 RedisNext.js (Turbopack)0.041s (+3.0%)1.017s (~)0.976s101.01x
💻 LocalNext.js (Turbopack)0.041s (+4.3%)1.016s (~)0.975s101.02x
💻 LocalNitro0.042s (-2.4%)1.006s (~)0.965s101.03x
💻 LocalExpress0.044s (-5.7% 🟢)1.007s (~)0.963s101.11x
🌐 TursoNext.js (Turbopack)0.057s (-44.1% 🟢)1.014s (~)0.957s101.42x
🌐 MongoDBNext.js (Turbopack)0.070s (+13.3% 🔺)1.015s (~)0.945s101.74x
🐘 PostgresNext.js (Turbopack)0.115s (-69.5% 🟢)1.018s (~)0.904s102.86x
🐘 PostgresNitro0.325s (-2.4%)1.011s (-2.2%)0.687s108.10x
🐘 PostgresExpress0.363s (-6.2% 🟢)1.013s (~)0.650s109.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.520s (-16.4% 🟢)1.552s (-8.6% 🟢)1.031s101.00x
▲ VercelNext.js (Turbopack)0.538s (-20.2% 🟢)1.391s (-17.0% 🟢)0.853s101.03x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.089s (~)2.010s (~)0.921s101.00x
💻 LocalNext.js (Turbopack)1.094s (~)2.010s (~)0.916s101.00x
🌐 RedisNext.js (Turbopack)1.103s (~)2.011s (~)0.908s101.01x
💻 LocalNitro1.110s (~)2.005s (~)0.895s101.02x
💻 LocalExpress1.115s (~)2.007s (~)0.892s101.02x
🌐 TursoNext.js (Turbopack)1.269s (-3.5%)2.012s (~)0.743s101.17x
🌐 MongoDBNext.js (Turbopack)1.326s (+0.7%)2.015s (~)0.689s101.22x
🐘 PostgresNext.js (Turbopack)1.907s (+10.1% 🔺)2.014s (~)0.106s101.75x
🐘 PostgresNitro2.173s (-10.9% 🟢)3.015s (~)0.843s101.99x
🐘 PostgresExpress2.216s (-0.9%)3.015s (~)0.799s102.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.820s (+6.6% 🔺)3.814s (+4.6%)0.994s101.00x
▲ VercelNext.js (Turbopack)2.977s (+15.4% 🔺)3.890s (+13.2% 🔺)0.913s101.06x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)10.622s (~)11.012s (~)0.390s51.00x
💻 LocalNext.js (Turbopack)10.634s (~)11.015s (~)0.381s51.00x
🌐 RedisNext.js (Turbopack)10.673s (~)11.020s (~)0.347s51.00x
💻 LocalNitro10.776s (~)11.007s (~)0.230s51.01x
💻 LocalExpress10.797s (~)11.012s (~)0.214s51.02x
🌐 TursoNext.js (Turbopack)12.180s (~)13.021s (~)0.841s51.15x
🌐 MongoDBNext.js (Turbopack)12.304s (~)13.034s (~)0.731s51.16x
🐘 PostgresNext.js (Turbopack)15.331s (+3.9%)16.030s (+5.2% 🔺)0.699s51.44x
🐘 PostgresNitro18.122s (~)18.828s (+1.1%)0.705s51.71x
🐘 PostgresExpress20.318s (~)21.039s (~)0.721s51.91x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.929s (-1.3%)21.537s (-1.4%)0.608s51.00x
▲ VercelExpress21.150s (+2.2%)21.731s (+1.7%)0.581s51.01x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.332s (~)2.011s (~)0.679s51.00x
💻 LocalNext.js (Turbopack)1.351s (~)2.010s (~)0.659s51.01x
🌐 StarterNext.js (Turbopack)1.374s (+1.5%)2.009s (~)0.634s51.03x
💻 LocalNitro1.387s (~)2.005s (~)0.618s51.04x
💻 LocalExpress1.411s (+2.0%)2.006s (~)0.595s51.06x
🐘 PostgresNext.js (Turbopack)1.925s (-1.3%)2.013s (-16.8% 🟢)0.088s51.45x
🌐 MongoDBNext.js (Turbopack)2.139s (-0.7%)3.018s (~)0.879s51.61x
🌐 TursoNext.js (Turbopack)2.218s (~)3.013s (-0.5%)0.795s51.67x
🐘 PostgresNitro2.326s (+24.1% 🔺)2.610s (+18.1% 🔺)0.284s51.75x
🐘 PostgresExpress2.572s (-3.4%)3.012s (~)0.439s51.93x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.231s (+5.6% 🔺)5.237s (+4.1%)1.005s51.00x
▲ VercelNext.js (Turbopack)4.460s (+14.0% 🔺)5.171s (+10.7% 🔺)0.711s51.05x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.503s (~)7.027s (+1.4%)0.524s51.00x
🌐 RedisNext.js (Turbopack)7.977s (+1.2%)8.097s (-1.3%)0.121s41.23x
🐘 PostgresExpress8.118s (-8.7% 🟢)8.487s (-10.6% 🟢)0.369s41.25x
🐘 PostgresNitro8.688s (-3.5%)9.032s (-4.2%)0.343s41.34x
🐘 PostgresNext.js (Turbopack)8.890s (+3.6%)9.134s (+2.4%)0.244s41.37x
💻 LocalExpress13.490s (~)13.614s (~)0.124s32.07x
💻 LocalNitro13.512s (+2.5%)13.664s (+3.1%)0.151s32.08x
💻 LocalNext.js (Turbopack)14.681s (+4.7%)15.009s (+4.4%)0.328s32.26x
🌐 TursoNext.js (Turbopack)19.992s (+0.6%)20.530s (~)0.538s23.07x
🌐 MongoDBNext.js (Turbopack)20.225s (+1.6%)20.534s (~)0.309s23.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.296s (-19.7% 🟢)15.766s (-19.1% 🟢)0.470s21.00x
▲ VercelExpress18.774s (-7.4% 🟢)19.444s (-6.7% 🟢)0.670s21.23x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.715s (+0.9%)6.901s (~)0.186s51.00x
🌐 RedisNext.js (Turbopack)8.378s (+3.2%)8.725s (+3.3%)0.348s41.25x
🐘 PostgresNitro9.254s (-6.2% 🟢)9.519s (-5.4% 🟢)0.265s41.38x
🐘 PostgresExpress9.300s (-4.0%)9.439s (-4.5%)0.139s41.38x
🐘 PostgresNext.js (Turbopack)9.978s (+12.8% 🔺)10.198s (+9.0% 🔺)0.220s31.49x
💻 LocalExpress14.069s (+0.8%)14.380s (+0.9%)0.311s32.10x
💻 LocalNitro14.987s (+7.6% 🔺)15.065s (+7.5% 🔺)0.078s22.23x
💻 LocalNext.js (Turbopack)16.189s (-2.0%)16.514s (-1.9%)0.325s22.41x
🌐 MongoDBNext.js (Turbopack)19.890s (-1.4%)20.539s (~)0.649s22.96x
🌐 TursoNext.js (Turbopack)20.171s (~)20.624s (~)0.453s23.00x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.280s (-13.3% 🟢)16.287s (-10.8% 🟢)1.008s21.00x
▲ VercelExpress17.381s (-11.7% 🟢)18.086s (-12.7% 🟢)0.705s21.14x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.133s (-4.7%)1.003s (~)0.016s (+4.0%)1.025s (~)0.893s101.00x
🌐 RedisNext.js (Turbopack)0.140s (+1.7%)1.005s (~)0.000s (-100.0% 🟢)1.014s (~)0.874s101.06x
🌐 StarterNext.js (Turbopack)0.149s (+18.1% 🔺)1.005s (~)0.000s (+Infinity% 🔺)1.011s (~)0.861s101.13x
💻 LocalNitro0.175s (+1.4%)0.992s (~)0.014s (+0.7%)1.019s (~)0.844s101.32x
💻 LocalExpress0.179s (+3.9%)0.992s (~)0.015s (+0.7%)1.020s (~)0.841s101.35x
🌐 TursoNext.js (Turbopack)0.495s (+3.9%)0.956s (-2.8%)0.000s (NaN%)1.012s (~)0.517s103.74x
🌐 MongoDBNext.js (Turbopack)0.523s (+2.1%)0.945s (+0.7%)0.000s (+Infinity% 🔺)1.014s (~)0.491s103.95x
🐘 PostgresNext.js (Turbopack)1.080s (+14.7% 🔺)1.958s (+140.5% 🔺)0.000s (-100.0% 🟢)2.016s (+80.8% 🔺)0.936s108.15x
🐘 PostgresExpress1.264s (-45.4% 🟢)1.769s (-35.3% 🟢)0.000s (-100.0% 🟢)2.013s (-33.2% 🟢)0.748s109.54x
🐘 PostgresNitro1.292s (+26.9% 🔺)1.749s (~)0.000s (~)2.012s (+11.1% 🔺)0.721s109.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.661s (+9.1% 🔺)3.275s (+12.1% 🔺)0.401s (+22.4% 🔺)4.121s (+13.0% 🔺)1.460s101.00x
▲ VercelNext.js (Turbopack)2.735s (+8.5% 🔺)3.302s (+6.9% 🔺)0.210s (-36.9% 🟢)3.907s (+2.3%)1.172s101.03x
▲ VercelNitro⚠️missing-----

🔍 Observability: Express | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production286011297
✅ 💻 Local Development26208270
✅ 📦 Local Production26208270
✅ 🐘 Local Postgres26208270
✅ 🪟 Windows270027
❌ 🌍 Community Worlds109110120
Total120811351254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro2601
✅ example2601
✅ express2601
✅ fastify2601
✅ hono2601
✅ nextjs-turbopack2601
✅ nextjs-webpack2601
✅ nitro2601
✅ nuxt2601
✅ sveltekit2601
✅ vite2601
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2610
✅ redis-dev300
❌ redis2610
✅ starter-dev300
❌ starter1980
✅ turso-dev300
❌ turso2610

📋 View full workflow run

@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

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

@TooTallNate
TooTallNate marked this pull request as ready for review December 15, 2025 21:12
CopilotAI review requested due to automatic review settings December 15, 2025 21:12

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds health check functionality to workflow and step entrypoints by introducing a __health query parameter. When present, the endpoints return a 200 OK response immediately without executing any workflow or step logic. This enables monitoring systems to verify endpoint availability without triggering side effects.

Key Changes:

  • Added withHealthCheck wrapper function that intercepts requests with ?__health query parameter
  • Applied the wrapper to both workflowEntrypoint and stepEntrypoint functions
  • Refactored stepEntrypoint from an immediately invoked expression to a wrapped constant

Reviewed changes

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

FileDescription
packages/core/src/runtime.tsAdded withHealthCheck wrapper function and applied it to workflow and step entrypoints for health check support
.changeset/two-nights-join.mdAdded changeset documenting the patch-level change

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

Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
@TooTallNate
TooTallNate merged commit 4d7a393 into mainDec 15, 2025
143 of 144 checks passed
@TooTallNate
TooTallNate deleted the 12-15-add_workflow_endpoints_health_check_query_parameter branch December 15, 2025 23:14
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@pranaygp
, '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

Add workflow endpoints health check query parameter - #613

Merged
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter
Dec 15, 2025
Merged

Add workflow endpoints health check query parameter#613
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Dec 15, 2025

Copy link
Copy Markdown
Member

Added a health check query parameter to workflow endpoints.

What changed?

  • Added a withHealthCheck function that wraps request handlers to check for the __health query parameter
  • When a request includes ?__health, the endpoint returns a 200 OK response immediately
  • Applied this wrapper to both workflow and step entrypoints

How to test?

  1. Make a request to any workflow endpoint with the __health query parameter:
    curl https://your-app.vercel.app/.well-known/workflow/v1/flow?__health
    
  2. Verify that the endpoint returns a 200 OK response with "OK" in the body

Why make this change?

This change enables health checking of workflow endpoints without triggering actual workflow execution. This is useful for monitoring systems to verify that workflow endpoints are accessible and responsive without causing side effects or consuming resources unnecessarily.

@changeset-bot

changeset-botBot commented Dec 15, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 48cadca

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

This PR includes changesets to release 12 packages
NameType
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
workflowPatch
@workflow/astroPatch
@workflow/sveltekitPatch
@workflow/world-testingPatch
@workflow/nuxtPatch
@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 Dec 15, 2025

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-astro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-express-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-fastify-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-hono-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nitro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nuxt-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-sveltekit-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-tanstack-start-workflowErrorErrorDec 15, 2025 10:51pm
workbench-vite-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workflow-docsReadyReadyPreview, CommentDec 15, 2025 10:51pm

@github-actions

github-actionsBot commented Dec 15, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.040s (+7.2% 🔺)1.015s (~)0.974s101.00x
🌐 RedisNext.js (Turbopack)0.041s (+3.0%)1.017s (~)0.976s101.01x
💻 LocalNext.js (Turbopack)0.041s (+4.3%)1.016s (~)0.975s101.02x
💻 LocalNitro0.042s (-2.4%)1.006s (~)0.965s101.03x
💻 LocalExpress0.044s (-5.7% 🟢)1.007s (~)0.963s101.11x
🌐 TursoNext.js (Turbopack)0.057s (-44.1% 🟢)1.014s (~)0.957s101.42x
🌐 MongoDBNext.js (Turbopack)0.070s (+13.3% 🔺)1.015s (~)0.945s101.74x
🐘 PostgresNext.js (Turbopack)0.115s (-69.5% 🟢)1.018s (~)0.904s102.86x
🐘 PostgresNitro0.325s (-2.4%)1.011s (-2.2%)0.687s108.10x
🐘 PostgresExpress0.363s (-6.2% 🟢)1.013s (~)0.650s109.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.520s (-16.4% 🟢)1.552s (-8.6% 🟢)1.031s101.00x
▲ VercelNext.js (Turbopack)0.538s (-20.2% 🟢)1.391s (-17.0% 🟢)0.853s101.03x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.089s (~)2.010s (~)0.921s101.00x
💻 LocalNext.js (Turbopack)1.094s (~)2.010s (~)0.916s101.00x
🌐 RedisNext.js (Turbopack)1.103s (~)2.011s (~)0.908s101.01x
💻 LocalNitro1.110s (~)2.005s (~)0.895s101.02x
💻 LocalExpress1.115s (~)2.007s (~)0.892s101.02x
🌐 TursoNext.js (Turbopack)1.269s (-3.5%)2.012s (~)0.743s101.17x
🌐 MongoDBNext.js (Turbopack)1.326s (+0.7%)2.015s (~)0.689s101.22x
🐘 PostgresNext.js (Turbopack)1.907s (+10.1% 🔺)2.014s (~)0.106s101.75x
🐘 PostgresNitro2.173s (-10.9% 🟢)3.015s (~)0.843s101.99x
🐘 PostgresExpress2.216s (-0.9%)3.015s (~)0.799s102.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.820s (+6.6% 🔺)3.814s (+4.6%)0.994s101.00x
▲ VercelNext.js (Turbopack)2.977s (+15.4% 🔺)3.890s (+13.2% 🔺)0.913s101.06x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)10.622s (~)11.012s (~)0.390s51.00x
💻 LocalNext.js (Turbopack)10.634s (~)11.015s (~)0.381s51.00x
🌐 RedisNext.js (Turbopack)10.673s (~)11.020s (~)0.347s51.00x
💻 LocalNitro10.776s (~)11.007s (~)0.230s51.01x
💻 LocalExpress10.797s (~)11.012s (~)0.214s51.02x
🌐 TursoNext.js (Turbopack)12.180s (~)13.021s (~)0.841s51.15x
🌐 MongoDBNext.js (Turbopack)12.304s (~)13.034s (~)0.731s51.16x
🐘 PostgresNext.js (Turbopack)15.331s (+3.9%)16.030s (+5.2% 🔺)0.699s51.44x
🐘 PostgresNitro18.122s (~)18.828s (+1.1%)0.705s51.71x
🐘 PostgresExpress20.318s (~)21.039s (~)0.721s51.91x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.929s (-1.3%)21.537s (-1.4%)0.608s51.00x
▲ VercelExpress21.150s (+2.2%)21.731s (+1.7%)0.581s51.01x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.332s (~)2.011s (~)0.679s51.00x
💻 LocalNext.js (Turbopack)1.351s (~)2.010s (~)0.659s51.01x
🌐 StarterNext.js (Turbopack)1.374s (+1.5%)2.009s (~)0.634s51.03x
💻 LocalNitro1.387s (~)2.005s (~)0.618s51.04x
💻 LocalExpress1.411s (+2.0%)2.006s (~)0.595s51.06x
🐘 PostgresNext.js (Turbopack)1.925s (-1.3%)2.013s (-16.8% 🟢)0.088s51.45x
🌐 MongoDBNext.js (Turbopack)2.139s (-0.7%)3.018s (~)0.879s51.61x
🌐 TursoNext.js (Turbopack)2.218s (~)3.013s (-0.5%)0.795s51.67x
🐘 PostgresNitro2.326s (+24.1% 🔺)2.610s (+18.1% 🔺)0.284s51.75x
🐘 PostgresExpress2.572s (-3.4%)3.012s (~)0.439s51.93x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.231s (+5.6% 🔺)5.237s (+4.1%)1.005s51.00x
▲ VercelNext.js (Turbopack)4.460s (+14.0% 🔺)5.171s (+10.7% 🔺)0.711s51.05x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.503s (~)7.027s (+1.4%)0.524s51.00x
🌐 RedisNext.js (Turbopack)7.977s (+1.2%)8.097s (-1.3%)0.121s41.23x
🐘 PostgresExpress8.118s (-8.7% 🟢)8.487s (-10.6% 🟢)0.369s41.25x
🐘 PostgresNitro8.688s (-3.5%)9.032s (-4.2%)0.343s41.34x
🐘 PostgresNext.js (Turbopack)8.890s (+3.6%)9.134s (+2.4%)0.244s41.37x
💻 LocalExpress13.490s (~)13.614s (~)0.124s32.07x
💻 LocalNitro13.512s (+2.5%)13.664s (+3.1%)0.151s32.08x
💻 LocalNext.js (Turbopack)14.681s (+4.7%)15.009s (+4.4%)0.328s32.26x
🌐 TursoNext.js (Turbopack)19.992s (+0.6%)20.530s (~)0.538s23.07x
🌐 MongoDBNext.js (Turbopack)20.225s (+1.6%)20.534s (~)0.309s23.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.296s (-19.7% 🟢)15.766s (-19.1% 🟢)0.470s21.00x
▲ VercelExpress18.774s (-7.4% 🟢)19.444s (-6.7% 🟢)0.670s21.23x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.715s (+0.9%)6.901s (~)0.186s51.00x
🌐 RedisNext.js (Turbopack)8.378s (+3.2%)8.725s (+3.3%)0.348s41.25x
🐘 PostgresNitro9.254s (-6.2% 🟢)9.519s (-5.4% 🟢)0.265s41.38x
🐘 PostgresExpress9.300s (-4.0%)9.439s (-4.5%)0.139s41.38x
🐘 PostgresNext.js (Turbopack)9.978s (+12.8% 🔺)10.198s (+9.0% 🔺)0.220s31.49x
💻 LocalExpress14.069s (+0.8%)14.380s (+0.9%)0.311s32.10x
💻 LocalNitro14.987s (+7.6% 🔺)15.065s (+7.5% 🔺)0.078s22.23x
💻 LocalNext.js (Turbopack)16.189s (-2.0%)16.514s (-1.9%)0.325s22.41x
🌐 MongoDBNext.js (Turbopack)19.890s (-1.4%)20.539s (~)0.649s22.96x
🌐 TursoNext.js (Turbopack)20.171s (~)20.624s (~)0.453s23.00x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.280s (-13.3% 🟢)16.287s (-10.8% 🟢)1.008s21.00x
▲ VercelExpress17.381s (-11.7% 🟢)18.086s (-12.7% 🟢)0.705s21.14x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.133s (-4.7%)1.003s (~)0.016s (+4.0%)1.025s (~)0.893s101.00x
🌐 RedisNext.js (Turbopack)0.140s (+1.7%)1.005s (~)0.000s (-100.0% 🟢)1.014s (~)0.874s101.06x
🌐 StarterNext.js (Turbopack)0.149s (+18.1% 🔺)1.005s (~)0.000s (+Infinity% 🔺)1.011s (~)0.861s101.13x
💻 LocalNitro0.175s (+1.4%)0.992s (~)0.014s (+0.7%)1.019s (~)0.844s101.32x
💻 LocalExpress0.179s (+3.9%)0.992s (~)0.015s (+0.7%)1.020s (~)0.841s101.35x
🌐 TursoNext.js (Turbopack)0.495s (+3.9%)0.956s (-2.8%)0.000s (NaN%)1.012s (~)0.517s103.74x
🌐 MongoDBNext.js (Turbopack)0.523s (+2.1%)0.945s (+0.7%)0.000s (+Infinity% 🔺)1.014s (~)0.491s103.95x
🐘 PostgresNext.js (Turbopack)1.080s (+14.7% 🔺)1.958s (+140.5% 🔺)0.000s (-100.0% 🟢)2.016s (+80.8% 🔺)0.936s108.15x
🐘 PostgresExpress1.264s (-45.4% 🟢)1.769s (-35.3% 🟢)0.000s (-100.0% 🟢)2.013s (-33.2% 🟢)0.748s109.54x
🐘 PostgresNitro1.292s (+26.9% 🔺)1.749s (~)0.000s (~)2.012s (+11.1% 🔺)0.721s109.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.661s (+9.1% 🔺)3.275s (+12.1% 🔺)0.401s (+22.4% 🔺)4.121s (+13.0% 🔺)1.460s101.00x
▲ VercelNext.js (Turbopack)2.735s (+8.5% 🔺)3.302s (+6.9% 🔺)0.210s (-36.9% 🟢)3.907s (+2.3%)1.172s101.03x
▲ VercelNitro⚠️missing-----

🔍 Observability: Express | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production286011297
✅ 💻 Local Development26208270
✅ 📦 Local Production26208270
✅ 🐘 Local Postgres26208270
✅ 🪟 Windows270027
❌ 🌍 Community Worlds109110120
Total120811351254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro2601
✅ example2601
✅ express2601
✅ fastify2601
✅ hono2601
✅ nextjs-turbopack2601
✅ nextjs-webpack2601
✅ nitro2601
✅ nuxt2601
✅ sveltekit2601
✅ vite2601
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2610
✅ redis-dev300
❌ redis2610
✅ starter-dev300
❌ starter1980
✅ turso-dev300
❌ turso2610

📋 View full workflow run

@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

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

@TooTallNate
TooTallNate marked this pull request as ready for review December 15, 2025 21:12
CopilotAI review requested due to automatic review settings December 15, 2025 21:12

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds health check functionality to workflow and step entrypoints by introducing a __health query parameter. When present, the endpoints return a 200 OK response immediately without executing any workflow or step logic. This enables monitoring systems to verify endpoint availability without triggering side effects.

Key Changes:

  • Added withHealthCheck wrapper function that intercepts requests with ?__health query parameter
  • Applied the wrapper to both workflowEntrypoint and stepEntrypoint functions
  • Refactored stepEntrypoint from an immediately invoked expression to a wrapped constant

Reviewed changes

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

FileDescription
packages/core/src/runtime.tsAdded withHealthCheck wrapper function and applied it to workflow and step entrypoints for health check support
.changeset/two-nights-join.mdAdded changeset documenting the patch-level change

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

Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
@TooTallNate
TooTallNate merged commit 4d7a393 into mainDec 15, 2025
143 of 144 checks passed
@TooTallNate
TooTallNate deleted the 12-15-add_workflow_endpoints_health_check_query_parameter branch December 15, 2025 23:14
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@pranaygp
, '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

Add workflow endpoints health check query parameter - #613

Merged
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter
Dec 15, 2025
Merged

Add workflow endpoints health check query parameter#613
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Dec 15, 2025

Copy link
Copy Markdown
Member

Added a health check query parameter to workflow endpoints.

What changed?

  • Added a withHealthCheck function that wraps request handlers to check for the __health query parameter
  • When a request includes ?__health, the endpoint returns a 200 OK response immediately
  • Applied this wrapper to both workflow and step entrypoints

How to test?

  1. Make a request to any workflow endpoint with the __health query parameter:
    curl https://your-app.vercel.app/.well-known/workflow/v1/flow?__health
    
  2. Verify that the endpoint returns a 200 OK response with "OK" in the body

Why make this change?

This change enables health checking of workflow endpoints without triggering actual workflow execution. This is useful for monitoring systems to verify that workflow endpoints are accessible and responsive without causing side effects or consuming resources unnecessarily.

@changeset-bot

changeset-botBot commented Dec 15, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 48cadca

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

This PR includes changesets to release 12 packages
NameType
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
workflowPatch
@workflow/astroPatch
@workflow/sveltekitPatch
@workflow/world-testingPatch
@workflow/nuxtPatch
@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 Dec 15, 2025

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-astro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-express-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-fastify-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-hono-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nitro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nuxt-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-sveltekit-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-tanstack-start-workflowErrorErrorDec 15, 2025 10:51pm
workbench-vite-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workflow-docsReadyReadyPreview, CommentDec 15, 2025 10:51pm

@github-actions

github-actionsBot commented Dec 15, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.040s (+7.2% 🔺)1.015s (~)0.974s101.00x
🌐 RedisNext.js (Turbopack)0.041s (+3.0%)1.017s (~)0.976s101.01x
💻 LocalNext.js (Turbopack)0.041s (+4.3%)1.016s (~)0.975s101.02x
💻 LocalNitro0.042s (-2.4%)1.006s (~)0.965s101.03x
💻 LocalExpress0.044s (-5.7% 🟢)1.007s (~)0.963s101.11x
🌐 TursoNext.js (Turbopack)0.057s (-44.1% 🟢)1.014s (~)0.957s101.42x
🌐 MongoDBNext.js (Turbopack)0.070s (+13.3% 🔺)1.015s (~)0.945s101.74x
🐘 PostgresNext.js (Turbopack)0.115s (-69.5% 🟢)1.018s (~)0.904s102.86x
🐘 PostgresNitro0.325s (-2.4%)1.011s (-2.2%)0.687s108.10x
🐘 PostgresExpress0.363s (-6.2% 🟢)1.013s (~)0.650s109.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.520s (-16.4% 🟢)1.552s (-8.6% 🟢)1.031s101.00x
▲ VercelNext.js (Turbopack)0.538s (-20.2% 🟢)1.391s (-17.0% 🟢)0.853s101.03x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.089s (~)2.010s (~)0.921s101.00x
💻 LocalNext.js (Turbopack)1.094s (~)2.010s (~)0.916s101.00x
🌐 RedisNext.js (Turbopack)1.103s (~)2.011s (~)0.908s101.01x
💻 LocalNitro1.110s (~)2.005s (~)0.895s101.02x
💻 LocalExpress1.115s (~)2.007s (~)0.892s101.02x
🌐 TursoNext.js (Turbopack)1.269s (-3.5%)2.012s (~)0.743s101.17x
🌐 MongoDBNext.js (Turbopack)1.326s (+0.7%)2.015s (~)0.689s101.22x
🐘 PostgresNext.js (Turbopack)1.907s (+10.1% 🔺)2.014s (~)0.106s101.75x
🐘 PostgresNitro2.173s (-10.9% 🟢)3.015s (~)0.843s101.99x
🐘 PostgresExpress2.216s (-0.9%)3.015s (~)0.799s102.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.820s (+6.6% 🔺)3.814s (+4.6%)0.994s101.00x
▲ VercelNext.js (Turbopack)2.977s (+15.4% 🔺)3.890s (+13.2% 🔺)0.913s101.06x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)10.622s (~)11.012s (~)0.390s51.00x
💻 LocalNext.js (Turbopack)10.634s (~)11.015s (~)0.381s51.00x
🌐 RedisNext.js (Turbopack)10.673s (~)11.020s (~)0.347s51.00x
💻 LocalNitro10.776s (~)11.007s (~)0.230s51.01x
💻 LocalExpress10.797s (~)11.012s (~)0.214s51.02x
🌐 TursoNext.js (Turbopack)12.180s (~)13.021s (~)0.841s51.15x
🌐 MongoDBNext.js (Turbopack)12.304s (~)13.034s (~)0.731s51.16x
🐘 PostgresNext.js (Turbopack)15.331s (+3.9%)16.030s (+5.2% 🔺)0.699s51.44x
🐘 PostgresNitro18.122s (~)18.828s (+1.1%)0.705s51.71x
🐘 PostgresExpress20.318s (~)21.039s (~)0.721s51.91x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.929s (-1.3%)21.537s (-1.4%)0.608s51.00x
▲ VercelExpress21.150s (+2.2%)21.731s (+1.7%)0.581s51.01x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.332s (~)2.011s (~)0.679s51.00x
💻 LocalNext.js (Turbopack)1.351s (~)2.010s (~)0.659s51.01x
🌐 StarterNext.js (Turbopack)1.374s (+1.5%)2.009s (~)0.634s51.03x
💻 LocalNitro1.387s (~)2.005s (~)0.618s51.04x
💻 LocalExpress1.411s (+2.0%)2.006s (~)0.595s51.06x
🐘 PostgresNext.js (Turbopack)1.925s (-1.3%)2.013s (-16.8% 🟢)0.088s51.45x
🌐 MongoDBNext.js (Turbopack)2.139s (-0.7%)3.018s (~)0.879s51.61x
🌐 TursoNext.js (Turbopack)2.218s (~)3.013s (-0.5%)0.795s51.67x
🐘 PostgresNitro2.326s (+24.1% 🔺)2.610s (+18.1% 🔺)0.284s51.75x
🐘 PostgresExpress2.572s (-3.4%)3.012s (~)0.439s51.93x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.231s (+5.6% 🔺)5.237s (+4.1%)1.005s51.00x
▲ VercelNext.js (Turbopack)4.460s (+14.0% 🔺)5.171s (+10.7% 🔺)0.711s51.05x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.503s (~)7.027s (+1.4%)0.524s51.00x
🌐 RedisNext.js (Turbopack)7.977s (+1.2%)8.097s (-1.3%)0.121s41.23x
🐘 PostgresExpress8.118s (-8.7% 🟢)8.487s (-10.6% 🟢)0.369s41.25x
🐘 PostgresNitro8.688s (-3.5%)9.032s (-4.2%)0.343s41.34x
🐘 PostgresNext.js (Turbopack)8.890s (+3.6%)9.134s (+2.4%)0.244s41.37x
💻 LocalExpress13.490s (~)13.614s (~)0.124s32.07x
💻 LocalNitro13.512s (+2.5%)13.664s (+3.1%)0.151s32.08x
💻 LocalNext.js (Turbopack)14.681s (+4.7%)15.009s (+4.4%)0.328s32.26x
🌐 TursoNext.js (Turbopack)19.992s (+0.6%)20.530s (~)0.538s23.07x
🌐 MongoDBNext.js (Turbopack)20.225s (+1.6%)20.534s (~)0.309s23.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.296s (-19.7% 🟢)15.766s (-19.1% 🟢)0.470s21.00x
▲ VercelExpress18.774s (-7.4% 🟢)19.444s (-6.7% 🟢)0.670s21.23x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.715s (+0.9%)6.901s (~)0.186s51.00x
🌐 RedisNext.js (Turbopack)8.378s (+3.2%)8.725s (+3.3%)0.348s41.25x
🐘 PostgresNitro9.254s (-6.2% 🟢)9.519s (-5.4% 🟢)0.265s41.38x
🐘 PostgresExpress9.300s (-4.0%)9.439s (-4.5%)0.139s41.38x
🐘 PostgresNext.js (Turbopack)9.978s (+12.8% 🔺)10.198s (+9.0% 🔺)0.220s31.49x
💻 LocalExpress14.069s (+0.8%)14.380s (+0.9%)0.311s32.10x
💻 LocalNitro14.987s (+7.6% 🔺)15.065s (+7.5% 🔺)0.078s22.23x
💻 LocalNext.js (Turbopack)16.189s (-2.0%)16.514s (-1.9%)0.325s22.41x
🌐 MongoDBNext.js (Turbopack)19.890s (-1.4%)20.539s (~)0.649s22.96x
🌐 TursoNext.js (Turbopack)20.171s (~)20.624s (~)0.453s23.00x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.280s (-13.3% 🟢)16.287s (-10.8% 🟢)1.008s21.00x
▲ VercelExpress17.381s (-11.7% 🟢)18.086s (-12.7% 🟢)0.705s21.14x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.133s (-4.7%)1.003s (~)0.016s (+4.0%)1.025s (~)0.893s101.00x
🌐 RedisNext.js (Turbopack)0.140s (+1.7%)1.005s (~)0.000s (-100.0% 🟢)1.014s (~)0.874s101.06x
🌐 StarterNext.js (Turbopack)0.149s (+18.1% 🔺)1.005s (~)0.000s (+Infinity% 🔺)1.011s (~)0.861s101.13x
💻 LocalNitro0.175s (+1.4%)0.992s (~)0.014s (+0.7%)1.019s (~)0.844s101.32x
💻 LocalExpress0.179s (+3.9%)0.992s (~)0.015s (+0.7%)1.020s (~)0.841s101.35x
🌐 TursoNext.js (Turbopack)0.495s (+3.9%)0.956s (-2.8%)0.000s (NaN%)1.012s (~)0.517s103.74x
🌐 MongoDBNext.js (Turbopack)0.523s (+2.1%)0.945s (+0.7%)0.000s (+Infinity% 🔺)1.014s (~)0.491s103.95x
🐘 PostgresNext.js (Turbopack)1.080s (+14.7% 🔺)1.958s (+140.5% 🔺)0.000s (-100.0% 🟢)2.016s (+80.8% 🔺)0.936s108.15x
🐘 PostgresExpress1.264s (-45.4% 🟢)1.769s (-35.3% 🟢)0.000s (-100.0% 🟢)2.013s (-33.2% 🟢)0.748s109.54x
🐘 PostgresNitro1.292s (+26.9% 🔺)1.749s (~)0.000s (~)2.012s (+11.1% 🔺)0.721s109.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.661s (+9.1% 🔺)3.275s (+12.1% 🔺)0.401s (+22.4% 🔺)4.121s (+13.0% 🔺)1.460s101.00x
▲ VercelNext.js (Turbopack)2.735s (+8.5% 🔺)3.302s (+6.9% 🔺)0.210s (-36.9% 🟢)3.907s (+2.3%)1.172s101.03x
▲ VercelNitro⚠️missing-----

🔍 Observability: Express | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production286011297
✅ 💻 Local Development26208270
✅ 📦 Local Production26208270
✅ 🐘 Local Postgres26208270
✅ 🪟 Windows270027
❌ 🌍 Community Worlds109110120
Total120811351254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro2601
✅ example2601
✅ express2601
✅ fastify2601
✅ hono2601
✅ nextjs-turbopack2601
✅ nextjs-webpack2601
✅ nitro2601
✅ nuxt2601
✅ sveltekit2601
✅ vite2601
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2610
✅ redis-dev300
❌ redis2610
✅ starter-dev300
❌ starter1980
✅ turso-dev300
❌ turso2610

📋 View full workflow run

@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

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

@TooTallNate
TooTallNate marked this pull request as ready for review December 15, 2025 21:12
CopilotAI review requested due to automatic review settings December 15, 2025 21:12

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds health check functionality to workflow and step entrypoints by introducing a __health query parameter. When present, the endpoints return a 200 OK response immediately without executing any workflow or step logic. This enables monitoring systems to verify endpoint availability without triggering side effects.

Key Changes:

  • Added withHealthCheck wrapper function that intercepts requests with ?__health query parameter
  • Applied the wrapper to both workflowEntrypoint and stepEntrypoint functions
  • Refactored stepEntrypoint from an immediately invoked expression to a wrapped constant

Reviewed changes

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

FileDescription
packages/core/src/runtime.tsAdded withHealthCheck wrapper function and applied it to workflow and step entrypoints for health check support
.changeset/two-nights-join.mdAdded changeset documenting the patch-level change

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

Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
@TooTallNate
TooTallNate merged commit 4d7a393 into mainDec 15, 2025
143 of 144 checks passed
@TooTallNate
TooTallNate deleted the 12-15-add_workflow_endpoints_health_check_query_parameter branch December 15, 2025 23:14
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@pranaygp
, '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

Add workflow endpoints health check query parameter - #613

Merged
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter
Dec 15, 2025
Merged

Add workflow endpoints health check query parameter#613
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Dec 15, 2025

Copy link
Copy Markdown
Member

Added a health check query parameter to workflow endpoints.

What changed?

  • Added a withHealthCheck function that wraps request handlers to check for the __health query parameter
  • When a request includes ?__health, the endpoint returns a 200 OK response immediately
  • Applied this wrapper to both workflow and step entrypoints

How to test?

  1. Make a request to any workflow endpoint with the __health query parameter:
    curl https://your-app.vercel.app/.well-known/workflow/v1/flow?__health
    
  2. Verify that the endpoint returns a 200 OK response with "OK" in the body

Why make this change?

This change enables health checking of workflow endpoints without triggering actual workflow execution. This is useful for monitoring systems to verify that workflow endpoints are accessible and responsive without causing side effects or consuming resources unnecessarily.

@changeset-bot

changeset-botBot commented Dec 15, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 48cadca

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

This PR includes changesets to release 12 packages
NameType
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
workflowPatch
@workflow/astroPatch
@workflow/sveltekitPatch
@workflow/world-testingPatch
@workflow/nuxtPatch
@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 Dec 15, 2025

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-astro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-express-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-fastify-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-hono-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nitro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nuxt-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-sveltekit-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-tanstack-start-workflowErrorErrorDec 15, 2025 10:51pm
workbench-vite-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workflow-docsReadyReadyPreview, CommentDec 15, 2025 10:51pm

@github-actions

github-actionsBot commented Dec 15, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.040s (+7.2% 🔺)1.015s (~)0.974s101.00x
🌐 RedisNext.js (Turbopack)0.041s (+3.0%)1.017s (~)0.976s101.01x
💻 LocalNext.js (Turbopack)0.041s (+4.3%)1.016s (~)0.975s101.02x
💻 LocalNitro0.042s (-2.4%)1.006s (~)0.965s101.03x
💻 LocalExpress0.044s (-5.7% 🟢)1.007s (~)0.963s101.11x
🌐 TursoNext.js (Turbopack)0.057s (-44.1% 🟢)1.014s (~)0.957s101.42x
🌐 MongoDBNext.js (Turbopack)0.070s (+13.3% 🔺)1.015s (~)0.945s101.74x
🐘 PostgresNext.js (Turbopack)0.115s (-69.5% 🟢)1.018s (~)0.904s102.86x
🐘 PostgresNitro0.325s (-2.4%)1.011s (-2.2%)0.687s108.10x
🐘 PostgresExpress0.363s (-6.2% 🟢)1.013s (~)0.650s109.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.520s (-16.4% 🟢)1.552s (-8.6% 🟢)1.031s101.00x
▲ VercelNext.js (Turbopack)0.538s (-20.2% 🟢)1.391s (-17.0% 🟢)0.853s101.03x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.089s (~)2.010s (~)0.921s101.00x
💻 LocalNext.js (Turbopack)1.094s (~)2.010s (~)0.916s101.00x
🌐 RedisNext.js (Turbopack)1.103s (~)2.011s (~)0.908s101.01x
💻 LocalNitro1.110s (~)2.005s (~)0.895s101.02x
💻 LocalExpress1.115s (~)2.007s (~)0.892s101.02x
🌐 TursoNext.js (Turbopack)1.269s (-3.5%)2.012s (~)0.743s101.17x
🌐 MongoDBNext.js (Turbopack)1.326s (+0.7%)2.015s (~)0.689s101.22x
🐘 PostgresNext.js (Turbopack)1.907s (+10.1% 🔺)2.014s (~)0.106s101.75x
🐘 PostgresNitro2.173s (-10.9% 🟢)3.015s (~)0.843s101.99x
🐘 PostgresExpress2.216s (-0.9%)3.015s (~)0.799s102.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.820s (+6.6% 🔺)3.814s (+4.6%)0.994s101.00x
▲ VercelNext.js (Turbopack)2.977s (+15.4% 🔺)3.890s (+13.2% 🔺)0.913s101.06x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)10.622s (~)11.012s (~)0.390s51.00x
💻 LocalNext.js (Turbopack)10.634s (~)11.015s (~)0.381s51.00x
🌐 RedisNext.js (Turbopack)10.673s (~)11.020s (~)0.347s51.00x
💻 LocalNitro10.776s (~)11.007s (~)0.230s51.01x
💻 LocalExpress10.797s (~)11.012s (~)0.214s51.02x
🌐 TursoNext.js (Turbopack)12.180s (~)13.021s (~)0.841s51.15x
🌐 MongoDBNext.js (Turbopack)12.304s (~)13.034s (~)0.731s51.16x
🐘 PostgresNext.js (Turbopack)15.331s (+3.9%)16.030s (+5.2% 🔺)0.699s51.44x
🐘 PostgresNitro18.122s (~)18.828s (+1.1%)0.705s51.71x
🐘 PostgresExpress20.318s (~)21.039s (~)0.721s51.91x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.929s (-1.3%)21.537s (-1.4%)0.608s51.00x
▲ VercelExpress21.150s (+2.2%)21.731s (+1.7%)0.581s51.01x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.332s (~)2.011s (~)0.679s51.00x
💻 LocalNext.js (Turbopack)1.351s (~)2.010s (~)0.659s51.01x
🌐 StarterNext.js (Turbopack)1.374s (+1.5%)2.009s (~)0.634s51.03x
💻 LocalNitro1.387s (~)2.005s (~)0.618s51.04x
💻 LocalExpress1.411s (+2.0%)2.006s (~)0.595s51.06x
🐘 PostgresNext.js (Turbopack)1.925s (-1.3%)2.013s (-16.8% 🟢)0.088s51.45x
🌐 MongoDBNext.js (Turbopack)2.139s (-0.7%)3.018s (~)0.879s51.61x
🌐 TursoNext.js (Turbopack)2.218s (~)3.013s (-0.5%)0.795s51.67x
🐘 PostgresNitro2.326s (+24.1% 🔺)2.610s (+18.1% 🔺)0.284s51.75x
🐘 PostgresExpress2.572s (-3.4%)3.012s (~)0.439s51.93x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.231s (+5.6% 🔺)5.237s (+4.1%)1.005s51.00x
▲ VercelNext.js (Turbopack)4.460s (+14.0% 🔺)5.171s (+10.7% 🔺)0.711s51.05x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.503s (~)7.027s (+1.4%)0.524s51.00x
🌐 RedisNext.js (Turbopack)7.977s (+1.2%)8.097s (-1.3%)0.121s41.23x
🐘 PostgresExpress8.118s (-8.7% 🟢)8.487s (-10.6% 🟢)0.369s41.25x
🐘 PostgresNitro8.688s (-3.5%)9.032s (-4.2%)0.343s41.34x
🐘 PostgresNext.js (Turbopack)8.890s (+3.6%)9.134s (+2.4%)0.244s41.37x
💻 LocalExpress13.490s (~)13.614s (~)0.124s32.07x
💻 LocalNitro13.512s (+2.5%)13.664s (+3.1%)0.151s32.08x
💻 LocalNext.js (Turbopack)14.681s (+4.7%)15.009s (+4.4%)0.328s32.26x
🌐 TursoNext.js (Turbopack)19.992s (+0.6%)20.530s (~)0.538s23.07x
🌐 MongoDBNext.js (Turbopack)20.225s (+1.6%)20.534s (~)0.309s23.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.296s (-19.7% 🟢)15.766s (-19.1% 🟢)0.470s21.00x
▲ VercelExpress18.774s (-7.4% 🟢)19.444s (-6.7% 🟢)0.670s21.23x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.715s (+0.9%)6.901s (~)0.186s51.00x
🌐 RedisNext.js (Turbopack)8.378s (+3.2%)8.725s (+3.3%)0.348s41.25x
🐘 PostgresNitro9.254s (-6.2% 🟢)9.519s (-5.4% 🟢)0.265s41.38x
🐘 PostgresExpress9.300s (-4.0%)9.439s (-4.5%)0.139s41.38x
🐘 PostgresNext.js (Turbopack)9.978s (+12.8% 🔺)10.198s (+9.0% 🔺)0.220s31.49x
💻 LocalExpress14.069s (+0.8%)14.380s (+0.9%)0.311s32.10x
💻 LocalNitro14.987s (+7.6% 🔺)15.065s (+7.5% 🔺)0.078s22.23x
💻 LocalNext.js (Turbopack)16.189s (-2.0%)16.514s (-1.9%)0.325s22.41x
🌐 MongoDBNext.js (Turbopack)19.890s (-1.4%)20.539s (~)0.649s22.96x
🌐 TursoNext.js (Turbopack)20.171s (~)20.624s (~)0.453s23.00x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.280s (-13.3% 🟢)16.287s (-10.8% 🟢)1.008s21.00x
▲ VercelExpress17.381s (-11.7% 🟢)18.086s (-12.7% 🟢)0.705s21.14x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.133s (-4.7%)1.003s (~)0.016s (+4.0%)1.025s (~)0.893s101.00x
🌐 RedisNext.js (Turbopack)0.140s (+1.7%)1.005s (~)0.000s (-100.0% 🟢)1.014s (~)0.874s101.06x
🌐 StarterNext.js (Turbopack)0.149s (+18.1% 🔺)1.005s (~)0.000s (+Infinity% 🔺)1.011s (~)0.861s101.13x
💻 LocalNitro0.175s (+1.4%)0.992s (~)0.014s (+0.7%)1.019s (~)0.844s101.32x
💻 LocalExpress0.179s (+3.9%)0.992s (~)0.015s (+0.7%)1.020s (~)0.841s101.35x
🌐 TursoNext.js (Turbopack)0.495s (+3.9%)0.956s (-2.8%)0.000s (NaN%)1.012s (~)0.517s103.74x
🌐 MongoDBNext.js (Turbopack)0.523s (+2.1%)0.945s (+0.7%)0.000s (+Infinity% 🔺)1.014s (~)0.491s103.95x
🐘 PostgresNext.js (Turbopack)1.080s (+14.7% 🔺)1.958s (+140.5% 🔺)0.000s (-100.0% 🟢)2.016s (+80.8% 🔺)0.936s108.15x
🐘 PostgresExpress1.264s (-45.4% 🟢)1.769s (-35.3% 🟢)0.000s (-100.0% 🟢)2.013s (-33.2% 🟢)0.748s109.54x
🐘 PostgresNitro1.292s (+26.9% 🔺)1.749s (~)0.000s (~)2.012s (+11.1% 🔺)0.721s109.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.661s (+9.1% 🔺)3.275s (+12.1% 🔺)0.401s (+22.4% 🔺)4.121s (+13.0% 🔺)1.460s101.00x
▲ VercelNext.js (Turbopack)2.735s (+8.5% 🔺)3.302s (+6.9% 🔺)0.210s (-36.9% 🟢)3.907s (+2.3%)1.172s101.03x
▲ VercelNitro⚠️missing-----

🔍 Observability: Express | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production286011297
✅ 💻 Local Development26208270
✅ 📦 Local Production26208270
✅ 🐘 Local Postgres26208270
✅ 🪟 Windows270027
❌ 🌍 Community Worlds109110120
Total120811351254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro2601
✅ example2601
✅ express2601
✅ fastify2601
✅ hono2601
✅ nextjs-turbopack2601
✅ nextjs-webpack2601
✅ nitro2601
✅ nuxt2601
✅ sveltekit2601
✅ vite2601
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2610
✅ redis-dev300
❌ redis2610
✅ starter-dev300
❌ starter1980
✅ turso-dev300
❌ turso2610

📋 View full workflow run

@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

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

@TooTallNate
TooTallNate marked this pull request as ready for review December 15, 2025 21:12
CopilotAI review requested due to automatic review settings December 15, 2025 21:12

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds health check functionality to workflow and step entrypoints by introducing a __health query parameter. When present, the endpoints return a 200 OK response immediately without executing any workflow or step logic. This enables monitoring systems to verify endpoint availability without triggering side effects.

Key Changes:

  • Added withHealthCheck wrapper function that intercepts requests with ?__health query parameter
  • Applied the wrapper to both workflowEntrypoint and stepEntrypoint functions
  • Refactored stepEntrypoint from an immediately invoked expression to a wrapped constant

Reviewed changes

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

FileDescription
packages/core/src/runtime.tsAdded withHealthCheck wrapper function and applied it to workflow and step entrypoints for health check support
.changeset/two-nights-join.mdAdded changeset documenting the patch-level change

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

Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
@TooTallNate
TooTallNate merged commit 4d7a393 into mainDec 15, 2025
143 of 144 checks passed
@TooTallNate
TooTallNate deleted the 12-15-add_workflow_endpoints_health_check_query_parameter branch December 15, 2025 23:14
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@pranaygp
, '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

Add workflow endpoints health check query parameter - #613

Merged
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter
Dec 15, 2025
Merged

Add workflow endpoints health check query parameter#613
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Dec 15, 2025

Copy link
Copy Markdown
Member

Added a health check query parameter to workflow endpoints.

What changed?

  • Added a withHealthCheck function that wraps request handlers to check for the __health query parameter
  • When a request includes ?__health, the endpoint returns a 200 OK response immediately
  • Applied this wrapper to both workflow and step entrypoints

How to test?

  1. Make a request to any workflow endpoint with the __health query parameter:
    curl https://your-app.vercel.app/.well-known/workflow/v1/flow?__health
    
  2. Verify that the endpoint returns a 200 OK response with "OK" in the body

Why make this change?

This change enables health checking of workflow endpoints without triggering actual workflow execution. This is useful for monitoring systems to verify that workflow endpoints are accessible and responsive without causing side effects or consuming resources unnecessarily.

@changeset-bot

changeset-botBot commented Dec 15, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 48cadca

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

This PR includes changesets to release 12 packages
NameType
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
workflowPatch
@workflow/astroPatch
@workflow/sveltekitPatch
@workflow/world-testingPatch
@workflow/nuxtPatch
@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 Dec 15, 2025

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-astro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-express-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-fastify-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-hono-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nitro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nuxt-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-sveltekit-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-tanstack-start-workflowErrorErrorDec 15, 2025 10:51pm
workbench-vite-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workflow-docsReadyReadyPreview, CommentDec 15, 2025 10:51pm

@github-actions

github-actionsBot commented Dec 15, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.040s (+7.2% 🔺)1.015s (~)0.974s101.00x
🌐 RedisNext.js (Turbopack)0.041s (+3.0%)1.017s (~)0.976s101.01x
💻 LocalNext.js (Turbopack)0.041s (+4.3%)1.016s (~)0.975s101.02x
💻 LocalNitro0.042s (-2.4%)1.006s (~)0.965s101.03x
💻 LocalExpress0.044s (-5.7% 🟢)1.007s (~)0.963s101.11x
🌐 TursoNext.js (Turbopack)0.057s (-44.1% 🟢)1.014s (~)0.957s101.42x
🌐 MongoDBNext.js (Turbopack)0.070s (+13.3% 🔺)1.015s (~)0.945s101.74x
🐘 PostgresNext.js (Turbopack)0.115s (-69.5% 🟢)1.018s (~)0.904s102.86x
🐘 PostgresNitro0.325s (-2.4%)1.011s (-2.2%)0.687s108.10x
🐘 PostgresExpress0.363s (-6.2% 🟢)1.013s (~)0.650s109.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.520s (-16.4% 🟢)1.552s (-8.6% 🟢)1.031s101.00x
▲ VercelNext.js (Turbopack)0.538s (-20.2% 🟢)1.391s (-17.0% 🟢)0.853s101.03x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.089s (~)2.010s (~)0.921s101.00x
💻 LocalNext.js (Turbopack)1.094s (~)2.010s (~)0.916s101.00x
🌐 RedisNext.js (Turbopack)1.103s (~)2.011s (~)0.908s101.01x
💻 LocalNitro1.110s (~)2.005s (~)0.895s101.02x
💻 LocalExpress1.115s (~)2.007s (~)0.892s101.02x
🌐 TursoNext.js (Turbopack)1.269s (-3.5%)2.012s (~)0.743s101.17x
🌐 MongoDBNext.js (Turbopack)1.326s (+0.7%)2.015s (~)0.689s101.22x
🐘 PostgresNext.js (Turbopack)1.907s (+10.1% 🔺)2.014s (~)0.106s101.75x
🐘 PostgresNitro2.173s (-10.9% 🟢)3.015s (~)0.843s101.99x
🐘 PostgresExpress2.216s (-0.9%)3.015s (~)0.799s102.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.820s (+6.6% 🔺)3.814s (+4.6%)0.994s101.00x
▲ VercelNext.js (Turbopack)2.977s (+15.4% 🔺)3.890s (+13.2% 🔺)0.913s101.06x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)10.622s (~)11.012s (~)0.390s51.00x
💻 LocalNext.js (Turbopack)10.634s (~)11.015s (~)0.381s51.00x
🌐 RedisNext.js (Turbopack)10.673s (~)11.020s (~)0.347s51.00x
💻 LocalNitro10.776s (~)11.007s (~)0.230s51.01x
💻 LocalExpress10.797s (~)11.012s (~)0.214s51.02x
🌐 TursoNext.js (Turbopack)12.180s (~)13.021s (~)0.841s51.15x
🌐 MongoDBNext.js (Turbopack)12.304s (~)13.034s (~)0.731s51.16x
🐘 PostgresNext.js (Turbopack)15.331s (+3.9%)16.030s (+5.2% 🔺)0.699s51.44x
🐘 PostgresNitro18.122s (~)18.828s (+1.1%)0.705s51.71x
🐘 PostgresExpress20.318s (~)21.039s (~)0.721s51.91x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.929s (-1.3%)21.537s (-1.4%)0.608s51.00x
▲ VercelExpress21.150s (+2.2%)21.731s (+1.7%)0.581s51.01x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.332s (~)2.011s (~)0.679s51.00x
💻 LocalNext.js (Turbopack)1.351s (~)2.010s (~)0.659s51.01x
🌐 StarterNext.js (Turbopack)1.374s (+1.5%)2.009s (~)0.634s51.03x
💻 LocalNitro1.387s (~)2.005s (~)0.618s51.04x
💻 LocalExpress1.411s (+2.0%)2.006s (~)0.595s51.06x
🐘 PostgresNext.js (Turbopack)1.925s (-1.3%)2.013s (-16.8% 🟢)0.088s51.45x
🌐 MongoDBNext.js (Turbopack)2.139s (-0.7%)3.018s (~)0.879s51.61x
🌐 TursoNext.js (Turbopack)2.218s (~)3.013s (-0.5%)0.795s51.67x
🐘 PostgresNitro2.326s (+24.1% 🔺)2.610s (+18.1% 🔺)0.284s51.75x
🐘 PostgresExpress2.572s (-3.4%)3.012s (~)0.439s51.93x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.231s (+5.6% 🔺)5.237s (+4.1%)1.005s51.00x
▲ VercelNext.js (Turbopack)4.460s (+14.0% 🔺)5.171s (+10.7% 🔺)0.711s51.05x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.503s (~)7.027s (+1.4%)0.524s51.00x
🌐 RedisNext.js (Turbopack)7.977s (+1.2%)8.097s (-1.3%)0.121s41.23x
🐘 PostgresExpress8.118s (-8.7% 🟢)8.487s (-10.6% 🟢)0.369s41.25x
🐘 PostgresNitro8.688s (-3.5%)9.032s (-4.2%)0.343s41.34x
🐘 PostgresNext.js (Turbopack)8.890s (+3.6%)9.134s (+2.4%)0.244s41.37x
💻 LocalExpress13.490s (~)13.614s (~)0.124s32.07x
💻 LocalNitro13.512s (+2.5%)13.664s (+3.1%)0.151s32.08x
💻 LocalNext.js (Turbopack)14.681s (+4.7%)15.009s (+4.4%)0.328s32.26x
🌐 TursoNext.js (Turbopack)19.992s (+0.6%)20.530s (~)0.538s23.07x
🌐 MongoDBNext.js (Turbopack)20.225s (+1.6%)20.534s (~)0.309s23.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.296s (-19.7% 🟢)15.766s (-19.1% 🟢)0.470s21.00x
▲ VercelExpress18.774s (-7.4% 🟢)19.444s (-6.7% 🟢)0.670s21.23x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.715s (+0.9%)6.901s (~)0.186s51.00x
🌐 RedisNext.js (Turbopack)8.378s (+3.2%)8.725s (+3.3%)0.348s41.25x
🐘 PostgresNitro9.254s (-6.2% 🟢)9.519s (-5.4% 🟢)0.265s41.38x
🐘 PostgresExpress9.300s (-4.0%)9.439s (-4.5%)0.139s41.38x
🐘 PostgresNext.js (Turbopack)9.978s (+12.8% 🔺)10.198s (+9.0% 🔺)0.220s31.49x
💻 LocalExpress14.069s (+0.8%)14.380s (+0.9%)0.311s32.10x
💻 LocalNitro14.987s (+7.6% 🔺)15.065s (+7.5% 🔺)0.078s22.23x
💻 LocalNext.js (Turbopack)16.189s (-2.0%)16.514s (-1.9%)0.325s22.41x
🌐 MongoDBNext.js (Turbopack)19.890s (-1.4%)20.539s (~)0.649s22.96x
🌐 TursoNext.js (Turbopack)20.171s (~)20.624s (~)0.453s23.00x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.280s (-13.3% 🟢)16.287s (-10.8% 🟢)1.008s21.00x
▲ VercelExpress17.381s (-11.7% 🟢)18.086s (-12.7% 🟢)0.705s21.14x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.133s (-4.7%)1.003s (~)0.016s (+4.0%)1.025s (~)0.893s101.00x
🌐 RedisNext.js (Turbopack)0.140s (+1.7%)1.005s (~)0.000s (-100.0% 🟢)1.014s (~)0.874s101.06x
🌐 StarterNext.js (Turbopack)0.149s (+18.1% 🔺)1.005s (~)0.000s (+Infinity% 🔺)1.011s (~)0.861s101.13x
💻 LocalNitro0.175s (+1.4%)0.992s (~)0.014s (+0.7%)1.019s (~)0.844s101.32x
💻 LocalExpress0.179s (+3.9%)0.992s (~)0.015s (+0.7%)1.020s (~)0.841s101.35x
🌐 TursoNext.js (Turbopack)0.495s (+3.9%)0.956s (-2.8%)0.000s (NaN%)1.012s (~)0.517s103.74x
🌐 MongoDBNext.js (Turbopack)0.523s (+2.1%)0.945s (+0.7%)0.000s (+Infinity% 🔺)1.014s (~)0.491s103.95x
🐘 PostgresNext.js (Turbopack)1.080s (+14.7% 🔺)1.958s (+140.5% 🔺)0.000s (-100.0% 🟢)2.016s (+80.8% 🔺)0.936s108.15x
🐘 PostgresExpress1.264s (-45.4% 🟢)1.769s (-35.3% 🟢)0.000s (-100.0% 🟢)2.013s (-33.2% 🟢)0.748s109.54x
🐘 PostgresNitro1.292s (+26.9% 🔺)1.749s (~)0.000s (~)2.012s (+11.1% 🔺)0.721s109.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.661s (+9.1% 🔺)3.275s (+12.1% 🔺)0.401s (+22.4% 🔺)4.121s (+13.0% 🔺)1.460s101.00x
▲ VercelNext.js (Turbopack)2.735s (+8.5% 🔺)3.302s (+6.9% 🔺)0.210s (-36.9% 🟢)3.907s (+2.3%)1.172s101.03x
▲ VercelNitro⚠️missing-----

🔍 Observability: Express | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production286011297
✅ 💻 Local Development26208270
✅ 📦 Local Production26208270
✅ 🐘 Local Postgres26208270
✅ 🪟 Windows270027
❌ 🌍 Community Worlds109110120
Total120811351254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro2601
✅ example2601
✅ express2601
✅ fastify2601
✅ hono2601
✅ nextjs-turbopack2601
✅ nextjs-webpack2601
✅ nitro2601
✅ nuxt2601
✅ sveltekit2601
✅ vite2601
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2610
✅ redis-dev300
❌ redis2610
✅ starter-dev300
❌ starter1980
✅ turso-dev300
❌ turso2610

📋 View full workflow run

@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

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

@TooTallNate
TooTallNate marked this pull request as ready for review December 15, 2025 21:12
CopilotAI review requested due to automatic review settings December 15, 2025 21:12

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds health check functionality to workflow and step entrypoints by introducing a __health query parameter. When present, the endpoints return a 200 OK response immediately without executing any workflow or step logic. This enables monitoring systems to verify endpoint availability without triggering side effects.

Key Changes:

  • Added withHealthCheck wrapper function that intercepts requests with ?__health query parameter
  • Applied the wrapper to both workflowEntrypoint and stepEntrypoint functions
  • Refactored stepEntrypoint from an immediately invoked expression to a wrapped constant

Reviewed changes

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

FileDescription
packages/core/src/runtime.tsAdded withHealthCheck wrapper function and applied it to workflow and step entrypoints for health check support
.changeset/two-nights-join.mdAdded changeset documenting the patch-level change

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

Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
@TooTallNate
TooTallNate merged commit 4d7a393 into mainDec 15, 2025
143 of 144 checks passed
@TooTallNate
TooTallNate deleted the 12-15-add_workflow_endpoints_health_check_query_parameter branch December 15, 2025 23:14
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@pranaygp
, '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

Add workflow endpoints health check query parameter - #613

Merged
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter
Dec 15, 2025
Merged

Add workflow endpoints health check query parameter#613
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Dec 15, 2025

Copy link
Copy Markdown
Member

Added a health check query parameter to workflow endpoints.

What changed?

  • Added a withHealthCheck function that wraps request handlers to check for the __health query parameter
  • When a request includes ?__health, the endpoint returns a 200 OK response immediately
  • Applied this wrapper to both workflow and step entrypoints

How to test?

  1. Make a request to any workflow endpoint with the __health query parameter:
    curl https://your-app.vercel.app/.well-known/workflow/v1/flow?__health
    
  2. Verify that the endpoint returns a 200 OK response with "OK" in the body

Why make this change?

This change enables health checking of workflow endpoints without triggering actual workflow execution. This is useful for monitoring systems to verify that workflow endpoints are accessible and responsive without causing side effects or consuming resources unnecessarily.

@changeset-bot

changeset-botBot commented Dec 15, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 48cadca

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

This PR includes changesets to release 12 packages
NameType
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
workflowPatch
@workflow/astroPatch
@workflow/sveltekitPatch
@workflow/world-testingPatch
@workflow/nuxtPatch
@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 Dec 15, 2025

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-astro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-express-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-fastify-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-hono-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nitro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nuxt-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-sveltekit-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-tanstack-start-workflowErrorErrorDec 15, 2025 10:51pm
workbench-vite-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workflow-docsReadyReadyPreview, CommentDec 15, 2025 10:51pm

@github-actions

github-actionsBot commented Dec 15, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.040s (+7.2% 🔺)1.015s (~)0.974s101.00x
🌐 RedisNext.js (Turbopack)0.041s (+3.0%)1.017s (~)0.976s101.01x
💻 LocalNext.js (Turbopack)0.041s (+4.3%)1.016s (~)0.975s101.02x
💻 LocalNitro0.042s (-2.4%)1.006s (~)0.965s101.03x
💻 LocalExpress0.044s (-5.7% 🟢)1.007s (~)0.963s101.11x
🌐 TursoNext.js (Turbopack)0.057s (-44.1% 🟢)1.014s (~)0.957s101.42x
🌐 MongoDBNext.js (Turbopack)0.070s (+13.3% 🔺)1.015s (~)0.945s101.74x
🐘 PostgresNext.js (Turbopack)0.115s (-69.5% 🟢)1.018s (~)0.904s102.86x
🐘 PostgresNitro0.325s (-2.4%)1.011s (-2.2%)0.687s108.10x
🐘 PostgresExpress0.363s (-6.2% 🟢)1.013s (~)0.650s109.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.520s (-16.4% 🟢)1.552s (-8.6% 🟢)1.031s101.00x
▲ VercelNext.js (Turbopack)0.538s (-20.2% 🟢)1.391s (-17.0% 🟢)0.853s101.03x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.089s (~)2.010s (~)0.921s101.00x
💻 LocalNext.js (Turbopack)1.094s (~)2.010s (~)0.916s101.00x
🌐 RedisNext.js (Turbopack)1.103s (~)2.011s (~)0.908s101.01x
💻 LocalNitro1.110s (~)2.005s (~)0.895s101.02x
💻 LocalExpress1.115s (~)2.007s (~)0.892s101.02x
🌐 TursoNext.js (Turbopack)1.269s (-3.5%)2.012s (~)0.743s101.17x
🌐 MongoDBNext.js (Turbopack)1.326s (+0.7%)2.015s (~)0.689s101.22x
🐘 PostgresNext.js (Turbopack)1.907s (+10.1% 🔺)2.014s (~)0.106s101.75x
🐘 PostgresNitro2.173s (-10.9% 🟢)3.015s (~)0.843s101.99x
🐘 PostgresExpress2.216s (-0.9%)3.015s (~)0.799s102.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.820s (+6.6% 🔺)3.814s (+4.6%)0.994s101.00x
▲ VercelNext.js (Turbopack)2.977s (+15.4% 🔺)3.890s (+13.2% 🔺)0.913s101.06x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)10.622s (~)11.012s (~)0.390s51.00x
💻 LocalNext.js (Turbopack)10.634s (~)11.015s (~)0.381s51.00x
🌐 RedisNext.js (Turbopack)10.673s (~)11.020s (~)0.347s51.00x
💻 LocalNitro10.776s (~)11.007s (~)0.230s51.01x
💻 LocalExpress10.797s (~)11.012s (~)0.214s51.02x
🌐 TursoNext.js (Turbopack)12.180s (~)13.021s (~)0.841s51.15x
🌐 MongoDBNext.js (Turbopack)12.304s (~)13.034s (~)0.731s51.16x
🐘 PostgresNext.js (Turbopack)15.331s (+3.9%)16.030s (+5.2% 🔺)0.699s51.44x
🐘 PostgresNitro18.122s (~)18.828s (+1.1%)0.705s51.71x
🐘 PostgresExpress20.318s (~)21.039s (~)0.721s51.91x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.929s (-1.3%)21.537s (-1.4%)0.608s51.00x
▲ VercelExpress21.150s (+2.2%)21.731s (+1.7%)0.581s51.01x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.332s (~)2.011s (~)0.679s51.00x
💻 LocalNext.js (Turbopack)1.351s (~)2.010s (~)0.659s51.01x
🌐 StarterNext.js (Turbopack)1.374s (+1.5%)2.009s (~)0.634s51.03x
💻 LocalNitro1.387s (~)2.005s (~)0.618s51.04x
💻 LocalExpress1.411s (+2.0%)2.006s (~)0.595s51.06x
🐘 PostgresNext.js (Turbopack)1.925s (-1.3%)2.013s (-16.8% 🟢)0.088s51.45x
🌐 MongoDBNext.js (Turbopack)2.139s (-0.7%)3.018s (~)0.879s51.61x
🌐 TursoNext.js (Turbopack)2.218s (~)3.013s (-0.5%)0.795s51.67x
🐘 PostgresNitro2.326s (+24.1% 🔺)2.610s (+18.1% 🔺)0.284s51.75x
🐘 PostgresExpress2.572s (-3.4%)3.012s (~)0.439s51.93x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.231s (+5.6% 🔺)5.237s (+4.1%)1.005s51.00x
▲ VercelNext.js (Turbopack)4.460s (+14.0% 🔺)5.171s (+10.7% 🔺)0.711s51.05x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.503s (~)7.027s (+1.4%)0.524s51.00x
🌐 RedisNext.js (Turbopack)7.977s (+1.2%)8.097s (-1.3%)0.121s41.23x
🐘 PostgresExpress8.118s (-8.7% 🟢)8.487s (-10.6% 🟢)0.369s41.25x
🐘 PostgresNitro8.688s (-3.5%)9.032s (-4.2%)0.343s41.34x
🐘 PostgresNext.js (Turbopack)8.890s (+3.6%)9.134s (+2.4%)0.244s41.37x
💻 LocalExpress13.490s (~)13.614s (~)0.124s32.07x
💻 LocalNitro13.512s (+2.5%)13.664s (+3.1%)0.151s32.08x
💻 LocalNext.js (Turbopack)14.681s (+4.7%)15.009s (+4.4%)0.328s32.26x
🌐 TursoNext.js (Turbopack)19.992s (+0.6%)20.530s (~)0.538s23.07x
🌐 MongoDBNext.js (Turbopack)20.225s (+1.6%)20.534s (~)0.309s23.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.296s (-19.7% 🟢)15.766s (-19.1% 🟢)0.470s21.00x
▲ VercelExpress18.774s (-7.4% 🟢)19.444s (-6.7% 🟢)0.670s21.23x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.715s (+0.9%)6.901s (~)0.186s51.00x
🌐 RedisNext.js (Turbopack)8.378s (+3.2%)8.725s (+3.3%)0.348s41.25x
🐘 PostgresNitro9.254s (-6.2% 🟢)9.519s (-5.4% 🟢)0.265s41.38x
🐘 PostgresExpress9.300s (-4.0%)9.439s (-4.5%)0.139s41.38x
🐘 PostgresNext.js (Turbopack)9.978s (+12.8% 🔺)10.198s (+9.0% 🔺)0.220s31.49x
💻 LocalExpress14.069s (+0.8%)14.380s (+0.9%)0.311s32.10x
💻 LocalNitro14.987s (+7.6% 🔺)15.065s (+7.5% 🔺)0.078s22.23x
💻 LocalNext.js (Turbopack)16.189s (-2.0%)16.514s (-1.9%)0.325s22.41x
🌐 MongoDBNext.js (Turbopack)19.890s (-1.4%)20.539s (~)0.649s22.96x
🌐 TursoNext.js (Turbopack)20.171s (~)20.624s (~)0.453s23.00x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.280s (-13.3% 🟢)16.287s (-10.8% 🟢)1.008s21.00x
▲ VercelExpress17.381s (-11.7% 🟢)18.086s (-12.7% 🟢)0.705s21.14x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.133s (-4.7%)1.003s (~)0.016s (+4.0%)1.025s (~)0.893s101.00x
🌐 RedisNext.js (Turbopack)0.140s (+1.7%)1.005s (~)0.000s (-100.0% 🟢)1.014s (~)0.874s101.06x
🌐 StarterNext.js (Turbopack)0.149s (+18.1% 🔺)1.005s (~)0.000s (+Infinity% 🔺)1.011s (~)0.861s101.13x
💻 LocalNitro0.175s (+1.4%)0.992s (~)0.014s (+0.7%)1.019s (~)0.844s101.32x
💻 LocalExpress0.179s (+3.9%)0.992s (~)0.015s (+0.7%)1.020s (~)0.841s101.35x
🌐 TursoNext.js (Turbopack)0.495s (+3.9%)0.956s (-2.8%)0.000s (NaN%)1.012s (~)0.517s103.74x
🌐 MongoDBNext.js (Turbopack)0.523s (+2.1%)0.945s (+0.7%)0.000s (+Infinity% 🔺)1.014s (~)0.491s103.95x
🐘 PostgresNext.js (Turbopack)1.080s (+14.7% 🔺)1.958s (+140.5% 🔺)0.000s (-100.0% 🟢)2.016s (+80.8% 🔺)0.936s108.15x
🐘 PostgresExpress1.264s (-45.4% 🟢)1.769s (-35.3% 🟢)0.000s (-100.0% 🟢)2.013s (-33.2% 🟢)0.748s109.54x
🐘 PostgresNitro1.292s (+26.9% 🔺)1.749s (~)0.000s (~)2.012s (+11.1% 🔺)0.721s109.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.661s (+9.1% 🔺)3.275s (+12.1% 🔺)0.401s (+22.4% 🔺)4.121s (+13.0% 🔺)1.460s101.00x
▲ VercelNext.js (Turbopack)2.735s (+8.5% 🔺)3.302s (+6.9% 🔺)0.210s (-36.9% 🟢)3.907s (+2.3%)1.172s101.03x
▲ VercelNitro⚠️missing-----

🔍 Observability: Express | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production286011297
✅ 💻 Local Development26208270
✅ 📦 Local Production26208270
✅ 🐘 Local Postgres26208270
✅ 🪟 Windows270027
❌ 🌍 Community Worlds109110120
Total120811351254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro2601
✅ example2601
✅ express2601
✅ fastify2601
✅ hono2601
✅ nextjs-turbopack2601
✅ nextjs-webpack2601
✅ nitro2601
✅ nuxt2601
✅ sveltekit2601
✅ vite2601
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2610
✅ redis-dev300
❌ redis2610
✅ starter-dev300
❌ starter1980
✅ turso-dev300
❌ turso2610

📋 View full workflow run

@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

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

@TooTallNate
TooTallNate marked this pull request as ready for review December 15, 2025 21:12
CopilotAI review requested due to automatic review settings December 15, 2025 21:12

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds health check functionality to workflow and step entrypoints by introducing a __health query parameter. When present, the endpoints return a 200 OK response immediately without executing any workflow or step logic. This enables monitoring systems to verify endpoint availability without triggering side effects.

Key Changes:

  • Added withHealthCheck wrapper function that intercepts requests with ?__health query parameter
  • Applied the wrapper to both workflowEntrypoint and stepEntrypoint functions
  • Refactored stepEntrypoint from an immediately invoked expression to a wrapped constant

Reviewed changes

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

FileDescription
packages/core/src/runtime.tsAdded withHealthCheck wrapper function and applied it to workflow and step entrypoints for health check support
.changeset/two-nights-join.mdAdded changeset documenting the patch-level change

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

Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
@TooTallNate
TooTallNate merged commit 4d7a393 into mainDec 15, 2025
143 of 144 checks passed
@TooTallNate
TooTallNate deleted the 12-15-add_workflow_endpoints_health_check_query_parameter branch December 15, 2025 23:14
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@pranaygp
, '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

Add workflow endpoints health check query parameter - #613

Merged
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter
Dec 15, 2025
Merged

Add workflow endpoints health check query parameter#613
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Dec 15, 2025

Copy link
Copy Markdown
Member

Added a health check query parameter to workflow endpoints.

What changed?

  • Added a withHealthCheck function that wraps request handlers to check for the __health query parameter
  • When a request includes ?__health, the endpoint returns a 200 OK response immediately
  • Applied this wrapper to both workflow and step entrypoints

How to test?

  1. Make a request to any workflow endpoint with the __health query parameter:
    curl https://your-app.vercel.app/.well-known/workflow/v1/flow?__health
    
  2. Verify that the endpoint returns a 200 OK response with "OK" in the body

Why make this change?

This change enables health checking of workflow endpoints without triggering actual workflow execution. This is useful for monitoring systems to verify that workflow endpoints are accessible and responsive without causing side effects or consuming resources unnecessarily.

@changeset-bot

changeset-botBot commented Dec 15, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 48cadca

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

This PR includes changesets to release 12 packages
NameType
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
workflowPatch
@workflow/astroPatch
@workflow/sveltekitPatch
@workflow/world-testingPatch
@workflow/nuxtPatch
@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 Dec 15, 2025

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-astro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-express-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-fastify-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-hono-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nitro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nuxt-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-sveltekit-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-tanstack-start-workflowErrorErrorDec 15, 2025 10:51pm
workbench-vite-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workflow-docsReadyReadyPreview, CommentDec 15, 2025 10:51pm

@github-actions

github-actionsBot commented Dec 15, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.040s (+7.2% 🔺)1.015s (~)0.974s101.00x
🌐 RedisNext.js (Turbopack)0.041s (+3.0%)1.017s (~)0.976s101.01x
💻 LocalNext.js (Turbopack)0.041s (+4.3%)1.016s (~)0.975s101.02x
💻 LocalNitro0.042s (-2.4%)1.006s (~)0.965s101.03x
💻 LocalExpress0.044s (-5.7% 🟢)1.007s (~)0.963s101.11x
🌐 TursoNext.js (Turbopack)0.057s (-44.1% 🟢)1.014s (~)0.957s101.42x
🌐 MongoDBNext.js (Turbopack)0.070s (+13.3% 🔺)1.015s (~)0.945s101.74x
🐘 PostgresNext.js (Turbopack)0.115s (-69.5% 🟢)1.018s (~)0.904s102.86x
🐘 PostgresNitro0.325s (-2.4%)1.011s (-2.2%)0.687s108.10x
🐘 PostgresExpress0.363s (-6.2% 🟢)1.013s (~)0.650s109.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.520s (-16.4% 🟢)1.552s (-8.6% 🟢)1.031s101.00x
▲ VercelNext.js (Turbopack)0.538s (-20.2% 🟢)1.391s (-17.0% 🟢)0.853s101.03x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.089s (~)2.010s (~)0.921s101.00x
💻 LocalNext.js (Turbopack)1.094s (~)2.010s (~)0.916s101.00x
🌐 RedisNext.js (Turbopack)1.103s (~)2.011s (~)0.908s101.01x
💻 LocalNitro1.110s (~)2.005s (~)0.895s101.02x
💻 LocalExpress1.115s (~)2.007s (~)0.892s101.02x
🌐 TursoNext.js (Turbopack)1.269s (-3.5%)2.012s (~)0.743s101.17x
🌐 MongoDBNext.js (Turbopack)1.326s (+0.7%)2.015s (~)0.689s101.22x
🐘 PostgresNext.js (Turbopack)1.907s (+10.1% 🔺)2.014s (~)0.106s101.75x
🐘 PostgresNitro2.173s (-10.9% 🟢)3.015s (~)0.843s101.99x
🐘 PostgresExpress2.216s (-0.9%)3.015s (~)0.799s102.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.820s (+6.6% 🔺)3.814s (+4.6%)0.994s101.00x
▲ VercelNext.js (Turbopack)2.977s (+15.4% 🔺)3.890s (+13.2% 🔺)0.913s101.06x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)10.622s (~)11.012s (~)0.390s51.00x
💻 LocalNext.js (Turbopack)10.634s (~)11.015s (~)0.381s51.00x
🌐 RedisNext.js (Turbopack)10.673s (~)11.020s (~)0.347s51.00x
💻 LocalNitro10.776s (~)11.007s (~)0.230s51.01x
💻 LocalExpress10.797s (~)11.012s (~)0.214s51.02x
🌐 TursoNext.js (Turbopack)12.180s (~)13.021s (~)0.841s51.15x
🌐 MongoDBNext.js (Turbopack)12.304s (~)13.034s (~)0.731s51.16x
🐘 PostgresNext.js (Turbopack)15.331s (+3.9%)16.030s (+5.2% 🔺)0.699s51.44x
🐘 PostgresNitro18.122s (~)18.828s (+1.1%)0.705s51.71x
🐘 PostgresExpress20.318s (~)21.039s (~)0.721s51.91x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.929s (-1.3%)21.537s (-1.4%)0.608s51.00x
▲ VercelExpress21.150s (+2.2%)21.731s (+1.7%)0.581s51.01x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.332s (~)2.011s (~)0.679s51.00x
💻 LocalNext.js (Turbopack)1.351s (~)2.010s (~)0.659s51.01x
🌐 StarterNext.js (Turbopack)1.374s (+1.5%)2.009s (~)0.634s51.03x
💻 LocalNitro1.387s (~)2.005s (~)0.618s51.04x
💻 LocalExpress1.411s (+2.0%)2.006s (~)0.595s51.06x
🐘 PostgresNext.js (Turbopack)1.925s (-1.3%)2.013s (-16.8% 🟢)0.088s51.45x
🌐 MongoDBNext.js (Turbopack)2.139s (-0.7%)3.018s (~)0.879s51.61x
🌐 TursoNext.js (Turbopack)2.218s (~)3.013s (-0.5%)0.795s51.67x
🐘 PostgresNitro2.326s (+24.1% 🔺)2.610s (+18.1% 🔺)0.284s51.75x
🐘 PostgresExpress2.572s (-3.4%)3.012s (~)0.439s51.93x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.231s (+5.6% 🔺)5.237s (+4.1%)1.005s51.00x
▲ VercelNext.js (Turbopack)4.460s (+14.0% 🔺)5.171s (+10.7% 🔺)0.711s51.05x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.503s (~)7.027s (+1.4%)0.524s51.00x
🌐 RedisNext.js (Turbopack)7.977s (+1.2%)8.097s (-1.3%)0.121s41.23x
🐘 PostgresExpress8.118s (-8.7% 🟢)8.487s (-10.6% 🟢)0.369s41.25x
🐘 PostgresNitro8.688s (-3.5%)9.032s (-4.2%)0.343s41.34x
🐘 PostgresNext.js (Turbopack)8.890s (+3.6%)9.134s (+2.4%)0.244s41.37x
💻 LocalExpress13.490s (~)13.614s (~)0.124s32.07x
💻 LocalNitro13.512s (+2.5%)13.664s (+3.1%)0.151s32.08x
💻 LocalNext.js (Turbopack)14.681s (+4.7%)15.009s (+4.4%)0.328s32.26x
🌐 TursoNext.js (Turbopack)19.992s (+0.6%)20.530s (~)0.538s23.07x
🌐 MongoDBNext.js (Turbopack)20.225s (+1.6%)20.534s (~)0.309s23.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.296s (-19.7% 🟢)15.766s (-19.1% 🟢)0.470s21.00x
▲ VercelExpress18.774s (-7.4% 🟢)19.444s (-6.7% 🟢)0.670s21.23x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.715s (+0.9%)6.901s (~)0.186s51.00x
🌐 RedisNext.js (Turbopack)8.378s (+3.2%)8.725s (+3.3%)0.348s41.25x
🐘 PostgresNitro9.254s (-6.2% 🟢)9.519s (-5.4% 🟢)0.265s41.38x
🐘 PostgresExpress9.300s (-4.0%)9.439s (-4.5%)0.139s41.38x
🐘 PostgresNext.js (Turbopack)9.978s (+12.8% 🔺)10.198s (+9.0% 🔺)0.220s31.49x
💻 LocalExpress14.069s (+0.8%)14.380s (+0.9%)0.311s32.10x
💻 LocalNitro14.987s (+7.6% 🔺)15.065s (+7.5% 🔺)0.078s22.23x
💻 LocalNext.js (Turbopack)16.189s (-2.0%)16.514s (-1.9%)0.325s22.41x
🌐 MongoDBNext.js (Turbopack)19.890s (-1.4%)20.539s (~)0.649s22.96x
🌐 TursoNext.js (Turbopack)20.171s (~)20.624s (~)0.453s23.00x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.280s (-13.3% 🟢)16.287s (-10.8% 🟢)1.008s21.00x
▲ VercelExpress17.381s (-11.7% 🟢)18.086s (-12.7% 🟢)0.705s21.14x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.133s (-4.7%)1.003s (~)0.016s (+4.0%)1.025s (~)0.893s101.00x
🌐 RedisNext.js (Turbopack)0.140s (+1.7%)1.005s (~)0.000s (-100.0% 🟢)1.014s (~)0.874s101.06x
🌐 StarterNext.js (Turbopack)0.149s (+18.1% 🔺)1.005s (~)0.000s (+Infinity% 🔺)1.011s (~)0.861s101.13x
💻 LocalNitro0.175s (+1.4%)0.992s (~)0.014s (+0.7%)1.019s (~)0.844s101.32x
💻 LocalExpress0.179s (+3.9%)0.992s (~)0.015s (+0.7%)1.020s (~)0.841s101.35x
🌐 TursoNext.js (Turbopack)0.495s (+3.9%)0.956s (-2.8%)0.000s (NaN%)1.012s (~)0.517s103.74x
🌐 MongoDBNext.js (Turbopack)0.523s (+2.1%)0.945s (+0.7%)0.000s (+Infinity% 🔺)1.014s (~)0.491s103.95x
🐘 PostgresNext.js (Turbopack)1.080s (+14.7% 🔺)1.958s (+140.5% 🔺)0.000s (-100.0% 🟢)2.016s (+80.8% 🔺)0.936s108.15x
🐘 PostgresExpress1.264s (-45.4% 🟢)1.769s (-35.3% 🟢)0.000s (-100.0% 🟢)2.013s (-33.2% 🟢)0.748s109.54x
🐘 PostgresNitro1.292s (+26.9% 🔺)1.749s (~)0.000s (~)2.012s (+11.1% 🔺)0.721s109.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.661s (+9.1% 🔺)3.275s (+12.1% 🔺)0.401s (+22.4% 🔺)4.121s (+13.0% 🔺)1.460s101.00x
▲ VercelNext.js (Turbopack)2.735s (+8.5% 🔺)3.302s (+6.9% 🔺)0.210s (-36.9% 🟢)3.907s (+2.3%)1.172s101.03x
▲ VercelNitro⚠️missing-----

🔍 Observability: Express | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production286011297
✅ 💻 Local Development26208270
✅ 📦 Local Production26208270
✅ 🐘 Local Postgres26208270
✅ 🪟 Windows270027
❌ 🌍 Community Worlds109110120
Total120811351254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro2601
✅ example2601
✅ express2601
✅ fastify2601
✅ hono2601
✅ nextjs-turbopack2601
✅ nextjs-webpack2601
✅ nitro2601
✅ nuxt2601
✅ sveltekit2601
✅ vite2601
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2610
✅ redis-dev300
❌ redis2610
✅ starter-dev300
❌ starter1980
✅ turso-dev300
❌ turso2610

📋 View full workflow run

@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

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

@TooTallNate
TooTallNate marked this pull request as ready for review December 15, 2025 21:12
CopilotAI review requested due to automatic review settings December 15, 2025 21:12

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds health check functionality to workflow and step entrypoints by introducing a __health query parameter. When present, the endpoints return a 200 OK response immediately without executing any workflow or step logic. This enables monitoring systems to verify endpoint availability without triggering side effects.

Key Changes:

  • Added withHealthCheck wrapper function that intercepts requests with ?__health query parameter
  • Applied the wrapper to both workflowEntrypoint and stepEntrypoint functions
  • Refactored stepEntrypoint from an immediately invoked expression to a wrapped constant

Reviewed changes

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

FileDescription
packages/core/src/runtime.tsAdded withHealthCheck wrapper function and applied it to workflow and step entrypoints for health check support
.changeset/two-nights-join.mdAdded changeset documenting the patch-level change

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

Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
@TooTallNate
TooTallNate merged commit 4d7a393 into mainDec 15, 2025
143 of 144 checks passed
@TooTallNate
TooTallNate deleted the 12-15-add_workflow_endpoints_health_check_query_parameter branch December 15, 2025 23:14
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@pranaygp
, '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

Add workflow endpoints health check query parameter - #613

Merged
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter
Dec 15, 2025
Merged

Add workflow endpoints health check query parameter#613
TooTallNate merged 4 commits into
mainfrom
12-15-add_workflow_endpoints_health_check_query_parameter

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Dec 15, 2025

Copy link
Copy Markdown
Member

Added a health check query parameter to workflow endpoints.

What changed?

  • Added a withHealthCheck function that wraps request handlers to check for the __health query parameter
  • When a request includes ?__health, the endpoint returns a 200 OK response immediately
  • Applied this wrapper to both workflow and step entrypoints

How to test?

  1. Make a request to any workflow endpoint with the __health query parameter:
    curl https://your-app.vercel.app/.well-known/workflow/v1/flow?__health
    
  2. Verify that the endpoint returns a 200 OK response with "OK" in the body

Why make this change?

This change enables health checking of workflow endpoints without triggering actual workflow execution. This is useful for monitoring systems to verify that workflow endpoints are accessible and responsive without causing side effects or consuming resources unnecessarily.

@changeset-bot

changeset-botBot commented Dec 15, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 48cadca

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

This PR includes changesets to release 12 packages
NameType
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
workflowPatch
@workflow/astroPatch
@workflow/sveltekitPatch
@workflow/world-testingPatch
@workflow/nuxtPatch
@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 Dec 15, 2025

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentDec 15, 2025 10:51pm
example-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-astro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-express-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-fastify-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-hono-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nitro-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-nuxt-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-sveltekit-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workbench-tanstack-start-workflowErrorErrorDec 15, 2025 10:51pm
workbench-vite-workflowReadyReadyPreview, CommentDec 15, 2025 10:51pm
workflow-docsReadyReadyPreview, CommentDec 15, 2025 10:51pm

@github-actions

github-actionsBot commented Dec 15, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.040s (+7.2% 🔺)1.015s (~)0.974s101.00x
🌐 RedisNext.js (Turbopack)0.041s (+3.0%)1.017s (~)0.976s101.01x
💻 LocalNext.js (Turbopack)0.041s (+4.3%)1.016s (~)0.975s101.02x
💻 LocalNitro0.042s (-2.4%)1.006s (~)0.965s101.03x
💻 LocalExpress0.044s (-5.7% 🟢)1.007s (~)0.963s101.11x
🌐 TursoNext.js (Turbopack)0.057s (-44.1% 🟢)1.014s (~)0.957s101.42x
🌐 MongoDBNext.js (Turbopack)0.070s (+13.3% 🔺)1.015s (~)0.945s101.74x
🐘 PostgresNext.js (Turbopack)0.115s (-69.5% 🟢)1.018s (~)0.904s102.86x
🐘 PostgresNitro0.325s (-2.4%)1.011s (-2.2%)0.687s108.10x
🐘 PostgresExpress0.363s (-6.2% 🟢)1.013s (~)0.650s109.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.520s (-16.4% 🟢)1.552s (-8.6% 🟢)1.031s101.00x
▲ VercelNext.js (Turbopack)0.538s (-20.2% 🟢)1.391s (-17.0% 🟢)0.853s101.03x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.089s (~)2.010s (~)0.921s101.00x
💻 LocalNext.js (Turbopack)1.094s (~)2.010s (~)0.916s101.00x
🌐 RedisNext.js (Turbopack)1.103s (~)2.011s (~)0.908s101.01x
💻 LocalNitro1.110s (~)2.005s (~)0.895s101.02x
💻 LocalExpress1.115s (~)2.007s (~)0.892s101.02x
🌐 TursoNext.js (Turbopack)1.269s (-3.5%)2.012s (~)0.743s101.17x
🌐 MongoDBNext.js (Turbopack)1.326s (+0.7%)2.015s (~)0.689s101.22x
🐘 PostgresNext.js (Turbopack)1.907s (+10.1% 🔺)2.014s (~)0.106s101.75x
🐘 PostgresNitro2.173s (-10.9% 🟢)3.015s (~)0.843s101.99x
🐘 PostgresExpress2.216s (-0.9%)3.015s (~)0.799s102.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.820s (+6.6% 🔺)3.814s (+4.6%)0.994s101.00x
▲ VercelNext.js (Turbopack)2.977s (+15.4% 🔺)3.890s (+13.2% 🔺)0.913s101.06x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)10.622s (~)11.012s (~)0.390s51.00x
💻 LocalNext.js (Turbopack)10.634s (~)11.015s (~)0.381s51.00x
🌐 RedisNext.js (Turbopack)10.673s (~)11.020s (~)0.347s51.00x
💻 LocalNitro10.776s (~)11.007s (~)0.230s51.01x
💻 LocalExpress10.797s (~)11.012s (~)0.214s51.02x
🌐 TursoNext.js (Turbopack)12.180s (~)13.021s (~)0.841s51.15x
🌐 MongoDBNext.js (Turbopack)12.304s (~)13.034s (~)0.731s51.16x
🐘 PostgresNext.js (Turbopack)15.331s (+3.9%)16.030s (+5.2% 🔺)0.699s51.44x
🐘 PostgresNitro18.122s (~)18.828s (+1.1%)0.705s51.71x
🐘 PostgresExpress20.318s (~)21.039s (~)0.721s51.91x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.929s (-1.3%)21.537s (-1.4%)0.608s51.00x
▲ VercelExpress21.150s (+2.2%)21.731s (+1.7%)0.581s51.01x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.332s (~)2.011s (~)0.679s51.00x
💻 LocalNext.js (Turbopack)1.351s (~)2.010s (~)0.659s51.01x
🌐 StarterNext.js (Turbopack)1.374s (+1.5%)2.009s (~)0.634s51.03x
💻 LocalNitro1.387s (~)2.005s (~)0.618s51.04x
💻 LocalExpress1.411s (+2.0%)2.006s (~)0.595s51.06x
🐘 PostgresNext.js (Turbopack)1.925s (-1.3%)2.013s (-16.8% 🟢)0.088s51.45x
🌐 MongoDBNext.js (Turbopack)2.139s (-0.7%)3.018s (~)0.879s51.61x
🌐 TursoNext.js (Turbopack)2.218s (~)3.013s (-0.5%)0.795s51.67x
🐘 PostgresNitro2.326s (+24.1% 🔺)2.610s (+18.1% 🔺)0.284s51.75x
🐘 PostgresExpress2.572s (-3.4%)3.012s (~)0.439s51.93x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.231s (+5.6% 🔺)5.237s (+4.1%)1.005s51.00x
▲ VercelNext.js (Turbopack)4.460s (+14.0% 🔺)5.171s (+10.7% 🔺)0.711s51.05x
▲ VercelNitro⚠️missing----

🔍 Observability: Express | Next.js (Turbopack)

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.503s (~)7.027s (+1.4%)0.524s51.00x
🌐 RedisNext.js (Turbopack)7.977s (+1.2%)8.097s (-1.3%)0.121s41.23x
🐘 PostgresExpress8.118s (-8.7% 🟢)8.487s (-10.6% 🟢)0.369s41.25x
🐘 PostgresNitro8.688s (-3.5%)9.032s (-4.2%)0.343s41.34x
🐘 PostgresNext.js (Turbopack)8.890s (+3.6%)9.134s (+2.4%)0.244s41.37x
💻 LocalExpress13.490s (~)13.614s (~)0.124s32.07x
💻 LocalNitro13.512s (+2.5%)13.664s (+3.1%)0.151s32.08x
💻 LocalNext.js (Turbopack)14.681s (+4.7%)15.009s (+4.4%)0.328s32.26x
🌐 TursoNext.js (Turbopack)19.992s (+0.6%)20.530s (~)0.538s23.07x
🌐 MongoDBNext.js (Turbopack)20.225s (+1.6%)20.534s (~)0.309s23.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.296s (-19.7% 🟢)15.766s (-19.1% 🟢)0.470s21.00x
▲ VercelExpress18.774s (-7.4% 🟢)19.444s (-6.7% 🟢)0.670s21.23x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)6.715s (+0.9%)6.901s (~)0.186s51.00x
🌐 RedisNext.js (Turbopack)8.378s (+3.2%)8.725s (+3.3%)0.348s41.25x
🐘 PostgresNitro9.254s (-6.2% 🟢)9.519s (-5.4% 🟢)0.265s41.38x
🐘 PostgresExpress9.300s (-4.0%)9.439s (-4.5%)0.139s41.38x
🐘 PostgresNext.js (Turbopack)9.978s (+12.8% 🔺)10.198s (+9.0% 🔺)0.220s31.49x
💻 LocalExpress14.069s (+0.8%)14.380s (+0.9%)0.311s32.10x
💻 LocalNitro14.987s (+7.6% 🔺)15.065s (+7.5% 🔺)0.078s22.23x
💻 LocalNext.js (Turbopack)16.189s (-2.0%)16.514s (-1.9%)0.325s22.41x
🌐 MongoDBNext.js (Turbopack)19.890s (-1.4%)20.539s (~)0.649s22.96x
🌐 TursoNext.js (Turbopack)20.171s (~)20.624s (~)0.453s23.00x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)15.280s (-13.3% 🟢)16.287s (-10.8% 🟢)1.008s21.00x
▲ VercelExpress17.381s (-11.7% 🟢)18.086s (-12.7% 🟢)0.705s21.14x
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack) | Express

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.133s (-4.7%)1.003s (~)0.016s (+4.0%)1.025s (~)0.893s101.00x
🌐 RedisNext.js (Turbopack)0.140s (+1.7%)1.005s (~)0.000s (-100.0% 🟢)1.014s (~)0.874s101.06x
🌐 StarterNext.js (Turbopack)0.149s (+18.1% 🔺)1.005s (~)0.000s (+Infinity% 🔺)1.011s (~)0.861s101.13x
💻 LocalNitro0.175s (+1.4%)0.992s (~)0.014s (+0.7%)1.019s (~)0.844s101.32x
💻 LocalExpress0.179s (+3.9%)0.992s (~)0.015s (+0.7%)1.020s (~)0.841s101.35x
🌐 TursoNext.js (Turbopack)0.495s (+3.9%)0.956s (-2.8%)0.000s (NaN%)1.012s (~)0.517s103.74x
🌐 MongoDBNext.js (Turbopack)0.523s (+2.1%)0.945s (+0.7%)0.000s (+Infinity% 🔺)1.014s (~)0.491s103.95x
🐘 PostgresNext.js (Turbopack)1.080s (+14.7% 🔺)1.958s (+140.5% 🔺)0.000s (-100.0% 🟢)2.016s (+80.8% 🔺)0.936s108.15x
🐘 PostgresExpress1.264s (-45.4% 🟢)1.769s (-35.3% 🟢)0.000s (-100.0% 🟢)2.013s (-33.2% 🟢)0.748s109.54x
🐘 PostgresNitro1.292s (+26.9% 🔺)1.749s (~)0.000s (~)2.012s (+11.1% 🔺)0.721s109.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.661s (+9.1% 🔺)3.275s (+12.1% 🔺)0.401s (+22.4% 🔺)4.121s (+13.0% 🔺)1.460s101.00x
▲ VercelNext.js (Turbopack)2.735s (+8.5% 🔺)3.302s (+6.9% 🔺)0.210s (-36.9% 🟢)3.907s (+2.3%)1.172s101.03x
▲ VercelNitro⚠️missing-----

🔍 Observability: Express | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production286011297
✅ 💻 Local Development26208270
✅ 📦 Local Production26208270
✅ 🐘 Local Postgres26208270
✅ 🪟 Windows270027
❌ 🌍 Community Worlds109110120
Total120811351254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro2601
✅ example2601
✅ express2601
✅ fastify2601
✅ hono2601
✅ nextjs-turbopack2601
✅ nextjs-webpack2601
✅ nitro2601
✅ nuxt2601
✅ sveltekit2601
✅ vite2601
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2610
✅ redis-dev300
❌ redis2610
✅ starter-dev300
❌ starter1980
✅ turso-dev300
❌ turso2610

📋 View full workflow run

@TooTallNateGraphite App

Copy link
Copy Markdown
MemberAuthor

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

@TooTallNate
TooTallNate marked this pull request as ready for review December 15, 2025 21:12
CopilotAI review requested due to automatic review settings December 15, 2025 21:12

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds health check functionality to workflow and step entrypoints by introducing a __health query parameter. When present, the endpoints return a 200 OK response immediately without executing any workflow or step logic. This enables monitoring systems to verify endpoint availability without triggering side effects.

Key Changes:

  • Added withHealthCheck wrapper function that intercepts requests with ?__health query parameter
  • Applied the wrapper to both workflowEntrypoint and stepEntrypoint functions
  • Refactored stepEntrypoint from an immediately invoked expression to a wrapped constant

Reviewed changes

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

FileDescription
packages/core/src/runtime.tsAdded withHealthCheck wrapper function and applied it to workflow and step entrypoints for health check support
.changeset/two-nights-join.mdAdded changeset documenting the patch-level change

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

Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
Comment threadpackages/core/src/runtime.ts
Comment threadpackages/core/src/runtime.ts Outdated
@TooTallNate
TooTallNate merged commit 4d7a393 into mainDec 15, 2025
143 of 144 checks passed
@TooTallNate
TooTallNate deleted the 12-15-add_workflow_endpoints_health_check_query_parameter branch December 15, 2025 23:14
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@pranaygp