Skip to content

[world-vercel] Handle null key response from run-key API endpoint#1174

Merged
TooTallNate merged 3 commits into
mainfrom
world-vercel-handle-null-run-key
Feb 24, 2026
Merged

[world-vercel] Handle null key response from run-key API endpoint#1174
TooTallNate merged 3 commits into
mainfrom
world-vercel-handle-null-run-key

Conversation

@TooTallNate
Copy link
Copy Markdown
Member

@TooTallNate TooTallNate commented Feb 24, 2026

Summary

  • Update fetchRunKey to handle the new { key: null } response from the Vercel API GET /v1/workflow/run-key/:deploymentId endpoint, returning undefined to signal encryption is disabled for that workflow run.
  • Update the Zod response schema to accept z.string().nullable() and the return type to Promise<Uint8Array | undefined>.
  • Add tests for fetchRunKey covering the null key, valid key, and error response cases.

Context

The Vercel API endpoint now returns { key: null } instead of a 404 when a deployment does not have an encryption key. Without this change, fetchRunKey would throw a Zod validation error on the null value.

All callers already handle undefined as "no encryption" via the existing rawKey ? await importKey(rawKey) : undefined pattern.

…dpoint

The API endpoint now returns { key: null } instead of a 404 when a
deployment has no encryption key. Update fetchRunKey to accept the
nullable response and return undefined, signaling that encryption
is disabled for that workflow run.
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Feb 24, 2026

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 24, 2026

🦋 Changeset detected

Latest commit: a902e18

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

This PR includes changesets to release 15 packages
Name Type
@workflow/world-vercel Patch
@workflow/cli Patch
@workflow/core Patch
workflow Patch
@workflow/world-testing Patch
@workflow/builders Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/web-shared Patch
@workflow/astro Patch
@workflow/nest Patch
@workflow/rollup Patch
@workflow/sveltekit Patch
@workflow/vite Patch
@workflow/nuxt Patch

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

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 24, 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.031s (-2.5%) 1.005s (~) 0.974s 10 1.00x
💻 Local Nitro 0.032s (+1.3%) 1.005s (~) 0.973s 10 1.02x
💻 Local Next.js (Turbopack) 0.039s 1.005s 0.966s 10 1.27x
🌐 Redis Next.js (Turbopack) 0.048s 1.005s 0.957s 10 1.55x
🐘 Postgres Express 0.056s (-0.9%) 1.012s (~) 0.956s 10 1.80x
🐘 Postgres Nitro 0.062s (+8.1% 🔺) 1.015s (~) 0.954s 10 1.99x
🌐 MongoDB Next.js (Turbopack) 0.101s 1.008s 0.907s 10 3.26x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 0.460s (-8.4% 🟢) 1.935s (+13.7% 🔺) 1.475s 10 1.00x
▲ Vercel Next.js (Turbopack) 0.613s (-11.7% 🟢) 2.309s (-13.7% 🟢) 1.696s 10 1.33x
▲ Vercel Nitro 1.563s (+243.4% 🔺) 3.245s (+78.0% 🔺) 1.682s 10 3.40x

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

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 1.100s 2.006s 0.906s 10 1.00x
💻 Local Express 1.102s (~) 2.005s (~) 0.903s 10 1.00x
💻 Local Nitro 1.105s (~) 2.005s (~) 0.900s 10 1.00x
🌐 Redis Next.js (Turbopack) 1.107s 2.006s 0.898s 10 1.01x
🐘 Postgres Express 1.130s (-0.7%) 2.010s (~) 0.880s 10 1.03x
🐘 Postgres Nitro 1.136s (~) 2.011s (~) 0.875s 10 1.03x
🌐 MongoDB Next.js (Turbopack) 1.303s 2.007s 0.705s 10 1.18x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.024s (-9.3% 🟢) 3.317s (+2.4%) 1.293s 10 1.00x
▲ Vercel Express 2.091s (+1.5%) 3.301s (-13.1% 🟢) 1.210s 10 1.03x
▲ Vercel Next.js (Turbopack) 2.159s (+5.1% 🔺) 4.348s (+30.3% 🔺) 2.189s 10 1.07x

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

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 10.686s 11.021s 0.336s 3 1.00x
💻 Local Next.js (Turbopack) 10.694s 11.021s 0.327s 3 1.00x
💻 Local Express 10.806s (~) 11.021s (~) 0.215s 3 1.01x
💻 Local Nitro 10.821s (~) 11.022s (~) 0.201s 3 1.01x
🐘 Postgres Express 10.851s (~) 11.044s (~) 0.193s 3 1.02x
🐘 Postgres Nitro 10.878s (~) 11.041s (~) 0.163s 3 1.02x
🌐 MongoDB Next.js (Turbopack) 12.293s 13.021s 0.728s 3 1.15x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 16.011s (-3.3%) 17.099s (-4.0%) 1.088s 2 1.00x
▲ Vercel Next.js (Turbopack) 16.285s (+2.5%) 18.772s (+5.2% 🔺) 2.487s 2 1.02x
▲ Vercel Nitro 16.294s (+3.7%) 16.964s (+2.0%) 0.670s 2 1.02x

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

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 26.868s 27.049s 0.181s 3 1.00x
🐘 Postgres Express 27.198s (~) 28.056s (~) 0.858s 3 1.01x
🐘 Postgres Nitro 27.230s (~) 28.064s (~) 0.834s 3 1.01x
💻 Local Next.js (Turbopack) 27.232s 28.050s 0.818s 3 1.01x
💻 Local Express 27.403s (~) 28.048s (~) 0.646s 3 1.02x
💻 Local Nitro 27.477s (~) 28.049s (~) 0.572s 3 1.02x
🌐 MongoDB Next.js (Turbopack) 30.548s 31.045s 0.497s 2 1.14x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 39.434s (-1.5%) 40.650s (-2.2%) 1.216s 2 1.00x
▲ Vercel Next.js (Turbopack) 39.549s (-2.8%) 42.958s (~) 3.409s 2 1.00x
▲ Vercel Nitro 43.401s (+10.8% 🔺) 45.136s (+13.7% 🔺) 1.734s 2 1.10x

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

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 54.266s 55.098s 0.832s 2 1.00x
🐘 Postgres Express 55.048s (~) 55.097s (~) 0.049s 2 1.01x
🐘 Postgres Nitro 55.114s (~) 55.611s (+0.9%) 0.496s 2 1.02x
💻 Local Next.js (Turbopack) 56.544s 57.100s 0.557s 2 1.04x
💻 Local Express 57.016s (~) 57.092s (-1.7%) 0.076s 2 1.05x
💻 Local Nitro 57.197s (~) 58.101s (~) 0.904s 2 1.05x
🌐 MongoDB Next.js (Turbopack) 61.207s 62.088s 0.881s 2 1.13x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 85.268s (+2.1%) 86.223s (+1.9%) 0.955s 2 1.00x
▲ Vercel Next.js (Turbopack) 86.675s (+2.5%) 87.709s (+1.8%) 1.034s 2 1.02x
▲ Vercel Nitro 89.481s (+2.1%) 91.158s (+2.9%) 1.677s 2 1.05x

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

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 1.251s 2.006s 0.755s 15 1.00x
🐘 Postgres Express 1.364s (~) 2.009s (~) 0.645s 15 1.09x
🐘 Postgres Nitro 1.375s (-0.8%) 2.010s (~) 0.635s 15 1.10x
💻 Local Express 1.394s (-0.7%) 2.004s (~) 0.611s 15 1.11x
💻 Local Next.js (Turbopack) 1.403s 2.006s 0.602s 15 1.12x
💻 Local Nitro 1.405s (-0.9%) 2.005s (~) 0.601s 15 1.12x
🌐 MongoDB Next.js (Turbopack) 2.149s 3.008s 0.859s 10 1.72x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.170s (-10.4% 🟢) 3.319s (-17.2% 🟢) 1.150s 10 1.00x
▲ Vercel Next.js (Turbopack) 2.268s (-21.6% 🟢) 3.939s (-1.1%) 1.672s 8 1.05x
▲ Vercel Nitro 2.511s (+13.3% 🔺) 3.645s (+9.0% 🔺) 1.134s 9 1.16x

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

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 2.026s (+1.4%) 2.599s (+3.3%) 0.573s 12 1.00x
🐘 Postgres Express 2.041s (+3.2%) 2.739s (+8.9% 🔺) 0.698s 11 1.01x
💻 Local Next.js (Turbopack) 2.442s 3.007s 0.564s 10 1.21x
🌐 Redis Next.js (Turbopack) 2.481s 3.007s 0.526s 10 1.22x
💻 Local Express 2.570s (-1.1%) 3.007s (~) 0.437s 10 1.27x
💻 Local Nitro 2.613s (+1.9%) 3.007s (~) 0.395s 10 1.29x
🌐 MongoDB Next.js (Turbopack) 4.766s 5.179s 0.413s 6 2.35x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.691s (-0.8%) 3.977s (-2.7%) 1.286s 8 1.00x
▲ Vercel Express 2.724s (+0.6%) 3.926s (-2.2%) 1.202s 8 1.01x
▲ Vercel Nitro 4.547s (+1.3%) 6.127s (+14.1% 🔺) 1.580s 5 1.69x

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

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 3.261s (-11.9% 🟢) 3.901s (-9.6% 🟢) 0.640s 8 1.00x
🐘 Postgres Nitro 3.482s (-7.7% 🟢) 4.307s (-3.3%) 0.825s 7 1.07x
🌐 Redis Next.js (Turbopack) 3.998s 4.294s 0.296s 7 1.23x
💻 Local Next.js (Turbopack) 6.769s 7.513s 0.745s 4 2.08x
💻 Local Express 6.955s (-6.7% 🟢) 7.518s (-6.3% 🟢) 0.563s 4 2.13x
💻 Local Nitro 7.421s (~) 8.022s (~) 0.600s 4 2.28x
🌐 MongoDB Next.js (Turbopack) 9.907s 10.352s 0.445s 3 3.04x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.543s (-21.6% 🟢) 3.552s (-11.6% 🟢) 1.009s 9 1.00x
▲ Vercel Next.js (Turbopack) 3.023s (-6.2% 🟢) 4.104s (-9.9% 🟢) 1.080s 8 1.19x
▲ Vercel Express 3.260s (+20.4% 🔺) 4.452s (+17.0% 🔺) 1.192s 8 1.28x

🔍 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.263s 2.006s 0.743s 15 1.00x
🐘 Postgres Express 1.356s (-1.9%) 2.011s (~) 0.655s 15 1.07x
🐘 Postgres Nitro 1.385s (+2.0%) 2.010s (~) 0.625s 15 1.10x
💻 Local Nitro 1.393s (-4.2%) 2.005s (~) 0.612s 15 1.10x
💻 Local Express 1.408s (+1.0%) 2.004s (~) 0.596s 15 1.11x
💻 Local Next.js (Turbopack) 1.417s 2.005s 0.588s 15 1.12x
🌐 MongoDB Next.js (Turbopack) 2.132s 3.008s 0.876s 10 1.69x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 1.975s (-4.8%) 3.087s (-18.4% 🟢) 1.112s 10 1.00x
▲ Vercel Nitro 2.025s (+4.2%) 3.357s (+12.3% 🔺) 1.332s 9 1.03x
▲ Vercel Next.js (Turbopack) 2.143s (-17.9% 🟢) 3.606s (-24.0% 🟢) 1.463s 9 1.09x

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

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.926s (-3.0%) 2.511s (~) 0.585s 12 1.00x
🐘 Postgres Nitro 1.970s (-1.1%) 2.516s (~) 0.546s 12 1.02x
🌐 Redis Next.js (Turbopack) 2.480s 3.008s 0.528s 10 1.29x
💻 Local Next.js (Turbopack) 2.483s 3.007s 0.524s 10 1.29x
💻 Local Express 2.668s (+1.3%) 3.007s (~) 0.339s 10 1.39x
💻 Local Nitro 2.690s (-2.8%) 3.007s (~) 0.317s 10 1.40x
🌐 MongoDB Next.js (Turbopack) 4.724s 5.345s 0.620s 6 2.45x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.363s (+12.0% 🔺) 3.449s (+10.1% 🔺) 1.086s 9 1.00x
▲ Vercel Next.js (Turbopack) 2.429s (-9.4% 🟢) 3.668s (-5.8% 🟢) 1.239s 9 1.03x
▲ Vercel Express 4.243s (+82.6% 🔺) 5.311s (+45.3% 🔺) 1.067s 6 1.80x

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

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 3.373s (-9.9% 🟢) 4.149s (-6.8% 🟢) 0.776s 8 1.00x
🐘 Postgres Express 3.464s (+4.9%) 4.272s (+6.2% 🔺) 0.807s 8 1.03x
🌐 Redis Next.js (Turbopack) 4.018s 4.581s 0.563s 7 1.19x
💻 Local Express 7.397s (-2.5%) 8.014s (~) 0.617s 4 2.19x
💻 Local Next.js (Turbopack) 7.645s 8.268s 0.623s 4 2.27x
💻 Local Nitro 7.920s (+3.0%) 8.276s (+3.2%) 0.355s 4 2.35x
🌐 MongoDB Next.js (Turbopack) 10.162s 10.688s 0.527s 3 3.01x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.682s (-27.4% 🟢) 3.352s (-30.5% 🟢) 0.670s 9 1.00x
▲ Vercel Next.js (Turbopack) 3.161s (+11.4% 🔺) 4.074s (+12.6% 🔺) 0.914s 8 1.18x
▲ Vercel Nitro 3.277s (-13.7% 🟢) 4.301s (-6.2% 🟢) 1.024s 7 1.22x

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

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 0.140s 1.000s 0.011s 1.016s 0.876s 10 1.00x
🌐 Redis Next.js (Turbopack) 0.145s 1.000s 0.002s 1.007s 0.862s 10 1.04x
💻 Local Express 0.170s (-1.1%) 1.002s (~) 0.010s (-7.6% 🟢) 1.015s (~) 0.844s 10 1.21x
💻 Local Nitro 0.172s (-1.4%) 1.003s (~) 0.010s (-3.7%) 1.016s (~) 0.844s 10 1.23x
🐘 Postgres Express 0.189s (-1.8%) 0.990s (-0.5%) 0.001s (-6.7% 🟢) 1.011s (~) 0.822s 10 1.35x
🐘 Postgres Nitro 0.197s (-2.0%) 0.991s (~) 0.002s (+6.7% 🔺) 1.011s (~) 0.814s 10 1.41x
🌐 MongoDB Next.js (Turbopack) 0.514s 0.935s 0.002s 1.009s 0.495s 10 3.67x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 1.542s (-15.7% 🟢) 2.182s (+5.5% 🔺) 0.117s (+35.6% 🔺) 2.708s (-6.4% 🟢) 1.166s 10 1.00x
▲ Vercel Next.js (Turbopack) 1.587s (-17.9% 🟢) 1.712s (-14.7% 🟢) 0.096s (-29.6% 🟢) 2.377s (-26.1% 🟢) 0.790s 10 1.03x
▲ Vercel Nitro 1.617s (-37.6% 🟢) 2.078s (-39.7% 🟢) 0.123s (-6.4% 🟢) 2.717s (-31.5% 🟢) 1.100s 10 1.05x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 🐘 Postgres 6/12
Next.js (Turbopack) 🌐 Redis 5/12
Nitro 🐘 Postgres 6/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 24, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 523 0 49 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 2485 46 286 2817

❌ Failed Tests

🌍 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 47 0 5
✅ example 47 0 5
✅ express 47 0 5
✅ fastify 47 0 5
✅ hono 47 0 5
✅ nextjs-turbopack 50 0 2
✅ nextjs-webpack 50 0 2
✅ nitro 47 0 5
✅ nuxt 47 0 5
✅ sveltekit 47 0 5
✅ vite 47 0 5
✅ 💻 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

@TooTallNate TooTallNate marked this pull request as ready for review February 24, 2026 00:42
@TooTallNate TooTallNate requested a review from a team as a code owner February 24, 2026 00:42
Copilot AI review requested due to automatic review settings February 24, 2026 00:42
@TooTallNate TooTallNate enabled auto-merge (squash) February 24, 2026 00:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates @workflow/world-vercel’s encryption key retrieval to tolerate the Vercel API’s new { key: null } response for deployments without encryption enabled, and adds test coverage for the new behavior.

Changes:

  • Update fetchRunKey to accept key: string | null and return undefined when key is null.
  • Adjust Zod response schema to allow nullable keys.
  • Add fetchRunKey tests for null key, valid key, and non-OK HTTP responses.

Reviewed changes

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

File Description
packages/world-vercel/src/encryption.ts Accepts nullable key from the API and returns undefined when encryption is disabled.
packages/world-vercel/src/encryption.test.ts Adds unit tests covering fetchRunKey’s new null-key behavior and error handling.

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

Comment thread packages/world-vercel/src/encryption.ts Outdated
Comment thread packages/world-vercel/src/encryption.test.ts
Comment thread packages/world-vercel/src/encryption.test.ts
Comment thread packages/world-vercel/src/encryption.test.ts
- Include Zod error details in the validation error message for better debugging
- Move fetch mock restoration to afterEach to prevent mock leakage on test failure
@TooTallNate TooTallNate changed the title [@workflow/world-vercel] Handle null key response from run-key API endpoint [world-vercel] Handle null key response from run-key API endpoint Feb 24, 2026
@TooTallNate TooTallNate enabled auto-merge (squash) February 24, 2026 06:51
@TooTallNate TooTallNate merged commit e1a2f47 into main Feb 24, 2026
169 of 172 checks passed
@TooTallNate TooTallNate deleted the world-vercel-handle-null-run-key branch February 24, 2026 06:51
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.

3 participants