Skip to content

Conversation

@VaguelySerious
Copy link
Member

@VaguelySerious VaguelySerious commented Dec 29, 2025

This superseeds #657, which tried to use an npm plugin for this job, but was ugly and didn't work with pre-release versions, so I had claude implement it instead.

Essentially:

  • First time you run the CLI it'll do a sync check to npm (failures being ignored) for new version, caching this for 3 days
  • Update note will be displayed in message header on every invocation in interactive mode, where we would usually just display the version
    • This might not be good enough for notifying users consistently. If this code seems good, I can extract it into utils, and also import it in the builder code to print during build in a shorter format.
  • Changing the package version busts the cache, so upgrading will reset the cache
  • i.e. also users who upgrade to latest won't see the "new version is available" note until at the earliest 3 day after that
  • The message may be off if someone installs @workflow/cli globally separately from workflow, since p i workflow@latest wouldn't resolve the update warning, but this seems like a minor concern.
image

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

vercel bot commented Dec 29, 2025

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 Dec 29, 2025 2:09pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Dec 29, 2025 2:09pm
example-workflow Ready Ready Preview, Comment Dec 29, 2025 2:09pm
workbench-astro-workflow Ready Ready Preview, Comment Dec 29, 2025 2:09pm
workbench-express-workflow Ready Ready Preview, Comment Dec 29, 2025 2:09pm
workbench-fastify-workflow Ready Ready Preview, Comment Dec 29, 2025 2:09pm
workbench-hono-workflow Ready Ready Preview, Comment Dec 29, 2025 2:09pm
workbench-nitro-workflow Ready Ready Preview, Comment Dec 29, 2025 2:09pm
workbench-nuxt-workflow Ready Ready Preview, Comment Dec 29, 2025 2:09pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Dec 29, 2025 2:09pm
workbench-vite-workflow Ready Ready Preview, Comment Dec 29, 2025 2:09pm
workflow-docs Ready Ready Preview, Comment Dec 29, 2025 2:09pm

@changeset-bot
Copy link

changeset-bot bot commented Dec 29, 2025

🦋 Changeset detected

Latest commit: d2b7e22

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

This PR includes changesets to release 4 packages
Name Type
@workflow/cli Patch
workflow Patch
@workflow/world-testing Patch
@workflow/ai Patch

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

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

@github-actions
Copy link
Contributor

github-actions bot commented Dec 29, 2025

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 286 0 11 297
✅ 💻 Local Development 262 0 8 270
✅ 📦 Local Production 262 0 8 270
✅ 🐘 Local Postgres 262 0 8 270
✅ 🪟 Windows 27 0 0 27
❌ 🌍 Community Worlds 80 40 0 120
Total 1179 40 35 1254

❌ Failed Tests

🌍 Community Worlds (40 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • 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

turso-dev (3 failed):

  • dev e2e should rebuild on step change
  • dev e2e should rebuild on workflow change
  • dev e2e should rebuild on adding workflow file

turso (27 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • webhook route with invalid token
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • retryAttemptCounterWorkflow
  • retryableAndFatalErrorWorkflow
  • stepDirectCallWorkflow - calling step functions directly outside workflow context
  • crossFileErrorWorkflow - stack traces work across imported modules
  • 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
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check endpoint - workflow and step endpoints respond to __health query parameter

Details by Category

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

📋 View full workflow run

@github-actions
Copy link
Contributor

github-actions bot commented Dec 29, 2025

📊 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.038s (-0.5%) 1.017s (~) 0.979s 10 1.00x
🌐 Starter Next.js (Turbopack) 0.039s (+0.5%) 1.014s (~) 0.975s 10 1.02x
💻 Local Nitro 0.042s (+1.0%) 1.006s (~) 0.964s 10 1.10x
🌐 Redis Next.js (Turbopack) 0.042s (+9.3% 🔺) 1.018s (~) 0.976s 10 1.10x
💻 Local Express 0.044s (~) 1.007s (~) 0.963s 10 1.14x
🌐 Turso Next.js (Turbopack) 0.086s (-18.9% 🟢) 1.013s (~) 0.926s 10 2.25x
🌐 MongoDB Next.js (Turbopack) 0.095s (+37.8% 🔺) 1.015s (~) 0.920s 10 2.47x
🐘 Postgres Next.js (Turbopack) 0.302s (+2.5%) 1.022s (~) 0.720s 10 7.88x
🐘 Postgres Nitro 0.313s (+2.9%) 1.012s (~) 0.700s 10 8.15x
🐘 Postgres Express 0.351s (+44.1% 🔺) 1.013s (-1.3%) 0.662s 10 9.13x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 0.577s (+5.0% 🔺) 1.631s (+14.9% 🔺) 1.054s 10 1.00x
▲ Vercel Next.js (Turbopack) 0.607s (+2.1%) 1.476s (-5.4% 🟢) 0.870s 10 1.05x
▲ Vercel Nitro 0.623s (+12.4% 🔺) 1.421s (~) 0.798s 10 1.08x

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

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 1.091s (~) 2.010s (~) 0.919s 10 1.00x
🌐 Redis Next.js (Turbopack) 1.094s (~) 2.014s (~) 0.920s 10 1.00x
💻 Local Next.js (Turbopack) 1.095s (~) 2.011s (~) 0.916s 10 1.00x
💻 Local Nitro 1.111s (~) 2.006s (~) 0.895s 10 1.02x
💻 Local Express 1.113s (~) 2.008s (~) 0.894s 10 1.02x
🌐 MongoDB Next.js (Turbopack) 1.303s (-0.9%) 2.013s (~) 0.710s 10 1.19x
🌐 Turso Next.js (Turbopack) 1.321s (+0.6%) 2.010s (~) 0.689s 10 1.21x
🐘 Postgres Nitro 2.180s (-7.9% 🟢) 3.013s (~) 0.833s 10 2.00x
🐘 Postgres Express 2.209s (-3.6%) 3.013s (~) 0.804s 10 2.02x
🐘 Postgres Next.js (Turbopack) 2.354s (~) 3.018s (~) 0.664s 10 2.16x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.565s (-8.7% 🟢) 3.574s (-6.0% 🟢) 1.008s 10 1.00x
▲ Vercel Nitro 2.613s (+2.1%) 3.459s (-1.6%) 0.846s 10 1.02x
▲ Vercel Express 2.663s (+3.4%) 3.809s (+7.0% 🔺) 1.145s 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.587s (~) 11.012s (~) 0.425s 5 1.00x
💻 Local Next.js (Turbopack) 10.650s (~) 11.018s (~) 0.368s 5 1.01x
🌐 Redis Next.js (Turbopack) 10.673s (~) 11.016s (~) 0.343s 5 1.01x
💻 Local Nitro 10.776s (~) 11.010s (~) 0.235s 5 1.02x
💻 Local Express 10.785s (~) 11.013s (~) 0.228s 5 1.02x
🌐 Turso Next.js (Turbopack) 12.184s (~) 13.020s (~) 0.836s 5 1.15x
🌐 MongoDB Next.js (Turbopack) 12.251s (~) 13.025s (~) 0.773s 5 1.16x
🐘 Postgres Next.js (Turbopack) 20.185s (~) 21.051s (~) 0.866s 5 1.91x
🐘 Postgres Express 20.357s (+10.0% 🔺) 21.035s (+11.7% 🔺) 0.677s 5 1.92x
🐘 Postgres Nitro 20.420s (~) 21.035s (~) 0.615s 5 1.93x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 21.758s (-2.9%) 22.641s (-1.3%) 0.883s 5 1.00x
▲ Vercel Express 21.866s (+1.4%) 22.920s (+1.7%) 1.054s 5 1.00x
▲ Vercel Nitro 21.966s (+1.3%) 22.762s (+1.6%) 0.796s 5 1.01x

🔍 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.351s (~) 2.008s (~) 0.657s 15 1.00x
🌐 Redis Next.js (Turbopack) 1.362s (~) 2.010s (~) 0.648s 15 1.01x
💻 Local Next.js (Turbopack) 1.386s (-0.7%) 2.011s (~) 0.625s 15 1.03x
💻 Local Express 1.403s (~) 2.006s (~) 0.602s 15 1.04x
💻 Local Nitro 1.407s (-0.7%) 2.006s (~) 0.599s 15 1.04x
🌐 MongoDB Next.js (Turbopack) 2.132s (~) 3.014s (~) 0.882s 10 1.58x
🐘 Postgres Next.js (Turbopack) 2.139s (-7.2% 🟢) 2.516s (-8.3% 🟢) 0.377s 12 1.58x
🌐 Turso Next.js (Turbopack) 2.211s (-0.9%) 3.010s (~) 0.799s 10 1.64x
🐘 Postgres Nitro 2.392s (-2.1%) 3.013s (~) 0.621s 10 1.77x
🐘 Postgres Express 2.404s (+2.0%) 3.012s (~) 0.607s 10 1.78x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.743s (-5.7% 🟢) 3.600s (-5.1% 🟢) 0.856s 9 1.00x
▲ Vercel Next.js (Turbopack) 2.871s (+3.6%) 3.699s (+0.8%) 0.828s 9 1.05x
▲ Vercel Express 3.036s (+6.8% 🔺) 3.950s (+6.6% 🔺) 0.915s 8 1.11x

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

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 2.185s (~) 3.141s (+1.6%) 0.956s 10 1.00x
💻 Local Express 2.238s (+0.6%) 3.170s (-0.5%) 0.932s 10 1.02x
💻 Local Nitro 2.260s (+1.7%) 3.191s (+1.0%) 0.931s 10 1.03x
🌐 Starter Next.js (Turbopack) 2.459s (~) 3.009s (~) 0.550s 10 1.13x
🌐 Redis Next.js (Turbopack) 2.473s (-0.6%) 3.012s (~) 0.539s 10 1.13x
🐘 Postgres Next.js (Turbopack) 2.603s (-6.2% 🟢) 3.023s (~) 0.420s 10 1.19x
🐘 Postgres Express 2.837s (-8.2% 🟢) 3.015s (-13.1% 🟢) 0.178s 10 1.30x
🐘 Postgres Nitro 2.978s (-2.9%) 3.477s (-2.9%) 0.499s 9 1.36x
🌐 Turso Next.js (Turbopack) 4.666s (-0.8%) 5.181s (~) 0.515s 6 2.14x
🌐 MongoDB Next.js (Turbopack) 4.729s (~) 5.179s (~) 0.450s 6 2.16x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.555s (-3.0%) 4.382s (-3.3%) 0.827s 7 1.00x
▲ Vercel Nitro 4.079s (+8.8% 🔺) 4.637s (+3.9%) 0.557s 7 1.15x
▲ Vercel Next.js (Turbopack) 4.643s (+25.1% 🔺) 5.103s (+12.5% 🔺) 0.459s 6 1.31x

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

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 1.367s (~) 2.008s (~) 0.641s 15 1.00x
🌐 Redis Next.js (Turbopack) 1.369s (+1.3%) 2.012s (~) 0.642s 15 1.00x
💻 Local Next.js (Turbopack) 1.384s (-1.2%) 2.012s (~) 0.628s 15 1.01x
💻 Local Nitro 1.424s (+1.2%) 2.005s (~) 0.581s 15 1.04x
💻 Local Express 1.431s (~) 2.006s (~) 0.575s 15 1.05x
🐘 Postgres Next.js (Turbopack) 1.804s (+7.5% 🔺) 2.012s (~) 0.208s 15 1.32x
🐘 Postgres Express 1.848s (+5.6% 🔺) 2.398s (+19.2% 🔺) 0.551s 13 1.35x
🐘 Postgres Nitro 1.862s (+6.4% 🔺) 2.011s (~) 0.149s 15 1.36x
🌐 MongoDB Next.js (Turbopack) 2.154s (+0.8%) 3.012s (~) 0.858s 10 1.58x
🌐 Turso Next.js (Turbopack) 2.217s (-0.7%) 3.013s (~) 0.795s 10 1.62x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.744s (-1.6%) 3.623s (-2.2%) 0.879s 9 1.00x
▲ Vercel Express 2.952s (+12.2% 🔺) 3.888s (+8.4% 🔺) 0.936s 8 1.08x
▲ Vercel Nitro 3.276s (+19.3% 🔺) 4.236s (+18.5% 🔺) 0.960s 8 1.19x

🔍 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.277s (+4.0%) 3.152s (+2.1%) 0.874s 10 1.00x
💻 Local Express 2.279s (+1.1%) 3.219s (+1.0%) 0.940s 10 1.00x
💻 Local Nitro 2.280s (+3.0%) 3.227s (+2.6%) 0.947s 10 1.00x
🌐 Starter Next.js (Turbopack) 2.480s (~) 3.009s (-0.8%) 0.528s 10 1.09x
🌐 Redis Next.js (Turbopack) 2.488s (~) 3.011s (~) 0.523s 10 1.09x
🐘 Postgres Next.js (Turbopack) 2.597s (~) 3.017s (~) 0.421s 10 1.14x
🐘 Postgres Nitro 2.728s (+4.4%) 3.018s (~) 0.289s 10 1.20x
🐘 Postgres Express 2.897s (+12.1% 🔺) 3.016s (~) 0.119s 10 1.27x
🌐 Turso Next.js (Turbopack) 4.662s (-1.3%) 5.179s (~) 0.517s 6 2.05x
🌐 MongoDB Next.js (Turbopack) 4.754s (~) 5.181s (~) 0.427s 6 2.09x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.401s (+10.9% 🔺) 4.015s (+13.1% 🔺) 0.614s 8 1.00x
▲ Vercel Nitro 3.455s (+4.7%) 4.171s (+4.7%) 0.716s 8 1.02x
▲ Vercel Next.js (Turbopack) 3.725s (+9.5% 🔺) 4.386s (+7.5% 🔺) 0.661s 7 1.10x

🔍 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.127s (-5.7% 🟢) 1.006s (~) 0.000s (-100.0% 🟢) 1.012s (~) 0.885s 10 1.00x
💻 Local Next.js (Turbopack) 0.138s (-7.1% 🟢) 1.003s (~) 0.016s (-3.0%) 1.027s (~) 0.890s 10 1.08x
🌐 Redis Next.js (Turbopack) 0.143s (-1.2%) 1.005s (~) 0.000s (+Infinity% 🔺) 1.013s (~) 0.870s 10 1.13x
💻 Local Nitro 0.174s (-0.7%) 0.992s (~) 0.015s (-28.4% 🟢) 1.020s (-0.6%) 0.846s 10 1.37x
💻 Local Express 0.184s (+2.1%) 0.992s (~) 0.017s (+14.6% 🔺) 1.024s (~) 0.840s 10 1.45x
🌐 Turso Next.js (Turbopack) 0.471s (-6.5% 🟢) 0.976s (+2.9%) 0.000s (NaN%) 1.013s (~) 0.542s 10 3.71x
🌐 MongoDB Next.js (Turbopack) 0.492s (~) 0.957s (-0.5%) 0.000s (~) 1.013s (~) 0.521s 10 3.87x
🐘 Postgres Nitro 2.314s (+5.8% 🔺) 2.730s (-4.4%) 0.000s (-100.0% 🟢) 3.015s (~) 0.701s 10 18.22x
🐘 Postgres Express 2.368s (+95.8% 🔺) 2.675s (+46.1% 🔺) 0.000s (NaN%) 3.014s (+49.7% 🔺) 0.646s 10 18.65x
🐘 Postgres Next.js (Turbopack) 2.424s (-0.8%) 2.626s (+0.9%) 0.000s (~) 3.019s (~) 0.596s 10 19.08x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.607s (-1.4%) 3.105s (-4.3%) 0.325s (-7.7% 🟢) 3.829s (-4.5%) 1.223s 10 1.00x
▲ Vercel Express 2.639s (+4.5%) 3.176s (-5.2% 🟢) 0.221s (-55.3% 🟢) 3.866s (-8.8% 🟢) 1.227s 10 1.01x
▲ Vercel Nitro 2.670s (-17.8% 🟢) 3.122s (-16.4% 🟢) 0.197s (-70.1% 🟢) 3.816s (-20.8% 🟢) 1.146s 10 1.02x

🔍 Observability: Next.js (Turbopack) | Express | 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) 6/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

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
// Note that we're suggesting install "latest" instead of the release tag that the user is
// on, because we currently tag beta releases as "latest". After GA, we need to adjust
// this to install the release tag that the user is on.
chalk.gray('Run: `[npm|yarn|pnpm] i workflow@latest`')
Copy link
Collaborator

Choose a reason for hiding this comment

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

no bun? 😢

bun > yarn :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

also if you install @latest I think it will use @latest in the user's package.json - so I'd actually recommend pnpm i workflow@${updateCheck.latestVersion} I think

Copy link
Collaborator

Choose a reason for hiding this comment

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

should we also include a link to the changelog on github?

@@ -0,0 +1,233 @@
import { mkdir, readFile, writeFile } from 'node:fs/promises';
Copy link
Collaborator

Choose a reason for hiding this comment

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

is there an npm package we can use to already do this update check? I think a lot of projects do this (including vercel/vercel) so we don't have to reinvent the wheel on this I think?

Copy link
Collaborator

@pranaygp pranaygp left a comment

Choose a reason for hiding this comment

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

left comments but approving if you want to ship anyway - no strong opinions

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