Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add Next.js cache invalidation on swc transform change#926

Merged
ijjk merged 6 commits intomainfrom
ijjk/next-cache-invalidation
Feb 4, 2026
Merged

Add Next.js cache invalidation on swc transform change#926
ijjk merged 6 commits intomainfrom
ijjk/next-cache-invalidation

Conversation

@ijjk
Copy link
Member

@ijjk ijjk commented Feb 4, 2026

Automatically invalidates Next.js cache when the @workflow/swc-plugin build changes.

  • Generates a SHA-256 hash of the WASM file during build and writes it to build-hash.json
  • Writes workflow.json to distDir/cache on process exit containing the swc-plugin build hash
  • On startup, compares the cached hash against the current build hash
  • If hashes differ, deletes distDir/cache and distDir/dev/cache to ensure fresh builds
  • Logs a message when cache invalidation occurs

Using a build hash instead of the package version ensures cache invalidation only happens when the actual compiled output changes, not just when the version is bumped.

@vercel
Copy link
Contributor

vercel bot commented Feb 4, 2026

@changeset-bot
Copy link

changeset-bot bot commented Feb 4, 2026

🦋 Changeset detected

Latest commit: 343184f

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

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

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

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 0.043s (-1.4%) 1.007s (~) 0.965s 10 1.00x
💻 Local Next.js (Turbopack) 0.043s (+8.8% 🔺) 1.021s (~) 0.978s 10 1.01x
💻 Local Nitro 0.043s (-1.1%) 1.008s (~) 0.965s 10 1.01x
🐘 Postgres Next.js (Turbopack) 0.153s (+16.1% 🔺) 1.024s (~) 0.871s 10 3.60x
🐘 Postgres Nitro 0.187s (-45.9% 🟢) 1.015s (~) 0.828s 10 4.40x
🐘 Postgres Express 0.201s (-35.3% 🟢) 1.018s (~) 0.817s 10 4.71x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 0.617s (-14.5% 🟢) 1.516s (-5.1% 🟢) 0.899s 10 1.00x
▲ Vercel Nitro 0.644s (-6.3% 🟢) 1.664s (-7.0% 🟢) 1.020s 10 1.04x
▲ Vercel Next.js (Turbopack) 0.683s (-1.9%) 1.562s (-1.0%) 0.879s 10 1.11x

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

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 1.089s (~) 2.012s (~) 0.923s 10 1.00x
💻 Local Express 1.115s (~) 2.007s (~) 0.892s 10 1.02x
💻 Local Nitro 1.116s (~) 2.007s (~) 0.891s 10 1.02x
🐘 Postgres Express 2.365s (+9.1% 🔺) 3.017s (~) 0.652s 10 2.17x
🐘 Postgres Nitro 2.369s (-0.9%) 3.016s (~) 0.647s 10 2.18x
🐘 Postgres Next.js (Turbopack) 2.433s (+26.5% 🔺) 3.018s (+49.5% 🔺) 0.585s 10 2.23x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.890s (-2.0%) 3.735s (~) 0.845s 10 1.00x
▲ Vercel Nitro 2.899s (+1.6%) 3.727s (-1.0%) 0.828s 10 1.00x
▲ Vercel Next.js (Turbopack) 3.102s (+2.5%) 3.930s (+2.9%) 0.828s 10 1.07x

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

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 10.701s (~) 11.017s (~) 0.316s 3 1.00x
💻 Local Express 10.832s (~) 11.015s (~) 0.183s 3 1.01x
💻 Local Nitro 10.833s (~) 11.012s (~) 0.179s 3 1.01x
🐘 Postgres Next.js (Turbopack) 16.592s (+8.6% 🔺) 17.043s (+6.3% 🔺) 0.451s 2 1.55x
🐘 Postgres Nitro 20.401s (+0.6%) 21.043s (~) 0.641s 2 1.91x
🐘 Postgres Express 20.415s (~) 21.037s (~) 0.622s 2 1.91x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 22.642s (-1.7%) 23.567s (-1.9%) 0.925s 2 1.00x
▲ Vercel Nitro 22.706s (-2.4%) 23.532s (-3.7%) 0.826s 2 1.00x
▲ Vercel Next.js (Turbopack) 23.061s (-1.0%) 23.873s (~) 0.812s 2 1.02x

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

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 27.180s (~) 28.027s (~) 0.847s 3 1.00x
💻 Local Nitro 27.454s (~) 28.023s (~) 0.569s 3 1.01x
💻 Local Express 27.455s (~) 28.029s (~) 0.575s 3 1.01x
🐘 Postgres Next.js (Turbopack) 38.251s (-16.3% 🟢) 38.563s (-16.3% 🟢) 0.312s 2 1.41x
🐘 Postgres Nitro 50.230s (~) 51.094s (~) 0.864s 2 1.85x
🐘 Postgres Express 50.297s (~) 51.078s (~) 0.781s 2 1.85x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 56.746s (~) 57.481s (-1.1%) 0.735s 2 1.00x
▲ Vercel Express 57.559s (-1.4%) 58.107s (-1.5%) 0.548s 2 1.01x
▲ Vercel Next.js (Turbopack) 58.681s (~) 59.854s (+1.4%) 1.173s 2 1.03x

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

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 56.428s (~) 57.047s (~) 0.618s 2 1.00x
💻 Local Express 57.077s (~) 57.546s (-0.8%) 0.469s 2 1.01x
💻 Local Nitro 57.149s (~) 58.044s (~) 0.895s 2 1.01x
🐘 Postgres Next.js (Turbopack) 77.537s (+3.6%) 78.147s (+3.4%) 0.610s 2 1.37x
🐘 Postgres Nitro 82.706s (-17.8% 🟢) 83.104s (-17.8% 🟢) 0.398s 2 1.47x
🐘 Postgres Express 100.598s (~) 101.132s (~) 0.534s 1 1.78x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 118.605s (-1.2%) 119.313s (-1.1%) 0.708s 1 1.00x
▲ Vercel Nitro 120.580s (~) 120.889s (-0.9%) 0.309s 1 1.02x
▲ Vercel Next.js (Turbopack) 121.555s (~) 122.710s (~) 1.155s 1 1.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 1.358s (-2.3%) 2.010s (~) 0.652s 15 1.00x
💻 Local Express 1.404s (-1.3%) 2.006s (~) 0.602s 15 1.03x
💻 Local Nitro 1.421s (-1.1%) 2.007s (~) 0.586s 15 1.05x
🐘 Postgres Express 2.225s (+1.6%) 3.014s (~) 0.788s 10 1.64x
🐘 Postgres Next.js (Turbopack) 2.324s (+29.1% 🔺) 2.850s (+18.8% 🔺) 0.526s 11 1.71x
🐘 Postgres Nitro 2.447s (+8.3% 🔺) 3.017s (~) 0.570s 10 1.80x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 3.111s (-1.3%) 3.830s (-4.0%) 0.720s 8 1.00x
▲ Vercel Nitro 3.203s (+6.3% 🔺) 4.026s (+1.8%) 0.824s 8 1.03x
▲ Vercel Express 3.486s (+8.8% 🔺) 4.480s (+6.1% 🔺) 0.994s 7 1.12x

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

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 2.479s (-2.1%) 3.047s (+1.2%) 0.568s 10 1.00x
💻 Local Express 2.534s (-1.1%) 3.014s (~) 0.479s 10 1.02x
💻 Local Nitro 2.567s (-3.1%) 3.016s (~) 0.449s 10 1.04x
🐘 Postgres Nitro 8.755s (+15.5% 🔺) 9.539s (+14.8% 🔺) 0.783s 4 3.53x
🐘 Postgres Express 8.837s (+0.7%) 9.559s (~) 0.722s 4 3.57x
🐘 Postgres Next.js (Turbopack) 13.037s (+16.6% 🔺) 13.373s (+14.0% 🔺) 0.336s 3 5.26x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.349s (-13.3% 🟢) 4.084s (-12.2% 🟢) 0.735s 8 1.00x
▲ Vercel Next.js (Turbopack) 3.703s (+4.0%) 4.454s (+5.7% 🔺) 0.751s 7 1.11x
▲ Vercel Nitro 4.434s (+43.3% 🔺) 5.141s (+34.2% 🔺) 0.706s 6 1.32x

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

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 6.577s (~) 7.882s (+6.9% 🔺) 1.305s 4 1.00x
💻 Local Express 7.118s (-2.3%) 7.948s (-4.2%) 0.829s 4 1.08x
💻 Local Nitro 7.356s (-2.0%) 8.328s (-1.6%) 0.973s 4 1.12x
🐘 Postgres Nitro 49.478s (+12.2% 🔺) 50.225s (+11.3% 🔺) 0.747s 1 7.52x
🐘 Postgres Express 51.592s (+7.2% 🔺) 52.211s (+6.1% 🔺) 0.619s 1 7.84x
🐘 Postgres Next.js (Turbopack) 56.338s (+2.8%) 57.141s (+3.7%) 0.803s 1 8.57x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 6.067s (+69.9% 🔺) 6.742s (+63.2% 🔺) 0.675s 6 1.00x
▲ Vercel Nitro 8.094s (+114.3% 🔺) 8.774s (+97.0% 🔺) 0.681s 4 1.33x
▲ Vercel Next.js (Turbopack) 8.940s (+109.9% 🔺) 9.819s (+89.7% 🔺) 0.878s 4 1.47x

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

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 1.413s (~) 2.010s (~) 0.597s 15 1.00x
💻 Local Express 1.414s (-2.3%) 2.007s (~) 0.593s 15 1.00x
💻 Local Nitro 1.484s (+4.1%) 2.007s (~) 0.523s 15 1.05x
🐘 Postgres Nitro 2.168s (-2.3%) 2.678s (~) 0.510s 12 1.53x
🐘 Postgres Express 2.266s (+12.2% 🔺) 2.744s (+2.2%) 0.478s 11 1.60x
🐘 Postgres Next.js (Turbopack) 2.349s (+8.8% 🔺) 2.929s (+9.2% 🔺) 0.580s 11 1.66x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 6.478s (+82.3% 🔺) 7.523s (+67.8% 🔺) 1.046s 5 1.00x
▲ Vercel Express 6.785s (+93.0% 🔺) 7.620s (+73.0% 🔺) 0.835s 4 1.05x
▲ Vercel Nitro 7.416s (+105.0% 🔺) 8.297s (+82.1% 🔺) 0.881s 4 1.14x

🔍 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.527s (-1.9%) 3.017s (~) 0.490s 10 1.00x
💻 Local Express 2.644s (-1.8%) 3.009s (~) 0.365s 10 1.05x
💻 Local Nitro 2.676s (-2.2%) 3.012s (~) 0.336s 10 1.06x
🐘 Postgres Nitro 10.110s (-19.4% 🟢) 10.693s (-18.1% 🟢) 0.583s 3 4.00x
🐘 Postgres Express 12.219s (+8.7% 🔺) 12.701s (+5.3% 🔺) 0.482s 3 4.84x
🐘 Postgres Next.js (Turbopack) 14.903s (+7.2% 🔺) 15.064s (+4.8%) 0.161s 2 5.90x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 4.444s (+45.5% 🔺) 5.230s (+41.5% 🔺) 0.785s 6 1.00x
▲ Vercel Nitro 5.365s (+71.5% 🔺) 6.150s (+60.6% 🔺) 0.785s 5 1.21x
▲ Vercel Express 6.516s (+114.0% 🔺) 7.124s (+94.1% 🔺) 0.607s 5 1.47x

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

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 6.929s (-0.5%) 7.603s (-8.3% 🟢) 0.673s 4 1.00x
💻 Local Express 7.617s (-1.6%) 8.590s (-0.6%) 0.973s 4 1.10x
💻 Local Nitro 7.832s (-7.2% 🟢) 8.834s (-5.9% 🟢) 1.001s 4 1.13x
🐘 Postgres Express 50.377s (+2.0%) 51.306s (+2.3%) 0.929s 1 7.27x
🐘 Postgres Nitro 51.864s (+1.3%) 52.115s (~) 0.251s 1 7.48x
🐘 Postgres Next.js (Turbopack) 59.202s (+1.0%) 60.241s (+1.8%) 1.039s 1 8.54x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.388s (-8.8% 🟢) 3.964s (-9.1% 🟢) 0.576s 8 1.00x
▲ Vercel Next.js (Turbopack) 3.518s (-8.8% 🟢) 4.171s (-9.1% 🟢) 0.654s 8 1.04x
▲ Vercel Nitro 3.607s (-2.4%) 4.297s (-1.8%) 0.690s 7 1.06x

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

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 0.137s (-5.7% 🟢) 1.003s (~) 0.017s (+14.5% 🔺) 1.028s (~) 0.891s 10 1.00x
💻 Local Express 0.183s (-1.3%) 0.992s (~) 0.014s (-3.4%) 1.021s (~) 0.838s 10 1.34x
💻 Local Nitro 0.185s (-1.8%) 0.992s (~) 0.013s (-12.9% 🟢) 1.020s (~) 0.835s 10 1.35x
🐘 Postgres Next.js (Turbopack) 1.126s (~) 1.919s (+18.1% 🔺) 0.000s (NaN%) 2.017s (+11.1% 🔺) 0.891s 10 8.23x
🐘 Postgres Nitro 1.157s (-49.8% 🟢) 1.884s (-31.2% 🟢) 0.000s (NaN%) 2.014s (-33.2% 🟢) 0.857s 10 8.45x
🐘 Postgres Express 2.310s (+3.9%) 2.736s (-3.0%) 0.000s (NaN%) 3.019s (~) 0.709s 10 16.88x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.153s (-1.9%) 3.251s (-7.0% 🟢) 0.225s (-6.6% 🟢) 4.092s (-4.7%) 0.939s 10 1.00x
▲ Vercel Express 3.174s (~) 3.226s (~) 0.194s (-0.6%) 3.955s (~) 0.781s 10 1.01x
▲ Vercel Next.js (Turbopack) 3.494s (+11.4% 🔺) 3.842s (+15.6% 🔺) 0.170s (-68.7% 🟢) 4.641s (+6.5% 🔺) 1.147s 10 1.11x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

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

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 479 0 38 517
✅ 💻 Local Development 438 0 32 470
✅ 📦 Local Production 438 0 32 470
✅ 🐘 Local Postgres 438 0 32 470
✅ 🪟 Windows 47 0 0 47
❌ 🌍 Community Worlds 31 169 0 200
✅ 📋 Other 129 0 12 141
Total 2000 169 146 2315

❌ Failed Tests

🌍 Community Worlds (169 failed)

mongodb (42 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

redis (42 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

starter (43 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

turso (42 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • readableStreamWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • outputStreamWorkflow
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 43 0 4
✅ example 43 0 4
✅ express 43 0 4
✅ fastify 43 0 4
✅ hono 43 0 4
✅ nextjs-turbopack 46 0 1
✅ nextjs-webpack 46 0 1
✅ nitro 43 0 4
✅ nuxt 43 0 4
✅ sveltekit 43 0 4
✅ vite 43 0 4
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 43 0 4
✅ express-stable 43 0 4
✅ fastify-stable 43 0 4
✅ hono-stable 43 0 4
✅ nextjs-turbopack-stable 47 0 0
✅ nextjs-webpack-stable 47 0 0
✅ nitro-stable 43 0 4
✅ nuxt-stable 43 0 4
✅ sveltekit-stable 43 0 4
✅ vite-stable 43 0 4
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 43 0 4
✅ express-stable 43 0 4
✅ fastify-stable 43 0 4
✅ hono-stable 43 0 4
✅ nextjs-turbopack-stable 47 0 0
✅ nextjs-webpack-stable 47 0 0
✅ nitro-stable 43 0 4
✅ nuxt-stable 43 0 4
✅ sveltekit-stable 43 0 4
✅ vite-stable 43 0 4
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 43 0 4
✅ express-stable 43 0 4
✅ fastify-stable 43 0 4
✅ hono-stable 43 0 4
✅ nextjs-turbopack-stable 47 0 0
✅ nextjs-webpack-stable 47 0 0
✅ nitro-stable 43 0 4
✅ nuxt-stable 43 0 4
✅ sveltekit-stable 43 0 4
✅ vite-stable 43 0 4
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 47 0 0
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 0
❌ mongodb 5 42 0
✅ redis-dev 3 0 0
❌ redis 5 42 0
✅ starter-dev 3 0 0
❌ starter 4 43 0
✅ turso-dev 3 0 0
❌ turso 5 42 0
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 43 0 4
✅ e2e-local-postgres-nest-stable 43 0 4
✅ e2e-local-prod-nest-stable 43 0 4

📋 View full workflow run

@TooTallNate
Copy link
Member

Would this catch changes in the plugin without a package.json version bump? i.e. in a pull request that changes the SWC compiler output but doesn't yet increase the version number?

@ijjk
Copy link
Member Author

ijjk commented Feb 4, 2026

Oh it would not catch it before a version bump, I'll have to think about that case for iterating on PRs

@ijjk ijjk merged commit 8ab1ba2 into main Feb 4, 2026
96 checks passed
@ijjk ijjk deleted the ijjk/next-cache-invalidation branch February 4, 2026 17:56
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