Skip to content

Update to latest swc/core and preserve JSX - #507

Merged
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react
Dec 3, 2025
Merged

Update to latest swc/core and preserve JSX#507
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react

Conversation

@ijjk

@ijjkijjk commented Dec 3, 2025

Copy link
Copy Markdown
Member

This updates to preserve JSX when transforming with our custom workflow SWC pass as JSX is meant to be consumed by the framework as each can handle it differently and we can't guess what the correct setup exactly is for each framework/app.

fixes: #212
x-ref: #504 (comment)

@changeset-bot

changeset-botBot commented Dec 3, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2d0ae6b

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

This PR includes changesets to release 12 packages
NameType
@workflow/swc-pluginPatch
@workflow/buildersPatch
@workflow/astroPatch
@workflow/nextPatch
@workflow/cliPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
workflowPatch
@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 3, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 3, 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
💻 Local🥇 Next.js (Turbopack)0.039s (-11.2% 🟢)1.016s (~)0.977s101.00x
🌐 StarterNext.js (Turbopack)0.040s (+25.0% 🔺)1.014s (~)0.974s101.03x
🌐 RedisNext.js (Turbopack)0.041s (-5.5% 🟢)1.018s (~)0.977s101.06x
💻 LocalNitro0.044s (+5.5% 🔺)1.006s (~)0.961s101.15x
💻 LocalExpress0.046s (+2.2%)1.007s (~)0.961s101.19x
🌐 MongoDBNext.js (Turbopack)0.112s (+80.9% 🔺)1.013s (~)0.902s102.88x
🐘 PostgresExpress0.122s (-66.3% 🟢)1.029s (+1.4%)0.907s103.15x
🐘 PostgresNitro0.276s (-16.0% 🟢)1.016s (~)0.740s107.12x
🐘 PostgresNext.js (Turbopack)0.398s (+32.8% 🔺)1.130s (+8.9% 🔺)0.732s1010.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.531s (-21.3% 🟢)1.405s (-15.0% 🟢)0.874s101.00x
▲ VercelExpress0.552s (-15.7% 🟢)1.415s (-9.2% 🟢)0.864s101.04x
▲ VercelNitro0.609s (+17.8% 🔺)1.497s (+8.1% 🔺)0.889s101.15x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.081s (+24.8% 🔺)1.010s (~)0.930s101.00x
💻 LocalNext.js (Turbopack)0.096s (-6.6% 🟢)1.010s (~)0.913s101.20x
🌐 RedisNext.js (Turbopack)0.100s (-6.7% 🟢)1.012s (~)0.912s101.24x
💻 LocalNitro0.112s (+1.1%)1.005s (~)0.893s101.39x
💻 LocalExpress0.112s (-2.3%)1.006s (~)0.894s101.40x
🌐 MongoDBNext.js (Turbopack)0.293s (~)1.011s (~)0.718s103.64x
🐘 PostgresNext.js (Turbopack)0.310s (-54.3% 🟢)1.017s (~)0.707s103.85x
🐘 PostgresNitro1.116s (-6.7% 🟢)2.012s (~)0.896s1013.86x
🐘 PostgresExpress1.466s (+20.1% 🔺)2.012s (~)0.545s1018.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.456s (-5.6% 🟢)2.411s (-2.5%)0.955s101.00x
▲ VercelNitro1.504s (-7.1% 🟢)2.463s (~)0.959s101.03x
▲ VercelExpress1.540s (-1.6%)2.460s (-0.5%)0.921s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.562s (+21.6% 🔺)1.008s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)0.589s (-10.3% 🟢)1.008s (~)0.419s51.05x
🌐 RedisNext.js (Turbopack)0.616s (-6.3% 🟢)1.010s (~)0.394s51.10x
💻 LocalExpress0.769s (-2.7%)1.006s (~)0.237s51.37x
💻 LocalNitro0.783s (+1.2%)1.006s (~)0.223s51.39x
🌐 MongoDBNext.js (Turbopack)2.135s (-0.9%)3.013s (~)0.878s53.80x
🐘 PostgresNext.js (Turbopack)4.675s (-13.9% 🟢)5.020s (-16.7% 🟢)0.345s58.31x
🐘 PostgresNitro10.106s (+97.2% 🔺)10.620s (+76.6% 🔺)0.514s517.97x
🐘 PostgresExpress10.360s (+1.6%)11.023s (~)0.664s518.42x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.579s (-3.9%)11.239s (-5.4% 🟢)0.660s51.00x
▲ VercelNitro10.668s (~)11.156s (-4.5%)0.488s51.01x
▲ VercelExpress11.019s (-4.0%)11.946s (-2.7%)0.927s51.04x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.357s (+8.0% 🔺)1.008s (~)0.651s51.00x
🌐 RedisNext.js (Turbopack)0.362s (-5.7% 🟢)1.010s (~)0.648s51.01x
💻 LocalNext.js (Turbopack)0.366s (-10.6% 🟢)1.008s (~)0.643s51.02x
💻 LocalNitro0.388s (-0.9%)1.005s (~)0.617s51.09x
💻 LocalExpress0.395s (-1.5%)1.005s (~)0.610s51.11x
🐘 PostgresNext.js (Turbopack)1.000s (+2.6%)1.222s (+17.9% 🔺)0.222s52.80x
🐘 PostgresExpress1.456s (-14.8% 🟢)2.010s (~)0.554s54.07x
🐘 PostgresNitro1.604s (+32.1% 🔺)2.010s (~)0.406s54.49x
🌐 MongoDBNext.js (Turbopack)1.638s (-4.1%)2.010s (-9.1% 🟢)0.373s54.58x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.727s (-2.3%)3.479s (-1.0%)0.752s51.00x
▲ VercelNitro2.821s (-11.7% 🟢)3.731s (+0.5%)0.909s51.03x
▲ VercelExpress2.881s (-3.4%)3.471s (-6.0% 🟢)0.590s51.06x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.130s (+26.9% 🔺)1.004s (~)1.009s (~)0.879s101.00x
💻 LocalNext.js (Turbopack)0.136s (-9.3% 🟢)1.001s (~)1.013s (~)0.877s101.05x
🌐 RedisNext.js (Turbopack)0.146s (-3.8%)1.003s (~)1.011s (~)0.865s101.12x
💻 LocalExpress0.173s (-4.3%)0.992s (~)1.008s (~)0.836s101.33x
💻 LocalNitro0.181s (+3.0%)0.991s (~)1.008s (~)0.827s101.39x
🌐 MongoDBNext.js (Turbopack)0.505s (+7.2% 🔺)0.939s (-3.7%)1.011s (~)0.506s103.89x
🐘 PostgresExpress0.894s (-61.8% 🟢)1.267s (-53.1% 🟢)1.411s (-53.2% 🟢)0.517s106.88x
🐘 PostgresNext.js (Turbopack)0.954s (-12.4% 🟢)0.822s (-57.9% 🟢)1.114s (-44.8% 🟢)0.160s107.34x
🐘 PostgresNitro1.293s (-8.5% 🟢)1.764s (+8.6% 🔺)2.012s (~)0.718s109.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.446s (-1.0%)3.055s (~)3.484s (+1.5%)1.039s101.00x
▲ VercelNext.js (Turbopack)2.500s (+2.3%)2.995s (+1.9%)3.419s (-4.4%)0.919s101.02x
▲ VercelExpress2.722s (+14.8% 🔺)3.184s (+17.3% 🔺)3.622s (+18.0% 🔺)0.900s101.11x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/5
🐘 PostgresNext.js (Turbopack)3/5
▲ VercelNext.js (Turbopack)4/5

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/5
Next.js (Turbopack)🌐 Starter4/5
Nitro💻 Local5/5
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)
  • 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)

@github-actions

github-actionsBot commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds83330116
Total3593310402

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
✅ redis2600
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240

⚠️Some E2E test jobs failed:

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

Check the workflow run for details.

@socket-security

socket-securityBot commented Dec 3, 2025

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Updatedcargo/​swc_core@​26.4.5 ⏵ 49.0.081-1910093+4100100
Updatedcargo/​serde@​1.0.219 ⏵ 1.0.2288110093100100
Updatednpm/​@​swc/​core@​1.11.24 ⏵ 1.15.39210010095100
Updatedcargo/​testing@​14.0.1 ⏵ 19.0.09910093100100

View full report

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚀

Comment threadpackages/core/e2e/e2e.test.ts Outdated
Comment on lines +116 to +121
if (!(isNext && isLocal)) {
// only works with framework that transpiles react and
// doesn't work on Vercel due to eval hack so react isn't
// bundled in function
return;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this be a test.skipIf() instead?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Oh TIL about skipIf can use that yea

run: pnpm turbo run build --filter='!./workbench/*'

- name: Resolve symlinks
run: ./scripts/resolve-symlinks.sh workbench/${{ matrix.app.name }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems fine, but why is it necessary?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Was matching dev tests for consistency and to eliminate causes for failure

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.

@workflow/next loader breaks automatic JSX transform (React is not defined during SSR)

3 participants

@ijjk@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
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;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Update to latest swc/core and preserve JSX by ijjk · Pull Request #507 · vercel/workflow · GitHub
Skip to content

Update to latest swc/core and preserve JSX - #507

Merged
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react
Dec 3, 2025
Merged

Update to latest swc/core and preserve JSX#507
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react

Conversation

@ijjk

@ijjkijjk commented Dec 3, 2025

Copy link
Copy Markdown
Member

This updates to preserve JSX when transforming with our custom workflow SWC pass as JSX is meant to be consumed by the framework as each can handle it differently and we can't guess what the correct setup exactly is for each framework/app.

fixes: #212
x-ref: #504 (comment)

@changeset-bot

changeset-botBot commented Dec 3, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2d0ae6b

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

This PR includes changesets to release 12 packages
NameType
@workflow/swc-pluginPatch
@workflow/buildersPatch
@workflow/astroPatch
@workflow/nextPatch
@workflow/cliPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
workflowPatch
@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 3, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 3, 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
💻 Local🥇 Next.js (Turbopack)0.039s (-11.2% 🟢)1.016s (~)0.977s101.00x
🌐 StarterNext.js (Turbopack)0.040s (+25.0% 🔺)1.014s (~)0.974s101.03x
🌐 RedisNext.js (Turbopack)0.041s (-5.5% 🟢)1.018s (~)0.977s101.06x
💻 LocalNitro0.044s (+5.5% 🔺)1.006s (~)0.961s101.15x
💻 LocalExpress0.046s (+2.2%)1.007s (~)0.961s101.19x
🌐 MongoDBNext.js (Turbopack)0.112s (+80.9% 🔺)1.013s (~)0.902s102.88x
🐘 PostgresExpress0.122s (-66.3% 🟢)1.029s (+1.4%)0.907s103.15x
🐘 PostgresNitro0.276s (-16.0% 🟢)1.016s (~)0.740s107.12x
🐘 PostgresNext.js (Turbopack)0.398s (+32.8% 🔺)1.130s (+8.9% 🔺)0.732s1010.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.531s (-21.3% 🟢)1.405s (-15.0% 🟢)0.874s101.00x
▲ VercelExpress0.552s (-15.7% 🟢)1.415s (-9.2% 🟢)0.864s101.04x
▲ VercelNitro0.609s (+17.8% 🔺)1.497s (+8.1% 🔺)0.889s101.15x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.081s (+24.8% 🔺)1.010s (~)0.930s101.00x
💻 LocalNext.js (Turbopack)0.096s (-6.6% 🟢)1.010s (~)0.913s101.20x
🌐 RedisNext.js (Turbopack)0.100s (-6.7% 🟢)1.012s (~)0.912s101.24x
💻 LocalNitro0.112s (+1.1%)1.005s (~)0.893s101.39x
💻 LocalExpress0.112s (-2.3%)1.006s (~)0.894s101.40x
🌐 MongoDBNext.js (Turbopack)0.293s (~)1.011s (~)0.718s103.64x
🐘 PostgresNext.js (Turbopack)0.310s (-54.3% 🟢)1.017s (~)0.707s103.85x
🐘 PostgresNitro1.116s (-6.7% 🟢)2.012s (~)0.896s1013.86x
🐘 PostgresExpress1.466s (+20.1% 🔺)2.012s (~)0.545s1018.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.456s (-5.6% 🟢)2.411s (-2.5%)0.955s101.00x
▲ VercelNitro1.504s (-7.1% 🟢)2.463s (~)0.959s101.03x
▲ VercelExpress1.540s (-1.6%)2.460s (-0.5%)0.921s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.562s (+21.6% 🔺)1.008s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)0.589s (-10.3% 🟢)1.008s (~)0.419s51.05x
🌐 RedisNext.js (Turbopack)0.616s (-6.3% 🟢)1.010s (~)0.394s51.10x
💻 LocalExpress0.769s (-2.7%)1.006s (~)0.237s51.37x
💻 LocalNitro0.783s (+1.2%)1.006s (~)0.223s51.39x
🌐 MongoDBNext.js (Turbopack)2.135s (-0.9%)3.013s (~)0.878s53.80x
🐘 PostgresNext.js (Turbopack)4.675s (-13.9% 🟢)5.020s (-16.7% 🟢)0.345s58.31x
🐘 PostgresNitro10.106s (+97.2% 🔺)10.620s (+76.6% 🔺)0.514s517.97x
🐘 PostgresExpress10.360s (+1.6%)11.023s (~)0.664s518.42x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.579s (-3.9%)11.239s (-5.4% 🟢)0.660s51.00x
▲ VercelNitro10.668s (~)11.156s (-4.5%)0.488s51.01x
▲ VercelExpress11.019s (-4.0%)11.946s (-2.7%)0.927s51.04x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.357s (+8.0% 🔺)1.008s (~)0.651s51.00x
🌐 RedisNext.js (Turbopack)0.362s (-5.7% 🟢)1.010s (~)0.648s51.01x
💻 LocalNext.js (Turbopack)0.366s (-10.6% 🟢)1.008s (~)0.643s51.02x
💻 LocalNitro0.388s (-0.9%)1.005s (~)0.617s51.09x
💻 LocalExpress0.395s (-1.5%)1.005s (~)0.610s51.11x
🐘 PostgresNext.js (Turbopack)1.000s (+2.6%)1.222s (+17.9% 🔺)0.222s52.80x
🐘 PostgresExpress1.456s (-14.8% 🟢)2.010s (~)0.554s54.07x
🐘 PostgresNitro1.604s (+32.1% 🔺)2.010s (~)0.406s54.49x
🌐 MongoDBNext.js (Turbopack)1.638s (-4.1%)2.010s (-9.1% 🟢)0.373s54.58x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.727s (-2.3%)3.479s (-1.0%)0.752s51.00x
▲ VercelNitro2.821s (-11.7% 🟢)3.731s (+0.5%)0.909s51.03x
▲ VercelExpress2.881s (-3.4%)3.471s (-6.0% 🟢)0.590s51.06x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.130s (+26.9% 🔺)1.004s (~)1.009s (~)0.879s101.00x
💻 LocalNext.js (Turbopack)0.136s (-9.3% 🟢)1.001s (~)1.013s (~)0.877s101.05x
🌐 RedisNext.js (Turbopack)0.146s (-3.8%)1.003s (~)1.011s (~)0.865s101.12x
💻 LocalExpress0.173s (-4.3%)0.992s (~)1.008s (~)0.836s101.33x
💻 LocalNitro0.181s (+3.0%)0.991s (~)1.008s (~)0.827s101.39x
🌐 MongoDBNext.js (Turbopack)0.505s (+7.2% 🔺)0.939s (-3.7%)1.011s (~)0.506s103.89x
🐘 PostgresExpress0.894s (-61.8% 🟢)1.267s (-53.1% 🟢)1.411s (-53.2% 🟢)0.517s106.88x
🐘 PostgresNext.js (Turbopack)0.954s (-12.4% 🟢)0.822s (-57.9% 🟢)1.114s (-44.8% 🟢)0.160s107.34x
🐘 PostgresNitro1.293s (-8.5% 🟢)1.764s (+8.6% 🔺)2.012s (~)0.718s109.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.446s (-1.0%)3.055s (~)3.484s (+1.5%)1.039s101.00x
▲ VercelNext.js (Turbopack)2.500s (+2.3%)2.995s (+1.9%)3.419s (-4.4%)0.919s101.02x
▲ VercelExpress2.722s (+14.8% 🔺)3.184s (+17.3% 🔺)3.622s (+18.0% 🔺)0.900s101.11x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/5
🐘 PostgresNext.js (Turbopack)3/5
▲ VercelNext.js (Turbopack)4/5

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/5
Next.js (Turbopack)🌐 Starter4/5
Nitro💻 Local5/5
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)
  • 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)

@github-actions

github-actionsBot commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds83330116
Total3593310402

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
✅ redis2600
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240

⚠️Some E2E test jobs failed:

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

Check the workflow run for details.

@socket-security

socket-securityBot commented Dec 3, 2025

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Updatedcargo/​swc_core@​26.4.5 ⏵ 49.0.081-1910093+4100100
Updatedcargo/​serde@​1.0.219 ⏵ 1.0.2288110093100100
Updatednpm/​@​swc/​core@​1.11.24 ⏵ 1.15.39210010095100
Updatedcargo/​testing@​14.0.1 ⏵ 19.0.09910093100100

View full report

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚀

Comment threadpackages/core/e2e/e2e.test.ts Outdated
Comment on lines +116 to +121
if (!(isNext && isLocal)) {
// only works with framework that transpiles react and
// doesn't work on Vercel due to eval hack so react isn't
// bundled in function
return;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this be a test.skipIf() instead?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Oh TIL about skipIf can use that yea

run: pnpm turbo run build --filter='!./workbench/*'

- name: Resolve symlinks
run: ./scripts/resolve-symlinks.sh workbench/${{ matrix.app.name }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems fine, but why is it necessary?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Was matching dev tests for consistency and to eliminate causes for failure

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.

@workflow/next loader breaks automatic JSX transform (React is not defined during SSR)

3 participants

@ijjk@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Update to latest swc/core and preserve JSX by ijjk · Pull Request #507 · vercel/workflow · GitHub
Skip to content

Update to latest swc/core and preserve JSX - #507

Merged
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react
Dec 3, 2025
Merged

Update to latest swc/core and preserve JSX#507
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react

Conversation

@ijjk

@ijjkijjk commented Dec 3, 2025

Copy link
Copy Markdown
Member

This updates to preserve JSX when transforming with our custom workflow SWC pass as JSX is meant to be consumed by the framework as each can handle it differently and we can't guess what the correct setup exactly is for each framework/app.

fixes: #212
x-ref: #504 (comment)

@changeset-bot

changeset-botBot commented Dec 3, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2d0ae6b

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

This PR includes changesets to release 12 packages
NameType
@workflow/swc-pluginPatch
@workflow/buildersPatch
@workflow/astroPatch
@workflow/nextPatch
@workflow/cliPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
workflowPatch
@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 3, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 3, 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
💻 Local🥇 Next.js (Turbopack)0.039s (-11.2% 🟢)1.016s (~)0.977s101.00x
🌐 StarterNext.js (Turbopack)0.040s (+25.0% 🔺)1.014s (~)0.974s101.03x
🌐 RedisNext.js (Turbopack)0.041s (-5.5% 🟢)1.018s (~)0.977s101.06x
💻 LocalNitro0.044s (+5.5% 🔺)1.006s (~)0.961s101.15x
💻 LocalExpress0.046s (+2.2%)1.007s (~)0.961s101.19x
🌐 MongoDBNext.js (Turbopack)0.112s (+80.9% 🔺)1.013s (~)0.902s102.88x
🐘 PostgresExpress0.122s (-66.3% 🟢)1.029s (+1.4%)0.907s103.15x
🐘 PostgresNitro0.276s (-16.0% 🟢)1.016s (~)0.740s107.12x
🐘 PostgresNext.js (Turbopack)0.398s (+32.8% 🔺)1.130s (+8.9% 🔺)0.732s1010.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.531s (-21.3% 🟢)1.405s (-15.0% 🟢)0.874s101.00x
▲ VercelExpress0.552s (-15.7% 🟢)1.415s (-9.2% 🟢)0.864s101.04x
▲ VercelNitro0.609s (+17.8% 🔺)1.497s (+8.1% 🔺)0.889s101.15x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.081s (+24.8% 🔺)1.010s (~)0.930s101.00x
💻 LocalNext.js (Turbopack)0.096s (-6.6% 🟢)1.010s (~)0.913s101.20x
🌐 RedisNext.js (Turbopack)0.100s (-6.7% 🟢)1.012s (~)0.912s101.24x
💻 LocalNitro0.112s (+1.1%)1.005s (~)0.893s101.39x
💻 LocalExpress0.112s (-2.3%)1.006s (~)0.894s101.40x
🌐 MongoDBNext.js (Turbopack)0.293s (~)1.011s (~)0.718s103.64x
🐘 PostgresNext.js (Turbopack)0.310s (-54.3% 🟢)1.017s (~)0.707s103.85x
🐘 PostgresNitro1.116s (-6.7% 🟢)2.012s (~)0.896s1013.86x
🐘 PostgresExpress1.466s (+20.1% 🔺)2.012s (~)0.545s1018.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.456s (-5.6% 🟢)2.411s (-2.5%)0.955s101.00x
▲ VercelNitro1.504s (-7.1% 🟢)2.463s (~)0.959s101.03x
▲ VercelExpress1.540s (-1.6%)2.460s (-0.5%)0.921s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.562s (+21.6% 🔺)1.008s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)0.589s (-10.3% 🟢)1.008s (~)0.419s51.05x
🌐 RedisNext.js (Turbopack)0.616s (-6.3% 🟢)1.010s (~)0.394s51.10x
💻 LocalExpress0.769s (-2.7%)1.006s (~)0.237s51.37x
💻 LocalNitro0.783s (+1.2%)1.006s (~)0.223s51.39x
🌐 MongoDBNext.js (Turbopack)2.135s (-0.9%)3.013s (~)0.878s53.80x
🐘 PostgresNext.js (Turbopack)4.675s (-13.9% 🟢)5.020s (-16.7% 🟢)0.345s58.31x
🐘 PostgresNitro10.106s (+97.2% 🔺)10.620s (+76.6% 🔺)0.514s517.97x
🐘 PostgresExpress10.360s (+1.6%)11.023s (~)0.664s518.42x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.579s (-3.9%)11.239s (-5.4% 🟢)0.660s51.00x
▲ VercelNitro10.668s (~)11.156s (-4.5%)0.488s51.01x
▲ VercelExpress11.019s (-4.0%)11.946s (-2.7%)0.927s51.04x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.357s (+8.0% 🔺)1.008s (~)0.651s51.00x
🌐 RedisNext.js (Turbopack)0.362s (-5.7% 🟢)1.010s (~)0.648s51.01x
💻 LocalNext.js (Turbopack)0.366s (-10.6% 🟢)1.008s (~)0.643s51.02x
💻 LocalNitro0.388s (-0.9%)1.005s (~)0.617s51.09x
💻 LocalExpress0.395s (-1.5%)1.005s (~)0.610s51.11x
🐘 PostgresNext.js (Turbopack)1.000s (+2.6%)1.222s (+17.9% 🔺)0.222s52.80x
🐘 PostgresExpress1.456s (-14.8% 🟢)2.010s (~)0.554s54.07x
🐘 PostgresNitro1.604s (+32.1% 🔺)2.010s (~)0.406s54.49x
🌐 MongoDBNext.js (Turbopack)1.638s (-4.1%)2.010s (-9.1% 🟢)0.373s54.58x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.727s (-2.3%)3.479s (-1.0%)0.752s51.00x
▲ VercelNitro2.821s (-11.7% 🟢)3.731s (+0.5%)0.909s51.03x
▲ VercelExpress2.881s (-3.4%)3.471s (-6.0% 🟢)0.590s51.06x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.130s (+26.9% 🔺)1.004s (~)1.009s (~)0.879s101.00x
💻 LocalNext.js (Turbopack)0.136s (-9.3% 🟢)1.001s (~)1.013s (~)0.877s101.05x
🌐 RedisNext.js (Turbopack)0.146s (-3.8%)1.003s (~)1.011s (~)0.865s101.12x
💻 LocalExpress0.173s (-4.3%)0.992s (~)1.008s (~)0.836s101.33x
💻 LocalNitro0.181s (+3.0%)0.991s (~)1.008s (~)0.827s101.39x
🌐 MongoDBNext.js (Turbopack)0.505s (+7.2% 🔺)0.939s (-3.7%)1.011s (~)0.506s103.89x
🐘 PostgresExpress0.894s (-61.8% 🟢)1.267s (-53.1% 🟢)1.411s (-53.2% 🟢)0.517s106.88x
🐘 PostgresNext.js (Turbopack)0.954s (-12.4% 🟢)0.822s (-57.9% 🟢)1.114s (-44.8% 🟢)0.160s107.34x
🐘 PostgresNitro1.293s (-8.5% 🟢)1.764s (+8.6% 🔺)2.012s (~)0.718s109.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.446s (-1.0%)3.055s (~)3.484s (+1.5%)1.039s101.00x
▲ VercelNext.js (Turbopack)2.500s (+2.3%)2.995s (+1.9%)3.419s (-4.4%)0.919s101.02x
▲ VercelExpress2.722s (+14.8% 🔺)3.184s (+17.3% 🔺)3.622s (+18.0% 🔺)0.900s101.11x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/5
🐘 PostgresNext.js (Turbopack)3/5
▲ VercelNext.js (Turbopack)4/5

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/5
Next.js (Turbopack)🌐 Starter4/5
Nitro💻 Local5/5
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)
  • 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)

@github-actions

github-actionsBot commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds83330116
Total3593310402

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
✅ redis2600
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240

⚠️Some E2E test jobs failed:

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

Check the workflow run for details.

@socket-security

socket-securityBot commented Dec 3, 2025

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Updatedcargo/​swc_core@​26.4.5 ⏵ 49.0.081-1910093+4100100
Updatedcargo/​serde@​1.0.219 ⏵ 1.0.2288110093100100
Updatednpm/​@​swc/​core@​1.11.24 ⏵ 1.15.39210010095100
Updatedcargo/​testing@​14.0.1 ⏵ 19.0.09910093100100

View full report

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚀

Comment threadpackages/core/e2e/e2e.test.ts Outdated
Comment on lines +116 to +121
if (!(isNext && isLocal)) {
// only works with framework that transpiles react and
// doesn't work on Vercel due to eval hack so react isn't
// bundled in function
return;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this be a test.skipIf() instead?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Oh TIL about skipIf can use that yea

run: pnpm turbo run build --filter='!./workbench/*'

- name: Resolve symlinks
run: ./scripts/resolve-symlinks.sh workbench/${{ matrix.app.name }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems fine, but why is it necessary?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Was matching dev tests for consistency and to eliminate causes for failure

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.

@workflow/next loader breaks automatic JSX transform (React is not defined during SSR)

3 participants

@ijjk@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Update to latest swc/core and preserve JSX by ijjk · Pull Request #507 · vercel/workflow · GitHub
Skip to content

Update to latest swc/core and preserve JSX - #507

Merged
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react
Dec 3, 2025
Merged

Update to latest swc/core and preserve JSX#507
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react

Conversation

@ijjk

@ijjkijjk commented Dec 3, 2025

Copy link
Copy Markdown
Member

This updates to preserve JSX when transforming with our custom workflow SWC pass as JSX is meant to be consumed by the framework as each can handle it differently and we can't guess what the correct setup exactly is for each framework/app.

fixes: #212
x-ref: #504 (comment)

@changeset-bot

changeset-botBot commented Dec 3, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2d0ae6b

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

This PR includes changesets to release 12 packages
NameType
@workflow/swc-pluginPatch
@workflow/buildersPatch
@workflow/astroPatch
@workflow/nextPatch
@workflow/cliPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
workflowPatch
@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 3, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 3, 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
💻 Local🥇 Next.js (Turbopack)0.039s (-11.2% 🟢)1.016s (~)0.977s101.00x
🌐 StarterNext.js (Turbopack)0.040s (+25.0% 🔺)1.014s (~)0.974s101.03x
🌐 RedisNext.js (Turbopack)0.041s (-5.5% 🟢)1.018s (~)0.977s101.06x
💻 LocalNitro0.044s (+5.5% 🔺)1.006s (~)0.961s101.15x
💻 LocalExpress0.046s (+2.2%)1.007s (~)0.961s101.19x
🌐 MongoDBNext.js (Turbopack)0.112s (+80.9% 🔺)1.013s (~)0.902s102.88x
🐘 PostgresExpress0.122s (-66.3% 🟢)1.029s (+1.4%)0.907s103.15x
🐘 PostgresNitro0.276s (-16.0% 🟢)1.016s (~)0.740s107.12x
🐘 PostgresNext.js (Turbopack)0.398s (+32.8% 🔺)1.130s (+8.9% 🔺)0.732s1010.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.531s (-21.3% 🟢)1.405s (-15.0% 🟢)0.874s101.00x
▲ VercelExpress0.552s (-15.7% 🟢)1.415s (-9.2% 🟢)0.864s101.04x
▲ VercelNitro0.609s (+17.8% 🔺)1.497s (+8.1% 🔺)0.889s101.15x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.081s (+24.8% 🔺)1.010s (~)0.930s101.00x
💻 LocalNext.js (Turbopack)0.096s (-6.6% 🟢)1.010s (~)0.913s101.20x
🌐 RedisNext.js (Turbopack)0.100s (-6.7% 🟢)1.012s (~)0.912s101.24x
💻 LocalNitro0.112s (+1.1%)1.005s (~)0.893s101.39x
💻 LocalExpress0.112s (-2.3%)1.006s (~)0.894s101.40x
🌐 MongoDBNext.js (Turbopack)0.293s (~)1.011s (~)0.718s103.64x
🐘 PostgresNext.js (Turbopack)0.310s (-54.3% 🟢)1.017s (~)0.707s103.85x
🐘 PostgresNitro1.116s (-6.7% 🟢)2.012s (~)0.896s1013.86x
🐘 PostgresExpress1.466s (+20.1% 🔺)2.012s (~)0.545s1018.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.456s (-5.6% 🟢)2.411s (-2.5%)0.955s101.00x
▲ VercelNitro1.504s (-7.1% 🟢)2.463s (~)0.959s101.03x
▲ VercelExpress1.540s (-1.6%)2.460s (-0.5%)0.921s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.562s (+21.6% 🔺)1.008s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)0.589s (-10.3% 🟢)1.008s (~)0.419s51.05x
🌐 RedisNext.js (Turbopack)0.616s (-6.3% 🟢)1.010s (~)0.394s51.10x
💻 LocalExpress0.769s (-2.7%)1.006s (~)0.237s51.37x
💻 LocalNitro0.783s (+1.2%)1.006s (~)0.223s51.39x
🌐 MongoDBNext.js (Turbopack)2.135s (-0.9%)3.013s (~)0.878s53.80x
🐘 PostgresNext.js (Turbopack)4.675s (-13.9% 🟢)5.020s (-16.7% 🟢)0.345s58.31x
🐘 PostgresNitro10.106s (+97.2% 🔺)10.620s (+76.6% 🔺)0.514s517.97x
🐘 PostgresExpress10.360s (+1.6%)11.023s (~)0.664s518.42x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.579s (-3.9%)11.239s (-5.4% 🟢)0.660s51.00x
▲ VercelNitro10.668s (~)11.156s (-4.5%)0.488s51.01x
▲ VercelExpress11.019s (-4.0%)11.946s (-2.7%)0.927s51.04x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.357s (+8.0% 🔺)1.008s (~)0.651s51.00x
🌐 RedisNext.js (Turbopack)0.362s (-5.7% 🟢)1.010s (~)0.648s51.01x
💻 LocalNext.js (Turbopack)0.366s (-10.6% 🟢)1.008s (~)0.643s51.02x
💻 LocalNitro0.388s (-0.9%)1.005s (~)0.617s51.09x
💻 LocalExpress0.395s (-1.5%)1.005s (~)0.610s51.11x
🐘 PostgresNext.js (Turbopack)1.000s (+2.6%)1.222s (+17.9% 🔺)0.222s52.80x
🐘 PostgresExpress1.456s (-14.8% 🟢)2.010s (~)0.554s54.07x
🐘 PostgresNitro1.604s (+32.1% 🔺)2.010s (~)0.406s54.49x
🌐 MongoDBNext.js (Turbopack)1.638s (-4.1%)2.010s (-9.1% 🟢)0.373s54.58x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.727s (-2.3%)3.479s (-1.0%)0.752s51.00x
▲ VercelNitro2.821s (-11.7% 🟢)3.731s (+0.5%)0.909s51.03x
▲ VercelExpress2.881s (-3.4%)3.471s (-6.0% 🟢)0.590s51.06x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.130s (+26.9% 🔺)1.004s (~)1.009s (~)0.879s101.00x
💻 LocalNext.js (Turbopack)0.136s (-9.3% 🟢)1.001s (~)1.013s (~)0.877s101.05x
🌐 RedisNext.js (Turbopack)0.146s (-3.8%)1.003s (~)1.011s (~)0.865s101.12x
💻 LocalExpress0.173s (-4.3%)0.992s (~)1.008s (~)0.836s101.33x
💻 LocalNitro0.181s (+3.0%)0.991s (~)1.008s (~)0.827s101.39x
🌐 MongoDBNext.js (Turbopack)0.505s (+7.2% 🔺)0.939s (-3.7%)1.011s (~)0.506s103.89x
🐘 PostgresExpress0.894s (-61.8% 🟢)1.267s (-53.1% 🟢)1.411s (-53.2% 🟢)0.517s106.88x
🐘 PostgresNext.js (Turbopack)0.954s (-12.4% 🟢)0.822s (-57.9% 🟢)1.114s (-44.8% 🟢)0.160s107.34x
🐘 PostgresNitro1.293s (-8.5% 🟢)1.764s (+8.6% 🔺)2.012s (~)0.718s109.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.446s (-1.0%)3.055s (~)3.484s (+1.5%)1.039s101.00x
▲ VercelNext.js (Turbopack)2.500s (+2.3%)2.995s (+1.9%)3.419s (-4.4%)0.919s101.02x
▲ VercelExpress2.722s (+14.8% 🔺)3.184s (+17.3% 🔺)3.622s (+18.0% 🔺)0.900s101.11x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/5
🐘 PostgresNext.js (Turbopack)3/5
▲ VercelNext.js (Turbopack)4/5

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/5
Next.js (Turbopack)🌐 Starter4/5
Nitro💻 Local5/5
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)
  • 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)

@github-actions

github-actionsBot commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds83330116
Total3593310402

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
✅ redis2600
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240

⚠️Some E2E test jobs failed:

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

Check the workflow run for details.

@socket-security

socket-securityBot commented Dec 3, 2025

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Updatedcargo/​swc_core@​26.4.5 ⏵ 49.0.081-1910093+4100100
Updatedcargo/​serde@​1.0.219 ⏵ 1.0.2288110093100100
Updatednpm/​@​swc/​core@​1.11.24 ⏵ 1.15.39210010095100
Updatedcargo/​testing@​14.0.1 ⏵ 19.0.09910093100100

View full report

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚀

Comment threadpackages/core/e2e/e2e.test.ts Outdated
Comment on lines +116 to +121
if (!(isNext && isLocal)) {
// only works with framework that transpiles react and
// doesn't work on Vercel due to eval hack so react isn't
// bundled in function
return;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this be a test.skipIf() instead?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Oh TIL about skipIf can use that yea

run: pnpm turbo run build --filter='!./workbench/*'

- name: Resolve symlinks
run: ./scripts/resolve-symlinks.sh workbench/${{ matrix.app.name }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems fine, but why is it necessary?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Was matching dev tests for consistency and to eliminate causes for failure

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.

@workflow/next loader breaks automatic JSX transform (React is not defined during SSR)

3 participants

@ijjk@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ' Update to latest swc/core and preserve JSX by ijjk · Pull Request #507 · vercel/workflow · GitHub
Skip to content

Update to latest swc/core and preserve JSX - #507

Merged
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react
Dec 3, 2025
Merged

Update to latest swc/core and preserve JSX#507
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react

Conversation

@ijjk

@ijjkijjk commented Dec 3, 2025

Copy link
Copy Markdown
Member

This updates to preserve JSX when transforming with our custom workflow SWC pass as JSX is meant to be consumed by the framework as each can handle it differently and we can't guess what the correct setup exactly is for each framework/app.

fixes: #212
x-ref: #504 (comment)

@changeset-bot

changeset-botBot commented Dec 3, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2d0ae6b

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

This PR includes changesets to release 12 packages
NameType
@workflow/swc-pluginPatch
@workflow/buildersPatch
@workflow/astroPatch
@workflow/nextPatch
@workflow/cliPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
workflowPatch
@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 3, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 3, 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
💻 Local🥇 Next.js (Turbopack)0.039s (-11.2% 🟢)1.016s (~)0.977s101.00x
🌐 StarterNext.js (Turbopack)0.040s (+25.0% 🔺)1.014s (~)0.974s101.03x
🌐 RedisNext.js (Turbopack)0.041s (-5.5% 🟢)1.018s (~)0.977s101.06x
💻 LocalNitro0.044s (+5.5% 🔺)1.006s (~)0.961s101.15x
💻 LocalExpress0.046s (+2.2%)1.007s (~)0.961s101.19x
🌐 MongoDBNext.js (Turbopack)0.112s (+80.9% 🔺)1.013s (~)0.902s102.88x
🐘 PostgresExpress0.122s (-66.3% 🟢)1.029s (+1.4%)0.907s103.15x
🐘 PostgresNitro0.276s (-16.0% 🟢)1.016s (~)0.740s107.12x
🐘 PostgresNext.js (Turbopack)0.398s (+32.8% 🔺)1.130s (+8.9% 🔺)0.732s1010.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.531s (-21.3% 🟢)1.405s (-15.0% 🟢)0.874s101.00x
▲ VercelExpress0.552s (-15.7% 🟢)1.415s (-9.2% 🟢)0.864s101.04x
▲ VercelNitro0.609s (+17.8% 🔺)1.497s (+8.1% 🔺)0.889s101.15x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.081s (+24.8% 🔺)1.010s (~)0.930s101.00x
💻 LocalNext.js (Turbopack)0.096s (-6.6% 🟢)1.010s (~)0.913s101.20x
🌐 RedisNext.js (Turbopack)0.100s (-6.7% 🟢)1.012s (~)0.912s101.24x
💻 LocalNitro0.112s (+1.1%)1.005s (~)0.893s101.39x
💻 LocalExpress0.112s (-2.3%)1.006s (~)0.894s101.40x
🌐 MongoDBNext.js (Turbopack)0.293s (~)1.011s (~)0.718s103.64x
🐘 PostgresNext.js (Turbopack)0.310s (-54.3% 🟢)1.017s (~)0.707s103.85x
🐘 PostgresNitro1.116s (-6.7% 🟢)2.012s (~)0.896s1013.86x
🐘 PostgresExpress1.466s (+20.1% 🔺)2.012s (~)0.545s1018.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.456s (-5.6% 🟢)2.411s (-2.5%)0.955s101.00x
▲ VercelNitro1.504s (-7.1% 🟢)2.463s (~)0.959s101.03x
▲ VercelExpress1.540s (-1.6%)2.460s (-0.5%)0.921s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.562s (+21.6% 🔺)1.008s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)0.589s (-10.3% 🟢)1.008s (~)0.419s51.05x
🌐 RedisNext.js (Turbopack)0.616s (-6.3% 🟢)1.010s (~)0.394s51.10x
💻 LocalExpress0.769s (-2.7%)1.006s (~)0.237s51.37x
💻 LocalNitro0.783s (+1.2%)1.006s (~)0.223s51.39x
🌐 MongoDBNext.js (Turbopack)2.135s (-0.9%)3.013s (~)0.878s53.80x
🐘 PostgresNext.js (Turbopack)4.675s (-13.9% 🟢)5.020s (-16.7% 🟢)0.345s58.31x
🐘 PostgresNitro10.106s (+97.2% 🔺)10.620s (+76.6% 🔺)0.514s517.97x
🐘 PostgresExpress10.360s (+1.6%)11.023s (~)0.664s518.42x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.579s (-3.9%)11.239s (-5.4% 🟢)0.660s51.00x
▲ VercelNitro10.668s (~)11.156s (-4.5%)0.488s51.01x
▲ VercelExpress11.019s (-4.0%)11.946s (-2.7%)0.927s51.04x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.357s (+8.0% 🔺)1.008s (~)0.651s51.00x
🌐 RedisNext.js (Turbopack)0.362s (-5.7% 🟢)1.010s (~)0.648s51.01x
💻 LocalNext.js (Turbopack)0.366s (-10.6% 🟢)1.008s (~)0.643s51.02x
💻 LocalNitro0.388s (-0.9%)1.005s (~)0.617s51.09x
💻 LocalExpress0.395s (-1.5%)1.005s (~)0.610s51.11x
🐘 PostgresNext.js (Turbopack)1.000s (+2.6%)1.222s (+17.9% 🔺)0.222s52.80x
🐘 PostgresExpress1.456s (-14.8% 🟢)2.010s (~)0.554s54.07x
🐘 PostgresNitro1.604s (+32.1% 🔺)2.010s (~)0.406s54.49x
🌐 MongoDBNext.js (Turbopack)1.638s (-4.1%)2.010s (-9.1% 🟢)0.373s54.58x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.727s (-2.3%)3.479s (-1.0%)0.752s51.00x
▲ VercelNitro2.821s (-11.7% 🟢)3.731s (+0.5%)0.909s51.03x
▲ VercelExpress2.881s (-3.4%)3.471s (-6.0% 🟢)0.590s51.06x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.130s (+26.9% 🔺)1.004s (~)1.009s (~)0.879s101.00x
💻 LocalNext.js (Turbopack)0.136s (-9.3% 🟢)1.001s (~)1.013s (~)0.877s101.05x
🌐 RedisNext.js (Turbopack)0.146s (-3.8%)1.003s (~)1.011s (~)0.865s101.12x
💻 LocalExpress0.173s (-4.3%)0.992s (~)1.008s (~)0.836s101.33x
💻 LocalNitro0.181s (+3.0%)0.991s (~)1.008s (~)0.827s101.39x
🌐 MongoDBNext.js (Turbopack)0.505s (+7.2% 🔺)0.939s (-3.7%)1.011s (~)0.506s103.89x
🐘 PostgresExpress0.894s (-61.8% 🟢)1.267s (-53.1% 🟢)1.411s (-53.2% 🟢)0.517s106.88x
🐘 PostgresNext.js (Turbopack)0.954s (-12.4% 🟢)0.822s (-57.9% 🟢)1.114s (-44.8% 🟢)0.160s107.34x
🐘 PostgresNitro1.293s (-8.5% 🟢)1.764s (+8.6% 🔺)2.012s (~)0.718s109.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.446s (-1.0%)3.055s (~)3.484s (+1.5%)1.039s101.00x
▲ VercelNext.js (Turbopack)2.500s (+2.3%)2.995s (+1.9%)3.419s (-4.4%)0.919s101.02x
▲ VercelExpress2.722s (+14.8% 🔺)3.184s (+17.3% 🔺)3.622s (+18.0% 🔺)0.900s101.11x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/5
🐘 PostgresNext.js (Turbopack)3/5
▲ VercelNext.js (Turbopack)4/5

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/5
Next.js (Turbopack)🌐 Starter4/5
Nitro💻 Local5/5
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)
  • 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)

@github-actions

github-actionsBot commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds83330116
Total3593310402

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
✅ redis2600
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240

⚠️Some E2E test jobs failed:

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

Check the workflow run for details.

@socket-security

socket-securityBot commented Dec 3, 2025

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Updatedcargo/​swc_core@​26.4.5 ⏵ 49.0.081-1910093+4100100
Updatedcargo/​serde@​1.0.219 ⏵ 1.0.2288110093100100
Updatednpm/​@​swc/​core@​1.11.24 ⏵ 1.15.39210010095100
Updatedcargo/​testing@​14.0.1 ⏵ 19.0.09910093100100

View full report

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚀

Comment threadpackages/core/e2e/e2e.test.ts Outdated
Comment on lines +116 to +121
if (!(isNext && isLocal)) {
// only works with framework that transpiles react and
// doesn't work on Vercel due to eval hack so react isn't
// bundled in function
return;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this be a test.skipIf() instead?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Oh TIL about skipIf can use that yea

run: pnpm turbo run build --filter='!./workbench/*'

- name: Resolve symlinks
run: ./scripts/resolve-symlinks.sh workbench/${{ matrix.app.name }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems fine, but why is it necessary?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Was matching dev tests for consistency and to eliminate causes for failure

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.

@workflow/next loader breaks automatic JSX transform (React is not defined during SSR)

3 participants

@ijjk@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Update to latest swc/core and preserve JSX by ijjk · Pull Request #507 · vercel/workflow · GitHub
Skip to content

Update to latest swc/core and preserve JSX - #507

Merged
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react
Dec 3, 2025
Merged

Update to latest swc/core and preserve JSX#507
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react

Conversation

@ijjk

@ijjkijjk commented Dec 3, 2025

Copy link
Copy Markdown
Member

This updates to preserve JSX when transforming with our custom workflow SWC pass as JSX is meant to be consumed by the framework as each can handle it differently and we can't guess what the correct setup exactly is for each framework/app.

fixes: #212
x-ref: #504 (comment)

@changeset-bot

changeset-botBot commented Dec 3, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2d0ae6b

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

This PR includes changesets to release 12 packages
NameType
@workflow/swc-pluginPatch
@workflow/buildersPatch
@workflow/astroPatch
@workflow/nextPatch
@workflow/cliPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
workflowPatch
@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 3, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 3, 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
💻 Local🥇 Next.js (Turbopack)0.039s (-11.2% 🟢)1.016s (~)0.977s101.00x
🌐 StarterNext.js (Turbopack)0.040s (+25.0% 🔺)1.014s (~)0.974s101.03x
🌐 RedisNext.js (Turbopack)0.041s (-5.5% 🟢)1.018s (~)0.977s101.06x
💻 LocalNitro0.044s (+5.5% 🔺)1.006s (~)0.961s101.15x
💻 LocalExpress0.046s (+2.2%)1.007s (~)0.961s101.19x
🌐 MongoDBNext.js (Turbopack)0.112s (+80.9% 🔺)1.013s (~)0.902s102.88x
🐘 PostgresExpress0.122s (-66.3% 🟢)1.029s (+1.4%)0.907s103.15x
🐘 PostgresNitro0.276s (-16.0% 🟢)1.016s (~)0.740s107.12x
🐘 PostgresNext.js (Turbopack)0.398s (+32.8% 🔺)1.130s (+8.9% 🔺)0.732s1010.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.531s (-21.3% 🟢)1.405s (-15.0% 🟢)0.874s101.00x
▲ VercelExpress0.552s (-15.7% 🟢)1.415s (-9.2% 🟢)0.864s101.04x
▲ VercelNitro0.609s (+17.8% 🔺)1.497s (+8.1% 🔺)0.889s101.15x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.081s (+24.8% 🔺)1.010s (~)0.930s101.00x
💻 LocalNext.js (Turbopack)0.096s (-6.6% 🟢)1.010s (~)0.913s101.20x
🌐 RedisNext.js (Turbopack)0.100s (-6.7% 🟢)1.012s (~)0.912s101.24x
💻 LocalNitro0.112s (+1.1%)1.005s (~)0.893s101.39x
💻 LocalExpress0.112s (-2.3%)1.006s (~)0.894s101.40x
🌐 MongoDBNext.js (Turbopack)0.293s (~)1.011s (~)0.718s103.64x
🐘 PostgresNext.js (Turbopack)0.310s (-54.3% 🟢)1.017s (~)0.707s103.85x
🐘 PostgresNitro1.116s (-6.7% 🟢)2.012s (~)0.896s1013.86x
🐘 PostgresExpress1.466s (+20.1% 🔺)2.012s (~)0.545s1018.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.456s (-5.6% 🟢)2.411s (-2.5%)0.955s101.00x
▲ VercelNitro1.504s (-7.1% 🟢)2.463s (~)0.959s101.03x
▲ VercelExpress1.540s (-1.6%)2.460s (-0.5%)0.921s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.562s (+21.6% 🔺)1.008s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)0.589s (-10.3% 🟢)1.008s (~)0.419s51.05x
🌐 RedisNext.js (Turbopack)0.616s (-6.3% 🟢)1.010s (~)0.394s51.10x
💻 LocalExpress0.769s (-2.7%)1.006s (~)0.237s51.37x
💻 LocalNitro0.783s (+1.2%)1.006s (~)0.223s51.39x
🌐 MongoDBNext.js (Turbopack)2.135s (-0.9%)3.013s (~)0.878s53.80x
🐘 PostgresNext.js (Turbopack)4.675s (-13.9% 🟢)5.020s (-16.7% 🟢)0.345s58.31x
🐘 PostgresNitro10.106s (+97.2% 🔺)10.620s (+76.6% 🔺)0.514s517.97x
🐘 PostgresExpress10.360s (+1.6%)11.023s (~)0.664s518.42x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.579s (-3.9%)11.239s (-5.4% 🟢)0.660s51.00x
▲ VercelNitro10.668s (~)11.156s (-4.5%)0.488s51.01x
▲ VercelExpress11.019s (-4.0%)11.946s (-2.7%)0.927s51.04x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.357s (+8.0% 🔺)1.008s (~)0.651s51.00x
🌐 RedisNext.js (Turbopack)0.362s (-5.7% 🟢)1.010s (~)0.648s51.01x
💻 LocalNext.js (Turbopack)0.366s (-10.6% 🟢)1.008s (~)0.643s51.02x
💻 LocalNitro0.388s (-0.9%)1.005s (~)0.617s51.09x
💻 LocalExpress0.395s (-1.5%)1.005s (~)0.610s51.11x
🐘 PostgresNext.js (Turbopack)1.000s (+2.6%)1.222s (+17.9% 🔺)0.222s52.80x
🐘 PostgresExpress1.456s (-14.8% 🟢)2.010s (~)0.554s54.07x
🐘 PostgresNitro1.604s (+32.1% 🔺)2.010s (~)0.406s54.49x
🌐 MongoDBNext.js (Turbopack)1.638s (-4.1%)2.010s (-9.1% 🟢)0.373s54.58x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.727s (-2.3%)3.479s (-1.0%)0.752s51.00x
▲ VercelNitro2.821s (-11.7% 🟢)3.731s (+0.5%)0.909s51.03x
▲ VercelExpress2.881s (-3.4%)3.471s (-6.0% 🟢)0.590s51.06x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.130s (+26.9% 🔺)1.004s (~)1.009s (~)0.879s101.00x
💻 LocalNext.js (Turbopack)0.136s (-9.3% 🟢)1.001s (~)1.013s (~)0.877s101.05x
🌐 RedisNext.js (Turbopack)0.146s (-3.8%)1.003s (~)1.011s (~)0.865s101.12x
💻 LocalExpress0.173s (-4.3%)0.992s (~)1.008s (~)0.836s101.33x
💻 LocalNitro0.181s (+3.0%)0.991s (~)1.008s (~)0.827s101.39x
🌐 MongoDBNext.js (Turbopack)0.505s (+7.2% 🔺)0.939s (-3.7%)1.011s (~)0.506s103.89x
🐘 PostgresExpress0.894s (-61.8% 🟢)1.267s (-53.1% 🟢)1.411s (-53.2% 🟢)0.517s106.88x
🐘 PostgresNext.js (Turbopack)0.954s (-12.4% 🟢)0.822s (-57.9% 🟢)1.114s (-44.8% 🟢)0.160s107.34x
🐘 PostgresNitro1.293s (-8.5% 🟢)1.764s (+8.6% 🔺)2.012s (~)0.718s109.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.446s (-1.0%)3.055s (~)3.484s (+1.5%)1.039s101.00x
▲ VercelNext.js (Turbopack)2.500s (+2.3%)2.995s (+1.9%)3.419s (-4.4%)0.919s101.02x
▲ VercelExpress2.722s (+14.8% 🔺)3.184s (+17.3% 🔺)3.622s (+18.0% 🔺)0.900s101.11x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/5
🐘 PostgresNext.js (Turbopack)3/5
▲ VercelNext.js (Turbopack)4/5

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/5
Next.js (Turbopack)🌐 Starter4/5
Nitro💻 Local5/5
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)
  • 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)

@github-actions

github-actionsBot commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds83330116
Total3593310402

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
✅ redis2600
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240

⚠️Some E2E test jobs failed:

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

Check the workflow run for details.

@socket-security

socket-securityBot commented Dec 3, 2025

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Updatedcargo/​swc_core@​26.4.5 ⏵ 49.0.081-1910093+4100100
Updatedcargo/​serde@​1.0.219 ⏵ 1.0.2288110093100100
Updatednpm/​@​swc/​core@​1.11.24 ⏵ 1.15.39210010095100
Updatedcargo/​testing@​14.0.1 ⏵ 19.0.09910093100100

View full report

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚀

Comment threadpackages/core/e2e/e2e.test.ts Outdated
Comment on lines +116 to +121
if (!(isNext && isLocal)) {
// only works with framework that transpiles react and
// doesn't work on Vercel due to eval hack so react isn't
// bundled in function
return;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this be a test.skipIf() instead?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Oh TIL about skipIf can use that yea

run: pnpm turbo run build --filter='!./workbench/*'

- name: Resolve symlinks
run: ./scripts/resolve-symlinks.sh workbench/${{ matrix.app.name }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems fine, but why is it necessary?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Was matching dev tests for consistency and to eliminate causes for failure

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.

@workflow/next loader breaks automatic JSX transform (React is not defined during SSR)

3 participants

@ijjk@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Update to latest swc/core and preserve JSX by ijjk · Pull Request #507 · vercel/workflow · GitHub
Skip to content

Update to latest swc/core and preserve JSX - #507

Merged
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react
Dec 3, 2025
Merged

Update to latest swc/core and preserve JSX#507
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react

Conversation

@ijjk

@ijjkijjk commented Dec 3, 2025

Copy link
Copy Markdown
Member

This updates to preserve JSX when transforming with our custom workflow SWC pass as JSX is meant to be consumed by the framework as each can handle it differently and we can't guess what the correct setup exactly is for each framework/app.

fixes: #212
x-ref: #504 (comment)

@changeset-bot

changeset-botBot commented Dec 3, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2d0ae6b

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

This PR includes changesets to release 12 packages
NameType
@workflow/swc-pluginPatch
@workflow/buildersPatch
@workflow/astroPatch
@workflow/nextPatch
@workflow/cliPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
workflowPatch
@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 3, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 3, 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
💻 Local🥇 Next.js (Turbopack)0.039s (-11.2% 🟢)1.016s (~)0.977s101.00x
🌐 StarterNext.js (Turbopack)0.040s (+25.0% 🔺)1.014s (~)0.974s101.03x
🌐 RedisNext.js (Turbopack)0.041s (-5.5% 🟢)1.018s (~)0.977s101.06x
💻 LocalNitro0.044s (+5.5% 🔺)1.006s (~)0.961s101.15x
💻 LocalExpress0.046s (+2.2%)1.007s (~)0.961s101.19x
🌐 MongoDBNext.js (Turbopack)0.112s (+80.9% 🔺)1.013s (~)0.902s102.88x
🐘 PostgresExpress0.122s (-66.3% 🟢)1.029s (+1.4%)0.907s103.15x
🐘 PostgresNitro0.276s (-16.0% 🟢)1.016s (~)0.740s107.12x
🐘 PostgresNext.js (Turbopack)0.398s (+32.8% 🔺)1.130s (+8.9% 🔺)0.732s1010.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.531s (-21.3% 🟢)1.405s (-15.0% 🟢)0.874s101.00x
▲ VercelExpress0.552s (-15.7% 🟢)1.415s (-9.2% 🟢)0.864s101.04x
▲ VercelNitro0.609s (+17.8% 🔺)1.497s (+8.1% 🔺)0.889s101.15x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.081s (+24.8% 🔺)1.010s (~)0.930s101.00x
💻 LocalNext.js (Turbopack)0.096s (-6.6% 🟢)1.010s (~)0.913s101.20x
🌐 RedisNext.js (Turbopack)0.100s (-6.7% 🟢)1.012s (~)0.912s101.24x
💻 LocalNitro0.112s (+1.1%)1.005s (~)0.893s101.39x
💻 LocalExpress0.112s (-2.3%)1.006s (~)0.894s101.40x
🌐 MongoDBNext.js (Turbopack)0.293s (~)1.011s (~)0.718s103.64x
🐘 PostgresNext.js (Turbopack)0.310s (-54.3% 🟢)1.017s (~)0.707s103.85x
🐘 PostgresNitro1.116s (-6.7% 🟢)2.012s (~)0.896s1013.86x
🐘 PostgresExpress1.466s (+20.1% 🔺)2.012s (~)0.545s1018.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.456s (-5.6% 🟢)2.411s (-2.5%)0.955s101.00x
▲ VercelNitro1.504s (-7.1% 🟢)2.463s (~)0.959s101.03x
▲ VercelExpress1.540s (-1.6%)2.460s (-0.5%)0.921s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.562s (+21.6% 🔺)1.008s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)0.589s (-10.3% 🟢)1.008s (~)0.419s51.05x
🌐 RedisNext.js (Turbopack)0.616s (-6.3% 🟢)1.010s (~)0.394s51.10x
💻 LocalExpress0.769s (-2.7%)1.006s (~)0.237s51.37x
💻 LocalNitro0.783s (+1.2%)1.006s (~)0.223s51.39x
🌐 MongoDBNext.js (Turbopack)2.135s (-0.9%)3.013s (~)0.878s53.80x
🐘 PostgresNext.js (Turbopack)4.675s (-13.9% 🟢)5.020s (-16.7% 🟢)0.345s58.31x
🐘 PostgresNitro10.106s (+97.2% 🔺)10.620s (+76.6% 🔺)0.514s517.97x
🐘 PostgresExpress10.360s (+1.6%)11.023s (~)0.664s518.42x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.579s (-3.9%)11.239s (-5.4% 🟢)0.660s51.00x
▲ VercelNitro10.668s (~)11.156s (-4.5%)0.488s51.01x
▲ VercelExpress11.019s (-4.0%)11.946s (-2.7%)0.927s51.04x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.357s (+8.0% 🔺)1.008s (~)0.651s51.00x
🌐 RedisNext.js (Turbopack)0.362s (-5.7% 🟢)1.010s (~)0.648s51.01x
💻 LocalNext.js (Turbopack)0.366s (-10.6% 🟢)1.008s (~)0.643s51.02x
💻 LocalNitro0.388s (-0.9%)1.005s (~)0.617s51.09x
💻 LocalExpress0.395s (-1.5%)1.005s (~)0.610s51.11x
🐘 PostgresNext.js (Turbopack)1.000s (+2.6%)1.222s (+17.9% 🔺)0.222s52.80x
🐘 PostgresExpress1.456s (-14.8% 🟢)2.010s (~)0.554s54.07x
🐘 PostgresNitro1.604s (+32.1% 🔺)2.010s (~)0.406s54.49x
🌐 MongoDBNext.js (Turbopack)1.638s (-4.1%)2.010s (-9.1% 🟢)0.373s54.58x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.727s (-2.3%)3.479s (-1.0%)0.752s51.00x
▲ VercelNitro2.821s (-11.7% 🟢)3.731s (+0.5%)0.909s51.03x
▲ VercelExpress2.881s (-3.4%)3.471s (-6.0% 🟢)0.590s51.06x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.130s (+26.9% 🔺)1.004s (~)1.009s (~)0.879s101.00x
💻 LocalNext.js (Turbopack)0.136s (-9.3% 🟢)1.001s (~)1.013s (~)0.877s101.05x
🌐 RedisNext.js (Turbopack)0.146s (-3.8%)1.003s (~)1.011s (~)0.865s101.12x
💻 LocalExpress0.173s (-4.3%)0.992s (~)1.008s (~)0.836s101.33x
💻 LocalNitro0.181s (+3.0%)0.991s (~)1.008s (~)0.827s101.39x
🌐 MongoDBNext.js (Turbopack)0.505s (+7.2% 🔺)0.939s (-3.7%)1.011s (~)0.506s103.89x
🐘 PostgresExpress0.894s (-61.8% 🟢)1.267s (-53.1% 🟢)1.411s (-53.2% 🟢)0.517s106.88x
🐘 PostgresNext.js (Turbopack)0.954s (-12.4% 🟢)0.822s (-57.9% 🟢)1.114s (-44.8% 🟢)0.160s107.34x
🐘 PostgresNitro1.293s (-8.5% 🟢)1.764s (+8.6% 🔺)2.012s (~)0.718s109.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.446s (-1.0%)3.055s (~)3.484s (+1.5%)1.039s101.00x
▲ VercelNext.js (Turbopack)2.500s (+2.3%)2.995s (+1.9%)3.419s (-4.4%)0.919s101.02x
▲ VercelExpress2.722s (+14.8% 🔺)3.184s (+17.3% 🔺)3.622s (+18.0% 🔺)0.900s101.11x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/5
🐘 PostgresNext.js (Turbopack)3/5
▲ VercelNext.js (Turbopack)4/5

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/5
Next.js (Turbopack)🌐 Starter4/5
Nitro💻 Local5/5
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)
  • 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)

@github-actions

github-actionsBot commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds83330116
Total3593310402

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
✅ redis2600
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240

⚠️Some E2E test jobs failed:

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

Check the workflow run for details.

@socket-security

socket-securityBot commented Dec 3, 2025

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Updatedcargo/​swc_core@​26.4.5 ⏵ 49.0.081-1910093+4100100
Updatedcargo/​serde@​1.0.219 ⏵ 1.0.2288110093100100
Updatednpm/​@​swc/​core@​1.11.24 ⏵ 1.15.39210010095100
Updatedcargo/​testing@​14.0.1 ⏵ 19.0.09910093100100

View full report

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚀

Comment threadpackages/core/e2e/e2e.test.ts Outdated
Comment on lines +116 to +121
if (!(isNext && isLocal)) {
// only works with framework that transpiles react and
// doesn't work on Vercel due to eval hack so react isn't
// bundled in function
return;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this be a test.skipIf() instead?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Oh TIL about skipIf can use that yea

run: pnpm turbo run build --filter='!./workbench/*'

- name: Resolve symlinks
run: ./scripts/resolve-symlinks.sh workbench/${{ matrix.app.name }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems fine, but why is it necessary?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Was matching dev tests for consistency and to eliminate causes for failure

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.

@workflow/next loader breaks automatic JSX transform (React is not defined during SSR)

3 participants

@ijjk@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { // Universal Dark Mode - works on any site (function() { var enabled = true; function applyDarkMode() { if (!enabled) return; // Create style element if it doesn't exist var style = document.getElementById('universal-dark-mode-style'); if (!style) { style = document.createElement('style'); style.id = 'universal-dark-mode-style'; document.head.appendChild(style); } // Dark mode CSS - inverts colors but preserves images/video style.textContent = ' /* Invert everything except media */ html { filter: invert(1) hue-rotate(180deg) !important; background: #1a1a2e !important; } /* Restore images, videos, iframes, canvas */ img, video, iframe, canvas, svg, picture, [style*="background-image"] { filter: invert(1) hue-rotate(180deg) !important; } /* Preserve specific elements that should not be inverted */ .no-dark-mode, .no-dark-mode *, [data-theme="light"], [data-theme="light"], .ace_editor, .ace_editor *, .CodeMirror, .CodeMirror *, .monaco-editor, .monaco-editor *, .markdown-body pre, .markdown-body pre *, .highlight, .highlight *, pre code, pre code * { filter: none !important; } /* Fix common UI elements */ .modal, .popup, .dropdown-menu, .tooltip, .popover { filter: invert(1) hue-rotate(180deg) !important; background: #2d2d44 !important; border-color: #444 !important; } /* Scrollbars */ ::-webkit-scrollbar { background: #1a1a2e !important; } ::-webkit-scrollbar-thumb { background: #444 !important; } ::-webkit-scrollbar-thumb:hover { background: #555 !important; } /* Selection */ ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; } ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; } '; } function removeDarkMode() { var style = document.getElementById('universal-dark-mode-style'); if (style) style.remove(); } // Toggle with Alt+Shift+D document.addEventListener('keydown', function(e) { if (e.altKey && e.shiftKey && e.key === 'D') { e.preventDefault(); enabled = !enabled; if (enabled) { applyDarkMode(); console.log('[Universal Dark Mode] Enabled'); } else { removeDarkMode(); console.log('[Universal Dark Mode] Disabled'); } } }); // Apply on load applyDarkMode(); // Re-apply on dynamic content var observer = new MutationObserver(function(mutations) { if (enabled && !document.getElementById('universal-dark-mode-style')) { applyDarkMode(); } }); observer.observe(document.head, { childList: true }); console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle'); })(); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })(); Update to latest swc/core and preserve JSX by ijjk · Pull Request #507 · vercel/workflow · GitHub
Skip to content

Update to latest swc/core and preserve JSX - #507

Merged
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react
Dec 3, 2025
Merged

Update to latest swc/core and preserve JSX#507
ijjk merged 13 commits into
mainfrom
ijjk/pass-thru-react

Conversation

@ijjk

@ijjkijjk commented Dec 3, 2025

Copy link
Copy Markdown
Member

This updates to preserve JSX when transforming with our custom workflow SWC pass as JSX is meant to be consumed by the framework as each can handle it differently and we can't guess what the correct setup exactly is for each framework/app.

fixes: #212
x-ref: #504 (comment)

@changeset-bot

changeset-botBot commented Dec 3, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2d0ae6b

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

This PR includes changesets to release 12 packages
NameType
@workflow/swc-pluginPatch
@workflow/buildersPatch
@workflow/astroPatch
@workflow/nextPatch
@workflow/cliPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
workflowPatch
@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 3, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 3, 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
💻 Local🥇 Next.js (Turbopack)0.039s (-11.2% 🟢)1.016s (~)0.977s101.00x
🌐 StarterNext.js (Turbopack)0.040s (+25.0% 🔺)1.014s (~)0.974s101.03x
🌐 RedisNext.js (Turbopack)0.041s (-5.5% 🟢)1.018s (~)0.977s101.06x
💻 LocalNitro0.044s (+5.5% 🔺)1.006s (~)0.961s101.15x
💻 LocalExpress0.046s (+2.2%)1.007s (~)0.961s101.19x
🌐 MongoDBNext.js (Turbopack)0.112s (+80.9% 🔺)1.013s (~)0.902s102.88x
🐘 PostgresExpress0.122s (-66.3% 🟢)1.029s (+1.4%)0.907s103.15x
🐘 PostgresNitro0.276s (-16.0% 🟢)1.016s (~)0.740s107.12x
🐘 PostgresNext.js (Turbopack)0.398s (+32.8% 🔺)1.130s (+8.9% 🔺)0.732s1010.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.531s (-21.3% 🟢)1.405s (-15.0% 🟢)0.874s101.00x
▲ VercelExpress0.552s (-15.7% 🟢)1.415s (-9.2% 🟢)0.864s101.04x
▲ VercelNitro0.609s (+17.8% 🔺)1.497s (+8.1% 🔺)0.889s101.15x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.081s (+24.8% 🔺)1.010s (~)0.930s101.00x
💻 LocalNext.js (Turbopack)0.096s (-6.6% 🟢)1.010s (~)0.913s101.20x
🌐 RedisNext.js (Turbopack)0.100s (-6.7% 🟢)1.012s (~)0.912s101.24x
💻 LocalNitro0.112s (+1.1%)1.005s (~)0.893s101.39x
💻 LocalExpress0.112s (-2.3%)1.006s (~)0.894s101.40x
🌐 MongoDBNext.js (Turbopack)0.293s (~)1.011s (~)0.718s103.64x
🐘 PostgresNext.js (Turbopack)0.310s (-54.3% 🟢)1.017s (~)0.707s103.85x
🐘 PostgresNitro1.116s (-6.7% 🟢)2.012s (~)0.896s1013.86x
🐘 PostgresExpress1.466s (+20.1% 🔺)2.012s (~)0.545s1018.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.456s (-5.6% 🟢)2.411s (-2.5%)0.955s101.00x
▲ VercelNitro1.504s (-7.1% 🟢)2.463s (~)0.959s101.03x
▲ VercelExpress1.540s (-1.6%)2.460s (-0.5%)0.921s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.562s (+21.6% 🔺)1.008s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)0.589s (-10.3% 🟢)1.008s (~)0.419s51.05x
🌐 RedisNext.js (Turbopack)0.616s (-6.3% 🟢)1.010s (~)0.394s51.10x
💻 LocalExpress0.769s (-2.7%)1.006s (~)0.237s51.37x
💻 LocalNitro0.783s (+1.2%)1.006s (~)0.223s51.39x
🌐 MongoDBNext.js (Turbopack)2.135s (-0.9%)3.013s (~)0.878s53.80x
🐘 PostgresNext.js (Turbopack)4.675s (-13.9% 🟢)5.020s (-16.7% 🟢)0.345s58.31x
🐘 PostgresNitro10.106s (+97.2% 🔺)10.620s (+76.6% 🔺)0.514s517.97x
🐘 PostgresExpress10.360s (+1.6%)11.023s (~)0.664s518.42x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.579s (-3.9%)11.239s (-5.4% 🟢)0.660s51.00x
▲ VercelNitro10.668s (~)11.156s (-4.5%)0.488s51.01x
▲ VercelExpress11.019s (-4.0%)11.946s (-2.7%)0.927s51.04x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.357s (+8.0% 🔺)1.008s (~)0.651s51.00x
🌐 RedisNext.js (Turbopack)0.362s (-5.7% 🟢)1.010s (~)0.648s51.01x
💻 LocalNext.js (Turbopack)0.366s (-10.6% 🟢)1.008s (~)0.643s51.02x
💻 LocalNitro0.388s (-0.9%)1.005s (~)0.617s51.09x
💻 LocalExpress0.395s (-1.5%)1.005s (~)0.610s51.11x
🐘 PostgresNext.js (Turbopack)1.000s (+2.6%)1.222s (+17.9% 🔺)0.222s52.80x
🐘 PostgresExpress1.456s (-14.8% 🟢)2.010s (~)0.554s54.07x
🐘 PostgresNitro1.604s (+32.1% 🔺)2.010s (~)0.406s54.49x
🌐 MongoDBNext.js (Turbopack)1.638s (-4.1%)2.010s (-9.1% 🟢)0.373s54.58x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.727s (-2.3%)3.479s (-1.0%)0.752s51.00x
▲ VercelNitro2.821s (-11.7% 🟢)3.731s (+0.5%)0.909s51.03x
▲ VercelExpress2.881s (-3.4%)3.471s (-6.0% 🟢)0.590s51.06x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.130s (+26.9% 🔺)1.004s (~)1.009s (~)0.879s101.00x
💻 LocalNext.js (Turbopack)0.136s (-9.3% 🟢)1.001s (~)1.013s (~)0.877s101.05x
🌐 RedisNext.js (Turbopack)0.146s (-3.8%)1.003s (~)1.011s (~)0.865s101.12x
💻 LocalExpress0.173s (-4.3%)0.992s (~)1.008s (~)0.836s101.33x
💻 LocalNitro0.181s (+3.0%)0.991s (~)1.008s (~)0.827s101.39x
🌐 MongoDBNext.js (Turbopack)0.505s (+7.2% 🔺)0.939s (-3.7%)1.011s (~)0.506s103.89x
🐘 PostgresExpress0.894s (-61.8% 🟢)1.267s (-53.1% 🟢)1.411s (-53.2% 🟢)0.517s106.88x
🐘 PostgresNext.js (Turbopack)0.954s (-12.4% 🟢)0.822s (-57.9% 🟢)1.114s (-44.8% 🟢)0.160s107.34x
🐘 PostgresNitro1.293s (-8.5% 🟢)1.764s (+8.6% 🔺)2.012s (~)0.718s109.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.446s (-1.0%)3.055s (~)3.484s (+1.5%)1.039s101.00x
▲ VercelNext.js (Turbopack)2.500s (+2.3%)2.995s (+1.9%)3.419s (-4.4%)0.919s101.02x
▲ VercelExpress2.722s (+14.8% 🔺)3.184s (+17.3% 🔺)3.622s (+18.0% 🔺)0.900s101.11x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/5
🐘 PostgresNext.js (Turbopack)3/5
▲ VercelNext.js (Turbopack)4/5

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/5
Next.js (Turbopack)🌐 Starter4/5
Nitro💻 Local5/5
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)
  • 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)

@github-actions

github-actionsBot commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds83330116
Total3593310402

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
✅ redis2600
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240

⚠️Some E2E test jobs failed:

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

Check the workflow run for details.

@socket-security

socket-securityBot commented Dec 3, 2025

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Updatedcargo/​swc_core@​26.4.5 ⏵ 49.0.081-1910093+4100100
Updatedcargo/​serde@​1.0.219 ⏵ 1.0.2288110093100100
Updatednpm/​@​swc/​core@​1.11.24 ⏵ 1.15.39210010095100
Updatedcargo/​testing@​14.0.1 ⏵ 19.0.09910093100100

View full report

@VaguelySeriousVaguelySerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚀

Comment threadpackages/core/e2e/e2e.test.ts Outdated
Comment on lines +116 to +121
if (!(isNext && isLocal)) {
// only works with framework that transpiles react and
// doesn't work on Vercel due to eval hack so react isn't
// bundled in function
return;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this be a test.skipIf() instead?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Oh TIL about skipIf can use that yea

run: pnpm turbo run build --filter='!./workbench/*'

- name: Resolve symlinks
run: ./scripts/resolve-symlinks.sh workbench/${{ matrix.app.name }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems fine, but why is it necessary?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Was matching dev tests for consistency and to eliminate causes for failure

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.

@workflow/next loader breaks automatic JSX transform (React is not defined during SSR)

3 participants

@ijjk@TooTallNate@VaguelySerious