Skip to content

Conversation

@VaguelySerious
Copy link
Member

@VaguelySerious VaguelySerious commented Jan 2, 2026

Might now be irrelevant after changes in #621

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@vercel
Copy link
Contributor

vercel bot commented Jan 2, 2026

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

Project Deployment Review Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Jan 8, 2026 10:16am
example-nextjs-workflow-webpack Ready Ready Preview, Comment Jan 8, 2026 10:16am
example-workflow Ready Ready Preview, Comment Jan 8, 2026 10:16am
workbench-astro-workflow Ready Ready Preview, Comment Jan 8, 2026 10:16am
workbench-express-workflow Ready Ready Preview, Comment Jan 8, 2026 10:16am
workbench-fastify-workflow Ready Ready Preview, Comment Jan 8, 2026 10:16am
workbench-hono-workflow Ready Ready Preview, Comment Jan 8, 2026 10:16am
workbench-nitro-workflow Ready Ready Preview, Comment Jan 8, 2026 10:16am
workbench-nuxt-workflow Ready Ready Preview, Comment Jan 8, 2026 10:16am
workbench-sveltekit-workflow Ready Ready Preview, Comment Jan 8, 2026 10:16am
workbench-vite-workflow Ready Ready Preview, Comment Jan 8, 2026 10:16am
workflow-docs Ready Ready Preview, Comment Jan 8, 2026 10:16am

@changeset-bot
Copy link

changeset-bot bot commented Jan 2, 2026

🦋 Changeset detected

Latest commit: af835df

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

This PR includes changesets to release 15 packages
Name Type
@workflow/world-local Patch
@workflow/cli Patch
@workflow/core Patch
@workflow/world-postgres Patch
workflow Patch
@workflow/world-testing Patch
@workflow/builders Patch
@workflow/docs-typecheck Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/web-shared Patch
@workflow/ai Patch
@workflow/astro Patch
@workflow/sveltekit Patch
@workflow/nuxt Patch

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

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

@VaguelySerious VaguelySerious marked this pull request as draft January 2, 2026 15:43
@github-actions
Copy link
Contributor

github-actions bot commented Jan 2, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 363 0 11 374
✅ 💻 Local Development 332 0 8 340
✅ 📦 Local Production 332 0 8 340
✅ 🐘 Local Postgres 332 0 8 340
✅ 🪟 Windows 34 0 0 34
❌ 🌍 Community Worlds 131 17 0 148
Total 1524 17 35 1576

❌ Failed Tests

🌍 Community Worlds (17 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (14 failed):

  • addTenWorkflow
  • addTenWorkflow
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 33 0 1
✅ example 33 0 1
✅ express 33 0 1
✅ fastify 33 0 1
✅ hono 33 0 1
✅ nextjs-turbopack 33 0 1
✅ nextjs-webpack 33 0 1
✅ nitro 33 0 1
✅ nuxt 33 0 1
✅ sveltekit 33 0 1
✅ vite 33 0 1
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 33 0 1
✅ express-stable 33 0 1
✅ fastify-stable 33 0 1
✅ hono-stable 33 0 1
✅ nextjs-turbopack-stable 34 0 0
✅ nextjs-webpack-stable 34 0 0
✅ nitro-stable 33 0 1
✅ nuxt-stable 33 0 1
✅ sveltekit-stable 33 0 1
✅ vite-stable 33 0 1
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 33 0 1
✅ express-stable 33 0 1
✅ fastify-stable 33 0 1
✅ hono-stable 33 0 1
✅ nextjs-turbopack-stable 34 0 0
✅ nextjs-webpack-stable 34 0 0
✅ nitro-stable 33 0 1
✅ nuxt-stable 33 0 1
✅ sveltekit-stable 33 0 1
✅ vite-stable 33 0 1
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 33 0 1
✅ express-stable 33 0 1
✅ fastify-stable 33 0 1
✅ hono-stable 33 0 1
✅ nextjs-turbopack-stable 34 0 0
✅ nextjs-webpack-stable 34 0 0
✅ nitro-stable 33 0 1
✅ nuxt-stable 33 0 1
✅ sveltekit-stable 33 0 1
✅ vite-stable 33 0 1
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 34 0 0
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 0
❌ mongodb 33 1 0
✅ redis-dev 3 0 0
❌ redis 33 1 0
✅ starter-dev 3 0 0
❌ starter 20 14 0
✅ turso-dev 3 0 0
❌ turso 33 1 0

📋 View full workflow run

@github-actions
Copy link
Contributor

github-actions bot commented Jan 2, 2026

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 0.032s (-17.0% 🟢) 1.013s (~) 0.981s 10 1.00x
🌐 Starter Next.js (Turbopack) 0.034s (-11.5% 🟢) 1.014s (~) 0.980s 10 1.07x
🌐 Redis Next.js (Turbopack) 0.041s (~) 1.017s (~) 0.976s 10 1.30x
💻 Local Express 0.043s (~) 1.007s (~) 0.964s 10 1.37x
💻 Local Nitro 0.044s (+4.8%) 1.007s (~) 0.963s 10 1.38x
🌐 Turso Next.js (Turbopack) 0.095s (-11.8% 🟢) 1.014s (~) 0.919s 10 2.97x
🌐 MongoDB Next.js (Turbopack) 0.118s (+26.0% 🔺) 1.015s (~) 0.896s 10 3.72x
🐘 Postgres Next.js (Turbopack) 0.156s (-39.2% 🟢) 1.021s (~) 0.865s 10 4.90x
🐘 Postgres Express 0.311s (-12.2% 🟢) 1.017s (~) 0.706s 10 9.78x
🐘 Postgres Nitro 0.327s (+13.2% 🔺) 1.012s (~) 0.685s 10 10.28x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 0.537s (+2.1%) 1.462s (-2.7%) 0.925s 10 1.00x
▲ Vercel Nitro 0.538s (+1.0%) 1.608s (+5.9% 🔺) 1.070s 10 1.00x
▲ Vercel Express 0.597s (+11.9% 🔺) 1.584s (+9.1% 🔺) 0.986s 10 1.11x

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

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 1.070s (-2.0%) 2.009s (~) 0.940s 10 1.00x
💻 Local Next.js (Turbopack) 1.076s (-2.1%) 2.010s (~) 0.935s 10 1.01x
🌐 Redis Next.js (Turbopack) 1.101s (~) 2.012s (~) 0.911s 10 1.03x
💻 Local Express 1.113s (~) 2.007s (~) 0.894s 10 1.04x
💻 Local Nitro 1.116s (+0.6%) 2.006s (~) 0.890s 10 1.04x
🌐 MongoDB Next.js (Turbopack) 1.297s (+0.7%) 2.012s (~) 0.715s 10 1.21x
🌐 Turso Next.js (Turbopack) 1.299s (-0.8%) 2.012s (~) 0.713s 10 1.21x
🐘 Postgres Next.js (Turbopack) 1.907s (-16.0% 🟢) 2.015s (-33.3% 🟢) 0.108s 10 1.78x
🐘 Postgres Express 2.149s (+1.4%) 3.016s (~) 0.866s 10 2.01x
🐘 Postgres Nitro 2.195s (+3.6%) 3.014s (~) 0.818s 10 2.05x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.641s (-3.6%) 3.616s (+2.7%) 0.975s 10 1.00x
▲ Vercel Nitro 2.673s (+3.2%) 3.719s (+3.0%) 1.046s 10 1.01x
▲ Vercel Express 2.739s (+5.2% 🔺) 3.673s (+3.5%) 0.934s 10 1.04x

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

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 10.458s (-1.2%) 11.011s (~) 0.553s 5 1.00x
💻 Local Next.js (Turbopack) 10.534s (-1.1%) 11.016s (~) 0.482s 5 1.01x
🌐 Redis Next.js (Turbopack) 10.669s (~) 11.015s (~) 0.346s 5 1.02x
💻 Local Express 10.803s (~) 11.012s (~) 0.209s 5 1.03x
💻 Local Nitro 10.805s (~) 11.008s (~) 0.203s 5 1.03x
🌐 Turso Next.js (Turbopack) 12.164s (~) 13.025s (~) 0.861s 5 1.16x
🌐 MongoDB Next.js (Turbopack) 12.216s (+2.6%) 13.021s (+8.3% 🔺) 0.805s 5 1.17x
🐘 Postgres Next.js (Turbopack) 15.664s (-22.9% 🟢) 16.239s (-22.8% 🟢) 0.575s 5 1.50x
🐘 Postgres Nitro 20.360s (-0.6%) 21.035s (~) 0.676s 5 1.95x
🐘 Postgres Express 20.490s (+24.9% 🔺) 21.035s (+23.5% 🔺) 0.545s 5 1.96x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 21.501s (-3.6%) 22.321s (-3.6%) 0.820s 5 1.00x
▲ Vercel Express 21.638s (~) 22.508s (+1.0%) 0.870s 5 1.01x
▲ Vercel Nitro 21.861s (+1.3%) 22.438s (~) 0.577s 5 1.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 1.325s (-1.5%) 2.008s (~) 0.684s 15 1.00x
💻 Local Next.js (Turbopack) 1.344s (-2.5%) 2.012s (~) 0.668s 15 1.01x
🌐 Redis Next.js (Turbopack) 1.360s (~) 2.010s (~) 0.650s 15 1.03x
💻 Local Nitro 1.418s (+0.6%) 2.006s (~) 0.588s 15 1.07x
💻 Local Express 1.418s (~) 2.007s (~) 0.589s 15 1.07x
🌐 Turso Next.js (Turbopack) 2.131s (-4.0%) 3.015s (~) 0.884s 10 1.61x
🌐 MongoDB Next.js (Turbopack) 2.133s (+1.0%) 3.015s (~) 0.883s 10 1.61x
🐘 Postgres Next.js (Turbopack) 2.291s (+27.8% 🔺) 2.747s (+31.7% 🔺) 0.455s 11 1.73x
🐘 Postgres Express 2.329s (+4.4%) 3.014s (+6.5% 🔺) 0.684s 10 1.76x
🐘 Postgres Nitro 2.508s (+5.5% 🔺) 3.012s (~) 0.504s 10 1.89x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.636s (+23.4% 🔺) 4.548s (+11.0% 🔺) 0.912s 7 1.00x
▲ Vercel Nitro 4.299s (+47.8% 🔺) 5.026s (+31.6% 🔺) 0.727s 6 1.18x
▲ Vercel Next.js (Turbopack) 4.421s (+34.7% 🔺) 5.168s (+27.2% 🔺) 0.747s 6 1.22x

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

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 1.982s (-1.6%) 2.537s (-10.9% 🟢) 0.555s 12 1.00x
💻 Local Express 2.211s (-0.8%) 3.157s (~) 0.946s 10 1.12x
💻 Local Nitro 2.266s (+3.4%) 3.217s (+2.6%) 0.950s 10 1.14x
🌐 Starter Next.js (Turbopack) 2.376s (-3.3%) 3.009s (~) 0.633s 10 1.20x
🌐 Redis Next.js (Turbopack) 2.483s (~) 3.011s (~) 0.528s 10 1.25x
🐘 Postgres Next.js (Turbopack) 2.739s (+9.1% 🔺) 3.014s (~) 0.275s 10 1.38x
🐘 Postgres Express 3.062s (+7.2% 🔺) 3.782s (+12.2% 🔺) 0.720s 8 1.54x
🐘 Postgres Nitro 3.148s (-8.7% 🟢) 3.764s (-6.6% 🟢) 0.616s 8 1.59x
🌐 MongoDB Next.js (Turbopack) 4.693s (+0.6%) 5.180s (~) 0.487s 6 2.37x
🌐 Turso Next.js (Turbopack) 4.705s (~) 5.183s (~) 0.479s 6 2.37x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.680s (+13.8% 🔺) 4.541s (+20.3% 🔺) 0.861s 7 1.00x
▲ Vercel Next.js (Turbopack) 3.782s (+19.0% 🔺) 4.521s (+17.2% 🔺) 0.739s 7 1.03x
▲ Vercel Express 3.985s (+14.7% 🔺) 4.946s (+20.2% 🔺) 0.961s 7 1.08x

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

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 1.306s (-2.4%) 2.007s (~) 0.701s 15 1.00x
💻 Local Next.js (Turbopack) 1.336s (-2.7%) 2.012s (~) 0.676s 15 1.02x
🌐 Redis Next.js (Turbopack) 1.355s (+0.5%) 2.009s (~) 0.654s 15 1.04x
💻 Local Express 1.422s (~) 2.007s (~) 0.584s 15 1.09x
💻 Local Nitro 1.438s (+1.5%) 2.006s (~) 0.568s 15 1.10x
🐘 Postgres Next.js (Turbopack) 1.692s (-1.9%) 2.013s (~) 0.321s 15 1.30x
🐘 Postgres Express 1.875s (+2.7%) 2.012s (~) 0.136s 15 1.44x
🐘 Postgres Nitro 1.892s (-7.3% 🟢) 2.325s (+4.5%) 0.433s 13 1.45x
🌐 MongoDB Next.js (Turbopack) 2.126s (~) 3.013s (~) 0.888s 10 1.63x
🌐 Turso Next.js (Turbopack) 2.139s (-3.5%) 3.015s (~) 0.876s 10 1.64x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.706s (-0.9%) 3.571s (-1.6%) 0.865s 9 1.00x
▲ Vercel Express 2.863s (-33.5% 🟢) 3.774s (-27.5% 🟢) 0.911s 8 1.06x
▲ Vercel Nitro 2.988s (+14.5% 🔺) 4.023s (+10.0% 🔺) 1.035s 8 1.10x

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

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 2.018s (~) 2.875s (+1.0%) 0.857s 11 1.00x
💻 Local Express 2.293s (+2.0%) 3.226s (+0.9%) 0.933s 10 1.14x
🌐 Starter Next.js (Turbopack) 2.358s (-4.0%) 3.008s (~) 0.650s 10 1.17x
💻 Local Nitro 2.360s (+6.9% 🔺) 3.278s (+3.4%) 0.918s 10 1.17x
🌐 Redis Next.js (Turbopack) 2.557s (+4.2%) 3.112s (+3.3%) 0.555s 10 1.27x
🐘 Postgres Next.js (Turbopack) 2.590s (+6.3% 🔺) 3.023s (~) 0.434s 10 1.28x
🐘 Postgres Express 2.664s (+9.1% 🔺) 3.018s (~) 0.354s 10 1.32x
🐘 Postgres Nitro 2.871s (+1.1%) 3.017s (-3.1%) 0.146s 10 1.42x
🌐 MongoDB Next.js (Turbopack) 4.681s (-0.7%) 5.179s (~) 0.498s 6 2.32x
🌐 Turso Next.js (Turbopack) 4.761s (+2.6%) 5.183s (~) 0.422s 6 2.36x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.225s (-8.1% 🟢) 3.820s (-8.9% 🟢) 0.596s 8 1.00x
▲ Vercel Nitro 3.323s (+7.9% 🔺) 3.879s (+5.4% 🔺) 0.556s 8 1.03x
▲ Vercel Next.js (Turbopack) 3.459s (+6.5% 🔺) 4.153s (+10.3% 🔺) 0.694s 8 1.07x

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

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 0.094s (-25.7% 🟢) 1.006s (~) 0.000s (NaN%) 1.013s (~) 0.919s 10 1.00x
💻 Local Next.js (Turbopack) 0.102s (-27.5% 🟢) 1.002s (~) 0.021s (+27.3% 🔺) 1.031s (~) 0.929s 10 1.08x
🌐 Redis Next.js (Turbopack) 0.152s (+5.6% 🔺) 1.004s (~) 0.000s (-100.0% 🟢) 1.013s (~) 0.861s 10 1.61x
💻 Local Nitro 0.180s (+3.1%) 0.992s (~) 0.015s (-9.1% 🟢) 1.021s (~) 0.841s 10 1.91x
💻 Local Express 0.181s (~) 0.992s (~) 0.019s (+6.1% 🔺) 1.026s (~) 0.845s 10 1.92x
🌐 Turso Next.js (Turbopack) 0.505s (-3.3%) 0.937s (+1.2%) 0.000s (-100.0% 🟢) 1.014s (~) 0.508s 10 5.36x
🌐 MongoDB Next.js (Turbopack) 0.522s (+10.8% 🔺) 0.930s (-4.3%) 0.000s (~) 1.013s (~) 0.491s 10 5.53x
🐘 Postgres Next.js (Turbopack) 1.212s (+30.2% 🔺) 1.835s (+17.0% 🔺) 0.000s (+Infinity% 🔺) 2.018s (+24.7% 🔺) 0.806s 10 12.85x
🐘 Postgres Express 2.294s (+79.5% 🔺) 2.753s (+56.1% 🔺) 0.000s (~) 3.016s (+49.8% 🔺) 0.722s 10 24.33x
🐘 Postgres Nitro 2.390s (+4.6%) 2.655s (-3.7%) 0.000s (-100.0% 🟢) 3.014s (~) 0.624s 10 25.34x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.642s (-4.8%) 3.240s (~) 0.258s (-41.0% 🟢) 3.952s (-3.4%) 1.310s 10 1.00x
▲ Vercel Next.js (Turbopack) 2.694s (-5.1% 🟢) 3.096s (-4.3%) 0.400s (-33.6% 🟢) 3.902s (-8.9% 🟢) 1.208s 10 1.02x
▲ Vercel Nitro 2.700s (-2.5%) 3.268s (-2.9%) 0.416s (-8.8% 🟢) 4.221s (-0.9%) 1.521s 10 1.02x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


/**
* Get the directory path for this module.
* Works in both ESM (direct usage) and bundled CJS contexts.
Copy link
Member

Choose a reason for hiding this comment

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

I'm not understanding how this would work in CJS contexts (also why would it need to?)

Copy link
Member Author

Choose a reason for hiding this comment

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

It doesn't, the comment is wrong, whoops

* In bundled contexts where package.json cannot be read,
* returns 'bundled' as the version.
*/
export async function getPackageInfo(): Promise<PackageInfo> {
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we could leverage require() instead? Not blocking though, I'm fine with this for now and we can see if it causes any real world issues. Just feels a bit brittle to me.

Copy link
Member Author

@VaguelySerious VaguelySerious Jan 7, 2026

Choose a reason for hiding this comment

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

I think this should overall be replaced by the version solution that's in Pranay's event sourcing PR. We could merge this first if we want, or scrap for re-doing it after Pranay's PR lands


const currentVersion = parseVersion(PACKAGE_VERSION);
const packageInfo = await getPackageInfo();
const currentVersion = parseVersion(packageInfo.version);
Copy link
Contributor

@vercel vercel bot Jan 7, 2026

Choose a reason for hiding this comment

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

initDataDir() crashes in bundled contexts when parseVersion() receives 'bundled' string

Fix on Vercel

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants