Skip to content

[core] Correct byte-stream framing capability cutoff (stable) - #2768

Merged
VaguelySerious merged 2 commits into
stablefrom
peter/framing-capability-cutoff
Jul 3, 2026
Merged

[core] Correct byte-stream framing capability cutoff (stable)#2768
VaguelySerious merged 2 commits into
stablefrom
peter/framing-capability-cutoff

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Summary

Two fixes to the framedByteStreams capability gate introduced by the byte-stream framing backport (#2380, from #1853), ahead of the 4.6.0 stable release (#2426):

  1. Bump the cutoff from 4.5.0 to 4.6.0. Stable 4.5.0 was published ~2.5 hours beforeBackport #1853: [core] Add wire-level framing for byte streams #2380 merged, so published 4.5.0 has no framing code — it silently ignores the framing field on stream refs and pipes length-prefixed bytes straight to user code. With the old cutoff, a 4.6.0 producer targeting a 4.5.0 deployment (cross-deployment start(), hook resume into a 4.5.0-created run) would cause silent byte-stream corruption. This resolves the TODO(release) left in capabilities.ts by Backport #1853: [core] Add wire-level framing for byte streams #2380.

  2. Replace the plain minimum-version check with a semver range (>=4.6.0 <5.0.0-0 || >=5.0.0-beta.15, evaluated with includePrerelease). Every 5.0.0-beta.x compares above any 4.x version, but betas below 5.0.0-beta.15 (published 2026-04-08 through 2026-06-11) predate framing. A plain >=4.6.0 check classifies those betas as framing-capable, corrupting byte streams written from a 4.6.0 client to runs or deployments from that window (e.g. hook resumes into long-lived runs created on those betas).

Misclassifying a capable version as incapable is always safe — it just falls back to the legacy raw byte format — so the range errs conservative.

Why this must land on stable (not the release branch)

The equivalent of fix 1 currently exists only as a manual commit on changeset-release/stable (1eae02f). The changesets action regenerates that branch on every push to stable, so the next backport merge would silently drop it and #2426 would ship the corruption bug. Landing it here makes it durable.

Tests

capabilities.test.ts: 4.5.0/4.5.1 and 5.0.0-beta.0/5.0.0-beta.14 read as raw; exact cutoffs 4.6.0 and 5.0.0-beta.15 read as framed; future prereleases above the cutoff (5.1.0-beta.0) recognized as capable.

Note for main

main's cutoff (5.0.0-beta.15) is safe but conservative — it treats stable 4.6.x targets as raw, skipping the framing optimization. A forward-port of the range form can enable it; tracked separately.

🤖 Generated with Claude Code

The framedByteStreams capability was gated at minVersion 4.5.0, but
stable 4.5.0 was published before the framing backport (#2380) merged,
so 4.5.0 deployments cannot unframe framed byte streams — they silently
pipe length-prefixed bytes through to user code. Gate at 4.6.0 instead,
the release that actually ships framing.
Additionally, replace the plain minimum-version check with a semver
range: every 5.0.0-beta.x compares above any 4.x version, but betas
below 5.0.0-beta.15 predate framing, so a plain >=4.6.0 check would
classify them as framing-capable and corrupt byte streams written to
runs or deployments from that window.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersJuly 3, 2026 00:08
@changeset-bot

changeset-botBot commented Jul 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: dcc069a

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

This PR includes changesets to release 16 packages
NameType
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
workflowPatch
@workflow/world-testingPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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 Jul 3, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10770781155
✅ 💻 Local Development11740861260
✅ 📦 Local Production11740861260
❌ 🐘 Local Postgres11731861260
✅ 🪟 Windows10500105
❌ 🌍 Community Worlds791029190
✅ 📋 Other594036630
Total53761033815860

❌ Failed Tests

🐘 Local Postgres (1 failed)

sveltekit-stable (1 failed):

  • workflowAndStepMetadataWorkflow | wrun_01KWK1P6268NQ1BSNDXA017AWM
🌍 Community Worlds (102 failed)

redis (19 failed):

  • hookWorkflow | wrun_01KWK1KS31DNEDMFRXX2PD3RNJ
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KWK1M0C9QDZTPEWAXNBHSTC7
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KWK1MAERB787BM0A2M9G9NV6
  • sleepingWorkflow | wrun_01KWK1N8GJCK3DZ1A8TSPRK02Y
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KWK1X6QP96V2J1ZQE16ZYPCN
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KWK1XKD3KBDZGJQDCWNAZF0Z
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KWK1XV9G80NB1V576RKWMY6Z
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KWK1Y94M071NZ4ENF2QA35FQ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KWK1Z5TVD0M385GSYR2MRFMT
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KWK1Z9B9B79E9QW9YEYQRK76
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KWK1ZFEAW4F4J1BGSN65VWGB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KWK1ZNAVCG8A5X7S06YTCAW3
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KWK1ZZBSW45K4J3TKNMV1FR3
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KWK25ZBRG1KVB3MX25289SNT

turso (83 failed):

  • addTenWorkflow | wrun_01KWK1JTMKB2YHVDPQ05Y1KE9B
  • addTenWorkflow | wrun_01KWK1JTMKB2YHVDPQ05Y1KE9B
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KWK1KM0TDDWTGVET4K4GMJ1W
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KWK1K2YDNGCPXNWRTFY5H8PT
  • promiseRaceWorkflow | wrun_01KWK1K81A0HGP0KDC7S2YGA53
  • promiseAnyWorkflow | wrun_01KWK1KA94VBCB4BVJXPW216T9
  • importedStepOnlyWorkflow | wrun_01KWK1KXJW6HRT6HC4C9MC6NGD
  • readableStreamWorkflow | wrun_01KWK1KCNPM9CYSC4XWQYCBS80
  • hookWorkflow | wrun_01KWK1KS31DNEDMFRXX2PD3RNJ
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KWK1M0C9QDZTPEWAXNBHSTC7
  • webhookWorkflow | wrun_01KWK1M5CVBAAGFKDVZ7KS23EV
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KWK1MAERB787BM0A2M9G9NV6
  • sleepingWorkflow | wrun_01KWK1N8GJCK3DZ1A8TSPRK02Y
  • parallelSleepWorkflow | wrun_01KWK1NRPSB2SWP67P7370Y99E
  • sleepWinsRaceWorkflow | wrun_01KWK1NWM2JA9ND8KCV4E6NV2X
  • stepWinsRaceWorkflow | wrun_01KWK1P03MMDYQ0TVTFP13W64B
  • nullByteWorkflow | wrun_01KWK1P3MTCT482GNFBG2JRT1A
  • workflowAndStepMetadataWorkflow | wrun_01KWK1P6268NQ1BSNDXA017AWM
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KWK1RERDSJC5FYEBW8ACRV3K
  • writableForwardedFromWorkflowWorkflow | wrun_01KWK1RW1F5PJ2YE6GQTTA4CQ8
  • writableForwardedFromStepWorkflow | wrun_01KWK1S0EC1A4DWT67WH0SP1VV
  • fetchWorkflow | wrun_01KWK1S405HZTRDP4SSHMYRN52
  • promiseRaceStressTestWorkflow | wrun_01KWK1S7HRRRRHKPZ7XMNM54JF
  • 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()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KWK1WPMTNYGXYZ51YNDGTP8Z
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KWK1X6QP96V2J1ZQE16ZYPCN
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KWK1XKD3KBDZGJQDCWNAZF0Z
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KWK1XP0V35ZDZ8Z7XSX4VGCT
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KWK1XRJ4222CVP193C5M2HB9
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KWK1XV9G80NB1V576RKWMY6Z
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KWK1Y94M071NZ4ENF2QA35FQ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KWK1Z5TVD0M385GSYR2MRFMT
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KWK1Z9B9B79E9QW9YEYQRK76
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KWK1ZFEAW4F4J1BGSN65VWGB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KWK1ZNAVCG8A5X7S06YTCAW3
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KWK1ZZBSW45K4J3TKNMV1FR3
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KWK206D7YHA49ZAG68KYJHWP
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KWK20Q4N276JGWJYRY9SFWNK
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KWK210QWB5SKX8Z002YXX38Z
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KWK216M30QA6G2PFY91AMFET
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KWK2194YJT83J5B3DMX7GFRE
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KWK21VJD7ZXWX8VHR6S2WW6Y
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KWK221P02EY71ENWWDVZXPJ7
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KWK228S7H4MR83ZKQ065R8X0
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KWK22G2G16MSDFQJJ2QHW513
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KWK22QJ744GMMTY741MKZNE7
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KWK22YT36S0WPT8QKNF5SVQN
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KWK2360S5D6T1M0GR1NBVA91
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KWK23K42RH7G3HCA42VMHXWC
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KWK23WN98S8XZ0R5K7APEJXT
  • cancelRun - cancelling a running workflow | wrun_01KWK243YF9ENPJC5YVHT6H8H2
  • cancelRun via CLI - cancelling a running workflow | wrun_01KWK2494TYFFTKXG2DADHDJAF
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KWK24H4K6WQ9MVWW16ZEXN0C
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01KWK24YKRVE94MTAC9FKZX851
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KWK257G110BA9H80F9660ZT6
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KWK25JBQPT85Y75XAPN2MCRV
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KWK25TTF0BRME318YPX59J23
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KWK25X41PHMCAHK0YRNVSTY0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KWK25ZBRG1KVB3MX25289SNT

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9708
✅ example9708
✅ express9708
✅ fastify9708
✅ hono9708
✅ nextjs-turbopack10203
✅ nextjs-webpack10203
✅ nitro9708
✅ nuxt9708
✅ sveltekit9708
✅ vite9708
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
✅ sveltekit-stable9906
✅ vite-stable9906
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
✅ sveltekit-stable9906
✅ vite-stable9906
❌ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
❌ sveltekit-stable9816
✅ vite-stable9906
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10500
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev303
✅ redis-dev303
❌ redis67190
✅ turso-dev303
❌ turso3830
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9906
✅ e2e-local-dev-tanstack-start-stable9906
✅ e2e-local-postgres-nest-stable9906
✅ e2e-local-postgres-tanstack-start-stable9906
✅ e2e-local-prod-nest-stable9906
✅ e2e-local-prod-tanstack-start-stable9906

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@@ -0,0 +1,6 @@
---
"@workflow/core": patch
"workflow": patch

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

no need for workflow in changeset

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.

done

Comment thread.changeset/framing-capability-cutoff.md Outdated
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
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.

2 participants

@VaguelySerious@pranaygp
, '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" + '
[core] Correct byte-stream framing capability cutoff (stable) by VaguelySerious · Pull Request #2768 · vercel/workflow · GitHub
Skip to content

[core] Correct byte-stream framing capability cutoff (stable) - #2768

Merged
VaguelySerious merged 2 commits into
stablefrom
peter/framing-capability-cutoff
Jul 3, 2026
Merged

[core] Correct byte-stream framing capability cutoff (stable)#2768
VaguelySerious merged 2 commits into
stablefrom
peter/framing-capability-cutoff

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Summary

Two fixes to the framedByteStreams capability gate introduced by the byte-stream framing backport (#2380, from #1853), ahead of the 4.6.0 stable release (#2426):

  1. Bump the cutoff from 4.5.0 to 4.6.0. Stable 4.5.0 was published ~2.5 hours beforeBackport #1853: [core] Add wire-level framing for byte streams #2380 merged, so published 4.5.0 has no framing code — it silently ignores the framing field on stream refs and pipes length-prefixed bytes straight to user code. With the old cutoff, a 4.6.0 producer targeting a 4.5.0 deployment (cross-deployment start(), hook resume into a 4.5.0-created run) would cause silent byte-stream corruption. This resolves the TODO(release) left in capabilities.ts by Backport #1853: [core] Add wire-level framing for byte streams #2380.

  2. Replace the plain minimum-version check with a semver range (>=4.6.0 <5.0.0-0 || >=5.0.0-beta.15, evaluated with includePrerelease). Every 5.0.0-beta.x compares above any 4.x version, but betas below 5.0.0-beta.15 (published 2026-04-08 through 2026-06-11) predate framing. A plain >=4.6.0 check classifies those betas as framing-capable, corrupting byte streams written from a 4.6.0 client to runs or deployments from that window (e.g. hook resumes into long-lived runs created on those betas).

Misclassifying a capable version as incapable is always safe — it just falls back to the legacy raw byte format — so the range errs conservative.

Why this must land on stable (not the release branch)

The equivalent of fix 1 currently exists only as a manual commit on changeset-release/stable (1eae02f). The changesets action regenerates that branch on every push to stable, so the next backport merge would silently drop it and #2426 would ship the corruption bug. Landing it here makes it durable.

Tests

capabilities.test.ts: 4.5.0/4.5.1 and 5.0.0-beta.0/5.0.0-beta.14 read as raw; exact cutoffs 4.6.0 and 5.0.0-beta.15 read as framed; future prereleases above the cutoff (5.1.0-beta.0) recognized as capable.

Note for main

main's cutoff (5.0.0-beta.15) is safe but conservative — it treats stable 4.6.x targets as raw, skipping the framing optimization. A forward-port of the range form can enable it; tracked separately.

🤖 Generated with Claude Code

The framedByteStreams capability was gated at minVersion 4.5.0, but
stable 4.5.0 was published before the framing backport (#2380) merged,
so 4.5.0 deployments cannot unframe framed byte streams — they silently
pipe length-prefixed bytes through to user code. Gate at 4.6.0 instead,
the release that actually ships framing.
Additionally, replace the plain minimum-version check with a semver
range: every 5.0.0-beta.x compares above any 4.x version, but betas
below 5.0.0-beta.15 predate framing, so a plain >=4.6.0 check would
classify them as framing-capable and corrupt byte streams written to
runs or deployments from that window.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersJuly 3, 2026 00:08
@changeset-bot

changeset-botBot commented Jul 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: dcc069a

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

This PR includes changesets to release 16 packages
NameType
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
workflowPatch
@workflow/world-testingPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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 Jul 3, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10770781155
✅ 💻 Local Development11740861260
✅ 📦 Local Production11740861260
❌ 🐘 Local Postgres11731861260
✅ 🪟 Windows10500105
❌ 🌍 Community Worlds791029190
✅ 📋 Other594036630
Total53761033815860

❌ Failed Tests

🐘 Local Postgres (1 failed)

sveltekit-stable (1 failed):

  • workflowAndStepMetadataWorkflow | wrun_01KWK1P6268NQ1BSNDXA017AWM
🌍 Community Worlds (102 failed)

redis (19 failed):

  • hookWorkflow | wrun_01KWK1KS31DNEDMFRXX2PD3RNJ
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KWK1M0C9QDZTPEWAXNBHSTC7
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KWK1MAERB787BM0A2M9G9NV6
  • sleepingWorkflow | wrun_01KWK1N8GJCK3DZ1A8TSPRK02Y
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KWK1X6QP96V2J1ZQE16ZYPCN
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KWK1XKD3KBDZGJQDCWNAZF0Z
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KWK1XV9G80NB1V576RKWMY6Z
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KWK1Y94M071NZ4ENF2QA35FQ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KWK1Z5TVD0M385GSYR2MRFMT
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KWK1Z9B9B79E9QW9YEYQRK76
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KWK1ZFEAW4F4J1BGSN65VWGB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KWK1ZNAVCG8A5X7S06YTCAW3
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KWK1ZZBSW45K4J3TKNMV1FR3
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KWK25ZBRG1KVB3MX25289SNT

turso (83 failed):

  • addTenWorkflow | wrun_01KWK1JTMKB2YHVDPQ05Y1KE9B
  • addTenWorkflow | wrun_01KWK1JTMKB2YHVDPQ05Y1KE9B
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KWK1KM0TDDWTGVET4K4GMJ1W
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KWK1K2YDNGCPXNWRTFY5H8PT
  • promiseRaceWorkflow | wrun_01KWK1K81A0HGP0KDC7S2YGA53
  • promiseAnyWorkflow | wrun_01KWK1KA94VBCB4BVJXPW216T9
  • importedStepOnlyWorkflow | wrun_01KWK1KXJW6HRT6HC4C9MC6NGD
  • readableStreamWorkflow | wrun_01KWK1KCNPM9CYSC4XWQYCBS80
  • hookWorkflow | wrun_01KWK1KS31DNEDMFRXX2PD3RNJ
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KWK1M0C9QDZTPEWAXNBHSTC7
  • webhookWorkflow | wrun_01KWK1M5CVBAAGFKDVZ7KS23EV
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KWK1MAERB787BM0A2M9G9NV6
  • sleepingWorkflow | wrun_01KWK1N8GJCK3DZ1A8TSPRK02Y
  • parallelSleepWorkflow | wrun_01KWK1NRPSB2SWP67P7370Y99E
  • sleepWinsRaceWorkflow | wrun_01KWK1NWM2JA9ND8KCV4E6NV2X
  • stepWinsRaceWorkflow | wrun_01KWK1P03MMDYQ0TVTFP13W64B
  • nullByteWorkflow | wrun_01KWK1P3MTCT482GNFBG2JRT1A
  • workflowAndStepMetadataWorkflow | wrun_01KWK1P6268NQ1BSNDXA017AWM
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KWK1RERDSJC5FYEBW8ACRV3K
  • writableForwardedFromWorkflowWorkflow | wrun_01KWK1RW1F5PJ2YE6GQTTA4CQ8
  • writableForwardedFromStepWorkflow | wrun_01KWK1S0EC1A4DWT67WH0SP1VV
  • fetchWorkflow | wrun_01KWK1S405HZTRDP4SSHMYRN52
  • promiseRaceStressTestWorkflow | wrun_01KWK1S7HRRRRHKPZ7XMNM54JF
  • 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()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KWK1WPMTNYGXYZ51YNDGTP8Z
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KWK1X6QP96V2J1ZQE16ZYPCN
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KWK1XKD3KBDZGJQDCWNAZF0Z
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KWK1XP0V35ZDZ8Z7XSX4VGCT
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KWK1XRJ4222CVP193C5M2HB9
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KWK1XV9G80NB1V576RKWMY6Z
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KWK1Y94M071NZ4ENF2QA35FQ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KWK1Z5TVD0M385GSYR2MRFMT
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KWK1Z9B9B79E9QW9YEYQRK76
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KWK1ZFEAW4F4J1BGSN65VWGB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KWK1ZNAVCG8A5X7S06YTCAW3
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KWK1ZZBSW45K4J3TKNMV1FR3
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KWK206D7YHA49ZAG68KYJHWP
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KWK20Q4N276JGWJYRY9SFWNK
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KWK210QWB5SKX8Z002YXX38Z
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KWK216M30QA6G2PFY91AMFET
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KWK2194YJT83J5B3DMX7GFRE
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KWK21VJD7ZXWX8VHR6S2WW6Y
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KWK221P02EY71ENWWDVZXPJ7
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KWK228S7H4MR83ZKQ065R8X0
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KWK22G2G16MSDFQJJ2QHW513
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KWK22QJ744GMMTY741MKZNE7
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KWK22YT36S0WPT8QKNF5SVQN
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KWK2360S5D6T1M0GR1NBVA91
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KWK23K42RH7G3HCA42VMHXWC
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KWK23WN98S8XZ0R5K7APEJXT
  • cancelRun - cancelling a running workflow | wrun_01KWK243YF9ENPJC5YVHT6H8H2
  • cancelRun via CLI - cancelling a running workflow | wrun_01KWK2494TYFFTKXG2DADHDJAF
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KWK24H4K6WQ9MVWW16ZEXN0C
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01KWK24YKRVE94MTAC9FKZX851
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KWK257G110BA9H80F9660ZT6
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KWK25JBQPT85Y75XAPN2MCRV
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KWK25TTF0BRME318YPX59J23
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KWK25X41PHMCAHK0YRNVSTY0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KWK25ZBRG1KVB3MX25289SNT

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9708
✅ example9708
✅ express9708
✅ fastify9708
✅ hono9708
✅ nextjs-turbopack10203
✅ nextjs-webpack10203
✅ nitro9708
✅ nuxt9708
✅ sveltekit9708
✅ vite9708
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
✅ sveltekit-stable9906
✅ vite-stable9906
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
✅ sveltekit-stable9906
✅ vite-stable9906
❌ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
❌ sveltekit-stable9816
✅ vite-stable9906
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10500
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev303
✅ redis-dev303
❌ redis67190
✅ turso-dev303
❌ turso3830
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9906
✅ e2e-local-dev-tanstack-start-stable9906
✅ e2e-local-postgres-nest-stable9906
✅ e2e-local-postgres-tanstack-start-stable9906
✅ e2e-local-prod-nest-stable9906
✅ e2e-local-prod-tanstack-start-stable9906

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@@ -0,0 +1,6 @@
---
"@workflow/core": patch
"workflow": patch

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

no need for workflow in changeset

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.

done

Comment thread.changeset/framing-capability-cutoff.md Outdated
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
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.

2 participants

@VaguelySerious@pranaygp
, '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('^' + ".*" + ' [core] Correct byte-stream framing capability cutoff (stable) by VaguelySerious · Pull Request #2768 · vercel/workflow · GitHub
Skip to content

[core] Correct byte-stream framing capability cutoff (stable) - #2768

Merged
VaguelySerious merged 2 commits into
stablefrom
peter/framing-capability-cutoff
Jul 3, 2026
Merged

[core] Correct byte-stream framing capability cutoff (stable)#2768
VaguelySerious merged 2 commits into
stablefrom
peter/framing-capability-cutoff

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Summary

Two fixes to the framedByteStreams capability gate introduced by the byte-stream framing backport (#2380, from #1853), ahead of the 4.6.0 stable release (#2426):

  1. Bump the cutoff from 4.5.0 to 4.6.0. Stable 4.5.0 was published ~2.5 hours beforeBackport #1853: [core] Add wire-level framing for byte streams #2380 merged, so published 4.5.0 has no framing code — it silently ignores the framing field on stream refs and pipes length-prefixed bytes straight to user code. With the old cutoff, a 4.6.0 producer targeting a 4.5.0 deployment (cross-deployment start(), hook resume into a 4.5.0-created run) would cause silent byte-stream corruption. This resolves the TODO(release) left in capabilities.ts by Backport #1853: [core] Add wire-level framing for byte streams #2380.

  2. Replace the plain minimum-version check with a semver range (>=4.6.0 <5.0.0-0 || >=5.0.0-beta.15, evaluated with includePrerelease). Every 5.0.0-beta.x compares above any 4.x version, but betas below 5.0.0-beta.15 (published 2026-04-08 through 2026-06-11) predate framing. A plain >=4.6.0 check classifies those betas as framing-capable, corrupting byte streams written from a 4.6.0 client to runs or deployments from that window (e.g. hook resumes into long-lived runs created on those betas).

Misclassifying a capable version as incapable is always safe — it just falls back to the legacy raw byte format — so the range errs conservative.

Why this must land on stable (not the release branch)

The equivalent of fix 1 currently exists only as a manual commit on changeset-release/stable (1eae02f). The changesets action regenerates that branch on every push to stable, so the next backport merge would silently drop it and #2426 would ship the corruption bug. Landing it here makes it durable.

Tests

capabilities.test.ts: 4.5.0/4.5.1 and 5.0.0-beta.0/5.0.0-beta.14 read as raw; exact cutoffs 4.6.0 and 5.0.0-beta.15 read as framed; future prereleases above the cutoff (5.1.0-beta.0) recognized as capable.

Note for main

main's cutoff (5.0.0-beta.15) is safe but conservative — it treats stable 4.6.x targets as raw, skipping the framing optimization. A forward-port of the range form can enable it; tracked separately.

🤖 Generated with Claude Code

The framedByteStreams capability was gated at minVersion 4.5.0, but
stable 4.5.0 was published before the framing backport (#2380) merged,
so 4.5.0 deployments cannot unframe framed byte streams — they silently
pipe length-prefixed bytes through to user code. Gate at 4.6.0 instead,
the release that actually ships framing.
Additionally, replace the plain minimum-version check with a semver
range: every 5.0.0-beta.x compares above any 4.x version, but betas
below 5.0.0-beta.15 predate framing, so a plain >=4.6.0 check would
classify them as framing-capable and corrupt byte streams written to
runs or deployments from that window.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersJuly 3, 2026 00:08
@changeset-bot

changeset-botBot commented Jul 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: dcc069a

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

This PR includes changesets to release 16 packages
NameType
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
workflowPatch
@workflow/world-testingPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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 Jul 3, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10770781155
✅ 💻 Local Development11740861260
✅ 📦 Local Production11740861260
❌ 🐘 Local Postgres11731861260
✅ 🪟 Windows10500105
❌ 🌍 Community Worlds791029190
✅ 📋 Other594036630
Total53761033815860

❌ Failed Tests

🐘 Local Postgres (1 failed)

sveltekit-stable (1 failed):

  • workflowAndStepMetadataWorkflow | wrun_01KWK1P6268NQ1BSNDXA017AWM
🌍 Community Worlds (102 failed)

redis (19 failed):

  • hookWorkflow | wrun_01KWK1KS31DNEDMFRXX2PD3RNJ
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KWK1M0C9QDZTPEWAXNBHSTC7
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KWK1MAERB787BM0A2M9G9NV6
  • sleepingWorkflow | wrun_01KWK1N8GJCK3DZ1A8TSPRK02Y
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KWK1X6QP96V2J1ZQE16ZYPCN
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KWK1XKD3KBDZGJQDCWNAZF0Z
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KWK1XV9G80NB1V576RKWMY6Z
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KWK1Y94M071NZ4ENF2QA35FQ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KWK1Z5TVD0M385GSYR2MRFMT
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KWK1Z9B9B79E9QW9YEYQRK76
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KWK1ZFEAW4F4J1BGSN65VWGB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KWK1ZNAVCG8A5X7S06YTCAW3
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KWK1ZZBSW45K4J3TKNMV1FR3
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KWK25ZBRG1KVB3MX25289SNT

turso (83 failed):

  • addTenWorkflow | wrun_01KWK1JTMKB2YHVDPQ05Y1KE9B
  • addTenWorkflow | wrun_01KWK1JTMKB2YHVDPQ05Y1KE9B
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KWK1KM0TDDWTGVET4K4GMJ1W
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KWK1K2YDNGCPXNWRTFY5H8PT
  • promiseRaceWorkflow | wrun_01KWK1K81A0HGP0KDC7S2YGA53
  • promiseAnyWorkflow | wrun_01KWK1KA94VBCB4BVJXPW216T9
  • importedStepOnlyWorkflow | wrun_01KWK1KXJW6HRT6HC4C9MC6NGD
  • readableStreamWorkflow | wrun_01KWK1KCNPM9CYSC4XWQYCBS80
  • hookWorkflow | wrun_01KWK1KS31DNEDMFRXX2PD3RNJ
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KWK1M0C9QDZTPEWAXNBHSTC7
  • webhookWorkflow | wrun_01KWK1M5CVBAAGFKDVZ7KS23EV
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KWK1MAERB787BM0A2M9G9NV6
  • sleepingWorkflow | wrun_01KWK1N8GJCK3DZ1A8TSPRK02Y
  • parallelSleepWorkflow | wrun_01KWK1NRPSB2SWP67P7370Y99E
  • sleepWinsRaceWorkflow | wrun_01KWK1NWM2JA9ND8KCV4E6NV2X
  • stepWinsRaceWorkflow | wrun_01KWK1P03MMDYQ0TVTFP13W64B
  • nullByteWorkflow | wrun_01KWK1P3MTCT482GNFBG2JRT1A
  • workflowAndStepMetadataWorkflow | wrun_01KWK1P6268NQ1BSNDXA017AWM
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KWK1RERDSJC5FYEBW8ACRV3K
  • writableForwardedFromWorkflowWorkflow | wrun_01KWK1RW1F5PJ2YE6GQTTA4CQ8
  • writableForwardedFromStepWorkflow | wrun_01KWK1S0EC1A4DWT67WH0SP1VV
  • fetchWorkflow | wrun_01KWK1S405HZTRDP4SSHMYRN52
  • promiseRaceStressTestWorkflow | wrun_01KWK1S7HRRRRHKPZ7XMNM54JF
  • 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()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KWK1WPMTNYGXYZ51YNDGTP8Z
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KWK1X6QP96V2J1ZQE16ZYPCN
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KWK1XKD3KBDZGJQDCWNAZF0Z
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KWK1XP0V35ZDZ8Z7XSX4VGCT
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KWK1XRJ4222CVP193C5M2HB9
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KWK1XV9G80NB1V576RKWMY6Z
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KWK1Y94M071NZ4ENF2QA35FQ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KWK1Z5TVD0M385GSYR2MRFMT
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KWK1Z9B9B79E9QW9YEYQRK76
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KWK1ZFEAW4F4J1BGSN65VWGB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KWK1ZNAVCG8A5X7S06YTCAW3
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KWK1ZZBSW45K4J3TKNMV1FR3
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KWK206D7YHA49ZAG68KYJHWP
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KWK20Q4N276JGWJYRY9SFWNK
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KWK210QWB5SKX8Z002YXX38Z
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KWK216M30QA6G2PFY91AMFET
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KWK2194YJT83J5B3DMX7GFRE
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KWK21VJD7ZXWX8VHR6S2WW6Y
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KWK221P02EY71ENWWDVZXPJ7
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KWK228S7H4MR83ZKQ065R8X0
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KWK22G2G16MSDFQJJ2QHW513
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KWK22QJ744GMMTY741MKZNE7
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KWK22YT36S0WPT8QKNF5SVQN
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KWK2360S5D6T1M0GR1NBVA91
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KWK23K42RH7G3HCA42VMHXWC
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KWK23WN98S8XZ0R5K7APEJXT
  • cancelRun - cancelling a running workflow | wrun_01KWK243YF9ENPJC5YVHT6H8H2
  • cancelRun via CLI - cancelling a running workflow | wrun_01KWK2494TYFFTKXG2DADHDJAF
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KWK24H4K6WQ9MVWW16ZEXN0C
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01KWK24YKRVE94MTAC9FKZX851
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KWK257G110BA9H80F9660ZT6
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KWK25JBQPT85Y75XAPN2MCRV
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KWK25TTF0BRME318YPX59J23
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KWK25X41PHMCAHK0YRNVSTY0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KWK25ZBRG1KVB3MX25289SNT

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9708
✅ example9708
✅ express9708
✅ fastify9708
✅ hono9708
✅ nextjs-turbopack10203
✅ nextjs-webpack10203
✅ nitro9708
✅ nuxt9708
✅ sveltekit9708
✅ vite9708
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
✅ sveltekit-stable9906
✅ vite-stable9906
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
✅ sveltekit-stable9906
✅ vite-stable9906
❌ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
❌ sveltekit-stable9816
✅ vite-stable9906
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10500
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev303
✅ redis-dev303
❌ redis67190
✅ turso-dev303
❌ turso3830
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9906
✅ e2e-local-dev-tanstack-start-stable9906
✅ e2e-local-postgres-nest-stable9906
✅ e2e-local-postgres-tanstack-start-stable9906
✅ e2e-local-prod-nest-stable9906
✅ e2e-local-prod-tanstack-start-stable9906

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@@ -0,0 +1,6 @@
---
"@workflow/core": patch
"workflow": patch

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

no need for workflow in changeset

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.

done

Comment thread.changeset/framing-capability-cutoff.md Outdated
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
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.

2 participants

@VaguelySerious@pranaygp
, '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('^' + ".*" + ' [core] Correct byte-stream framing capability cutoff (stable) by VaguelySerious · Pull Request #2768 · vercel/workflow · GitHub
Skip to content

[core] Correct byte-stream framing capability cutoff (stable) - #2768

Merged
VaguelySerious merged 2 commits into
stablefrom
peter/framing-capability-cutoff
Jul 3, 2026
Merged

[core] Correct byte-stream framing capability cutoff (stable)#2768
VaguelySerious merged 2 commits into
stablefrom
peter/framing-capability-cutoff

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Summary

Two fixes to the framedByteStreams capability gate introduced by the byte-stream framing backport (#2380, from #1853), ahead of the 4.6.0 stable release (#2426):

  1. Bump the cutoff from 4.5.0 to 4.6.0. Stable 4.5.0 was published ~2.5 hours beforeBackport #1853: [core] Add wire-level framing for byte streams #2380 merged, so published 4.5.0 has no framing code — it silently ignores the framing field on stream refs and pipes length-prefixed bytes straight to user code. With the old cutoff, a 4.6.0 producer targeting a 4.5.0 deployment (cross-deployment start(), hook resume into a 4.5.0-created run) would cause silent byte-stream corruption. This resolves the TODO(release) left in capabilities.ts by Backport #1853: [core] Add wire-level framing for byte streams #2380.

  2. Replace the plain minimum-version check with a semver range (>=4.6.0 <5.0.0-0 || >=5.0.0-beta.15, evaluated with includePrerelease). Every 5.0.0-beta.x compares above any 4.x version, but betas below 5.0.0-beta.15 (published 2026-04-08 through 2026-06-11) predate framing. A plain >=4.6.0 check classifies those betas as framing-capable, corrupting byte streams written from a 4.6.0 client to runs or deployments from that window (e.g. hook resumes into long-lived runs created on those betas).

Misclassifying a capable version as incapable is always safe — it just falls back to the legacy raw byte format — so the range errs conservative.

Why this must land on stable (not the release branch)

The equivalent of fix 1 currently exists only as a manual commit on changeset-release/stable (1eae02f). The changesets action regenerates that branch on every push to stable, so the next backport merge would silently drop it and #2426 would ship the corruption bug. Landing it here makes it durable.

Tests

capabilities.test.ts: 4.5.0/4.5.1 and 5.0.0-beta.0/5.0.0-beta.14 read as raw; exact cutoffs 4.6.0 and 5.0.0-beta.15 read as framed; future prereleases above the cutoff (5.1.0-beta.0) recognized as capable.

Note for main

main's cutoff (5.0.0-beta.15) is safe but conservative — it treats stable 4.6.x targets as raw, skipping the framing optimization. A forward-port of the range form can enable it; tracked separately.

🤖 Generated with Claude Code

The framedByteStreams capability was gated at minVersion 4.5.0, but
stable 4.5.0 was published before the framing backport (#2380) merged,
so 4.5.0 deployments cannot unframe framed byte streams — they silently
pipe length-prefixed bytes through to user code. Gate at 4.6.0 instead,
the release that actually ships framing.
Additionally, replace the plain minimum-version check with a semver
range: every 5.0.0-beta.x compares above any 4.x version, but betas
below 5.0.0-beta.15 predate framing, so a plain >=4.6.0 check would
classify them as framing-capable and corrupt byte streams written to
runs or deployments from that window.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersJuly 3, 2026 00:08
@changeset-bot

changeset-botBot commented Jul 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: dcc069a

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

This PR includes changesets to release 16 packages
NameType
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
workflowPatch
@workflow/world-testingPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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 Jul 3, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10770781155
✅ 💻 Local Development11740861260
✅ 📦 Local Production11740861260
❌ 🐘 Local Postgres11731861260
✅ 🪟 Windows10500105
❌ 🌍 Community Worlds791029190
✅ 📋 Other594036630
Total53761033815860

❌ Failed Tests

🐘 Local Postgres (1 failed)

sveltekit-stable (1 failed):

  • workflowAndStepMetadataWorkflow | wrun_01KWK1P6268NQ1BSNDXA017AWM
🌍 Community Worlds (102 failed)

redis (19 failed):

  • hookWorkflow | wrun_01KWK1KS31DNEDMFRXX2PD3RNJ
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KWK1M0C9QDZTPEWAXNBHSTC7
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KWK1MAERB787BM0A2M9G9NV6
  • sleepingWorkflow | wrun_01KWK1N8GJCK3DZ1A8TSPRK02Y
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KWK1X6QP96V2J1ZQE16ZYPCN
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KWK1XKD3KBDZGJQDCWNAZF0Z
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KWK1XV9G80NB1V576RKWMY6Z
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KWK1Y94M071NZ4ENF2QA35FQ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KWK1Z5TVD0M385GSYR2MRFMT
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KWK1Z9B9B79E9QW9YEYQRK76
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KWK1ZFEAW4F4J1BGSN65VWGB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KWK1ZNAVCG8A5X7S06YTCAW3
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KWK1ZZBSW45K4J3TKNMV1FR3
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KWK25ZBRG1KVB3MX25289SNT

turso (83 failed):

  • addTenWorkflow | wrun_01KWK1JTMKB2YHVDPQ05Y1KE9B
  • addTenWorkflow | wrun_01KWK1JTMKB2YHVDPQ05Y1KE9B
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KWK1KM0TDDWTGVET4K4GMJ1W
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KWK1K2YDNGCPXNWRTFY5H8PT
  • promiseRaceWorkflow | wrun_01KWK1K81A0HGP0KDC7S2YGA53
  • promiseAnyWorkflow | wrun_01KWK1KA94VBCB4BVJXPW216T9
  • importedStepOnlyWorkflow | wrun_01KWK1KXJW6HRT6HC4C9MC6NGD
  • readableStreamWorkflow | wrun_01KWK1KCNPM9CYSC4XWQYCBS80
  • hookWorkflow | wrun_01KWK1KS31DNEDMFRXX2PD3RNJ
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KWK1M0C9QDZTPEWAXNBHSTC7
  • webhookWorkflow | wrun_01KWK1M5CVBAAGFKDVZ7KS23EV
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KWK1MAERB787BM0A2M9G9NV6
  • sleepingWorkflow | wrun_01KWK1N8GJCK3DZ1A8TSPRK02Y
  • parallelSleepWorkflow | wrun_01KWK1NRPSB2SWP67P7370Y99E
  • sleepWinsRaceWorkflow | wrun_01KWK1NWM2JA9ND8KCV4E6NV2X
  • stepWinsRaceWorkflow | wrun_01KWK1P03MMDYQ0TVTFP13W64B
  • nullByteWorkflow | wrun_01KWK1P3MTCT482GNFBG2JRT1A
  • workflowAndStepMetadataWorkflow | wrun_01KWK1P6268NQ1BSNDXA017AWM
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KWK1RERDSJC5FYEBW8ACRV3K
  • writableForwardedFromWorkflowWorkflow | wrun_01KWK1RW1F5PJ2YE6GQTTA4CQ8
  • writableForwardedFromStepWorkflow | wrun_01KWK1S0EC1A4DWT67WH0SP1VV
  • fetchWorkflow | wrun_01KWK1S405HZTRDP4SSHMYRN52
  • promiseRaceStressTestWorkflow | wrun_01KWK1S7HRRRRHKPZ7XMNM54JF
  • 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()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KWK1WPMTNYGXYZ51YNDGTP8Z
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KWK1X6QP96V2J1ZQE16ZYPCN
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KWK1XKD3KBDZGJQDCWNAZF0Z
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KWK1XP0V35ZDZ8Z7XSX4VGCT
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KWK1XRJ4222CVP193C5M2HB9
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KWK1XV9G80NB1V576RKWMY6Z
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KWK1Y94M071NZ4ENF2QA35FQ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KWK1Z5TVD0M385GSYR2MRFMT
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KWK1Z9B9B79E9QW9YEYQRK76
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KWK1ZFEAW4F4J1BGSN65VWGB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KWK1ZNAVCG8A5X7S06YTCAW3
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KWK1ZZBSW45K4J3TKNMV1FR3
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KWK206D7YHA49ZAG68KYJHWP
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KWK20Q4N276JGWJYRY9SFWNK
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KWK210QWB5SKX8Z002YXX38Z
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KWK216M30QA6G2PFY91AMFET
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KWK2194YJT83J5B3DMX7GFRE
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KWK21VJD7ZXWX8VHR6S2WW6Y
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KWK221P02EY71ENWWDVZXPJ7
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KWK228S7H4MR83ZKQ065R8X0
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KWK22G2G16MSDFQJJ2QHW513
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KWK22QJ744GMMTY741MKZNE7
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KWK22YT36S0WPT8QKNF5SVQN
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KWK2360S5D6T1M0GR1NBVA91
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KWK23K42RH7G3HCA42VMHXWC
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KWK23WN98S8XZ0R5K7APEJXT
  • cancelRun - cancelling a running workflow | wrun_01KWK243YF9ENPJC5YVHT6H8H2
  • cancelRun via CLI - cancelling a running workflow | wrun_01KWK2494TYFFTKXG2DADHDJAF
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KWK24H4K6WQ9MVWW16ZEXN0C
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01KWK24YKRVE94MTAC9FKZX851
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KWK257G110BA9H80F9660ZT6
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KWK25JBQPT85Y75XAPN2MCRV
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KWK25TTF0BRME318YPX59J23
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KWK25X41PHMCAHK0YRNVSTY0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KWK25ZBRG1KVB3MX25289SNT

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9708
✅ example9708
✅ express9708
✅ fastify9708
✅ hono9708
✅ nextjs-turbopack10203
✅ nextjs-webpack10203
✅ nitro9708
✅ nuxt9708
✅ sveltekit9708
✅ vite9708
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
✅ sveltekit-stable9906
✅ vite-stable9906
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
✅ sveltekit-stable9906
✅ vite-stable9906
❌ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
❌ sveltekit-stable9816
✅ vite-stable9906
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10500
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev303
✅ redis-dev303
❌ redis67190
✅ turso-dev303
❌ turso3830
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9906
✅ e2e-local-dev-tanstack-start-stable9906
✅ e2e-local-postgres-nest-stable9906
✅ e2e-local-postgres-tanstack-start-stable9906
✅ e2e-local-prod-nest-stable9906
✅ e2e-local-prod-tanstack-start-stable9906

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@@ -0,0 +1,6 @@
---
"@workflow/core": patch
"workflow": patch

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

no need for workflow in changeset

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.

done

Comment thread.changeset/framing-capability-cutoff.md Outdated
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
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.

2 participants

@VaguelySerious@pranaygp
, '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" + ' [core] Correct byte-stream framing capability cutoff (stable) by VaguelySerious · Pull Request #2768 · vercel/workflow · GitHub
Skip to content

[core] Correct byte-stream framing capability cutoff (stable) - #2768

Merged
VaguelySerious merged 2 commits into
stablefrom
peter/framing-capability-cutoff
Jul 3, 2026
Merged

[core] Correct byte-stream framing capability cutoff (stable)#2768
VaguelySerious merged 2 commits into
stablefrom
peter/framing-capability-cutoff

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Summary

Two fixes to the framedByteStreams capability gate introduced by the byte-stream framing backport (#2380, from #1853), ahead of the 4.6.0 stable release (#2426):

  1. Bump the cutoff from 4.5.0 to 4.6.0. Stable 4.5.0 was published ~2.5 hours beforeBackport #1853: [core] Add wire-level framing for byte streams #2380 merged, so published 4.5.0 has no framing code — it silently ignores the framing field on stream refs and pipes length-prefixed bytes straight to user code. With the old cutoff, a 4.6.0 producer targeting a 4.5.0 deployment (cross-deployment start(), hook resume into a 4.5.0-created run) would cause silent byte-stream corruption. This resolves the TODO(release) left in capabilities.ts by Backport #1853: [core] Add wire-level framing for byte streams #2380.

  2. Replace the plain minimum-version check with a semver range (>=4.6.0 <5.0.0-0 || >=5.0.0-beta.15, evaluated with includePrerelease). Every 5.0.0-beta.x compares above any 4.x version, but betas below 5.0.0-beta.15 (published 2026-04-08 through 2026-06-11) predate framing. A plain >=4.6.0 check classifies those betas as framing-capable, corrupting byte streams written from a 4.6.0 client to runs or deployments from that window (e.g. hook resumes into long-lived runs created on those betas).

Misclassifying a capable version as incapable is always safe — it just falls back to the legacy raw byte format — so the range errs conservative.

Why this must land on stable (not the release branch)

The equivalent of fix 1 currently exists only as a manual commit on changeset-release/stable (1eae02f). The changesets action regenerates that branch on every push to stable, so the next backport merge would silently drop it and #2426 would ship the corruption bug. Landing it here makes it durable.

Tests

capabilities.test.ts: 4.5.0/4.5.1 and 5.0.0-beta.0/5.0.0-beta.14 read as raw; exact cutoffs 4.6.0 and 5.0.0-beta.15 read as framed; future prereleases above the cutoff (5.1.0-beta.0) recognized as capable.

Note for main

main's cutoff (5.0.0-beta.15) is safe but conservative — it treats stable 4.6.x targets as raw, skipping the framing optimization. A forward-port of the range form can enable it; tracked separately.

🤖 Generated with Claude Code

The framedByteStreams capability was gated at minVersion 4.5.0, but
stable 4.5.0 was published before the framing backport (#2380) merged,
so 4.5.0 deployments cannot unframe framed byte streams — they silently
pipe length-prefixed bytes through to user code. Gate at 4.6.0 instead,
the release that actually ships framing.
Additionally, replace the plain minimum-version check with a semver
range: every 5.0.0-beta.x compares above any 4.x version, but betas
below 5.0.0-beta.15 predate framing, so a plain >=4.6.0 check would
classify them as framing-capable and corrupt byte streams written to
runs or deployments from that window.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersJuly 3, 2026 00:08
@changeset-bot

changeset-botBot commented Jul 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: dcc069a

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

This PR includes changesets to release 16 packages
NameType
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
workflowPatch
@workflow/world-testingPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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 Jul 3, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10770781155
✅ 💻 Local Development11740861260
✅ 📦 Local Production11740861260
❌ 🐘 Local Postgres11731861260
✅ 🪟 Windows10500105
❌ 🌍 Community Worlds791029190
✅ 📋 Other594036630
Total53761033815860

❌ Failed Tests

🐘 Local Postgres (1 failed)

sveltekit-stable (1 failed):

  • workflowAndStepMetadataWorkflow | wrun_01KWK1P6268NQ1BSNDXA017AWM
🌍 Community Worlds (102 failed)

redis (19 failed):

  • hookWorkflow | wrun_01KWK1KS31DNEDMFRXX2PD3RNJ
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KWK1M0C9QDZTPEWAXNBHSTC7
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KWK1MAERB787BM0A2M9G9NV6
  • sleepingWorkflow | wrun_01KWK1N8GJCK3DZ1A8TSPRK02Y
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KWK1X6QP96V2J1ZQE16ZYPCN
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KWK1XKD3KBDZGJQDCWNAZF0Z
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KWK1XV9G80NB1V576RKWMY6Z
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KWK1Y94M071NZ4ENF2QA35FQ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KWK1Z5TVD0M385GSYR2MRFMT
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KWK1Z9B9B79E9QW9YEYQRK76
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KWK1ZFEAW4F4J1BGSN65VWGB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KWK1ZNAVCG8A5X7S06YTCAW3
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KWK1ZZBSW45K4J3TKNMV1FR3
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KWK25ZBRG1KVB3MX25289SNT

turso (83 failed):

  • addTenWorkflow | wrun_01KWK1JTMKB2YHVDPQ05Y1KE9B
  • addTenWorkflow | wrun_01KWK1JTMKB2YHVDPQ05Y1KE9B
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KWK1KM0TDDWTGVET4K4GMJ1W
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KWK1K2YDNGCPXNWRTFY5H8PT
  • promiseRaceWorkflow | wrun_01KWK1K81A0HGP0KDC7S2YGA53
  • promiseAnyWorkflow | wrun_01KWK1KA94VBCB4BVJXPW216T9
  • importedStepOnlyWorkflow | wrun_01KWK1KXJW6HRT6HC4C9MC6NGD
  • readableStreamWorkflow | wrun_01KWK1KCNPM9CYSC4XWQYCBS80
  • hookWorkflow | wrun_01KWK1KS31DNEDMFRXX2PD3RNJ
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KWK1M0C9QDZTPEWAXNBHSTC7
  • webhookWorkflow | wrun_01KWK1M5CVBAAGFKDVZ7KS23EV
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KWK1MAERB787BM0A2M9G9NV6
  • sleepingWorkflow | wrun_01KWK1N8GJCK3DZ1A8TSPRK02Y
  • parallelSleepWorkflow | wrun_01KWK1NRPSB2SWP67P7370Y99E
  • sleepWinsRaceWorkflow | wrun_01KWK1NWM2JA9ND8KCV4E6NV2X
  • stepWinsRaceWorkflow | wrun_01KWK1P03MMDYQ0TVTFP13W64B
  • nullByteWorkflow | wrun_01KWK1P3MTCT482GNFBG2JRT1A
  • workflowAndStepMetadataWorkflow | wrun_01KWK1P6268NQ1BSNDXA017AWM
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KWK1RERDSJC5FYEBW8ACRV3K
  • writableForwardedFromWorkflowWorkflow | wrun_01KWK1RW1F5PJ2YE6GQTTA4CQ8
  • writableForwardedFromStepWorkflow | wrun_01KWK1S0EC1A4DWT67WH0SP1VV
  • fetchWorkflow | wrun_01KWK1S405HZTRDP4SSHMYRN52
  • promiseRaceStressTestWorkflow | wrun_01KWK1S7HRRRRHKPZ7XMNM54JF
  • 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()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KWK1WPMTNYGXYZ51YNDGTP8Z
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KWK1X6QP96V2J1ZQE16ZYPCN
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KWK1XKD3KBDZGJQDCWNAZF0Z
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KWK1XP0V35ZDZ8Z7XSX4VGCT
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KWK1XRJ4222CVP193C5M2HB9
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KWK1XV9G80NB1V576RKWMY6Z
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KWK1Y94M071NZ4ENF2QA35FQ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KWK1Z5TVD0M385GSYR2MRFMT
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KWK1Z9B9B79E9QW9YEYQRK76
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KWK1ZFEAW4F4J1BGSN65VWGB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KWK1ZNAVCG8A5X7S06YTCAW3
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KWK1ZZBSW45K4J3TKNMV1FR3
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KWK206D7YHA49ZAG68KYJHWP
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KWK20Q4N276JGWJYRY9SFWNK
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KWK210QWB5SKX8Z002YXX38Z
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KWK216M30QA6G2PFY91AMFET
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KWK2194YJT83J5B3DMX7GFRE
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KWK21VJD7ZXWX8VHR6S2WW6Y
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KWK221P02EY71ENWWDVZXPJ7
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KWK228S7H4MR83ZKQ065R8X0
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KWK22G2G16MSDFQJJ2QHW513
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KWK22QJ744GMMTY741MKZNE7
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KWK22YT36S0WPT8QKNF5SVQN
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KWK2360S5D6T1M0GR1NBVA91
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KWK23K42RH7G3HCA42VMHXWC
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KWK23WN98S8XZ0R5K7APEJXT
  • cancelRun - cancelling a running workflow | wrun_01KWK243YF9ENPJC5YVHT6H8H2
  • cancelRun via CLI - cancelling a running workflow | wrun_01KWK2494TYFFTKXG2DADHDJAF
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KWK24H4K6WQ9MVWW16ZEXN0C
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01KWK24YKRVE94MTAC9FKZX851
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KWK257G110BA9H80F9660ZT6
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KWK25JBQPT85Y75XAPN2MCRV
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KWK25TTF0BRME318YPX59J23
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KWK25X41PHMCAHK0YRNVSTY0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KWK25ZBRG1KVB3MX25289SNT

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9708
✅ example9708
✅ express9708
✅ fastify9708
✅ hono9708
✅ nextjs-turbopack10203
✅ nextjs-webpack10203
✅ nitro9708
✅ nuxt9708
✅ sveltekit9708
✅ vite9708
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
✅ sveltekit-stable9906
✅ vite-stable9906
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
✅ sveltekit-stable9906
✅ vite-stable9906
❌ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
❌ sveltekit-stable9816
✅ vite-stable9906
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10500
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev303
✅ redis-dev303
❌ redis67190
✅ turso-dev303
❌ turso3830
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9906
✅ e2e-local-dev-tanstack-start-stable9906
✅ e2e-local-postgres-nest-stable9906
✅ e2e-local-postgres-tanstack-start-stable9906
✅ e2e-local-prod-nest-stable9906
✅ e2e-local-prod-tanstack-start-stable9906

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@@ -0,0 +1,6 @@
---
"@workflow/core": patch
"workflow": patch

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

no need for workflow in changeset

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.

done

Comment thread.changeset/framing-capability-cutoff.md Outdated
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
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.

2 participants

@VaguelySerious@pranaygp
, '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('^' + ".*" + ' [core] Correct byte-stream framing capability cutoff (stable) by VaguelySerious · Pull Request #2768 · vercel/workflow · GitHub
Skip to content

[core] Correct byte-stream framing capability cutoff (stable) - #2768

Merged
VaguelySerious merged 2 commits into
stablefrom
peter/framing-capability-cutoff
Jul 3, 2026
Merged

[core] Correct byte-stream framing capability cutoff (stable)#2768
VaguelySerious merged 2 commits into
stablefrom
peter/framing-capability-cutoff

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Summary

Two fixes to the framedByteStreams capability gate introduced by the byte-stream framing backport (#2380, from #1853), ahead of the 4.6.0 stable release (#2426):

  1. Bump the cutoff from 4.5.0 to 4.6.0. Stable 4.5.0 was published ~2.5 hours beforeBackport #1853: [core] Add wire-level framing for byte streams #2380 merged, so published 4.5.0 has no framing code — it silently ignores the framing field on stream refs and pipes length-prefixed bytes straight to user code. With the old cutoff, a 4.6.0 producer targeting a 4.5.0 deployment (cross-deployment start(), hook resume into a 4.5.0-created run) would cause silent byte-stream corruption. This resolves the TODO(release) left in capabilities.ts by Backport #1853: [core] Add wire-level framing for byte streams #2380.

  2. Replace the plain minimum-version check with a semver range (>=4.6.0 <5.0.0-0 || >=5.0.0-beta.15, evaluated with includePrerelease). Every 5.0.0-beta.x compares above any 4.x version, but betas below 5.0.0-beta.15 (published 2026-04-08 through 2026-06-11) predate framing. A plain >=4.6.0 check classifies those betas as framing-capable, corrupting byte streams written from a 4.6.0 client to runs or deployments from that window (e.g. hook resumes into long-lived runs created on those betas).

Misclassifying a capable version as incapable is always safe — it just falls back to the legacy raw byte format — so the range errs conservative.

Why this must land on stable (not the release branch)

The equivalent of fix 1 currently exists only as a manual commit on changeset-release/stable (1eae02f). The changesets action regenerates that branch on every push to stable, so the next backport merge would silently drop it and #2426 would ship the corruption bug. Landing it here makes it durable.

Tests

capabilities.test.ts: 4.5.0/4.5.1 and 5.0.0-beta.0/5.0.0-beta.14 read as raw; exact cutoffs 4.6.0 and 5.0.0-beta.15 read as framed; future prereleases above the cutoff (5.1.0-beta.0) recognized as capable.

Note for main

main's cutoff (5.0.0-beta.15) is safe but conservative — it treats stable 4.6.x targets as raw, skipping the framing optimization. A forward-port of the range form can enable it; tracked separately.

🤖 Generated with Claude Code

The framedByteStreams capability was gated at minVersion 4.5.0, but
stable 4.5.0 was published before the framing backport (#2380) merged,
so 4.5.0 deployments cannot unframe framed byte streams — they silently
pipe length-prefixed bytes through to user code. Gate at 4.6.0 instead,
the release that actually ships framing.
Additionally, replace the plain minimum-version check with a semver
range: every 5.0.0-beta.x compares above any 4.x version, but betas
below 5.0.0-beta.15 predate framing, so a plain >=4.6.0 check would
classify them as framing-capable and corrupt byte streams written to
runs or deployments from that window.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersJuly 3, 2026 00:08
@changeset-bot

changeset-botBot commented Jul 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: dcc069a

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

This PR includes changesets to release 16 packages
NameType
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
workflowPatch
@workflow/world-testingPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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 Jul 3, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10770781155
✅ 💻 Local Development11740861260
✅ 📦 Local Production11740861260
❌ 🐘 Local Postgres11731861260
✅ 🪟 Windows10500105
❌ 🌍 Community Worlds791029190
✅ 📋 Other594036630
Total53761033815860

❌ Failed Tests

🐘 Local Postgres (1 failed)

sveltekit-stable (1 failed):

  • workflowAndStepMetadataWorkflow | wrun_01KWK1P6268NQ1BSNDXA017AWM
🌍 Community Worlds (102 failed)

redis (19 failed):

  • hookWorkflow | wrun_01KWK1KS31DNEDMFRXX2PD3RNJ
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KWK1M0C9QDZTPEWAXNBHSTC7
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KWK1MAERB787BM0A2M9G9NV6
  • sleepingWorkflow | wrun_01KWK1N8GJCK3DZ1A8TSPRK02Y
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KWK1X6QP96V2J1ZQE16ZYPCN
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KWK1XKD3KBDZGJQDCWNAZF0Z
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KWK1XV9G80NB1V576RKWMY6Z
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KWK1Y94M071NZ4ENF2QA35FQ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KWK1Z5TVD0M385GSYR2MRFMT
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KWK1Z9B9B79E9QW9YEYQRK76
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KWK1ZFEAW4F4J1BGSN65VWGB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KWK1ZNAVCG8A5X7S06YTCAW3
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KWK1ZZBSW45K4J3TKNMV1FR3
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KWK25ZBRG1KVB3MX25289SNT

turso (83 failed):

  • addTenWorkflow | wrun_01KWK1JTMKB2YHVDPQ05Y1KE9B
  • addTenWorkflow | wrun_01KWK1JTMKB2YHVDPQ05Y1KE9B
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KWK1KM0TDDWTGVET4K4GMJ1W
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KWK1K2YDNGCPXNWRTFY5H8PT
  • promiseRaceWorkflow | wrun_01KWK1K81A0HGP0KDC7S2YGA53
  • promiseAnyWorkflow | wrun_01KWK1KA94VBCB4BVJXPW216T9
  • importedStepOnlyWorkflow | wrun_01KWK1KXJW6HRT6HC4C9MC6NGD
  • readableStreamWorkflow | wrun_01KWK1KCNPM9CYSC4XWQYCBS80
  • hookWorkflow | wrun_01KWK1KS31DNEDMFRXX2PD3RNJ
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KWK1M0C9QDZTPEWAXNBHSTC7
  • webhookWorkflow | wrun_01KWK1M5CVBAAGFKDVZ7KS23EV
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KWK1MAERB787BM0A2M9G9NV6
  • sleepingWorkflow | wrun_01KWK1N8GJCK3DZ1A8TSPRK02Y
  • parallelSleepWorkflow | wrun_01KWK1NRPSB2SWP67P7370Y99E
  • sleepWinsRaceWorkflow | wrun_01KWK1NWM2JA9ND8KCV4E6NV2X
  • stepWinsRaceWorkflow | wrun_01KWK1P03MMDYQ0TVTFP13W64B
  • nullByteWorkflow | wrun_01KWK1P3MTCT482GNFBG2JRT1A
  • workflowAndStepMetadataWorkflow | wrun_01KWK1P6268NQ1BSNDXA017AWM
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KWK1RERDSJC5FYEBW8ACRV3K
  • writableForwardedFromWorkflowWorkflow | wrun_01KWK1RW1F5PJ2YE6GQTTA4CQ8
  • writableForwardedFromStepWorkflow | wrun_01KWK1S0EC1A4DWT67WH0SP1VV
  • fetchWorkflow | wrun_01KWK1S405HZTRDP4SSHMYRN52
  • promiseRaceStressTestWorkflow | wrun_01KWK1S7HRRRRHKPZ7XMNM54JF
  • 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()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KWK1WPMTNYGXYZ51YNDGTP8Z
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KWK1X6QP96V2J1ZQE16ZYPCN
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KWK1XKD3KBDZGJQDCWNAZF0Z
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KWK1XP0V35ZDZ8Z7XSX4VGCT
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KWK1XRJ4222CVP193C5M2HB9
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KWK1XV9G80NB1V576RKWMY6Z
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KWK1Y94M071NZ4ENF2QA35FQ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KWK1Z5TVD0M385GSYR2MRFMT
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KWK1Z9B9B79E9QW9YEYQRK76
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KWK1ZFEAW4F4J1BGSN65VWGB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KWK1ZNAVCG8A5X7S06YTCAW3
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KWK1ZZBSW45K4J3TKNMV1FR3
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KWK206D7YHA49ZAG68KYJHWP
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KWK20Q4N276JGWJYRY9SFWNK
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KWK210QWB5SKX8Z002YXX38Z
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KWK216M30QA6G2PFY91AMFET
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KWK2194YJT83J5B3DMX7GFRE
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KWK21VJD7ZXWX8VHR6S2WW6Y
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KWK221P02EY71ENWWDVZXPJ7
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KWK228S7H4MR83ZKQ065R8X0
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KWK22G2G16MSDFQJJ2QHW513
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KWK22QJ744GMMTY741MKZNE7
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KWK22YT36S0WPT8QKNF5SVQN
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KWK2360S5D6T1M0GR1NBVA91
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KWK23K42RH7G3HCA42VMHXWC
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KWK23WN98S8XZ0R5K7APEJXT
  • cancelRun - cancelling a running workflow | wrun_01KWK243YF9ENPJC5YVHT6H8H2
  • cancelRun via CLI - cancelling a running workflow | wrun_01KWK2494TYFFTKXG2DADHDJAF
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KWK24H4K6WQ9MVWW16ZEXN0C
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01KWK24YKRVE94MTAC9FKZX851
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KWK257G110BA9H80F9660ZT6
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KWK25JBQPT85Y75XAPN2MCRV
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KWK25TTF0BRME318YPX59J23
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KWK25X41PHMCAHK0YRNVSTY0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KWK25ZBRG1KVB3MX25289SNT

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9708
✅ example9708
✅ express9708
✅ fastify9708
✅ hono9708
✅ nextjs-turbopack10203
✅ nextjs-webpack10203
✅ nitro9708
✅ nuxt9708
✅ sveltekit9708
✅ vite9708
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
✅ sveltekit-stable9906
✅ vite-stable9906
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
✅ sveltekit-stable9906
✅ vite-stable9906
❌ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
❌ sveltekit-stable9816
✅ vite-stable9906
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10500
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev303
✅ redis-dev303
❌ redis67190
✅ turso-dev303
❌ turso3830
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9906
✅ e2e-local-dev-tanstack-start-stable9906
✅ e2e-local-postgres-nest-stable9906
✅ e2e-local-postgres-tanstack-start-stable9906
✅ e2e-local-prod-nest-stable9906
✅ e2e-local-prod-tanstack-start-stable9906

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@@ -0,0 +1,6 @@
---
"@workflow/core": patch
"workflow": patch

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

no need for workflow in changeset

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.

done

Comment thread.changeset/framing-capability-cutoff.md Outdated
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
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.

2 participants

@VaguelySerious@pranaygp
, '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); } })(); })(); [core] Correct byte-stream framing capability cutoff (stable) by VaguelySerious · Pull Request #2768 · vercel/workflow · GitHub
Skip to content

[core] Correct byte-stream framing capability cutoff (stable) - #2768

Merged
VaguelySerious merged 2 commits into
stablefrom
peter/framing-capability-cutoff
Jul 3, 2026
Merged

[core] Correct byte-stream framing capability cutoff (stable)#2768
VaguelySerious merged 2 commits into
stablefrom
peter/framing-capability-cutoff

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Summary

Two fixes to the framedByteStreams capability gate introduced by the byte-stream framing backport (#2380, from #1853), ahead of the 4.6.0 stable release (#2426):

  1. Bump the cutoff from 4.5.0 to 4.6.0. Stable 4.5.0 was published ~2.5 hours beforeBackport #1853: [core] Add wire-level framing for byte streams #2380 merged, so published 4.5.0 has no framing code — it silently ignores the framing field on stream refs and pipes length-prefixed bytes straight to user code. With the old cutoff, a 4.6.0 producer targeting a 4.5.0 deployment (cross-deployment start(), hook resume into a 4.5.0-created run) would cause silent byte-stream corruption. This resolves the TODO(release) left in capabilities.ts by Backport #1853: [core] Add wire-level framing for byte streams #2380.

  2. Replace the plain minimum-version check with a semver range (>=4.6.0 <5.0.0-0 || >=5.0.0-beta.15, evaluated with includePrerelease). Every 5.0.0-beta.x compares above any 4.x version, but betas below 5.0.0-beta.15 (published 2026-04-08 through 2026-06-11) predate framing. A plain >=4.6.0 check classifies those betas as framing-capable, corrupting byte streams written from a 4.6.0 client to runs or deployments from that window (e.g. hook resumes into long-lived runs created on those betas).

Misclassifying a capable version as incapable is always safe — it just falls back to the legacy raw byte format — so the range errs conservative.

Why this must land on stable (not the release branch)

The equivalent of fix 1 currently exists only as a manual commit on changeset-release/stable (1eae02f). The changesets action regenerates that branch on every push to stable, so the next backport merge would silently drop it and #2426 would ship the corruption bug. Landing it here makes it durable.

Tests

capabilities.test.ts: 4.5.0/4.5.1 and 5.0.0-beta.0/5.0.0-beta.14 read as raw; exact cutoffs 4.6.0 and 5.0.0-beta.15 read as framed; future prereleases above the cutoff (5.1.0-beta.0) recognized as capable.

Note for main

main's cutoff (5.0.0-beta.15) is safe but conservative — it treats stable 4.6.x targets as raw, skipping the framing optimization. A forward-port of the range form can enable it; tracked separately.

🤖 Generated with Claude Code

The framedByteStreams capability was gated at minVersion 4.5.0, but
stable 4.5.0 was published before the framing backport (#2380) merged,
so 4.5.0 deployments cannot unframe framed byte streams — they silently
pipe length-prefixed bytes through to user code. Gate at 4.6.0 instead,
the release that actually ships framing.
Additionally, replace the plain minimum-version check with a semver
range: every 5.0.0-beta.x compares above any 4.x version, but betas
below 5.0.0-beta.15 predate framing, so a plain >=4.6.0 check would
classify them as framing-capable and corrupt byte streams written to
runs or deployments from that window.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersJuly 3, 2026 00:08
@changeset-bot

changeset-botBot commented Jul 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: dcc069a

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

This PR includes changesets to release 16 packages
NameType
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
workflowPatch
@workflow/world-testingPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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 Jul 3, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10770781155
✅ 💻 Local Development11740861260
✅ 📦 Local Production11740861260
❌ 🐘 Local Postgres11731861260
✅ 🪟 Windows10500105
❌ 🌍 Community Worlds791029190
✅ 📋 Other594036630
Total53761033815860

❌ Failed Tests

🐘 Local Postgres (1 failed)

sveltekit-stable (1 failed):

  • workflowAndStepMetadataWorkflow | wrun_01KWK1P6268NQ1BSNDXA017AWM
🌍 Community Worlds (102 failed)

redis (19 failed):

  • hookWorkflow | wrun_01KWK1KS31DNEDMFRXX2PD3RNJ
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KWK1M0C9QDZTPEWAXNBHSTC7
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KWK1MAERB787BM0A2M9G9NV6
  • sleepingWorkflow | wrun_01KWK1N8GJCK3DZ1A8TSPRK02Y
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KWK1X6QP96V2J1ZQE16ZYPCN
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KWK1XKD3KBDZGJQDCWNAZF0Z
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KWK1XV9G80NB1V576RKWMY6Z
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KWK1Y94M071NZ4ENF2QA35FQ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KWK1Z5TVD0M385GSYR2MRFMT
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KWK1Z9B9B79E9QW9YEYQRK76
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KWK1ZFEAW4F4J1BGSN65VWGB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KWK1ZNAVCG8A5X7S06YTCAW3
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KWK1ZZBSW45K4J3TKNMV1FR3
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KWK25ZBRG1KVB3MX25289SNT

turso (83 failed):

  • addTenWorkflow | wrun_01KWK1JTMKB2YHVDPQ05Y1KE9B
  • addTenWorkflow | wrun_01KWK1JTMKB2YHVDPQ05Y1KE9B
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KWK1KM0TDDWTGVET4K4GMJ1W
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KWK1K2YDNGCPXNWRTFY5H8PT
  • promiseRaceWorkflow | wrun_01KWK1K81A0HGP0KDC7S2YGA53
  • promiseAnyWorkflow | wrun_01KWK1KA94VBCB4BVJXPW216T9
  • importedStepOnlyWorkflow | wrun_01KWK1KXJW6HRT6HC4C9MC6NGD
  • readableStreamWorkflow | wrun_01KWK1KCNPM9CYSC4XWQYCBS80
  • hookWorkflow | wrun_01KWK1KS31DNEDMFRXX2PD3RNJ
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KWK1M0C9QDZTPEWAXNBHSTC7
  • webhookWorkflow | wrun_01KWK1M5CVBAAGFKDVZ7KS23EV
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KWK1MAERB787BM0A2M9G9NV6
  • sleepingWorkflow | wrun_01KWK1N8GJCK3DZ1A8TSPRK02Y
  • parallelSleepWorkflow | wrun_01KWK1NRPSB2SWP67P7370Y99E
  • sleepWinsRaceWorkflow | wrun_01KWK1NWM2JA9ND8KCV4E6NV2X
  • stepWinsRaceWorkflow | wrun_01KWK1P03MMDYQ0TVTFP13W64B
  • nullByteWorkflow | wrun_01KWK1P3MTCT482GNFBG2JRT1A
  • workflowAndStepMetadataWorkflow | wrun_01KWK1P6268NQ1BSNDXA017AWM
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KWK1RERDSJC5FYEBW8ACRV3K
  • writableForwardedFromWorkflowWorkflow | wrun_01KWK1RW1F5PJ2YE6GQTTA4CQ8
  • writableForwardedFromStepWorkflow | wrun_01KWK1S0EC1A4DWT67WH0SP1VV
  • fetchWorkflow | wrun_01KWK1S405HZTRDP4SSHMYRN52
  • promiseRaceStressTestWorkflow | wrun_01KWK1S7HRRRRHKPZ7XMNM54JF
  • 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()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KWK1WPMTNYGXYZ51YNDGTP8Z
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KWK1X6QP96V2J1ZQE16ZYPCN
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KWK1XKD3KBDZGJQDCWNAZF0Z
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KWK1XP0V35ZDZ8Z7XSX4VGCT
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KWK1XRJ4222CVP193C5M2HB9
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KWK1XV9G80NB1V576RKWMY6Z
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KWK1Y94M071NZ4ENF2QA35FQ
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KWK1Z5TVD0M385GSYR2MRFMT
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KWK1Z9B9B79E9QW9YEYQRK76
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KWK1ZFEAW4F4J1BGSN65VWGB
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KWK1ZNAVCG8A5X7S06YTCAW3
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KWK1ZZBSW45K4J3TKNMV1FR3
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KWK206D7YHA49ZAG68KYJHWP
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KWK20Q4N276JGWJYRY9SFWNK
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KWK210QWB5SKX8Z002YXX38Z
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KWK216M30QA6G2PFY91AMFET
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KWK2194YJT83J5B3DMX7GFRE
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KWK21VJD7ZXWX8VHR6S2WW6Y
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KWK221P02EY71ENWWDVZXPJ7
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KWK228S7H4MR83ZKQ065R8X0
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KWK22G2G16MSDFQJJ2QHW513
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KWK22QJ744GMMTY741MKZNE7
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KWK22YT36S0WPT8QKNF5SVQN
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KWK2360S5D6T1M0GR1NBVA91
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KWK23K42RH7G3HCA42VMHXWC
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KWK23WN98S8XZ0R5K7APEJXT
  • cancelRun - cancelling a running workflow | wrun_01KWK243YF9ENPJC5YVHT6H8H2
  • cancelRun via CLI - cancelling a running workflow | wrun_01KWK2494TYFFTKXG2DADHDJAF
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KWK24H4K6WQ9MVWW16ZEXN0C
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01KWK24YKRVE94MTAC9FKZX851
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KWK257G110BA9H80F9660ZT6
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KWK25JBQPT85Y75XAPN2MCRV
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KWK25TTF0BRME318YPX59J23
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KWK25X41PHMCAHK0YRNVSTY0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KWK25ZBRG1KVB3MX25289SNT

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9708
✅ example9708
✅ express9708
✅ fastify9708
✅ hono9708
✅ nextjs-turbopack10203
✅ nextjs-webpack10203
✅ nitro9708
✅ nuxt9708
✅ sveltekit9708
✅ vite9708
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
✅ sveltekit-stable9906
✅ vite-stable9906
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
✅ sveltekit-stable9906
✅ vite-stable9906
❌ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9906
✅ express-stable9906
✅ fastify-stable9906
✅ hono-stable9906
✅ nextjs-turbopack-canary86019
✅ nextjs-turbopack-stable10500
✅ nextjs-webpack-canary86019
✅ nextjs-webpack-stable10500
✅ nitro-stable9906
✅ nuxt-stable9906
❌ sveltekit-stable9816
✅ vite-stable9906
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10500
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev303
✅ redis-dev303
❌ redis67190
✅ turso-dev303
❌ turso3830
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9906
✅ e2e-local-dev-tanstack-start-stable9906
✅ e2e-local-postgres-nest-stable9906
✅ e2e-local-postgres-tanstack-start-stable9906
✅ e2e-local-prod-nest-stable9906
✅ e2e-local-prod-tanstack-start-stable9906

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@@ -0,0 +1,6 @@
---
"@workflow/core": patch
"workflow": patch

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

no need for workflow in changeset

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.

done

Comment thread.changeset/framing-capability-cutoff.md Outdated
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
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.

2 participants

@VaguelySerious@pranaygp