Skip to content

Comments

docs: add notifications & email patterns recipe#1113

Closed
johnlindquist wants to merge 8 commits intomainfrom
docs/notifications-email
Closed

docs: add notifications & email patterns recipe#1113
johnlindquist wants to merge 8 commits intomainfrom
docs/notifications-email

Conversation

@johnlindquist
Copy link
Contributor

Summary

  • Adds a new Recipes section to the documentation navigation
  • Creates notifications & email patterns guide covering:
    • Email onboarding drip campaigns with sleep() delays
    • Email verification flows using createWebhook() + Promise.race
    • Contact form processing with parallel step execution
    • Notification fan-out across multiple channels (email, Slack, push)
    • Scheduled notifications using sleep() with Date
  • All code samples pass TypeScript type-checking and link validation

Test plan

  • Link validation passes (bun run lint:links - 0 errors)
  • TypeScript code sample validation passes (pnpm test:docs - all notifications-email samples pass)
  • Verify MDX renders correctly in local dev server
  • Verify recipes section appears in navigation after "AI"

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
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

changeset-bot bot commented Feb 18, 2026

⚠️ No Changeset found

Latest commit: ce24b5e

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
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 🥇 Express 0.032s (-1.9%) 1.004s (~) 0.973s 10 1.00x
💻 Local Nitro 0.032s (-3.9%) 1.005s (~) 0.973s 10 1.02x
🌐 Redis Next.js (Turbopack) 0.049s 1.005s 0.955s 10 1.55x
🌐 MongoDB Next.js (Turbopack) 0.090s 1.008s 0.918s 10 2.84x
🐘 Postgres Express 0.137s (+32.7% 🔺) 1.010s (~) 0.873s 10 4.31x
🐘 Postgres Nitro 0.379s (-20.4% 🟢) 1.011s (~) 0.632s 10 11.92x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 0.658s (-4.6%) 2.234s (+7.5% 🔺) 1.576s 10 1.00x
▲ Vercel Next.js (Turbopack) 0.673s (-17.2% 🟢) 2.156s (+4.3%) 1.483s 10 1.02x
▲ Vercel Nitro 0.731s (-31.4% 🟢) 2.381s (-4.1%) 1.651s 10 1.11x

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

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 1.104s (~) 2.005s (~) 0.901s 10 1.00x
💻 Local Nitro 1.106s (~) 2.005s (~) 0.899s 10 1.00x
🌐 Redis Next.js (Turbopack) 1.106s 2.006s 0.900s 10 1.00x
🌐 MongoDB Next.js (Turbopack) 1.319s 2.009s 0.690s 10 1.20x
🐘 Postgres Nitro 2.390s (+1.8%) 3.015s (~) 0.625s 10 2.17x
🐘 Postgres Express 2.459s (-0.7%) 3.014s (~) 0.555s 10 2.23x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.503s (+14.7% 🔺) 3.647s (+15.7% 🔺) 1.144s 10 1.00x
▲ Vercel Next.js (Turbopack) 2.575s (+14.6% 🔺) 3.868s (+24.6% 🔺) 1.293s 10 1.03x
▲ Vercel Nitro 3.816s (+66.5% 🔺) 5.214s (+66.1% 🔺) 1.398s 10 1.52x

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

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 10.712s 11.022s 0.310s 3 1.00x
💻 Local Express 10.825s (~) 11.021s (~) 0.196s 3 1.01x
💻 Local Nitro 10.829s (~) 11.021s (~) 0.192s 3 1.01x
🌐 MongoDB Next.js (Turbopack) 12.285s 13.021s 0.736s 3 1.15x
🐘 Postgres Nitro 20.244s (~) 21.060s (~) 0.816s 2 1.89x
🐘 Postgres Express 20.295s (~) 21.059s (~) 0.764s 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 29.900s (+69.8% 🔺) 31.722s (+64.8% 🔺) 1.822s 1 1.00x
▲ Vercel Next.js (Turbopack) 32.236s (+61.9% 🔺) 35.750s (+71.3% 🔺) 3.514s 1 1.08x
▲ Vercel Express 34.789s (+96.9% 🔺) 36.667s (+95.2% 🔺) 1.878s 1 1.16x

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

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 26.900s 27.050s 0.150s 3 1.00x
💻 Local Express 27.468s (~) 28.050s (~) 0.582s 3 1.02x
💻 Local Nitro 27.498s (~) 28.053s (~) 0.555s 3 1.02x
🌐 MongoDB Next.js (Turbopack) 30.633s 31.051s 0.418s 2 1.14x
🐘 Postgres Express 44.568s (-11.1% 🟢) 44.618s (-11.9% 🟢) 0.050s 2 1.66x
🐘 Postgres Nitro 50.503s (~) 51.133s (~) 0.630s 2 1.88x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 47.987s (+11.9% 🔺) 48.841s (+10.8% 🔺) 0.853s 2 1.00x
▲ Vercel Nitro 48.745s (+12.6% 🔺) 49.811s (+12.5% 🔺) 1.067s 2 1.02x
▲ Vercel Next.js (Turbopack) 49.098s (+13.6% 🔺) 50.966s (+13.7% 🔺) 1.868s 2 1.02x

🔍 Observability: Express | Nitro | 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.467s 55.099s 0.632s 2 1.00x
💻 Local Express 57.280s (~) 58.099s (~) 0.819s 2 1.05x
💻 Local Nitro 57.338s (~) 58.102s (~) 0.764s 2 1.05x
🌐 MongoDB Next.js (Turbopack) 61.229s 62.083s 0.854s 2 1.12x
🐘 Postgres Express 75.222s (-25.0% 🟢) 75.677s (-25.3% 🟢) 0.455s 2 1.38x
🐘 Postgres Nitro 100.600s (~) 101.233s (+1.0%) 0.633s 1 1.85x
💻 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) 91.490s (+3.9%) 92.117s (+3.1%) 0.627s 1 1.00x
▲ Vercel Nitro 148.610s (+71.5% 🔺) 149.845s (+70.5% 🔺) 1.235s 2 1.62x
▲ Vercel Express 162.807s (+84.3% 🔺) 163.538s (+83.5% 🔺) 0.731s 2 1.78x

🔍 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.262s 2.006s 0.744s 15 1.00x
💻 Local Express 1.412s (+0.8%) 2.005s (~) 0.593s 15 1.12x
💻 Local Nitro 1.425s (-0.7%) 2.005s (~) 0.580s 15 1.13x
🐘 Postgres Express 1.966s (-18.3% 🟢) 2.598s (-13.8% 🟢) 0.631s 12 1.56x
🌐 MongoDB Next.js (Turbopack) 2.148s 3.009s 0.861s 10 1.70x
🐘 Postgres Nitro 2.227s (+4.3%) 3.015s (~) 0.788s 10 1.76x
💻 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) 20.975s (+514.3% 🔺) 22.162s (+414.3% 🔺) 1.187s 3 1.00x
▲ Vercel Nitro 32.166s (+1292.9% 🔺) 32.906s (+898.2% 🔺) 0.740s 2 1.53x
▲ Vercel Express 35.742s (+1372.5% 🔺) 39.173s (+1061.1% 🔺) 3.431s 1 1.70x

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

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 2.534s 3.008s 0.474s 10 1.00x
💻 Local Nitro 2.577s (-1.0%) 3.009s (~) 0.432s 10 1.02x
💻 Local Express 2.612s (+2.3%) 3.008s (~) 0.396s 10 1.03x
🌐 MongoDB Next.js (Turbopack) 4.767s 5.180s 0.413s 6 1.88x
🐘 Postgres Nitro 7.655s (-9.8% 🟢) 8.280s (-8.4% 🟢) 0.625s 4 3.02x
🐘 Postgres Express 9.369s (+16.1% 🔺) 10.039s (+21.3% 🔺) 0.671s 3 3.70x
💻 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) 10.155s (+218.5% 🔺) 11.304s (+188.7% 🔺) 1.149s 3 1.00x
▲ Vercel Nitro 20.648s (+677.0% 🔺) 21.852s (+531.9% 🔺) 1.204s 2 2.03x
▲ Vercel Express 51.953s (+1572.0% 🔺) 52.861s (+1149.7% 🔺) 0.908s 1 5.12x

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

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 4.085s 5.011s 0.925s 6 1.00x
💻 Local Express 7.261s (~) 8.018s (~) 0.756s 4 1.78x
💻 Local Nitro 7.511s (+2.2%) 8.019s (~) 0.508s 4 1.84x
🌐 MongoDB Next.js (Turbopack) 10.105s 10.682s 0.577s 3 2.47x
🐘 Postgres Nitro 44.587s (-7.7% 🟢) 45.111s (-8.2% 🟢) 0.524s 1 10.91x
🐘 Postgres Express 47.323s (+13.7% 🔺) 48.131s (+14.3% 🔺) 0.808s 1 11.58x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 6.960s (+50.0% 🔺) 8.212s (+46.1% 🔺) 1.253s 4 1.00x
▲ Vercel Next.js (Turbopack) 9.053s (+78.2% 🔺) 10.268s (+68.3% 🔺) 1.215s 3 1.30x
▲ Vercel Nitro 34.075s (+919.8% 🔺) 35.754s (+731.4% 🔺) 1.679s 1 4.90x

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

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 1.246s 2.006s 0.760s 15 1.00x
💻 Local Express 1.398s (-1.6%) 2.006s (~) 0.608s 15 1.12x
💻 Local Nitro 1.425s (~) 2.005s (~) 0.580s 15 1.14x
🐘 Postgres Express 2.073s (+5.6% 🔺) 2.596s (+3.2%) 0.523s 12 1.66x
🌐 MongoDB Next.js (Turbopack) 2.160s 3.008s 0.848s 10 1.73x
🐘 Postgres Nitro 2.412s (+6.1% 🔺) 2.740s (+2.1%) 0.328s 11 1.93x
💻 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.124s (+38.9% 🔺) 4.513s (+40.3% 🔺) 1.389s 8 1.00x
▲ Vercel Nitro 8.739s (+228.4% 🔺) 10.210s (+180.6% 🔺) 1.472s 4 2.80x
▲ Vercel Express 23.552s (+965.1% 🔺) 25.084s (+666.7% 🔺) 1.532s 2 7.54x

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

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 2.516s 3.008s 0.492s 10 1.00x
💻 Local Express 2.650s (-1.3%) 3.007s (~) 0.357s 10 1.05x
💻 Local Nitro 2.740s (+2.2%) 3.007s (~) 0.267s 10 1.09x
🌐 MongoDB Next.js (Turbopack) 4.800s 5.176s 0.376s 6 1.91x
🐘 Postgres Express 9.192s (-19.7% 🟢) 9.778s (-18.8% 🟢) 0.586s 4 3.65x
🐘 Postgres Nitro 12.205s (-8.4% 🟢) 12.702s (-7.3% 🟢) 0.497s 3 4.85x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 17.652s (+567.2% 🔺) 18.884s (+430.9% 🔺) 1.232s 2 1.00x
▲ Vercel Nitro 18.106s (+685.3% 🔺) 19.402s (+509.9% 🔺) 1.296s 2 1.03x
▲ Vercel Next.js (Turbopack) 29.463s (+1074.7% 🔺) 30.186s (+777.6% 🔺) 0.723s 1 1.67x

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

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 4.084s 4.868s 0.784s 7 1.00x
💻 Local Express 7.739s (-4.1%) 8.022s (-3.0%) 0.283s 4 1.90x
💻 Local Nitro 8.021s (+1.9%) 8.519s (+3.0%) 0.498s 4 1.96x
🌐 MongoDB Next.js (Turbopack) 10.078s 10.684s 0.606s 3 2.47x
🐘 Postgres Express 46.142s (-10.4% 🟢) 47.116s (-9.6% 🟢) 0.974s 1 11.30x
🐘 Postgres Nitro 50.857s (-2.1%) 51.133s (-1.9%) 0.276s 1 12.45x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 7.106s (+84.2% 🔺) 8.604s (+85.0% 🔺) 1.498s 4 1.00x
▲ Vercel Nitro 15.852s (+411.8% 🔺) 17.206s (+331.8% 🔺) 1.354s 2 2.23x
▲ Vercel Next.js (Turbopack) 16.381s (+324.6% 🔺) 18.015s (+258.1% 🔺) 1.634s 2 2.31x

🔍 Observability: Express | Nitro | 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.150s 1.000s 0.001s 1.007s 0.857s 10 1.00x
💻 Local Express 0.169s (~) 1.002s (~) 0.011s (-5.2% 🟢) 1.016s (~) 0.847s 10 1.13x
💻 Local Nitro 0.171s (-2.3%) 1.002s (~) 0.011s (+1.8%) 1.017s (~) 0.845s 10 1.14x
🌐 MongoDB Next.js (Turbopack) 0.511s 0.940s 0.001s 1.009s 0.498s 10 3.41x
🐘 Postgres Express 1.315s (-46.5% 🟢) 1.806s (-30.1% 🟢) 0.001s (+7.7% 🔺) 2.013s (-33.2% 🟢) 0.698s 10 8.79x
🐘 Postgres Nitro 2.204s (-1.0%) 2.837s (+0.7%) 0.001s (-17.6% 🟢) 3.015s (~) 0.811s 10 14.72x
💻 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 🥇 Next.js (Turbopack) 2.291s (-7.9% 🟢) 2.990s (-2.5%) 0.349s (+50.3% 🔺) 4.051s (+5.0% 🔺) 1.760s 10 1.00x
▲ Vercel Nitro 4.783s (+146.8% 🔺) 4.629s (+72.1% 🔺) 0.513s (-12.7% 🟢) 6.879s (+80.1% 🔺) 2.097s 10 2.09x
▲ Vercel Express 5.390s (+174.1% 🔺) 5.770s (+118.9% 🔺) 0.173s (-71.4% 🟢) 6.996s (+84.3% 🔺) 1.606s 10 2.35x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 💻 Local 10/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
Contributor

github-actions bot commented Feb 18, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
❌ ▲ Vercel Production 533 1 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 110 46 9 165
✅ 📋 Other 135 0 21 156
Total 2495 47 275 2817

❌ Failed Tests

▲ Vercel Production (1 failed)

fastify (1 failed):

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

mongodb (1 failed):

  • webhookWorkflow

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 48 0 4
✅ express 48 0 4
❌ fastify 47 1 4
✅ hono 48 0 4
✅ nextjs-turbopack 51 0 1
✅ nextjs-webpack 51 0 1
✅ nitro 48 0 4
✅ nuxt 48 0 4
✅ sveltekit 48 0 4
✅ vite 48 0 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 48 1 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
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