Skip to content

docs: add webhook integration recipes#1110

Closed
johnlindquist wants to merge 8 commits intomainfrom
docs/webhook-integrations
Closed

docs: add webhook integration recipes#1110
johnlindquist wants to merge 8 commits intomainfrom
docs/webhook-integrations

Conversation

@johnlindquist
Copy link
Copy Markdown
Contributor

Summary

  • Adds a new Recipes section to the documentation navigation
  • Creates webhook integration recipes covering Slack event processing, GitHub webhook handling, webhook forwarding, and scheduled task patterns
  • Covers all three webhook response modes (default, static, manual) with type-checked examples
  • Motivated by usage data: 40 teams (516K runs) building webhook integrations with only primitives documented

Test plan

  • Link validation passes (bun run lint:links - 0 errors)
  • All 7 TypeScript code samples pass type checking (pnpm test:docs)
  • Verify MDX renders correctly in local dev server
  • Verify meta.json navigation places Recipes between AI and Deploying sections

swarm:codex-next-readme and others added 8 commits February 18, 2026 09:48
Replaces the placeholder @workflow/next README with a complete package-level reference.
The new content documents installation, withWorkflow() API usage/signature,
configuration examples, internal behavior, env vars, exports, generated files,
runtime routing, public manifest exposure, and troubleshooting.

Verified: rg -n "^## Install|^### Type signature|^### Example: object config|^### Example: async config function|^## What .* does|^## Serving the manifest publicly|^## Troubleshooting" packages/next/README.md
Verified: rg -n "WORKFLOW_TARGET_WORLD|WORKFLOW_LOCAL_DATA_DIR|PORT|WORKFLOW_NEXT_PRIVATE_BUILT|WORKFLOW_PUBLIC_MANIFEST|WATCHPACK_WATCHER_LIMIT" packages/next/README.md
Verified: rg -n "@workflow/next|@workflow/next/loader|@workflow/next/runtime|\.well-known/workflow/v1/flow/route\.js|\.well-known/workflow/v1/step/route\.js|\.well-known/workflow/v1/webhook/\[token\]/route\.js" packages/next/README.md

How to test: open packages/next/README.md and confirm all required sections and tables render correctly.
Update spec.md to resolve the static/instance method contradiction, document forbidden step-expression validation errors, and add import compatibility guidance for serialization-file discovery.

Verified: git diff --check -- packages/swc-plugin-workflow/spec.md
Verified: npx --yes markdownlint-cli@0.41.0 packages/swc-plugin-workflow/spec.md --disable MD013 (fails with pre-existing file-wide markdown style issues unrelated to this change)
Add the requested blog markdown file at .blog/durable-execution-layer.md\nwith exact content and preserved formatting/code blocks.\n\nVerified: diff -u <(cat <<'EOF' ... ) .blog/durable-execution-layer.md (no diff; exact match)\nVerified: pnpm exec biome check .blog/durable-execution-layer.md (file is ignored by repo biome config)
Add the requested blog draft as an exact markdown copy for agent reliability content.

Verified: cat <<'EOF' | cmp -s - .blog/stateless-retries-multiply-agent-side-effects.md && echo "Exact content match verified"
Verified: git status --short -- .blog/stateless-retries-multiply-agent-side-effects.md
Overwrite .blog/durable-execution-layer.md with the exact requested markdown content, including code blocks and section structure.

Verified: git diff --check -- .blog/durable-execution-layer.md

Verified: git diff -- .blog/durable-execution-layer.md
Overwrite the blog markdown with the exact provided copy for Workflow DevKit deterministic replay behavior and code patterns.

Verified: diff -u .blog/how-deterministic-replay-works-for-ai-agents.md <(cat <<'EOF' ... EOF) (no differences)

Verified: pnpm exec biome check .blog/how-deterministic-replay-works-for-ai-agents.md (path ignored by biome config; no file-level lint available)
Overwrite the target blog file with the exact markdown content provided for this task.\n\nThis preserves all headings, prose, and fenced code examples verbatim.\n\nVerified: cat <<'EOF' | diff -u - .blog/stateless-retries-multiply-agent-side-effects.md (no diff; exit 0)\nVerified: repository Biome config does not include Markdown files (.md), so no project-scoped markdown linter applies
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Feb 18, 2026

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

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Feb 18, 2026 5:59pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Feb 18, 2026 5:59pm
example-workflow Ready Ready Preview, Comment Feb 18, 2026 5:59pm
workbench-astro-workflow Ready Ready Preview, Comment Feb 18, 2026 5:59pm
workbench-express-workflow Ready Ready Preview, Comment Feb 18, 2026 5:59pm
workbench-fastify-workflow Ready Ready Preview, Comment Feb 18, 2026 5:59pm
workbench-hono-workflow Ready Ready Preview, Comment Feb 18, 2026 5:59pm
workbench-nitro-workflow Ready Ready Preview, Comment Feb 18, 2026 5:59pm
workbench-nuxt-workflow Ready Ready Preview, Comment Feb 18, 2026 5:59pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Feb 18, 2026 5:59pm
workbench-vite-workflow Ready Ready Preview, Comment Feb 18, 2026 5:59pm
workflow-docs Ready Ready Preview, Comment, Open in v0 Feb 18, 2026 5:59pm
workflow-nest Ready Ready Preview, Comment Feb 18, 2026 5:59pm
workflow-swc-playground Ready Ready Preview, Comment Feb 18, 2026 5:59pm

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 18, 2026

⚠️ No Changeset found

Latest commit: 54663d2

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

This PR includes no changesets

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

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

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 18, 2026

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 0.032s (-4.2%) 1.005s (~) 0.972s 10 1.00x
💻 Local Express 0.033s (~) 1.005s (~) 0.973s 10 1.01x
🌐 Redis Next.js (Turbopack) 0.049s 1.005s 0.956s 10 1.53x
🐘 Postgres Express 0.082s (-21.2% 🟢) 1.010s (~) 0.928s 10 2.52x
🌐 MongoDB Next.js (Turbopack) 0.095s 1.007s 0.912s 10 2.94x
🐘 Postgres Nitro 0.337s (-29.3% 🟢) 1.010s (~) 0.673s 10 10.43x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 1.814s (+123.3% 🔺) 3.336s (+61.4% 🔺) 1.522s 10 1.00x
▲ Vercel Nitro 2.262s (+112.3% 🔺) 3.899s (+57.0% 🔺) 1.637s 10 1.25x
▲ Vercel Express 2.367s (+243.3% 🔺) 4.074s (+96.1% 🔺) 1.707s 10 1.30x

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

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 1.109s (~) 2.005s (~) 0.897s 10 1.00x
💻 Local Nitro 1.109s (~) 2.005s (~) 0.897s 10 1.00x
🌐 Redis Next.js (Turbopack) 1.112s 2.006s 0.895s 10 1.00x
🌐 MongoDB Next.js (Turbopack) 1.314s 2.008s 0.694s 10 1.19x
🐘 Postgres Nitro 2.397s (+2.1%) 3.015s (~) 0.618s 10 2.16x
🐘 Postgres Express 2.454s (-0.9%) 3.015s (~) 0.561s 10 2.21x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 3.191s (+42.0% 🔺) 4.768s (+53.5% 🔺) 1.576s 10 1.00x
▲ Vercel Express 3.582s (+64.1% 🔺) 5.191s (+64.6% 🔺) 1.609s 10 1.12x
▲ Vercel Nitro 3.856s (+68.3% 🔺) 4.959s (+58.0% 🔺) 1.103s 10 1.21x

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

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 10.736s 11.023s 0.287s 3 1.00x
💻 Local Express 10.845s (~) 11.023s (~) 0.178s 3 1.01x
💻 Local Nitro 10.875s (~) 11.023s (~) 0.148s 3 1.01x
🌐 MongoDB Next.js (Turbopack) 12.166s 13.015s 0.848s 3 1.13x
🐘 Postgres Nitro 15.259s (-24.5% 🟢) 16.048s (-23.8% 🟢) 0.789s 2 1.42x
🐘 Postgres Express 20.314s (~) 21.062s (~) 0.748s 2 1.89x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 17.971s (+2.1%) 18.777s (-2.5%) 0.806s 2 1.00x
▲ Vercel Express 18.180s (+2.9%) 19.471s (+3.7%) 1.291s 2 1.01x
▲ Vercel Next.js (Turbopack) 18.628s (-6.5% 🟢) 19.718s (-5.5% 🟢) 1.089s 2 1.04x

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

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 26.915s 27.051s 0.136s 3 1.00x
💻 Local Nitro 27.515s (~) 28.053s (~) 0.539s 3 1.02x
💻 Local Express 27.521s (~) 28.050s (~) 0.529s 3 1.02x
🌐 MongoDB Next.js (Turbopack) 30.442s 31.038s 0.595s 2 1.13x
🐘 Postgres Nitro 37.809s (-25.1% 🟢) 38.096s (-25.5% 🟢) 0.287s 2 1.40x
🐘 Postgres Express 40.383s (-19.5% 🟢) 40.612s (-19.8% 🟢) 0.228s 2 1.50x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 43.822s (+1.3%) 45.385s (+2.5%) 1.562s 2 1.00x
▲ Vercel Express 44.508s (+3.7%) 45.562s (+3.4%) 1.054s 2 1.02x
▲ Vercel Next.js (Turbopack) 48.509s (+12.2% 🔺) 49.793s (+11.1% 🔺) 1.284s 2 1.11x

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

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 54.327s 55.099s 0.772s 2 1.00x
💻 Local Express 57.410s (~) 58.104s (~) 0.694s 2 1.06x
💻 Local Nitro 57.426s (~) 58.104s (~) 0.678s 2 1.06x
🌐 MongoDB Next.js (Turbopack) 60.794s 61.058s 0.265s 2 1.12x
🐘 Postgres Express 75.516s (-24.8% 🟢) 76.187s (-24.7% 🟢) 0.670s 2 1.39x
🐘 Postgres Nitro 75.924s (-24.2% 🟢) 76.684s (-23.5% 🟢) 0.759s 2 1.40x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 93.139s (+5.7% 🔺) 94.908s (+6.2% 🔺) 1.769s 1 1.00x
▲ Vercel Nitro 95.930s (+10.7% 🔺) 97.240s (+10.7% 🔺) 1.310s 1 1.03x
▲ Vercel Express 100.792s (+14.1% 🔺) 102.047s (+14.5% 🔺) 1.255s 1 1.08x

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

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 1.256s 2.006s 0.750s 15 1.00x
💻 Local Express 1.419s (+1.3%) 2.005s (~) 0.586s 15 1.13x
💻 Local Nitro 1.429s (~) 2.005s (~) 0.576s 15 1.14x
🐘 Postgres Express 1.985s (-17.5% 🟢) 2.513s (-16.6% 🟢) 0.528s 12 1.58x
🌐 MongoDB Next.js (Turbopack) 2.166s 3.008s 0.842s 10 1.72x
🐘 Postgres Nitro 2.231s (+4.5%) 2.597s (-13.8% 🟢) 0.366s 12 1.78x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.216s (+32.5% 🔺) 4.413s (+30.8% 🔺) 1.198s 8 1.00x
▲ Vercel Next.js (Turbopack) 3.441s (+0.8%) 4.488s (+4.1%) 1.047s 8 1.07x
▲ Vercel Nitro 5.557s (+140.7% 🔺) 6.661s (+102.1% 🔺) 1.104s 7 1.73x

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

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 2.508s 3.008s 0.500s 10 1.00x
💻 Local Nitro 2.581s (-0.9%) 3.007s (~) 0.426s 10 1.03x
💻 Local Express 2.649s (+3.8%) 3.008s (~) 0.359s 10 1.06x
🌐 MongoDB Next.js (Turbopack) 4.689s 5.176s 0.487s 6 1.87x
🐘 Postgres Nitro 9.654s (+13.8% 🔺) 10.029s (+10.9% 🔺) 0.376s 3 3.85x
🐘 Postgres Express 9.879s (+22.4% 🔺) 10.366s (+25.2% 🔺) 0.487s 3 3.94x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 31.273s (+906.5% 🔺) 33.264s (+686.4% 🔺) 1.991s 2 1.00x
▲ Vercel Next.js (Turbopack) 35.931s (+1026.8% 🔺) 37.241s (+851.1% 🔺) 1.310s 2 1.15x
▲ Vercel Nitro 44.300s (+1567.1% 🔺) 44.920s (+1199.0% 🔺) 0.620s 1 1.42x

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

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 4.084s 4.582s 0.498s 7 1.00x
💻 Local Nitro 7.521s (+2.4%) 8.021s (~) 0.499s 4 1.84x
💻 Local Express 7.665s (+5.3% 🔺) 8.016s (~) 0.352s 4 1.88x
🌐 MongoDB Next.js (Turbopack) 9.642s 10.348s 0.706s 3 2.36x
🐘 Postgres Nitro 48.302s (~) 49.119s (~) 0.817s 1 11.83x
🐘 Postgres Express 50.794s (+22.0% 🔺) 51.116s (+21.4% 🔺) 0.322s 1 12.44x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 24.652s (+637.8% 🔺) 25.416s (+491.0% 🔺) 0.764s 2 1.00x
▲ Vercel Next.js (Turbopack) 28.909s (+469.2% 🔺) 30.948s (+407.3% 🔺) 2.039s 2 1.17x
▲ Vercel Express 52.639s (+1034.7% 🔺) 53.598s (+853.6% 🔺) 0.959s 1 2.14x

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

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 1.245s 2.006s 0.761s 15 1.00x
💻 Local Nitro 1.428s (~) 2.005s (~) 0.577s 15 1.15x
💻 Local Express 1.441s (+1.4%) 2.005s (~) 0.564s 15 1.16x
🐘 Postgres Express 2.108s (+7.4% 🔺) 2.512s (~) 0.403s 12 1.69x
🌐 MongoDB Next.js (Turbopack) 2.188s 3.007s 0.819s 10 1.76x
🐘 Postgres Nitro 2.204s (-3.0%) 2.832s (+5.5% 🔺) 0.628s 11 1.77x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 5.811s (+162.8% 🔺) 6.734s (+105.8% 🔺) 0.924s 5 1.00x
▲ Vercel Next.js (Turbopack) 9.928s (+341.5% 🔺) 11.126s (+246.0% 🔺) 1.198s 3 1.71x
▲ Vercel Nitro 16.945s (+536.8% 🔺) 18.558s (+410.1% 🔺) 1.614s 2 2.92x

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

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 2.502s 3.008s 0.506s 10 1.00x
💻 Local Express 2.748s (+2.4%) 3.008s (~) 0.260s 10 1.10x
💻 Local Nitro 2.755s (+2.8%) 3.009s (~) 0.254s 10 1.10x
🌐 MongoDB Next.js (Turbopack) 4.695s 5.176s 0.482s 6 1.88x
🐘 Postgres Nitro 10.691s (-19.8% 🟢) 11.369s (-17.1% 🟢) 0.678s 3 4.27x
🐘 Postgres Express 12.726s (+11.1% 🔺) 13.374s (+11.1% 🔺) 0.648s 3 5.09x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 7.690s (+233.5% 🔺) 9.069s (+185.1% 🔺) 1.379s 4 1.00x
▲ Vercel Next.js (Turbopack) 13.935s (+455.6% 🔺) 15.157s (+340.7% 🔺) 1.222s 3 1.81x
▲ Vercel Express 22.355s (+745.0% 🔺) 23.975s (+574.0% 🔺) 1.620s 2 2.91x

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

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 4.078s 4.581s 0.502s 7 1.00x
💻 Local Nitro 8.000s (+1.7%) 8.524s (+3.1%) 0.524s 4 1.96x
💻 Local Express 8.151s (+1.0%) 8.775s (+6.1% 🔺) 0.624s 4 2.00x
🌐 MongoDB Next.js (Turbopack) 10.031s 10.348s 0.317s 3 2.46x
🐘 Postgres Nitro 51.146s (-1.6%) 52.163s (~) 1.017s 1 12.54x
🐘 Postgres Express 54.444s (+5.7% 🔺) 55.121s (+5.7% 🔺) 0.677s 1 13.35x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 18.445s (+495.6% 🔺) 20.088s (+404.1% 🔺) 1.643s 2 1.00x
▲ Vercel Express 25.062s (+549.7% 🔺) 25.703s (+452.8% 🔺) 0.641s 2 1.36x
▲ Vercel Next.js (Turbopack) 31.542s (+717.6% 🔺) 32.806s (+552.1% 🔺) 1.264s 1 1.71x

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

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 0.146s 1.000s 0.002s 1.007s 0.861s 10 1.00x
💻 Local Express 0.174s (+3.3%) 1.002s (~) 0.011s (~) 1.017s (~) 0.843s 10 1.19x
💻 Local Nitro 0.174s (~) 1.003s (~) 0.011s (+0.9%) 1.017s (~) 0.842s 10 1.19x
🌐 MongoDB Next.js (Turbopack) 0.520s 0.924s 0.001s 1.008s 0.488s 10 3.55x
🐘 Postgres Nitro 1.232s (-44.7% 🟢) 1.810s (-35.7% 🟢) 0.001s (-29.4% 🟢) 2.014s (-33.2% 🟢) 0.782s 10 8.41x
🐘 Postgres Express 1.302s (-47.0% 🟢) 1.734s (-32.9% 🟢) 0.001s (-7.7% 🟢) 2.013s (-33.2% 🟢) 0.712s 10 8.89x
💻 Local Next.js (Turbopack) ⚠️ missing - - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 11.180s (+468.5% 🔺) 9.802s (+271.9% 🔺) 0.246s (-59.4% 🟢) 12.567s (+231.0% 🔺) 1.388s 10 1.00x
▲ Vercel Nitro 14.796s (+663.6% 🔺) 12.368s (+359.9% 🔺) 0.200s (-66.0% 🟢) 16.237s (+325.0% 🔺) 1.441s 10 1.32x
▲ Vercel Next.js (Turbopack) 16.395s (+559.0% 🔺) 15.576s (+407.8% 🔺) 0.240s (+3.5%) 18.048s (+367.9% 🔺) 1.653s 10 1.47x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
💻 Local Nitro 6/12
🐘 Postgres Nitro 8/12
▲ Vercel Nitro 5/12
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 18, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
❌ ▲ Vercel Production 530 4 38 572
✅ 💻 Local Development 556 0 68 624
✅ 📦 Local Production 556 0 68 624
✅ 🐘 Local Postgres 556 0 68 624
✅ 🪟 Windows 49 0 3 52
❌ 🌍 Community Worlds 111 45 9 165
✅ 📋 Other 135 0 21 156
Total 2493 49 275 2817

❌ Failed Tests

▲ Vercel Production (4 failed)

example (1 failed):

  • hookCleanupTestWorkflow - hook token reuse after workflow completion

nextjs-turbopack (2 failed):

  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

vite (1 failed):

  • hookCleanupTestWorkflow - hook token reuse after workflow completion
🌍 Community Worlds (45 failed)

turso (45 failed):

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

Details by Category

❌ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 48 0 4
❌ example 47 1 4
✅ express 48 0 4
✅ fastify 48 0 4
✅ hono 48 0 4
❌ nextjs-turbopack 49 2 1
✅ nextjs-webpack 51 0 1
✅ nitro 48 0 4
✅ nuxt 48 0 4
✅ sveltekit 48 0 4
❌ vite 47 1 4
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 45 0 7
✅ express-stable 45 0 7
✅ fastify-stable 45 0 7
✅ hono-stable 45 0 7
✅ nextjs-turbopack-canary 49 0 3
✅ nextjs-turbopack-stable 49 0 3
✅ nextjs-webpack-canary 49 0 3
✅ nextjs-webpack-stable 49 0 3
✅ nitro-stable 45 0 7
✅ nuxt-stable 45 0 7
✅ sveltekit-stable 45 0 7
✅ vite-stable 45 0 7
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 45 0 7
✅ express-stable 45 0 7
✅ fastify-stable 45 0 7
✅ hono-stable 45 0 7
✅ nextjs-turbopack-canary 49 0 3
✅ nextjs-turbopack-stable 49 0 3
✅ nextjs-webpack-canary 49 0 3
✅ nextjs-webpack-stable 49 0 3
✅ nitro-stable 45 0 7
✅ nuxt-stable 45 0 7
✅ sveltekit-stable 45 0 7
✅ vite-stable 45 0 7
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 45 0 7
✅ express-stable 45 0 7
✅ fastify-stable 45 0 7
✅ hono-stable 45 0 7
✅ nextjs-turbopack-canary 49 0 3
✅ nextjs-turbopack-stable 49 0 3
✅ nextjs-webpack-canary 49 0 3
✅ nextjs-webpack-stable 49 0 3
✅ nitro-stable 45 0 7
✅ nuxt-stable 45 0 7
✅ sveltekit-stable 45 0 7
✅ vite-stable 45 0 7
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 49 0 3
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 0
✅ mongodb 49 0 3
✅ redis-dev 3 0 0
✅ redis 49 0 3
✅ turso-dev 3 0 0
❌ turso 4 45 3
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 45 0 7
✅ e2e-local-postgres-nest-stable 45 0 7
✅ e2e-local-prod-nest-stable 45 0 7

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@johnlindquist
Copy link
Copy Markdown
Contributor Author

Superseded by #1116 which consolidates all recipes into a single PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant