Skip to content

[core] Pin correlation-id draw order to event-log order (#3700) (backport to stable) - #3719

Draft
VaguelySerious wants to merge 1 commit into
backport/pr-3406-to-stablefrom
backport/pr-3700-to-stable
Draft

[core] Pin correlation-id draw order to event-log order (#3700) (backport to stable)#3719
VaguelySerious wants to merge 1 commit into
backport/pr-3406-to-stablefrom
backport/pr-3700-to-stable

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Manual backport of #3700 (cherry-pick 9b1b8c71) to stable. The automated job could not do it: every Backport to stable run since 2026-08-21 18:31 fails because the AI Gateway key is over its budget (API key budget exceeded. Current spend: $10001.21, limit: $10000.00), including the forced workflow_dispatch run, which resolved the SHA and cherry-picked correctly before dying at conflict resolution.

Stacked on #3718 (backport of #3406), which this commit cannot terminate without. Merge that first; this PR's diff is against it.

Why the prerequisite

#3700's turnstile waits on any lower armed barrier, a wider relation than gatesOn, and its deadlock-freedom argument rests on #3406 having removed computeResolvesOnItsOwn's unconditional step -> true shortcut. Cherry-picked onto plain stable, this commit's own turnstile termination pin fails with Unconsumed event: step_created: the step spinner is reported self-resolving, so hasParkedCommittedDelivery blocks the dispenser and the parked chain never opens.

Adaptations

  • workflow.ts: stable has no generateUlid const and installs the raw ulid factory as the STABLE_ULID global (upstream installs the counting generateUlid). Wrapped as countingUlid(seedTime?), preserving the factory signature, so mintCount counts every draw from the run's sequence including serialization-driven stream ids (the termination argument for quiesceEarlierCascades depends on that) without changing which seed time stream ids get on stable.
  • private.ts: the gatesOn doc hunk carries over via [core] Keep step results ordered behind waits parked on unread hook payloads (#3406) (backport to stable) #3718. isLogOrderDrawsEnabled, quiescenceTurn, quiesceEarlierCascades and awaitEarlierDeliveries are byte-identical to main.
  • test-support/orchestrator-context.ts does not exist on stable (that extraction is main-only) and is dropped. The mintCount wiring it carries applies to the local setupWorkflowContext copies in the four test files the commit already touches, which is where the cherry-pick put it.
  • docs/content/docs/v5/configuration/runtime-tuning.mdx does not exist on stable, whose docs tree has no v5/configuration directory. Dropped, matching Backport #3554: [core] Pin draw order to event-log order: retire delivery barriers through one ordered dispenser #3629 which carried no docs files for the same reason. WORKFLOW_LOG_ORDER_DRAWS stays documented on main.
  • .gitignore: took only this commit's addition (the e2e-diagnostics-*.json sidecar entry, whose writer does exist on stable), not the main-only event-log-race-repro-* block the conflict dragged in.
  • Changeset downgraded minor -> patch for the maintenance line, matching Backport #3554: [core] Pin draw order to event-log order: retire delivery barriers through one ordered dispenser #3629.

Verification

Not run locally: the e2e lanes (they need a built workbench) and the Event Log Race Repro lane, which is the measurement that matters for this change. CI on this PR is the check.

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cbe086c

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

This PR includes changesets to release 16 packages
NameType
workflowPatch
@workflow/corePatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@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 Aug 21, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, v0Aug 21, 2026 8:26pm
example-nextjs-workflow-webpackReadyReadyPreview, v0Aug 21, 2026 8:26pm
example-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-astro-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-express-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-fastify-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-hono-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nestjs-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nitro-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nuxt-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-python-workflowErrorErrorv0Aug 21, 2026 8:26pm
workbench-sveltekit-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-tanstack-start-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-vite-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-docsReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-swc-playgroundReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-tarballsReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-webReadyReadyPreview, v0Aug 21, 2026 8:26pm

@github-actions

github-actionsBot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10990781177
✅ 💻 Local Development11980861284
✅ 📦 Local Production11980861284
✅ 🐘 Local Postgres11980861284
✅ 🪟 Windows10700107
❌ 🌍 Community Worlds831059197
✅ 📋 Other606036642
Total54891053815975

❌ Failed Tests

🌍 Community Worlds (105 failed)

redis (20 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0JZY8PG683DHP2RAZEAMXBN
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0JZYMAWNVRX7HJT9GP6TQ7H
  • sleepingWorkflow | wrun_01M0JZZHQ8RJWRRKMTE3PG7QQ0
  • 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
  • error handling serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0K07QH3YDQAGK4JNR0RP4CF
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0K084KKRZZJZ5TST2H1YZKG
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0K08DQJPKWR4FW21JHKXSV3
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0K08V9B0R6JK0CT49K4HX05
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0K09Q7PCDZ3WV7BN0QD37S2
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0K09TZ5YA2M2ADEWZQ56GHY
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0K0A3G12JJT1J0M77X8AH9Y
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0K0A8Y7XWVN07MN0GPEQEW2
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0K0AH65SKVW4TMGENTJDPVG
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0K0G38TA9BNEA1QDC7Y5NPD

turso (85 failed):

  • addTenWorkflow | wrun_01M0JZX259EV4WP3Y9RRGZGBXW
  • addTenWorkflow | wrun_01M0JZX259EV4WP3Y9RRGZGBXW
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01M0JZZ6Q5XZHR7Q4DB657N38F
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01M0JZX8TWKHTVP35YMDZXNDR8
  • promiseRaceWorkflow | wrun_01M0JZXDJ2SMAT55E5YY8Q6S5Z
  • promiseAnyWorkflow | wrun_01M0JZXHB0ZRZ12KEGRNXEYA5E
  • importedStepOnlyWorkflow | wrun_01M0JZZJKSNPCAMNY3WMKBS9BC
  • readableStreamWorkflow | wrun_01M0JZXKNKHPEANXWX8RH64FCB
  • hookWorkflow | wrun_01M0JZY0491DF4N627B5HWZTPW
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0JZY8PG683DHP2RAZEAMXBN
  • webhookWorkflow | wrun_01M0JZYD2Q5TCJZEZYFNVAKF0G
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0JZYMAWNVRX7HJT9GP6TQ7H
  • sleepingWorkflow | wrun_01M0JZZHQ8RJWRRKMTE3PG7QQ0
  • parallelSleepWorkflow | wrun_01M0K000XSD6XKX8TPHYQHA0T0
  • sleepWinsRaceWorkflow | wrun_01M0K004F6W32F5CFBEY4PYJV9
  • stepWinsRaceWorkflow | wrun_01M0K007ZEYKWB5K70SG939VCJ
  • nullByteWorkflow | wrun_01M0K00BJXNV06ZCDBCBE1GNQ6
  • workflowAndStepMetadataWorkflow | wrun_01M0K00DXZWT193WHHQ8MQQS20
  • 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_01M0K02T1CJYTE6T77C3D26TB2
  • writableForwardedFromWorkflowWorkflow | wrun_01M0K037CEPPMR0NVEE7STM0SH
  • writableForwardedFromStepWorkflow | wrun_01M0K03BEFT517BBVHGXBVRC0C
  • fetchWorkflow | wrun_01M0K03EXGT0P6Z25DM0P0EFK9
  • promiseRaceStressTestWorkflow | wrun_01M0K03JD1ET78ZQJMMVQM249S
  • 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 serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • 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_01M0K07BPMPWDGTPPYBVG2PPT7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0K07QH3YDQAGK4JNR0RP4CF
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0K084KKRZZJZ5TST2H1YZKG
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01M0K087B1JH0F9K47ABYQSMGA
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01M0K08B3CQQ6BH580W7DX2FV2
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0K08DQJPKWR4FW21JHKXSV3
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0K08V9B0R6JK0CT49K4HX05
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0K09Q7PCDZ3WV7BN0QD37S2
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0K09TZ5YA2M2ADEWZQ56GHY
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0K0A3G12JJT1J0M77X8AH9Y
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0K0A8Y7XWVN07MN0GPEQEW2
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0K0AH65SKVW4TMGENTJDPVG
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01M0K0AVJ64E383F2YCX7WF1V6
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01M0K0BB3EXPNCE7318MFKSKR6
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01M0K0BKZBB2TS9DAQR7S4FXAT
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01M0K0BSTAVRW1R3RVA9G5VKTG
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01M0K0BW9HJ45D322PJ9E2EWNQ
  • 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_01M0K0CAPMDB7A5BMGM1XWT6RK
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01M0K0CGBB4KKKW7KTMC9VKQB8
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01M0K0CQD6ED5F782AETR97RX0
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01M0K0CWW90ZKK51V4FR0WQ5S2
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01M0K0D3QRY4J40KMCJ2JBX7NH
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01M0K0DAFW6S7CKR6KPPAWF5RQ
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01M0K0DH4YX5C5DJNR8A8BVBKQ
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01M0K0DW27M33NR37JSGYJY6QR
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01M0K0E42JJ333PXJFGAKC62CW
  • cancelRun - cancelling a running workflow | wrun_01M0K0EAQCWHSCWPQ5ZSZZC8JG
  • cancelRun via CLI - cancelling a running workflow | wrun_01M0K0EFYRHMTTA4C0KBBYH6VX
  • 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_01M0K0EQ3KB6MFAK98AN7YARDC
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01M0K0F37NQJJ21P30KM21CAN8
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01M0K0FCP5DVJ2PH27Y8PX1DVW
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01M0K0FQTJ3FYG3NYBMKBHEYEE
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01M0K0FYD3WQAMXAHAZTNR7R71
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01M0K0G0TZ1D099TC2MCT10KS1
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0K0G38TA9BNEA1QDC7Y5NPD

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9908
✅ example9908
✅ express9908
✅ fastify9908
✅ hono9908
✅ nextjs-turbopack10403
✅ nextjs-webpack10403
✅ nitro9908
✅ nuxt9908
✅ sveltekit9908
✅ vite9908
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev403
✅ redis-dev403
❌ redis68200
✅ turso-dev403
❌ turso3850
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable10106
✅ e2e-local-dev-tanstack-start-stable10106
✅ e2e-local-postgres-nest-stable10106
✅ e2e-local-postgres-tanstack-start-stable10106
✅ e2e-local-prod-nest-stable10106
✅ e2e-local-prod-tanstack-start-stable10106

📋 View full workflow run

@VaguelySerious
VaguelySerious marked this pull request as ready for review August 21, 2026 20:31
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersAugust 21, 2026 20:31
@pranaygp
pranaygp marked this pull request as draft August 21, 2026 23:57
@pranaygp

Copy link
Copy Markdown
Contributor

Converting to draft so we can confirm that it doesn't cause regression in main beta branch before we re confident about rolling this backport over to stable

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] Pin correlation-id draw order to event-log order (#3700) (backport to stable) by VaguelySerious · Pull Request #3719 · vercel/workflow · GitHub
Skip to content

[core] Pin correlation-id draw order to event-log order (#3700) (backport to stable) - #3719

Draft
VaguelySerious wants to merge 1 commit into
backport/pr-3406-to-stablefrom
backport/pr-3700-to-stable
Draft

[core] Pin correlation-id draw order to event-log order (#3700) (backport to stable)#3719
VaguelySerious wants to merge 1 commit into
backport/pr-3406-to-stablefrom
backport/pr-3700-to-stable

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Manual backport of #3700 (cherry-pick 9b1b8c71) to stable. The automated job could not do it: every Backport to stable run since 2026-08-21 18:31 fails because the AI Gateway key is over its budget (API key budget exceeded. Current spend: $10001.21, limit: $10000.00), including the forced workflow_dispatch run, which resolved the SHA and cherry-picked correctly before dying at conflict resolution.

Stacked on #3718 (backport of #3406), which this commit cannot terminate without. Merge that first; this PR's diff is against it.

Why the prerequisite

#3700's turnstile waits on any lower armed barrier, a wider relation than gatesOn, and its deadlock-freedom argument rests on #3406 having removed computeResolvesOnItsOwn's unconditional step -> true shortcut. Cherry-picked onto plain stable, this commit's own turnstile termination pin fails with Unconsumed event: step_created: the step spinner is reported self-resolving, so hasParkedCommittedDelivery blocks the dispenser and the parked chain never opens.

Adaptations

  • workflow.ts: stable has no generateUlid const and installs the raw ulid factory as the STABLE_ULID global (upstream installs the counting generateUlid). Wrapped as countingUlid(seedTime?), preserving the factory signature, so mintCount counts every draw from the run's sequence including serialization-driven stream ids (the termination argument for quiesceEarlierCascades depends on that) without changing which seed time stream ids get on stable.
  • private.ts: the gatesOn doc hunk carries over via [core] Keep step results ordered behind waits parked on unread hook payloads (#3406) (backport to stable) #3718. isLogOrderDrawsEnabled, quiescenceTurn, quiesceEarlierCascades and awaitEarlierDeliveries are byte-identical to main.
  • test-support/orchestrator-context.ts does not exist on stable (that extraction is main-only) and is dropped. The mintCount wiring it carries applies to the local setupWorkflowContext copies in the four test files the commit already touches, which is where the cherry-pick put it.
  • docs/content/docs/v5/configuration/runtime-tuning.mdx does not exist on stable, whose docs tree has no v5/configuration directory. Dropped, matching Backport #3554: [core] Pin draw order to event-log order: retire delivery barriers through one ordered dispenser #3629 which carried no docs files for the same reason. WORKFLOW_LOG_ORDER_DRAWS stays documented on main.
  • .gitignore: took only this commit's addition (the e2e-diagnostics-*.json sidecar entry, whose writer does exist on stable), not the main-only event-log-race-repro-* block the conflict dragged in.
  • Changeset downgraded minor -> patch for the maintenance line, matching Backport #3554: [core] Pin draw order to event-log order: retire delivery barriers through one ordered dispenser #3629.

Verification

Not run locally: the e2e lanes (they need a built workbench) and the Event Log Race Repro lane, which is the measurement that matters for this change. CI on this PR is the check.

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cbe086c

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

This PR includes changesets to release 16 packages
NameType
workflowPatch
@workflow/corePatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@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 Aug 21, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, v0Aug 21, 2026 8:26pm
example-nextjs-workflow-webpackReadyReadyPreview, v0Aug 21, 2026 8:26pm
example-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-astro-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-express-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-fastify-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-hono-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nestjs-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nitro-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nuxt-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-python-workflowErrorErrorv0Aug 21, 2026 8:26pm
workbench-sveltekit-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-tanstack-start-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-vite-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-docsReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-swc-playgroundReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-tarballsReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-webReadyReadyPreview, v0Aug 21, 2026 8:26pm

@github-actions

github-actionsBot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10990781177
✅ 💻 Local Development11980861284
✅ 📦 Local Production11980861284
✅ 🐘 Local Postgres11980861284
✅ 🪟 Windows10700107
❌ 🌍 Community Worlds831059197
✅ 📋 Other606036642
Total54891053815975

❌ Failed Tests

🌍 Community Worlds (105 failed)

redis (20 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0JZY8PG683DHP2RAZEAMXBN
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0JZYMAWNVRX7HJT9GP6TQ7H
  • sleepingWorkflow | wrun_01M0JZZHQ8RJWRRKMTE3PG7QQ0
  • 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
  • error handling serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0K07QH3YDQAGK4JNR0RP4CF
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0K084KKRZZJZ5TST2H1YZKG
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0K08DQJPKWR4FW21JHKXSV3
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0K08V9B0R6JK0CT49K4HX05
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0K09Q7PCDZ3WV7BN0QD37S2
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0K09TZ5YA2M2ADEWZQ56GHY
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0K0A3G12JJT1J0M77X8AH9Y
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0K0A8Y7XWVN07MN0GPEQEW2
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0K0AH65SKVW4TMGENTJDPVG
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0K0G38TA9BNEA1QDC7Y5NPD

turso (85 failed):

  • addTenWorkflow | wrun_01M0JZX259EV4WP3Y9RRGZGBXW
  • addTenWorkflow | wrun_01M0JZX259EV4WP3Y9RRGZGBXW
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01M0JZZ6Q5XZHR7Q4DB657N38F
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01M0JZX8TWKHTVP35YMDZXNDR8
  • promiseRaceWorkflow | wrun_01M0JZXDJ2SMAT55E5YY8Q6S5Z
  • promiseAnyWorkflow | wrun_01M0JZXHB0ZRZ12KEGRNXEYA5E
  • importedStepOnlyWorkflow | wrun_01M0JZZJKSNPCAMNY3WMKBS9BC
  • readableStreamWorkflow | wrun_01M0JZXKNKHPEANXWX8RH64FCB
  • hookWorkflow | wrun_01M0JZY0491DF4N627B5HWZTPW
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0JZY8PG683DHP2RAZEAMXBN
  • webhookWorkflow | wrun_01M0JZYD2Q5TCJZEZYFNVAKF0G
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0JZYMAWNVRX7HJT9GP6TQ7H
  • sleepingWorkflow | wrun_01M0JZZHQ8RJWRRKMTE3PG7QQ0
  • parallelSleepWorkflow | wrun_01M0K000XSD6XKX8TPHYQHA0T0
  • sleepWinsRaceWorkflow | wrun_01M0K004F6W32F5CFBEY4PYJV9
  • stepWinsRaceWorkflow | wrun_01M0K007ZEYKWB5K70SG939VCJ
  • nullByteWorkflow | wrun_01M0K00BJXNV06ZCDBCBE1GNQ6
  • workflowAndStepMetadataWorkflow | wrun_01M0K00DXZWT193WHHQ8MQQS20
  • 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_01M0K02T1CJYTE6T77C3D26TB2
  • writableForwardedFromWorkflowWorkflow | wrun_01M0K037CEPPMR0NVEE7STM0SH
  • writableForwardedFromStepWorkflow | wrun_01M0K03BEFT517BBVHGXBVRC0C
  • fetchWorkflow | wrun_01M0K03EXGT0P6Z25DM0P0EFK9
  • promiseRaceStressTestWorkflow | wrun_01M0K03JD1ET78ZQJMMVQM249S
  • 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 serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • 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_01M0K07BPMPWDGTPPYBVG2PPT7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0K07QH3YDQAGK4JNR0RP4CF
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0K084KKRZZJZ5TST2H1YZKG
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01M0K087B1JH0F9K47ABYQSMGA
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01M0K08B3CQQ6BH580W7DX2FV2
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0K08DQJPKWR4FW21JHKXSV3
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0K08V9B0R6JK0CT49K4HX05
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0K09Q7PCDZ3WV7BN0QD37S2
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0K09TZ5YA2M2ADEWZQ56GHY
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0K0A3G12JJT1J0M77X8AH9Y
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0K0A8Y7XWVN07MN0GPEQEW2
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0K0AH65SKVW4TMGENTJDPVG
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01M0K0AVJ64E383F2YCX7WF1V6
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01M0K0BB3EXPNCE7318MFKSKR6
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01M0K0BKZBB2TS9DAQR7S4FXAT
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01M0K0BSTAVRW1R3RVA9G5VKTG
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01M0K0BW9HJ45D322PJ9E2EWNQ
  • 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_01M0K0CAPMDB7A5BMGM1XWT6RK
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01M0K0CGBB4KKKW7KTMC9VKQB8
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01M0K0CQD6ED5F782AETR97RX0
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01M0K0CWW90ZKK51V4FR0WQ5S2
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01M0K0D3QRY4J40KMCJ2JBX7NH
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01M0K0DAFW6S7CKR6KPPAWF5RQ
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01M0K0DH4YX5C5DJNR8A8BVBKQ
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01M0K0DW27M33NR37JSGYJY6QR
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01M0K0E42JJ333PXJFGAKC62CW
  • cancelRun - cancelling a running workflow | wrun_01M0K0EAQCWHSCWPQ5ZSZZC8JG
  • cancelRun via CLI - cancelling a running workflow | wrun_01M0K0EFYRHMTTA4C0KBBYH6VX
  • 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_01M0K0EQ3KB6MFAK98AN7YARDC
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01M0K0F37NQJJ21P30KM21CAN8
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01M0K0FCP5DVJ2PH27Y8PX1DVW
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01M0K0FQTJ3FYG3NYBMKBHEYEE
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01M0K0FYD3WQAMXAHAZTNR7R71
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01M0K0G0TZ1D099TC2MCT10KS1
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0K0G38TA9BNEA1QDC7Y5NPD

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9908
✅ example9908
✅ express9908
✅ fastify9908
✅ hono9908
✅ nextjs-turbopack10403
✅ nextjs-webpack10403
✅ nitro9908
✅ nuxt9908
✅ sveltekit9908
✅ vite9908
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev403
✅ redis-dev403
❌ redis68200
✅ turso-dev403
❌ turso3850
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable10106
✅ e2e-local-dev-tanstack-start-stable10106
✅ e2e-local-postgres-nest-stable10106
✅ e2e-local-postgres-tanstack-start-stable10106
✅ e2e-local-prod-nest-stable10106
✅ e2e-local-prod-tanstack-start-stable10106

📋 View full workflow run

@VaguelySerious
VaguelySerious marked this pull request as ready for review August 21, 2026 20:31
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersAugust 21, 2026 20:31
@pranaygp
pranaygp marked this pull request as draft August 21, 2026 23:57
@pranaygp

Copy link
Copy Markdown
Contributor

Converting to draft so we can confirm that it doesn't cause regression in main beta branch before we re confident about rolling this backport over to stable

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] Pin correlation-id draw order to event-log order (#3700) (backport to stable) by VaguelySerious · Pull Request #3719 · vercel/workflow · GitHub
Skip to content

[core] Pin correlation-id draw order to event-log order (#3700) (backport to stable) - #3719

Draft
VaguelySerious wants to merge 1 commit into
backport/pr-3406-to-stablefrom
backport/pr-3700-to-stable
Draft

[core] Pin correlation-id draw order to event-log order (#3700) (backport to stable)#3719
VaguelySerious wants to merge 1 commit into
backport/pr-3406-to-stablefrom
backport/pr-3700-to-stable

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Manual backport of #3700 (cherry-pick 9b1b8c71) to stable. The automated job could not do it: every Backport to stable run since 2026-08-21 18:31 fails because the AI Gateway key is over its budget (API key budget exceeded. Current spend: $10001.21, limit: $10000.00), including the forced workflow_dispatch run, which resolved the SHA and cherry-picked correctly before dying at conflict resolution.

Stacked on #3718 (backport of #3406), which this commit cannot terminate without. Merge that first; this PR's diff is against it.

Why the prerequisite

#3700's turnstile waits on any lower armed barrier, a wider relation than gatesOn, and its deadlock-freedom argument rests on #3406 having removed computeResolvesOnItsOwn's unconditional step -> true shortcut. Cherry-picked onto plain stable, this commit's own turnstile termination pin fails with Unconsumed event: step_created: the step spinner is reported self-resolving, so hasParkedCommittedDelivery blocks the dispenser and the parked chain never opens.

Adaptations

  • workflow.ts: stable has no generateUlid const and installs the raw ulid factory as the STABLE_ULID global (upstream installs the counting generateUlid). Wrapped as countingUlid(seedTime?), preserving the factory signature, so mintCount counts every draw from the run's sequence including serialization-driven stream ids (the termination argument for quiesceEarlierCascades depends on that) without changing which seed time stream ids get on stable.
  • private.ts: the gatesOn doc hunk carries over via [core] Keep step results ordered behind waits parked on unread hook payloads (#3406) (backport to stable) #3718. isLogOrderDrawsEnabled, quiescenceTurn, quiesceEarlierCascades and awaitEarlierDeliveries are byte-identical to main.
  • test-support/orchestrator-context.ts does not exist on stable (that extraction is main-only) and is dropped. The mintCount wiring it carries applies to the local setupWorkflowContext copies in the four test files the commit already touches, which is where the cherry-pick put it.
  • docs/content/docs/v5/configuration/runtime-tuning.mdx does not exist on stable, whose docs tree has no v5/configuration directory. Dropped, matching Backport #3554: [core] Pin draw order to event-log order: retire delivery barriers through one ordered dispenser #3629 which carried no docs files for the same reason. WORKFLOW_LOG_ORDER_DRAWS stays documented on main.
  • .gitignore: took only this commit's addition (the e2e-diagnostics-*.json sidecar entry, whose writer does exist on stable), not the main-only event-log-race-repro-* block the conflict dragged in.
  • Changeset downgraded minor -> patch for the maintenance line, matching Backport #3554: [core] Pin draw order to event-log order: retire delivery barriers through one ordered dispenser #3629.

Verification

Not run locally: the e2e lanes (they need a built workbench) and the Event Log Race Repro lane, which is the measurement that matters for this change. CI on this PR is the check.

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cbe086c

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

This PR includes changesets to release 16 packages
NameType
workflowPatch
@workflow/corePatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@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 Aug 21, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, v0Aug 21, 2026 8:26pm
example-nextjs-workflow-webpackReadyReadyPreview, v0Aug 21, 2026 8:26pm
example-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-astro-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-express-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-fastify-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-hono-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nestjs-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nitro-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nuxt-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-python-workflowErrorErrorv0Aug 21, 2026 8:26pm
workbench-sveltekit-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-tanstack-start-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-vite-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-docsReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-swc-playgroundReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-tarballsReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-webReadyReadyPreview, v0Aug 21, 2026 8:26pm

@github-actions

github-actionsBot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10990781177
✅ 💻 Local Development11980861284
✅ 📦 Local Production11980861284
✅ 🐘 Local Postgres11980861284
✅ 🪟 Windows10700107
❌ 🌍 Community Worlds831059197
✅ 📋 Other606036642
Total54891053815975

❌ Failed Tests

🌍 Community Worlds (105 failed)

redis (20 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0JZY8PG683DHP2RAZEAMXBN
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0JZYMAWNVRX7HJT9GP6TQ7H
  • sleepingWorkflow | wrun_01M0JZZHQ8RJWRRKMTE3PG7QQ0
  • 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
  • error handling serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0K07QH3YDQAGK4JNR0RP4CF
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0K084KKRZZJZ5TST2H1YZKG
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0K08DQJPKWR4FW21JHKXSV3
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0K08V9B0R6JK0CT49K4HX05
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0K09Q7PCDZ3WV7BN0QD37S2
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0K09TZ5YA2M2ADEWZQ56GHY
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0K0A3G12JJT1J0M77X8AH9Y
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0K0A8Y7XWVN07MN0GPEQEW2
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0K0AH65SKVW4TMGENTJDPVG
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0K0G38TA9BNEA1QDC7Y5NPD

turso (85 failed):

  • addTenWorkflow | wrun_01M0JZX259EV4WP3Y9RRGZGBXW
  • addTenWorkflow | wrun_01M0JZX259EV4WP3Y9RRGZGBXW
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01M0JZZ6Q5XZHR7Q4DB657N38F
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01M0JZX8TWKHTVP35YMDZXNDR8
  • promiseRaceWorkflow | wrun_01M0JZXDJ2SMAT55E5YY8Q6S5Z
  • promiseAnyWorkflow | wrun_01M0JZXHB0ZRZ12KEGRNXEYA5E
  • importedStepOnlyWorkflow | wrun_01M0JZZJKSNPCAMNY3WMKBS9BC
  • readableStreamWorkflow | wrun_01M0JZXKNKHPEANXWX8RH64FCB
  • hookWorkflow | wrun_01M0JZY0491DF4N627B5HWZTPW
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0JZY8PG683DHP2RAZEAMXBN
  • webhookWorkflow | wrun_01M0JZYD2Q5TCJZEZYFNVAKF0G
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0JZYMAWNVRX7HJT9GP6TQ7H
  • sleepingWorkflow | wrun_01M0JZZHQ8RJWRRKMTE3PG7QQ0
  • parallelSleepWorkflow | wrun_01M0K000XSD6XKX8TPHYQHA0T0
  • sleepWinsRaceWorkflow | wrun_01M0K004F6W32F5CFBEY4PYJV9
  • stepWinsRaceWorkflow | wrun_01M0K007ZEYKWB5K70SG939VCJ
  • nullByteWorkflow | wrun_01M0K00BJXNV06ZCDBCBE1GNQ6
  • workflowAndStepMetadataWorkflow | wrun_01M0K00DXZWT193WHHQ8MQQS20
  • 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_01M0K02T1CJYTE6T77C3D26TB2
  • writableForwardedFromWorkflowWorkflow | wrun_01M0K037CEPPMR0NVEE7STM0SH
  • writableForwardedFromStepWorkflow | wrun_01M0K03BEFT517BBVHGXBVRC0C
  • fetchWorkflow | wrun_01M0K03EXGT0P6Z25DM0P0EFK9
  • promiseRaceStressTestWorkflow | wrun_01M0K03JD1ET78ZQJMMVQM249S
  • 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 serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • 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_01M0K07BPMPWDGTPPYBVG2PPT7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0K07QH3YDQAGK4JNR0RP4CF
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0K084KKRZZJZ5TST2H1YZKG
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01M0K087B1JH0F9K47ABYQSMGA
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01M0K08B3CQQ6BH580W7DX2FV2
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0K08DQJPKWR4FW21JHKXSV3
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0K08V9B0R6JK0CT49K4HX05
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0K09Q7PCDZ3WV7BN0QD37S2
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0K09TZ5YA2M2ADEWZQ56GHY
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0K0A3G12JJT1J0M77X8AH9Y
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0K0A8Y7XWVN07MN0GPEQEW2
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0K0AH65SKVW4TMGENTJDPVG
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01M0K0AVJ64E383F2YCX7WF1V6
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01M0K0BB3EXPNCE7318MFKSKR6
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01M0K0BKZBB2TS9DAQR7S4FXAT
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01M0K0BSTAVRW1R3RVA9G5VKTG
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01M0K0BW9HJ45D322PJ9E2EWNQ
  • 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_01M0K0CAPMDB7A5BMGM1XWT6RK
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01M0K0CGBB4KKKW7KTMC9VKQB8
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01M0K0CQD6ED5F782AETR97RX0
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01M0K0CWW90ZKK51V4FR0WQ5S2
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01M0K0D3QRY4J40KMCJ2JBX7NH
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01M0K0DAFW6S7CKR6KPPAWF5RQ
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01M0K0DH4YX5C5DJNR8A8BVBKQ
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01M0K0DW27M33NR37JSGYJY6QR
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01M0K0E42JJ333PXJFGAKC62CW
  • cancelRun - cancelling a running workflow | wrun_01M0K0EAQCWHSCWPQ5ZSZZC8JG
  • cancelRun via CLI - cancelling a running workflow | wrun_01M0K0EFYRHMTTA4C0KBBYH6VX
  • 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_01M0K0EQ3KB6MFAK98AN7YARDC
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01M0K0F37NQJJ21P30KM21CAN8
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01M0K0FCP5DVJ2PH27Y8PX1DVW
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01M0K0FQTJ3FYG3NYBMKBHEYEE
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01M0K0FYD3WQAMXAHAZTNR7R71
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01M0K0G0TZ1D099TC2MCT10KS1
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0K0G38TA9BNEA1QDC7Y5NPD

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9908
✅ example9908
✅ express9908
✅ fastify9908
✅ hono9908
✅ nextjs-turbopack10403
✅ nextjs-webpack10403
✅ nitro9908
✅ nuxt9908
✅ sveltekit9908
✅ vite9908
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev403
✅ redis-dev403
❌ redis68200
✅ turso-dev403
❌ turso3850
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable10106
✅ e2e-local-dev-tanstack-start-stable10106
✅ e2e-local-postgres-nest-stable10106
✅ e2e-local-postgres-tanstack-start-stable10106
✅ e2e-local-prod-nest-stable10106
✅ e2e-local-prod-tanstack-start-stable10106

📋 View full workflow run

@VaguelySerious
VaguelySerious marked this pull request as ready for review August 21, 2026 20:31
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersAugust 21, 2026 20:31
@pranaygp
pranaygp marked this pull request as draft August 21, 2026 23:57
@pranaygp

Copy link
Copy Markdown
Contributor

Converting to draft so we can confirm that it doesn't cause regression in main beta branch before we re confident about rolling this backport over to stable

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] Pin correlation-id draw order to event-log order (#3700) (backport to stable) by VaguelySerious · Pull Request #3719 · vercel/workflow · GitHub
Skip to content

[core] Pin correlation-id draw order to event-log order (#3700) (backport to stable) - #3719

Draft
VaguelySerious wants to merge 1 commit into
backport/pr-3406-to-stablefrom
backport/pr-3700-to-stable
Draft

[core] Pin correlation-id draw order to event-log order (#3700) (backport to stable)#3719
VaguelySerious wants to merge 1 commit into
backport/pr-3406-to-stablefrom
backport/pr-3700-to-stable

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Manual backport of #3700 (cherry-pick 9b1b8c71) to stable. The automated job could not do it: every Backport to stable run since 2026-08-21 18:31 fails because the AI Gateway key is over its budget (API key budget exceeded. Current spend: $10001.21, limit: $10000.00), including the forced workflow_dispatch run, which resolved the SHA and cherry-picked correctly before dying at conflict resolution.

Stacked on #3718 (backport of #3406), which this commit cannot terminate without. Merge that first; this PR's diff is against it.

Why the prerequisite

#3700's turnstile waits on any lower armed barrier, a wider relation than gatesOn, and its deadlock-freedom argument rests on #3406 having removed computeResolvesOnItsOwn's unconditional step -> true shortcut. Cherry-picked onto plain stable, this commit's own turnstile termination pin fails with Unconsumed event: step_created: the step spinner is reported self-resolving, so hasParkedCommittedDelivery blocks the dispenser and the parked chain never opens.

Adaptations

  • workflow.ts: stable has no generateUlid const and installs the raw ulid factory as the STABLE_ULID global (upstream installs the counting generateUlid). Wrapped as countingUlid(seedTime?), preserving the factory signature, so mintCount counts every draw from the run's sequence including serialization-driven stream ids (the termination argument for quiesceEarlierCascades depends on that) without changing which seed time stream ids get on stable.
  • private.ts: the gatesOn doc hunk carries over via [core] Keep step results ordered behind waits parked on unread hook payloads (#3406) (backport to stable) #3718. isLogOrderDrawsEnabled, quiescenceTurn, quiesceEarlierCascades and awaitEarlierDeliveries are byte-identical to main.
  • test-support/orchestrator-context.ts does not exist on stable (that extraction is main-only) and is dropped. The mintCount wiring it carries applies to the local setupWorkflowContext copies in the four test files the commit already touches, which is where the cherry-pick put it.
  • docs/content/docs/v5/configuration/runtime-tuning.mdx does not exist on stable, whose docs tree has no v5/configuration directory. Dropped, matching Backport #3554: [core] Pin draw order to event-log order: retire delivery barriers through one ordered dispenser #3629 which carried no docs files for the same reason. WORKFLOW_LOG_ORDER_DRAWS stays documented on main.
  • .gitignore: took only this commit's addition (the e2e-diagnostics-*.json sidecar entry, whose writer does exist on stable), not the main-only event-log-race-repro-* block the conflict dragged in.
  • Changeset downgraded minor -> patch for the maintenance line, matching Backport #3554: [core] Pin draw order to event-log order: retire delivery barriers through one ordered dispenser #3629.

Verification

Not run locally: the e2e lanes (they need a built workbench) and the Event Log Race Repro lane, which is the measurement that matters for this change. CI on this PR is the check.

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cbe086c

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

This PR includes changesets to release 16 packages
NameType
workflowPatch
@workflow/corePatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@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 Aug 21, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, v0Aug 21, 2026 8:26pm
example-nextjs-workflow-webpackReadyReadyPreview, v0Aug 21, 2026 8:26pm
example-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-astro-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-express-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-fastify-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-hono-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nestjs-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nitro-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nuxt-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-python-workflowErrorErrorv0Aug 21, 2026 8:26pm
workbench-sveltekit-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-tanstack-start-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-vite-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-docsReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-swc-playgroundReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-tarballsReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-webReadyReadyPreview, v0Aug 21, 2026 8:26pm

@github-actions

github-actionsBot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10990781177
✅ 💻 Local Development11980861284
✅ 📦 Local Production11980861284
✅ 🐘 Local Postgres11980861284
✅ 🪟 Windows10700107
❌ 🌍 Community Worlds831059197
✅ 📋 Other606036642
Total54891053815975

❌ Failed Tests

🌍 Community Worlds (105 failed)

redis (20 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0JZY8PG683DHP2RAZEAMXBN
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0JZYMAWNVRX7HJT9GP6TQ7H
  • sleepingWorkflow | wrun_01M0JZZHQ8RJWRRKMTE3PG7QQ0
  • 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
  • error handling serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0K07QH3YDQAGK4JNR0RP4CF
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0K084KKRZZJZ5TST2H1YZKG
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0K08DQJPKWR4FW21JHKXSV3
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0K08V9B0R6JK0CT49K4HX05
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0K09Q7PCDZ3WV7BN0QD37S2
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0K09TZ5YA2M2ADEWZQ56GHY
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0K0A3G12JJT1J0M77X8AH9Y
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0K0A8Y7XWVN07MN0GPEQEW2
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0K0AH65SKVW4TMGENTJDPVG
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0K0G38TA9BNEA1QDC7Y5NPD

turso (85 failed):

  • addTenWorkflow | wrun_01M0JZX259EV4WP3Y9RRGZGBXW
  • addTenWorkflow | wrun_01M0JZX259EV4WP3Y9RRGZGBXW
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01M0JZZ6Q5XZHR7Q4DB657N38F
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01M0JZX8TWKHTVP35YMDZXNDR8
  • promiseRaceWorkflow | wrun_01M0JZXDJ2SMAT55E5YY8Q6S5Z
  • promiseAnyWorkflow | wrun_01M0JZXHB0ZRZ12KEGRNXEYA5E
  • importedStepOnlyWorkflow | wrun_01M0JZZJKSNPCAMNY3WMKBS9BC
  • readableStreamWorkflow | wrun_01M0JZXKNKHPEANXWX8RH64FCB
  • hookWorkflow | wrun_01M0JZY0491DF4N627B5HWZTPW
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0JZY8PG683DHP2RAZEAMXBN
  • webhookWorkflow | wrun_01M0JZYD2Q5TCJZEZYFNVAKF0G
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0JZYMAWNVRX7HJT9GP6TQ7H
  • sleepingWorkflow | wrun_01M0JZZHQ8RJWRRKMTE3PG7QQ0
  • parallelSleepWorkflow | wrun_01M0K000XSD6XKX8TPHYQHA0T0
  • sleepWinsRaceWorkflow | wrun_01M0K004F6W32F5CFBEY4PYJV9
  • stepWinsRaceWorkflow | wrun_01M0K007ZEYKWB5K70SG939VCJ
  • nullByteWorkflow | wrun_01M0K00BJXNV06ZCDBCBE1GNQ6
  • workflowAndStepMetadataWorkflow | wrun_01M0K00DXZWT193WHHQ8MQQS20
  • 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_01M0K02T1CJYTE6T77C3D26TB2
  • writableForwardedFromWorkflowWorkflow | wrun_01M0K037CEPPMR0NVEE7STM0SH
  • writableForwardedFromStepWorkflow | wrun_01M0K03BEFT517BBVHGXBVRC0C
  • fetchWorkflow | wrun_01M0K03EXGT0P6Z25DM0P0EFK9
  • promiseRaceStressTestWorkflow | wrun_01M0K03JD1ET78ZQJMMVQM249S
  • 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 serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • 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_01M0K07BPMPWDGTPPYBVG2PPT7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0K07QH3YDQAGK4JNR0RP4CF
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0K084KKRZZJZ5TST2H1YZKG
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01M0K087B1JH0F9K47ABYQSMGA
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01M0K08B3CQQ6BH580W7DX2FV2
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0K08DQJPKWR4FW21JHKXSV3
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0K08V9B0R6JK0CT49K4HX05
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0K09Q7PCDZ3WV7BN0QD37S2
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0K09TZ5YA2M2ADEWZQ56GHY
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0K0A3G12JJT1J0M77X8AH9Y
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0K0A8Y7XWVN07MN0GPEQEW2
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0K0AH65SKVW4TMGENTJDPVG
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01M0K0AVJ64E383F2YCX7WF1V6
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01M0K0BB3EXPNCE7318MFKSKR6
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01M0K0BKZBB2TS9DAQR7S4FXAT
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01M0K0BSTAVRW1R3RVA9G5VKTG
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01M0K0BW9HJ45D322PJ9E2EWNQ
  • 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_01M0K0CAPMDB7A5BMGM1XWT6RK
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01M0K0CGBB4KKKW7KTMC9VKQB8
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01M0K0CQD6ED5F782AETR97RX0
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01M0K0CWW90ZKK51V4FR0WQ5S2
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01M0K0D3QRY4J40KMCJ2JBX7NH
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01M0K0DAFW6S7CKR6KPPAWF5RQ
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01M0K0DH4YX5C5DJNR8A8BVBKQ
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01M0K0DW27M33NR37JSGYJY6QR
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01M0K0E42JJ333PXJFGAKC62CW
  • cancelRun - cancelling a running workflow | wrun_01M0K0EAQCWHSCWPQ5ZSZZC8JG
  • cancelRun via CLI - cancelling a running workflow | wrun_01M0K0EFYRHMTTA4C0KBBYH6VX
  • 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_01M0K0EQ3KB6MFAK98AN7YARDC
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01M0K0F37NQJJ21P30KM21CAN8
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01M0K0FCP5DVJ2PH27Y8PX1DVW
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01M0K0FQTJ3FYG3NYBMKBHEYEE
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01M0K0FYD3WQAMXAHAZTNR7R71
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01M0K0G0TZ1D099TC2MCT10KS1
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0K0G38TA9BNEA1QDC7Y5NPD

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9908
✅ example9908
✅ express9908
✅ fastify9908
✅ hono9908
✅ nextjs-turbopack10403
✅ nextjs-webpack10403
✅ nitro9908
✅ nuxt9908
✅ sveltekit9908
✅ vite9908
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev403
✅ redis-dev403
❌ redis68200
✅ turso-dev403
❌ turso3850
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable10106
✅ e2e-local-dev-tanstack-start-stable10106
✅ e2e-local-postgres-nest-stable10106
✅ e2e-local-postgres-tanstack-start-stable10106
✅ e2e-local-prod-nest-stable10106
✅ e2e-local-prod-tanstack-start-stable10106

📋 View full workflow run

@VaguelySerious
VaguelySerious marked this pull request as ready for review August 21, 2026 20:31
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersAugust 21, 2026 20:31
@pranaygp
pranaygp marked this pull request as draft August 21, 2026 23:57
@pranaygp

Copy link
Copy Markdown
Contributor

Converting to draft so we can confirm that it doesn't cause regression in main beta branch before we re confident about rolling this backport over to stable

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] Pin correlation-id draw order to event-log order (#3700) (backport to stable) by VaguelySerious · Pull Request #3719 · vercel/workflow · GitHub
Skip to content

[core] Pin correlation-id draw order to event-log order (#3700) (backport to stable) - #3719

Draft
VaguelySerious wants to merge 1 commit into
backport/pr-3406-to-stablefrom
backport/pr-3700-to-stable
Draft

[core] Pin correlation-id draw order to event-log order (#3700) (backport to stable)#3719
VaguelySerious wants to merge 1 commit into
backport/pr-3406-to-stablefrom
backport/pr-3700-to-stable

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Manual backport of #3700 (cherry-pick 9b1b8c71) to stable. The automated job could not do it: every Backport to stable run since 2026-08-21 18:31 fails because the AI Gateway key is over its budget (API key budget exceeded. Current spend: $10001.21, limit: $10000.00), including the forced workflow_dispatch run, which resolved the SHA and cherry-picked correctly before dying at conflict resolution.

Stacked on #3718 (backport of #3406), which this commit cannot terminate without. Merge that first; this PR's diff is against it.

Why the prerequisite

#3700's turnstile waits on any lower armed barrier, a wider relation than gatesOn, and its deadlock-freedom argument rests on #3406 having removed computeResolvesOnItsOwn's unconditional step -> true shortcut. Cherry-picked onto plain stable, this commit's own turnstile termination pin fails with Unconsumed event: step_created: the step spinner is reported self-resolving, so hasParkedCommittedDelivery blocks the dispenser and the parked chain never opens.

Adaptations

  • workflow.ts: stable has no generateUlid const and installs the raw ulid factory as the STABLE_ULID global (upstream installs the counting generateUlid). Wrapped as countingUlid(seedTime?), preserving the factory signature, so mintCount counts every draw from the run's sequence including serialization-driven stream ids (the termination argument for quiesceEarlierCascades depends on that) without changing which seed time stream ids get on stable.
  • private.ts: the gatesOn doc hunk carries over via [core] Keep step results ordered behind waits parked on unread hook payloads (#3406) (backport to stable) #3718. isLogOrderDrawsEnabled, quiescenceTurn, quiesceEarlierCascades and awaitEarlierDeliveries are byte-identical to main.
  • test-support/orchestrator-context.ts does not exist on stable (that extraction is main-only) and is dropped. The mintCount wiring it carries applies to the local setupWorkflowContext copies in the four test files the commit already touches, which is where the cherry-pick put it.
  • docs/content/docs/v5/configuration/runtime-tuning.mdx does not exist on stable, whose docs tree has no v5/configuration directory. Dropped, matching Backport #3554: [core] Pin draw order to event-log order: retire delivery barriers through one ordered dispenser #3629 which carried no docs files for the same reason. WORKFLOW_LOG_ORDER_DRAWS stays documented on main.
  • .gitignore: took only this commit's addition (the e2e-diagnostics-*.json sidecar entry, whose writer does exist on stable), not the main-only event-log-race-repro-* block the conflict dragged in.
  • Changeset downgraded minor -> patch for the maintenance line, matching Backport #3554: [core] Pin draw order to event-log order: retire delivery barriers through one ordered dispenser #3629.

Verification

Not run locally: the e2e lanes (they need a built workbench) and the Event Log Race Repro lane, which is the measurement that matters for this change. CI on this PR is the check.

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cbe086c

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

This PR includes changesets to release 16 packages
NameType
workflowPatch
@workflow/corePatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@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 Aug 21, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, v0Aug 21, 2026 8:26pm
example-nextjs-workflow-webpackReadyReadyPreview, v0Aug 21, 2026 8:26pm
example-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-astro-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-express-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-fastify-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-hono-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nestjs-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nitro-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nuxt-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-python-workflowErrorErrorv0Aug 21, 2026 8:26pm
workbench-sveltekit-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-tanstack-start-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-vite-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-docsReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-swc-playgroundReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-tarballsReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-webReadyReadyPreview, v0Aug 21, 2026 8:26pm

@github-actions

github-actionsBot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10990781177
✅ 💻 Local Development11980861284
✅ 📦 Local Production11980861284
✅ 🐘 Local Postgres11980861284
✅ 🪟 Windows10700107
❌ 🌍 Community Worlds831059197
✅ 📋 Other606036642
Total54891053815975

❌ Failed Tests

🌍 Community Worlds (105 failed)

redis (20 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0JZY8PG683DHP2RAZEAMXBN
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0JZYMAWNVRX7HJT9GP6TQ7H
  • sleepingWorkflow | wrun_01M0JZZHQ8RJWRRKMTE3PG7QQ0
  • 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
  • error handling serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0K07QH3YDQAGK4JNR0RP4CF
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0K084KKRZZJZ5TST2H1YZKG
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0K08DQJPKWR4FW21JHKXSV3
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0K08V9B0R6JK0CT49K4HX05
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0K09Q7PCDZ3WV7BN0QD37S2
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0K09TZ5YA2M2ADEWZQ56GHY
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0K0A3G12JJT1J0M77X8AH9Y
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0K0A8Y7XWVN07MN0GPEQEW2
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0K0AH65SKVW4TMGENTJDPVG
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0K0G38TA9BNEA1QDC7Y5NPD

turso (85 failed):

  • addTenWorkflow | wrun_01M0JZX259EV4WP3Y9RRGZGBXW
  • addTenWorkflow | wrun_01M0JZX259EV4WP3Y9RRGZGBXW
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01M0JZZ6Q5XZHR7Q4DB657N38F
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01M0JZX8TWKHTVP35YMDZXNDR8
  • promiseRaceWorkflow | wrun_01M0JZXDJ2SMAT55E5YY8Q6S5Z
  • promiseAnyWorkflow | wrun_01M0JZXHB0ZRZ12KEGRNXEYA5E
  • importedStepOnlyWorkflow | wrun_01M0JZZJKSNPCAMNY3WMKBS9BC
  • readableStreamWorkflow | wrun_01M0JZXKNKHPEANXWX8RH64FCB
  • hookWorkflow | wrun_01M0JZY0491DF4N627B5HWZTPW
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0JZY8PG683DHP2RAZEAMXBN
  • webhookWorkflow | wrun_01M0JZYD2Q5TCJZEZYFNVAKF0G
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0JZYMAWNVRX7HJT9GP6TQ7H
  • sleepingWorkflow | wrun_01M0JZZHQ8RJWRRKMTE3PG7QQ0
  • parallelSleepWorkflow | wrun_01M0K000XSD6XKX8TPHYQHA0T0
  • sleepWinsRaceWorkflow | wrun_01M0K004F6W32F5CFBEY4PYJV9
  • stepWinsRaceWorkflow | wrun_01M0K007ZEYKWB5K70SG939VCJ
  • nullByteWorkflow | wrun_01M0K00BJXNV06ZCDBCBE1GNQ6
  • workflowAndStepMetadataWorkflow | wrun_01M0K00DXZWT193WHHQ8MQQS20
  • 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_01M0K02T1CJYTE6T77C3D26TB2
  • writableForwardedFromWorkflowWorkflow | wrun_01M0K037CEPPMR0NVEE7STM0SH
  • writableForwardedFromStepWorkflow | wrun_01M0K03BEFT517BBVHGXBVRC0C
  • fetchWorkflow | wrun_01M0K03EXGT0P6Z25DM0P0EFK9
  • promiseRaceStressTestWorkflow | wrun_01M0K03JD1ET78ZQJMMVQM249S
  • 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 serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • 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_01M0K07BPMPWDGTPPYBVG2PPT7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0K07QH3YDQAGK4JNR0RP4CF
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0K084KKRZZJZ5TST2H1YZKG
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01M0K087B1JH0F9K47ABYQSMGA
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01M0K08B3CQQ6BH580W7DX2FV2
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0K08DQJPKWR4FW21JHKXSV3
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0K08V9B0R6JK0CT49K4HX05
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0K09Q7PCDZ3WV7BN0QD37S2
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0K09TZ5YA2M2ADEWZQ56GHY
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0K0A3G12JJT1J0M77X8AH9Y
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0K0A8Y7XWVN07MN0GPEQEW2
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0K0AH65SKVW4TMGENTJDPVG
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01M0K0AVJ64E383F2YCX7WF1V6
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01M0K0BB3EXPNCE7318MFKSKR6
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01M0K0BKZBB2TS9DAQR7S4FXAT
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01M0K0BSTAVRW1R3RVA9G5VKTG
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01M0K0BW9HJ45D322PJ9E2EWNQ
  • 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_01M0K0CAPMDB7A5BMGM1XWT6RK
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01M0K0CGBB4KKKW7KTMC9VKQB8
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01M0K0CQD6ED5F782AETR97RX0
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01M0K0CWW90ZKK51V4FR0WQ5S2
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01M0K0D3QRY4J40KMCJ2JBX7NH
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01M0K0DAFW6S7CKR6KPPAWF5RQ
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01M0K0DH4YX5C5DJNR8A8BVBKQ
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01M0K0DW27M33NR37JSGYJY6QR
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01M0K0E42JJ333PXJFGAKC62CW
  • cancelRun - cancelling a running workflow | wrun_01M0K0EAQCWHSCWPQ5ZSZZC8JG
  • cancelRun via CLI - cancelling a running workflow | wrun_01M0K0EFYRHMTTA4C0KBBYH6VX
  • 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_01M0K0EQ3KB6MFAK98AN7YARDC
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01M0K0F37NQJJ21P30KM21CAN8
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01M0K0FCP5DVJ2PH27Y8PX1DVW
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01M0K0FQTJ3FYG3NYBMKBHEYEE
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01M0K0FYD3WQAMXAHAZTNR7R71
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01M0K0G0TZ1D099TC2MCT10KS1
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0K0G38TA9BNEA1QDC7Y5NPD

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9908
✅ example9908
✅ express9908
✅ fastify9908
✅ hono9908
✅ nextjs-turbopack10403
✅ nextjs-webpack10403
✅ nitro9908
✅ nuxt9908
✅ sveltekit9908
✅ vite9908
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev403
✅ redis-dev403
❌ redis68200
✅ turso-dev403
❌ turso3850
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable10106
✅ e2e-local-dev-tanstack-start-stable10106
✅ e2e-local-postgres-nest-stable10106
✅ e2e-local-postgres-tanstack-start-stable10106
✅ e2e-local-prod-nest-stable10106
✅ e2e-local-prod-tanstack-start-stable10106

📋 View full workflow run

@VaguelySerious
VaguelySerious marked this pull request as ready for review August 21, 2026 20:31
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersAugust 21, 2026 20:31
@pranaygp
pranaygp marked this pull request as draft August 21, 2026 23:57
@pranaygp

Copy link
Copy Markdown
Contributor

Converting to draft so we can confirm that it doesn't cause regression in main beta branch before we re confident about rolling this backport over to stable

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] Pin correlation-id draw order to event-log order (#3700) (backport to stable) by VaguelySerious · Pull Request #3719 · vercel/workflow · GitHub
Skip to content

[core] Pin correlation-id draw order to event-log order (#3700) (backport to stable) - #3719

Draft
VaguelySerious wants to merge 1 commit into
backport/pr-3406-to-stablefrom
backport/pr-3700-to-stable
Draft

[core] Pin correlation-id draw order to event-log order (#3700) (backport to stable)#3719
VaguelySerious wants to merge 1 commit into
backport/pr-3406-to-stablefrom
backport/pr-3700-to-stable

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Manual backport of #3700 (cherry-pick 9b1b8c71) to stable. The automated job could not do it: every Backport to stable run since 2026-08-21 18:31 fails because the AI Gateway key is over its budget (API key budget exceeded. Current spend: $10001.21, limit: $10000.00), including the forced workflow_dispatch run, which resolved the SHA and cherry-picked correctly before dying at conflict resolution.

Stacked on #3718 (backport of #3406), which this commit cannot terminate without. Merge that first; this PR's diff is against it.

Why the prerequisite

#3700's turnstile waits on any lower armed barrier, a wider relation than gatesOn, and its deadlock-freedom argument rests on #3406 having removed computeResolvesOnItsOwn's unconditional step -> true shortcut. Cherry-picked onto plain stable, this commit's own turnstile termination pin fails with Unconsumed event: step_created: the step spinner is reported self-resolving, so hasParkedCommittedDelivery blocks the dispenser and the parked chain never opens.

Adaptations

  • workflow.ts: stable has no generateUlid const and installs the raw ulid factory as the STABLE_ULID global (upstream installs the counting generateUlid). Wrapped as countingUlid(seedTime?), preserving the factory signature, so mintCount counts every draw from the run's sequence including serialization-driven stream ids (the termination argument for quiesceEarlierCascades depends on that) without changing which seed time stream ids get on stable.
  • private.ts: the gatesOn doc hunk carries over via [core] Keep step results ordered behind waits parked on unread hook payloads (#3406) (backport to stable) #3718. isLogOrderDrawsEnabled, quiescenceTurn, quiesceEarlierCascades and awaitEarlierDeliveries are byte-identical to main.
  • test-support/orchestrator-context.ts does not exist on stable (that extraction is main-only) and is dropped. The mintCount wiring it carries applies to the local setupWorkflowContext copies in the four test files the commit already touches, which is where the cherry-pick put it.
  • docs/content/docs/v5/configuration/runtime-tuning.mdx does not exist on stable, whose docs tree has no v5/configuration directory. Dropped, matching Backport #3554: [core] Pin draw order to event-log order: retire delivery barriers through one ordered dispenser #3629 which carried no docs files for the same reason. WORKFLOW_LOG_ORDER_DRAWS stays documented on main.
  • .gitignore: took only this commit's addition (the e2e-diagnostics-*.json sidecar entry, whose writer does exist on stable), not the main-only event-log-race-repro-* block the conflict dragged in.
  • Changeset downgraded minor -> patch for the maintenance line, matching Backport #3554: [core] Pin draw order to event-log order: retire delivery barriers through one ordered dispenser #3629.

Verification

Not run locally: the e2e lanes (they need a built workbench) and the Event Log Race Repro lane, which is the measurement that matters for this change. CI on this PR is the check.

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cbe086c

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

This PR includes changesets to release 16 packages
NameType
workflowPatch
@workflow/corePatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@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 Aug 21, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, v0Aug 21, 2026 8:26pm
example-nextjs-workflow-webpackReadyReadyPreview, v0Aug 21, 2026 8:26pm
example-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-astro-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-express-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-fastify-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-hono-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nestjs-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nitro-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nuxt-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-python-workflowErrorErrorv0Aug 21, 2026 8:26pm
workbench-sveltekit-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-tanstack-start-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-vite-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-docsReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-swc-playgroundReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-tarballsReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-webReadyReadyPreview, v0Aug 21, 2026 8:26pm

@github-actions

github-actionsBot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10990781177
✅ 💻 Local Development11980861284
✅ 📦 Local Production11980861284
✅ 🐘 Local Postgres11980861284
✅ 🪟 Windows10700107
❌ 🌍 Community Worlds831059197
✅ 📋 Other606036642
Total54891053815975

❌ Failed Tests

🌍 Community Worlds (105 failed)

redis (20 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0JZY8PG683DHP2RAZEAMXBN
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0JZYMAWNVRX7HJT9GP6TQ7H
  • sleepingWorkflow | wrun_01M0JZZHQ8RJWRRKMTE3PG7QQ0
  • 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
  • error handling serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0K07QH3YDQAGK4JNR0RP4CF
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0K084KKRZZJZ5TST2H1YZKG
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0K08DQJPKWR4FW21JHKXSV3
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0K08V9B0R6JK0CT49K4HX05
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0K09Q7PCDZ3WV7BN0QD37S2
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0K09TZ5YA2M2ADEWZQ56GHY
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0K0A3G12JJT1J0M77X8AH9Y
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0K0A8Y7XWVN07MN0GPEQEW2
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0K0AH65SKVW4TMGENTJDPVG
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0K0G38TA9BNEA1QDC7Y5NPD

turso (85 failed):

  • addTenWorkflow | wrun_01M0JZX259EV4WP3Y9RRGZGBXW
  • addTenWorkflow | wrun_01M0JZX259EV4WP3Y9RRGZGBXW
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01M0JZZ6Q5XZHR7Q4DB657N38F
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01M0JZX8TWKHTVP35YMDZXNDR8
  • promiseRaceWorkflow | wrun_01M0JZXDJ2SMAT55E5YY8Q6S5Z
  • promiseAnyWorkflow | wrun_01M0JZXHB0ZRZ12KEGRNXEYA5E
  • importedStepOnlyWorkflow | wrun_01M0JZZJKSNPCAMNY3WMKBS9BC
  • readableStreamWorkflow | wrun_01M0JZXKNKHPEANXWX8RH64FCB
  • hookWorkflow | wrun_01M0JZY0491DF4N627B5HWZTPW
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0JZY8PG683DHP2RAZEAMXBN
  • webhookWorkflow | wrun_01M0JZYD2Q5TCJZEZYFNVAKF0G
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0JZYMAWNVRX7HJT9GP6TQ7H
  • sleepingWorkflow | wrun_01M0JZZHQ8RJWRRKMTE3PG7QQ0
  • parallelSleepWorkflow | wrun_01M0K000XSD6XKX8TPHYQHA0T0
  • sleepWinsRaceWorkflow | wrun_01M0K004F6W32F5CFBEY4PYJV9
  • stepWinsRaceWorkflow | wrun_01M0K007ZEYKWB5K70SG939VCJ
  • nullByteWorkflow | wrun_01M0K00BJXNV06ZCDBCBE1GNQ6
  • workflowAndStepMetadataWorkflow | wrun_01M0K00DXZWT193WHHQ8MQQS20
  • 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_01M0K02T1CJYTE6T77C3D26TB2
  • writableForwardedFromWorkflowWorkflow | wrun_01M0K037CEPPMR0NVEE7STM0SH
  • writableForwardedFromStepWorkflow | wrun_01M0K03BEFT517BBVHGXBVRC0C
  • fetchWorkflow | wrun_01M0K03EXGT0P6Z25DM0P0EFK9
  • promiseRaceStressTestWorkflow | wrun_01M0K03JD1ET78ZQJMMVQM249S
  • 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 serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • 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_01M0K07BPMPWDGTPPYBVG2PPT7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0K07QH3YDQAGK4JNR0RP4CF
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0K084KKRZZJZ5TST2H1YZKG
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01M0K087B1JH0F9K47ABYQSMGA
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01M0K08B3CQQ6BH580W7DX2FV2
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0K08DQJPKWR4FW21JHKXSV3
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0K08V9B0R6JK0CT49K4HX05
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0K09Q7PCDZ3WV7BN0QD37S2
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0K09TZ5YA2M2ADEWZQ56GHY
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0K0A3G12JJT1J0M77X8AH9Y
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0K0A8Y7XWVN07MN0GPEQEW2
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0K0AH65SKVW4TMGENTJDPVG
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01M0K0AVJ64E383F2YCX7WF1V6
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01M0K0BB3EXPNCE7318MFKSKR6
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01M0K0BKZBB2TS9DAQR7S4FXAT
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01M0K0BSTAVRW1R3RVA9G5VKTG
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01M0K0BW9HJ45D322PJ9E2EWNQ
  • 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_01M0K0CAPMDB7A5BMGM1XWT6RK
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01M0K0CGBB4KKKW7KTMC9VKQB8
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01M0K0CQD6ED5F782AETR97RX0
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01M0K0CWW90ZKK51V4FR0WQ5S2
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01M0K0D3QRY4J40KMCJ2JBX7NH
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01M0K0DAFW6S7CKR6KPPAWF5RQ
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01M0K0DH4YX5C5DJNR8A8BVBKQ
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01M0K0DW27M33NR37JSGYJY6QR
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01M0K0E42JJ333PXJFGAKC62CW
  • cancelRun - cancelling a running workflow | wrun_01M0K0EAQCWHSCWPQ5ZSZZC8JG
  • cancelRun via CLI - cancelling a running workflow | wrun_01M0K0EFYRHMTTA4C0KBBYH6VX
  • 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_01M0K0EQ3KB6MFAK98AN7YARDC
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01M0K0F37NQJJ21P30KM21CAN8
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01M0K0FCP5DVJ2PH27Y8PX1DVW
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01M0K0FQTJ3FYG3NYBMKBHEYEE
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01M0K0FYD3WQAMXAHAZTNR7R71
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01M0K0G0TZ1D099TC2MCT10KS1
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0K0G38TA9BNEA1QDC7Y5NPD

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9908
✅ example9908
✅ express9908
✅ fastify9908
✅ hono9908
✅ nextjs-turbopack10403
✅ nextjs-webpack10403
✅ nitro9908
✅ nuxt9908
✅ sveltekit9908
✅ vite9908
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev403
✅ redis-dev403
❌ redis68200
✅ turso-dev403
❌ turso3850
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable10106
✅ e2e-local-dev-tanstack-start-stable10106
✅ e2e-local-postgres-nest-stable10106
✅ e2e-local-postgres-tanstack-start-stable10106
✅ e2e-local-prod-nest-stable10106
✅ e2e-local-prod-tanstack-start-stable10106

📋 View full workflow run

@VaguelySerious
VaguelySerious marked this pull request as ready for review August 21, 2026 20:31
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersAugust 21, 2026 20:31
@pranaygp
pranaygp marked this pull request as draft August 21, 2026 23:57
@pranaygp

Copy link
Copy Markdown
Contributor

Converting to draft so we can confirm that it doesn't cause regression in main beta branch before we re confident about rolling this backport over to stable

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] Pin correlation-id draw order to event-log order (#3700) (backport to stable) by VaguelySerious · Pull Request #3719 · vercel/workflow · GitHub
Skip to content

[core] Pin correlation-id draw order to event-log order (#3700) (backport to stable) - #3719

Draft
VaguelySerious wants to merge 1 commit into
backport/pr-3406-to-stablefrom
backport/pr-3700-to-stable
Draft

[core] Pin correlation-id draw order to event-log order (#3700) (backport to stable)#3719
VaguelySerious wants to merge 1 commit into
backport/pr-3406-to-stablefrom
backport/pr-3700-to-stable

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Manual backport of #3700 (cherry-pick 9b1b8c71) to stable. The automated job could not do it: every Backport to stable run since 2026-08-21 18:31 fails because the AI Gateway key is over its budget (API key budget exceeded. Current spend: $10001.21, limit: $10000.00), including the forced workflow_dispatch run, which resolved the SHA and cherry-picked correctly before dying at conflict resolution.

Stacked on #3718 (backport of #3406), which this commit cannot terminate without. Merge that first; this PR's diff is against it.

Why the prerequisite

#3700's turnstile waits on any lower armed barrier, a wider relation than gatesOn, and its deadlock-freedom argument rests on #3406 having removed computeResolvesOnItsOwn's unconditional step -> true shortcut. Cherry-picked onto plain stable, this commit's own turnstile termination pin fails with Unconsumed event: step_created: the step spinner is reported self-resolving, so hasParkedCommittedDelivery blocks the dispenser and the parked chain never opens.

Adaptations

  • workflow.ts: stable has no generateUlid const and installs the raw ulid factory as the STABLE_ULID global (upstream installs the counting generateUlid). Wrapped as countingUlid(seedTime?), preserving the factory signature, so mintCount counts every draw from the run's sequence including serialization-driven stream ids (the termination argument for quiesceEarlierCascades depends on that) without changing which seed time stream ids get on stable.
  • private.ts: the gatesOn doc hunk carries over via [core] Keep step results ordered behind waits parked on unread hook payloads (#3406) (backport to stable) #3718. isLogOrderDrawsEnabled, quiescenceTurn, quiesceEarlierCascades and awaitEarlierDeliveries are byte-identical to main.
  • test-support/orchestrator-context.ts does not exist on stable (that extraction is main-only) and is dropped. The mintCount wiring it carries applies to the local setupWorkflowContext copies in the four test files the commit already touches, which is where the cherry-pick put it.
  • docs/content/docs/v5/configuration/runtime-tuning.mdx does not exist on stable, whose docs tree has no v5/configuration directory. Dropped, matching Backport #3554: [core] Pin draw order to event-log order: retire delivery barriers through one ordered dispenser #3629 which carried no docs files for the same reason. WORKFLOW_LOG_ORDER_DRAWS stays documented on main.
  • .gitignore: took only this commit's addition (the e2e-diagnostics-*.json sidecar entry, whose writer does exist on stable), not the main-only event-log-race-repro-* block the conflict dragged in.
  • Changeset downgraded minor -> patch for the maintenance line, matching Backport #3554: [core] Pin draw order to event-log order: retire delivery barriers through one ordered dispenser #3629.

Verification

Not run locally: the e2e lanes (they need a built workbench) and the Event Log Race Repro lane, which is the measurement that matters for this change. CI on this PR is the check.

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cbe086c

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

This PR includes changesets to release 16 packages
NameType
workflowPatch
@workflow/corePatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@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 Aug 21, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, v0Aug 21, 2026 8:26pm
example-nextjs-workflow-webpackReadyReadyPreview, v0Aug 21, 2026 8:26pm
example-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-astro-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-express-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-fastify-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-hono-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nestjs-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nitro-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-nuxt-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-python-workflowErrorErrorv0Aug 21, 2026 8:26pm
workbench-sveltekit-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-tanstack-start-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workbench-vite-workflowReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-docsReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-swc-playgroundReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-tarballsReadyReadyPreview, v0Aug 21, 2026 8:26pm
workflow-webReadyReadyPreview, v0Aug 21, 2026 8:26pm

@github-actions

github-actionsBot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10990781177
✅ 💻 Local Development11980861284
✅ 📦 Local Production11980861284
✅ 🐘 Local Postgres11980861284
✅ 🪟 Windows10700107
❌ 🌍 Community Worlds831059197
✅ 📋 Other606036642
Total54891053815975

❌ Failed Tests

🌍 Community Worlds (105 failed)

redis (20 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0JZY8PG683DHP2RAZEAMXBN
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0JZYMAWNVRX7HJT9GP6TQ7H
  • sleepingWorkflow | wrun_01M0JZZHQ8RJWRRKMTE3PG7QQ0
  • 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
  • error handling serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0K07QH3YDQAGK4JNR0RP4CF
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0K084KKRZZJZ5TST2H1YZKG
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0K08DQJPKWR4FW21JHKXSV3
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0K08V9B0R6JK0CT49K4HX05
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0K09Q7PCDZ3WV7BN0QD37S2
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0K09TZ5YA2M2ADEWZQ56GHY
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0K0A3G12JJT1J0M77X8AH9Y
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0K0A8Y7XWVN07MN0GPEQEW2
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0K0AH65SKVW4TMGENTJDPVG
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0K0G38TA9BNEA1QDC7Y5NPD

turso (85 failed):

  • addTenWorkflow | wrun_01M0JZX259EV4WP3Y9RRGZGBXW
  • addTenWorkflow | wrun_01M0JZX259EV4WP3Y9RRGZGBXW
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01M0JZZ6Q5XZHR7Q4DB657N38F
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01M0JZX8TWKHTVP35YMDZXNDR8
  • promiseRaceWorkflow | wrun_01M0JZXDJ2SMAT55E5YY8Q6S5Z
  • promiseAnyWorkflow | wrun_01M0JZXHB0ZRZ12KEGRNXEYA5E
  • importedStepOnlyWorkflow | wrun_01M0JZZJKSNPCAMNY3WMKBS9BC
  • readableStreamWorkflow | wrun_01M0JZXKNKHPEANXWX8RH64FCB
  • hookWorkflow | wrun_01M0JZY0491DF4N627B5HWZTPW
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0JZY8PG683DHP2RAZEAMXBN
  • webhookWorkflow | wrun_01M0JZYD2Q5TCJZEZYFNVAKF0G
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0JZYMAWNVRX7HJT9GP6TQ7H
  • sleepingWorkflow | wrun_01M0JZZHQ8RJWRRKMTE3PG7QQ0
  • parallelSleepWorkflow | wrun_01M0K000XSD6XKX8TPHYQHA0T0
  • sleepWinsRaceWorkflow | wrun_01M0K004F6W32F5CFBEY4PYJV9
  • stepWinsRaceWorkflow | wrun_01M0K007ZEYKWB5K70SG939VCJ
  • nullByteWorkflow | wrun_01M0K00BJXNV06ZCDBCBE1GNQ6
  • workflowAndStepMetadataWorkflow | wrun_01M0K00DXZWT193WHHQ8MQQS20
  • 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_01M0K02T1CJYTE6T77C3D26TB2
  • writableForwardedFromWorkflowWorkflow | wrun_01M0K037CEPPMR0NVEE7STM0SH
  • writableForwardedFromStepWorkflow | wrun_01M0K03BEFT517BBVHGXBVRC0C
  • fetchWorkflow | wrun_01M0K03EXGT0P6Z25DM0P0EFK9
  • promiseRaceStressTestWorkflow | wrun_01M0K03JD1ET78ZQJMMVQM249S
  • 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 serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • 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_01M0K07BPMPWDGTPPYBVG2PPT7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0K07QH3YDQAGK4JNR0RP4CF
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0K084KKRZZJZ5TST2H1YZKG
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01M0K087B1JH0F9K47ABYQSMGA
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01M0K08B3CQQ6BH580W7DX2FV2
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0K08DQJPKWR4FW21JHKXSV3
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0K08V9B0R6JK0CT49K4HX05
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0K09Q7PCDZ3WV7BN0QD37S2
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0K09TZ5YA2M2ADEWZQ56GHY
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0K0A3G12JJT1J0M77X8AH9Y
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0K0A8Y7XWVN07MN0GPEQEW2
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0K0AH65SKVW4TMGENTJDPVG
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01M0K0AVJ64E383F2YCX7WF1V6
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01M0K0BB3EXPNCE7318MFKSKR6
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01M0K0BKZBB2TS9DAQR7S4FXAT
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01M0K0BSTAVRW1R3RVA9G5VKTG
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01M0K0BW9HJ45D322PJ9E2EWNQ
  • 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_01M0K0CAPMDB7A5BMGM1XWT6RK
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01M0K0CGBB4KKKW7KTMC9VKQB8
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01M0K0CQD6ED5F782AETR97RX0
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01M0K0CWW90ZKK51V4FR0WQ5S2
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01M0K0D3QRY4J40KMCJ2JBX7NH
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01M0K0DAFW6S7CKR6KPPAWF5RQ
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01M0K0DH4YX5C5DJNR8A8BVBKQ
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01M0K0DW27M33NR37JSGYJY6QR
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01M0K0E42JJ333PXJFGAKC62CW
  • cancelRun - cancelling a running workflow | wrun_01M0K0EAQCWHSCWPQ5ZSZZC8JG
  • cancelRun via CLI - cancelling a running workflow | wrun_01M0K0EFYRHMTTA4C0KBBYH6VX
  • 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_01M0K0EQ3KB6MFAK98AN7YARDC
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01M0K0F37NQJJ21P30KM21CAN8
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01M0K0FCP5DVJ2PH27Y8PX1DVW
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01M0K0FQTJ3FYG3NYBMKBHEYEE
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01M0K0FYD3WQAMXAHAZTNR7R71
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01M0K0G0TZ1D099TC2MCT10KS1
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0K0G38TA9BNEA1QDC7Y5NPD

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9908
✅ example9908
✅ express9908
✅ fastify9908
✅ hono9908
✅ nextjs-turbopack10403
✅ nextjs-webpack10403
✅ nitro9908
✅ nuxt9908
✅ sveltekit9908
✅ vite9908
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable10106
✅ express-stable10106
✅ fastify-stable10106
✅ hono-stable10106
✅ nextjs-turbopack-canary88019
✅ nextjs-turbopack-stable10700
✅ nextjs-webpack-canary88019
✅ nextjs-webpack-stable10700
✅ nitro-stable10106
✅ nuxt-stable10106
✅ sveltekit-stable10106
✅ vite-stable10106
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev403
✅ redis-dev403
❌ redis68200
✅ turso-dev403
❌ turso3850
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable10106
✅ e2e-local-dev-tanstack-start-stable10106
✅ e2e-local-postgres-nest-stable10106
✅ e2e-local-postgres-tanstack-start-stable10106
✅ e2e-local-prod-nest-stable10106
✅ e2e-local-prod-tanstack-start-stable10106

📋 View full workflow run

@VaguelySerious
VaguelySerious marked this pull request as ready for review August 21, 2026 20:31
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersAugust 21, 2026 20:31
@pranaygp
pranaygp marked this pull request as draft August 21, 2026 23:57
@pranaygp

Copy link
Copy Markdown
Contributor

Converting to draft so we can confirm that it doesn't cause regression in main beta branch before we re confident about rolling this backport over to stable

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