Backport #2334: [core] Retry stream reopen against the reconnect budget - #2574

Merged
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable
Jun 22, 2026
Merged

Backport #2334: [core] Retry stream reopen against the reconnect budget#2574
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2334 to stable (backport job run).

AI recommendation: This is a self-contained bug fix to createReconnectingFramedStream in packages/core/src/serialization.ts, which exists on stable with the same reconnect() budget structure. It hardens the existing reconnect path to retry a transient connect() failure against the reconnect budget instead of failing fatally, and the PR notes the same sequencing applies to the stable line (#1847), so it applies cleanly to functionality present on stable.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Jun 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fa454c6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercelBot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-astro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-express-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-fastify-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-hono-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nitro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nuxt-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-sveltekit-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-tanstack-start-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-vite-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-swc-playgroundReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-tarballsReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-webReadyReadyPreview, CommentJun 22, 2026 10:04pm
1 Skipped Deployment
ProjectDeploymentActionsUpdated (UTC)
workflow-docsSkippedSkippedJun 22, 2026 10:04pm

Comment threadpackages/core/src/reconnecting-framed-stream.test.ts Outdated
…s.get`) that don't exist on the stable branch, causing a compile error and a broken test.
This commit fixes the issue reported at packages/core/src/reconnecting-framed-stream.test.ts:212
## Bug
The test `"retries the reopen itself against the budget instead of failing fatally"` (added at `packages/core/src/reconnecting-framed-stream.test.ts:175`) was backported from `main` without adapting it to the `stable` branch API. Two concrete mismatches:
1. **Undeclared identifier `RUN_ID`** — The test called:
```ts
const stream = createReconnectingFramedStream(RUN_ID, 's', 0);
```
`RUN_ID` is never imported or declared anywhere in the file. This is a hard TypeScript compile error (`Cannot find name 'RUN_ID'`) and would be a runtime `ReferenceError`. On the stable branch the signature is `createReconnectingFramedStream(name: string, startIndex?: number)` — no `runId` parameter.
2. **Wrong world mock shape** — The test built a world mock exposing `world.streams.get(runId, name, startIndex)`, but the stable `connect()` calls `world.readFromStream(name, effectiveStartIndex)` (verified in `serialization.ts`). So `world.readFromStream` would be `undefined` and `connect()` would throw, never exercising the intended reopen-retry path.
## Fix
Rewrote the test to match the stable API, matching the existing `makeWorldWithScriptedStreams` pattern used by every other test in the file:
- Mock `readFromStream(_name, startIndex)` instead of `streams.get(...)`.
- Call `createReconnectingFramedStream('s', 0)` (2-arg form).
The test's intent is preserved: index 0 delivers two frames then errors; the first reopen at index 2 throws transiently; the second reopen succeeds. Assertions remain `chunks === [1, 2, 3]` and `calls === [0, 2, 2]`.
This matches the stable `reconnect()` implementation, which retries `connect()` against the reconnect budget — so `readFromStream` is called with `2` twice (failed reopen + successful retry), yielding `[0, 2, 2]`.
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Co-authored-by: VaguelySerious <mittgfu@gmail.com>
@github-actions

github-actionsBot commented Jun 22, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440781122
✅ 💻 Local Development11380861224
✅ 📦 Local Production11380861224
✅ 🐘 Local Postgres11260981224
✅ 🪟 Windows10200102
❌ 🌍 Community Worlds76996181
✅ 📋 Other574038612
Total5198993925689

❌ Failed Tests

🌍 Community Worlds (99 failed)

redis (19 failed):

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

turso (80 failed):

  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KVRNPRVH7G5XXTWEM3SMR02X
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KVRNNT736E632EPQ6F8TX6B5
  • promiseRaceWorkflow | wrun_01KVRNNYVFR2VTDTRTGMEE3S0D
  • promiseAnyWorkflow | wrun_01KVRNP27Y0357VHEH4KM4JX6X
  • importedStepOnlyWorkflow | wrun_01KVRNQ5SAKYSE534X1GA8Z3GR
  • readableStreamWorkflow | wrun_01KVRNP5Q3HW5KHWBDBFMBJCVH
  • hookWorkflow | wrun_01KVRNPJV7ZF3QFF0YZXQRV9DB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KVRNPT6PWFMF7M58H9FMJ77M
  • webhookWorkflow | wrun_01KVRNPZA94SWRWK1D6X4HAWE4
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KVRNQ7BX3D5HG4MT1Y7VTB8S
  • sleepingWorkflow | wrun_01KVRNRWF6YH2Q8WV81ME8Q93A
  • parallelSleepWorkflow | wrun_01KVRNSCBBHF5P9MQMVH4ZMPN4
  • nullByteWorkflow | wrun_01KVRNSJZEQQ9P6C1CMP297PQE
  • workflowAndStepMetadataWorkflow | wrun_01KVRNSNQAM9VRXTJNDCJZT3CM
  • 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_01KVRNWN7E8VHE602NDJMYGERP
  • writableForwardedFromWorkflowWorkflow | wrun_01KVRNX6QJ29KQE3N80AX4N71F
  • writableForwardedFromStepWorkflow | wrun_01KVRNXARVHB02E8FB8NHY2EW6
  • fetchWorkflow | wrun_01KVRNXEE39RSR4TECYZ0JS177
  • promiseRaceStressTestWorkflow | wrun_01KVRNXJVEF2HM2VPKSZ3MXV58
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KVRP14FRSK6448MYPMN4TPMY
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KVRP1J97R1RKJXZ2A3VKQTH5
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KVRP1YK9NGF4TGRST6MF018B
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KVRP222PVKBPB19WNYTJ07TH
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KVRP261DSV0RFJX2W53PAD6D
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KVRP29CV8MAN53WKMQ8KC00D
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KVRP2RDS9MCZMPFBW2S7GC90
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KVRP3NX18V2CES45WAAYD7S6
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KVRP3X7R1Q9Z0MVM3P7TB0YA
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KVRP44PTBJKN0PGHZTRBMXJJ
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KVRP4AGRCDE62Y7Z9WNKH73S
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KVRP4PKBBGZBBC9HMZYGRPX8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KVRP504T2KPH10V4DZWXF68M
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KVRP5JJ8MEGQDYGAPQ3KES0E
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KVRP5YBTJXRWPBNN132N2HR0
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KVRP650E8HQ6ZR9CP1SQM6YZ
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KVRP67707AW4CDFS3DHBKJPG
  • 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_01KVRP6SE6M2PKP5PYFJ50RP6Y
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KVRP7011FJKAQ1EGBF16T0FV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KVRP76WK3ERHT7PB3MBHKZFR
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KVRP7E7DFDFGTBKSH0Y970ED
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KVRP7NZAA9EK81M8VSW3H01Q
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KVRP7XP8AD1YV430CZYTQNG9
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KVRP86QNG75AH072SFTSAZAA
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KVRP8NQW48Z66ZB2VPSTE61V
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KVRP91MDX04MEB3VQEXXJHMP
  • cancelRun - cancelling a running workflow | wrun_01KVRP9BWD5XXJT3Z8P0208Z0Y
  • cancelRun via CLI - cancelling a running workflow | wrun_01KVRP9N0JQVH2HDDF63GGDQA3
  • 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_01KVRPA10SDDGWEE15W12CS5EQ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KVRPAKN393YZWMY6C2715JE7
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KVRPB10759WDSBM5PHR9NRNW
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KVRPBAEXK03W4TBMT385Y744
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KVRPBD0QDQC61GABM044TM3F
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KVRPBHNSQE25EQW1SZDVDA7G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9408
✅ example9408
✅ express9408
✅ fastify9408
✅ hono9408
✅ nextjs-turbopack9903
✅ nextjs-webpack9903
✅ nitro9408
✅ nuxt9408
✅ sveltekit9408
✅ vite9408
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9507
✅ express-stable9507
✅ fastify-stable9507
✅ hono-stable9507
✅ nextjs-turbopack-canary82020
✅ nextjs-turbopack-stable10101
✅ nextjs-webpack-canary82020
✅ nextjs-webpack-stable10101
✅ nitro-stable9507
✅ nuxt-stable9507
✅ sveltekit-stable9507
✅ vite-stable9507
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10200
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64190
✅ turso-dev302
❌ turso3800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9606
✅ e2e-local-dev-tanstack-start-stable9606
✅ e2e-local-postgres-nest-stable9507
✅ e2e-local-postgres-tanstack-start-stable9507
✅ e2e-local-prod-nest-stable9606
✅ e2e-local-prod-tanstack-start-stable9606

📋 View full workflow run

@vercel
vercelBottemporarily deployed to Preview – workflow-docs June 22, 2026 22:00 Inactive
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.

1 participant

@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n 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;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

Backport #2334: [core] Retry stream reopen against the reconnect budget - #2574

Merged
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable
Jun 22, 2026
Merged

Backport #2334: [core] Retry stream reopen against the reconnect budget#2574
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2334 to stable (backport job run).

AI recommendation: This is a self-contained bug fix to createReconnectingFramedStream in packages/core/src/serialization.ts, which exists on stable with the same reconnect() budget structure. It hardens the existing reconnect path to retry a transient connect() failure against the reconnect budget instead of failing fatally, and the PR notes the same sequencing applies to the stable line (#1847), so it applies cleanly to functionality present on stable.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Jun 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fa454c6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercelBot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-astro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-express-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-fastify-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-hono-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nitro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nuxt-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-sveltekit-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-tanstack-start-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-vite-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-swc-playgroundReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-tarballsReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-webReadyReadyPreview, CommentJun 22, 2026 10:04pm
1 Skipped Deployment
ProjectDeploymentActionsUpdated (UTC)
workflow-docsSkippedSkippedJun 22, 2026 10:04pm

Comment threadpackages/core/src/reconnecting-framed-stream.test.ts Outdated
…s.get`) that don't exist on the stable branch, causing a compile error and a broken test.
This commit fixes the issue reported at packages/core/src/reconnecting-framed-stream.test.ts:212
## Bug
The test `"retries the reopen itself against the budget instead of failing fatally"` (added at `packages/core/src/reconnecting-framed-stream.test.ts:175`) was backported from `main` without adapting it to the `stable` branch API. Two concrete mismatches:
1. **Undeclared identifier `RUN_ID`** — The test called:
```ts
const stream = createReconnectingFramedStream(RUN_ID, 's', 0);
```
`RUN_ID` is never imported or declared anywhere in the file. This is a hard TypeScript compile error (`Cannot find name 'RUN_ID'`) and would be a runtime `ReferenceError`. On the stable branch the signature is `createReconnectingFramedStream(name: string, startIndex?: number)` — no `runId` parameter.
2. **Wrong world mock shape** — The test built a world mock exposing `world.streams.get(runId, name, startIndex)`, but the stable `connect()` calls `world.readFromStream(name, effectiveStartIndex)` (verified in `serialization.ts`). So `world.readFromStream` would be `undefined` and `connect()` would throw, never exercising the intended reopen-retry path.
## Fix
Rewrote the test to match the stable API, matching the existing `makeWorldWithScriptedStreams` pattern used by every other test in the file:
- Mock `readFromStream(_name, startIndex)` instead of `streams.get(...)`.
- Call `createReconnectingFramedStream('s', 0)` (2-arg form).
The test's intent is preserved: index 0 delivers two frames then errors; the first reopen at index 2 throws transiently; the second reopen succeeds. Assertions remain `chunks === [1, 2, 3]` and `calls === [0, 2, 2]`.
This matches the stable `reconnect()` implementation, which retries `connect()` against the reconnect budget — so `readFromStream` is called with `2` twice (failed reopen + successful retry), yielding `[0, 2, 2]`.
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Co-authored-by: VaguelySerious <mittgfu@gmail.com>
@github-actions

github-actionsBot commented Jun 22, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440781122
✅ 💻 Local Development11380861224
✅ 📦 Local Production11380861224
✅ 🐘 Local Postgres11260981224
✅ 🪟 Windows10200102
❌ 🌍 Community Worlds76996181
✅ 📋 Other574038612
Total5198993925689

❌ Failed Tests

🌍 Community Worlds (99 failed)

redis (19 failed):

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

turso (80 failed):

  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KVRNPRVH7G5XXTWEM3SMR02X
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KVRNNT736E632EPQ6F8TX6B5
  • promiseRaceWorkflow | wrun_01KVRNNYVFR2VTDTRTGMEE3S0D
  • promiseAnyWorkflow | wrun_01KVRNP27Y0357VHEH4KM4JX6X
  • importedStepOnlyWorkflow | wrun_01KVRNQ5SAKYSE534X1GA8Z3GR
  • readableStreamWorkflow | wrun_01KVRNP5Q3HW5KHWBDBFMBJCVH
  • hookWorkflow | wrun_01KVRNPJV7ZF3QFF0YZXQRV9DB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KVRNPT6PWFMF7M58H9FMJ77M
  • webhookWorkflow | wrun_01KVRNPZA94SWRWK1D6X4HAWE4
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KVRNQ7BX3D5HG4MT1Y7VTB8S
  • sleepingWorkflow | wrun_01KVRNRWF6YH2Q8WV81ME8Q93A
  • parallelSleepWorkflow | wrun_01KVRNSCBBHF5P9MQMVH4ZMPN4
  • nullByteWorkflow | wrun_01KVRNSJZEQQ9P6C1CMP297PQE
  • workflowAndStepMetadataWorkflow | wrun_01KVRNSNQAM9VRXTJNDCJZT3CM
  • 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_01KVRNWN7E8VHE602NDJMYGERP
  • writableForwardedFromWorkflowWorkflow | wrun_01KVRNX6QJ29KQE3N80AX4N71F
  • writableForwardedFromStepWorkflow | wrun_01KVRNXARVHB02E8FB8NHY2EW6
  • fetchWorkflow | wrun_01KVRNXEE39RSR4TECYZ0JS177
  • promiseRaceStressTestWorkflow | wrun_01KVRNXJVEF2HM2VPKSZ3MXV58
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KVRP14FRSK6448MYPMN4TPMY
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KVRP1J97R1RKJXZ2A3VKQTH5
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KVRP1YK9NGF4TGRST6MF018B
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KVRP222PVKBPB19WNYTJ07TH
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KVRP261DSV0RFJX2W53PAD6D
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KVRP29CV8MAN53WKMQ8KC00D
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KVRP2RDS9MCZMPFBW2S7GC90
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KVRP3NX18V2CES45WAAYD7S6
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KVRP3X7R1Q9Z0MVM3P7TB0YA
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KVRP44PTBJKN0PGHZTRBMXJJ
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KVRP4AGRCDE62Y7Z9WNKH73S
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KVRP4PKBBGZBBC9HMZYGRPX8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KVRP504T2KPH10V4DZWXF68M
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KVRP5JJ8MEGQDYGAPQ3KES0E
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KVRP5YBTJXRWPBNN132N2HR0
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KVRP650E8HQ6ZR9CP1SQM6YZ
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KVRP67707AW4CDFS3DHBKJPG
  • 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_01KVRP6SE6M2PKP5PYFJ50RP6Y
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KVRP7011FJKAQ1EGBF16T0FV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KVRP76WK3ERHT7PB3MBHKZFR
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KVRP7E7DFDFGTBKSH0Y970ED
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KVRP7NZAA9EK81M8VSW3H01Q
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KVRP7XP8AD1YV430CZYTQNG9
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KVRP86QNG75AH072SFTSAZAA
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KVRP8NQW48Z66ZB2VPSTE61V
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KVRP91MDX04MEB3VQEXXJHMP
  • cancelRun - cancelling a running workflow | wrun_01KVRP9BWD5XXJT3Z8P0208Z0Y
  • cancelRun via CLI - cancelling a running workflow | wrun_01KVRP9N0JQVH2HDDF63GGDQA3
  • 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_01KVRPA10SDDGWEE15W12CS5EQ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KVRPAKN393YZWMY6C2715JE7
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KVRPB10759WDSBM5PHR9NRNW
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KVRPBAEXK03W4TBMT385Y744
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KVRPBD0QDQC61GABM044TM3F
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KVRPBHNSQE25EQW1SZDVDA7G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9408
✅ example9408
✅ express9408
✅ fastify9408
✅ hono9408
✅ nextjs-turbopack9903
✅ nextjs-webpack9903
✅ nitro9408
✅ nuxt9408
✅ sveltekit9408
✅ vite9408
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9507
✅ express-stable9507
✅ fastify-stable9507
✅ hono-stable9507
✅ nextjs-turbopack-canary82020
✅ nextjs-turbopack-stable10101
✅ nextjs-webpack-canary82020
✅ nextjs-webpack-stable10101
✅ nitro-stable9507
✅ nuxt-stable9507
✅ sveltekit-stable9507
✅ vite-stable9507
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10200
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64190
✅ turso-dev302
❌ turso3800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9606
✅ e2e-local-dev-tanstack-start-stable9606
✅ e2e-local-postgres-nest-stable9507
✅ e2e-local-postgres-tanstack-start-stable9507
✅ e2e-local-prod-nest-stable9606
✅ e2e-local-prod-tanstack-start-stable9606

📋 View full workflow run

@vercel
vercelBottemporarily deployed to Preview – workflow-docs June 22, 2026 22:00 Inactive
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.

1 participant

@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Backport #2334: [core] Retry stream reopen against the reconnect budget - #2574

Merged
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable
Jun 22, 2026
Merged

Backport #2334: [core] Retry stream reopen against the reconnect budget#2574
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2334 to stable (backport job run).

AI recommendation: This is a self-contained bug fix to createReconnectingFramedStream in packages/core/src/serialization.ts, which exists on stable with the same reconnect() budget structure. It hardens the existing reconnect path to retry a transient connect() failure against the reconnect budget instead of failing fatally, and the PR notes the same sequencing applies to the stable line (#1847), so it applies cleanly to functionality present on stable.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Jun 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fa454c6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercelBot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-astro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-express-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-fastify-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-hono-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nitro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nuxt-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-sveltekit-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-tanstack-start-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-vite-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-swc-playgroundReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-tarballsReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-webReadyReadyPreview, CommentJun 22, 2026 10:04pm
1 Skipped Deployment
ProjectDeploymentActionsUpdated (UTC)
workflow-docsSkippedSkippedJun 22, 2026 10:04pm

Comment threadpackages/core/src/reconnecting-framed-stream.test.ts Outdated
…s.get`) that don't exist on the stable branch, causing a compile error and a broken test.
This commit fixes the issue reported at packages/core/src/reconnecting-framed-stream.test.ts:212
## Bug
The test `"retries the reopen itself against the budget instead of failing fatally"` (added at `packages/core/src/reconnecting-framed-stream.test.ts:175`) was backported from `main` without adapting it to the `stable` branch API. Two concrete mismatches:
1. **Undeclared identifier `RUN_ID`** — The test called:
```ts
const stream = createReconnectingFramedStream(RUN_ID, 's', 0);
```
`RUN_ID` is never imported or declared anywhere in the file. This is a hard TypeScript compile error (`Cannot find name 'RUN_ID'`) and would be a runtime `ReferenceError`. On the stable branch the signature is `createReconnectingFramedStream(name: string, startIndex?: number)` — no `runId` parameter.
2. **Wrong world mock shape** — The test built a world mock exposing `world.streams.get(runId, name, startIndex)`, but the stable `connect()` calls `world.readFromStream(name, effectiveStartIndex)` (verified in `serialization.ts`). So `world.readFromStream` would be `undefined` and `connect()` would throw, never exercising the intended reopen-retry path.
## Fix
Rewrote the test to match the stable API, matching the existing `makeWorldWithScriptedStreams` pattern used by every other test in the file:
- Mock `readFromStream(_name, startIndex)` instead of `streams.get(...)`.
- Call `createReconnectingFramedStream('s', 0)` (2-arg form).
The test's intent is preserved: index 0 delivers two frames then errors; the first reopen at index 2 throws transiently; the second reopen succeeds. Assertions remain `chunks === [1, 2, 3]` and `calls === [0, 2, 2]`.
This matches the stable `reconnect()` implementation, which retries `connect()` against the reconnect budget — so `readFromStream` is called with `2` twice (failed reopen + successful retry), yielding `[0, 2, 2]`.
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Co-authored-by: VaguelySerious <mittgfu@gmail.com>
@github-actions

github-actionsBot commented Jun 22, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440781122
✅ 💻 Local Development11380861224
✅ 📦 Local Production11380861224
✅ 🐘 Local Postgres11260981224
✅ 🪟 Windows10200102
❌ 🌍 Community Worlds76996181
✅ 📋 Other574038612
Total5198993925689

❌ Failed Tests

🌍 Community Worlds (99 failed)

redis (19 failed):

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

turso (80 failed):

  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KVRNPRVH7G5XXTWEM3SMR02X
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KVRNNT736E632EPQ6F8TX6B5
  • promiseRaceWorkflow | wrun_01KVRNNYVFR2VTDTRTGMEE3S0D
  • promiseAnyWorkflow | wrun_01KVRNP27Y0357VHEH4KM4JX6X
  • importedStepOnlyWorkflow | wrun_01KVRNQ5SAKYSE534X1GA8Z3GR
  • readableStreamWorkflow | wrun_01KVRNP5Q3HW5KHWBDBFMBJCVH
  • hookWorkflow | wrun_01KVRNPJV7ZF3QFF0YZXQRV9DB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KVRNPT6PWFMF7M58H9FMJ77M
  • webhookWorkflow | wrun_01KVRNPZA94SWRWK1D6X4HAWE4
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KVRNQ7BX3D5HG4MT1Y7VTB8S
  • sleepingWorkflow | wrun_01KVRNRWF6YH2Q8WV81ME8Q93A
  • parallelSleepWorkflow | wrun_01KVRNSCBBHF5P9MQMVH4ZMPN4
  • nullByteWorkflow | wrun_01KVRNSJZEQQ9P6C1CMP297PQE
  • workflowAndStepMetadataWorkflow | wrun_01KVRNSNQAM9VRXTJNDCJZT3CM
  • 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_01KVRNWN7E8VHE602NDJMYGERP
  • writableForwardedFromWorkflowWorkflow | wrun_01KVRNX6QJ29KQE3N80AX4N71F
  • writableForwardedFromStepWorkflow | wrun_01KVRNXARVHB02E8FB8NHY2EW6
  • fetchWorkflow | wrun_01KVRNXEE39RSR4TECYZ0JS177
  • promiseRaceStressTestWorkflow | wrun_01KVRNXJVEF2HM2VPKSZ3MXV58
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KVRP14FRSK6448MYPMN4TPMY
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KVRP1J97R1RKJXZ2A3VKQTH5
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KVRP1YK9NGF4TGRST6MF018B
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KVRP222PVKBPB19WNYTJ07TH
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KVRP261DSV0RFJX2W53PAD6D
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KVRP29CV8MAN53WKMQ8KC00D
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KVRP2RDS9MCZMPFBW2S7GC90
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KVRP3NX18V2CES45WAAYD7S6
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KVRP3X7R1Q9Z0MVM3P7TB0YA
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KVRP44PTBJKN0PGHZTRBMXJJ
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KVRP4AGRCDE62Y7Z9WNKH73S
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KVRP4PKBBGZBBC9HMZYGRPX8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KVRP504T2KPH10V4DZWXF68M
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KVRP5JJ8MEGQDYGAPQ3KES0E
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KVRP5YBTJXRWPBNN132N2HR0
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KVRP650E8HQ6ZR9CP1SQM6YZ
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KVRP67707AW4CDFS3DHBKJPG
  • 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_01KVRP6SE6M2PKP5PYFJ50RP6Y
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KVRP7011FJKAQ1EGBF16T0FV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KVRP76WK3ERHT7PB3MBHKZFR
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KVRP7E7DFDFGTBKSH0Y970ED
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KVRP7NZAA9EK81M8VSW3H01Q
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KVRP7XP8AD1YV430CZYTQNG9
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KVRP86QNG75AH072SFTSAZAA
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KVRP8NQW48Z66ZB2VPSTE61V
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KVRP91MDX04MEB3VQEXXJHMP
  • cancelRun - cancelling a running workflow | wrun_01KVRP9BWD5XXJT3Z8P0208Z0Y
  • cancelRun via CLI - cancelling a running workflow | wrun_01KVRP9N0JQVH2HDDF63GGDQA3
  • 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_01KVRPA10SDDGWEE15W12CS5EQ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KVRPAKN393YZWMY6C2715JE7
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KVRPB10759WDSBM5PHR9NRNW
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KVRPBAEXK03W4TBMT385Y744
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KVRPBD0QDQC61GABM044TM3F
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KVRPBHNSQE25EQW1SZDVDA7G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9408
✅ example9408
✅ express9408
✅ fastify9408
✅ hono9408
✅ nextjs-turbopack9903
✅ nextjs-webpack9903
✅ nitro9408
✅ nuxt9408
✅ sveltekit9408
✅ vite9408
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9507
✅ express-stable9507
✅ fastify-stable9507
✅ hono-stable9507
✅ nextjs-turbopack-canary82020
✅ nextjs-turbopack-stable10101
✅ nextjs-webpack-canary82020
✅ nextjs-webpack-stable10101
✅ nitro-stable9507
✅ nuxt-stable9507
✅ sveltekit-stable9507
✅ vite-stable9507
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10200
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64190
✅ turso-dev302
❌ turso3800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9606
✅ e2e-local-dev-tanstack-start-stable9606
✅ e2e-local-postgres-nest-stable9507
✅ e2e-local-postgres-tanstack-start-stable9507
✅ e2e-local-prod-nest-stable9606
✅ e2e-local-prod-tanstack-start-stable9606

📋 View full workflow run

@vercel
vercelBottemporarily deployed to Preview – workflow-docs June 22, 2026 22:00 Inactive
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.

1 participant

@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Backport #2334: [core] Retry stream reopen against the reconnect budget - #2574

Merged
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable
Jun 22, 2026
Merged

Backport #2334: [core] Retry stream reopen against the reconnect budget#2574
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2334 to stable (backport job run).

AI recommendation: This is a self-contained bug fix to createReconnectingFramedStream in packages/core/src/serialization.ts, which exists on stable with the same reconnect() budget structure. It hardens the existing reconnect path to retry a transient connect() failure against the reconnect budget instead of failing fatally, and the PR notes the same sequencing applies to the stable line (#1847), so it applies cleanly to functionality present on stable.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Jun 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fa454c6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercelBot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-astro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-express-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-fastify-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-hono-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nitro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nuxt-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-sveltekit-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-tanstack-start-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-vite-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-swc-playgroundReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-tarballsReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-webReadyReadyPreview, CommentJun 22, 2026 10:04pm
1 Skipped Deployment
ProjectDeploymentActionsUpdated (UTC)
workflow-docsSkippedSkippedJun 22, 2026 10:04pm

Comment threadpackages/core/src/reconnecting-framed-stream.test.ts Outdated
…s.get`) that don't exist on the stable branch, causing a compile error and a broken test.
This commit fixes the issue reported at packages/core/src/reconnecting-framed-stream.test.ts:212
## Bug
The test `"retries the reopen itself against the budget instead of failing fatally"` (added at `packages/core/src/reconnecting-framed-stream.test.ts:175`) was backported from `main` without adapting it to the `stable` branch API. Two concrete mismatches:
1. **Undeclared identifier `RUN_ID`** — The test called:
```ts
const stream = createReconnectingFramedStream(RUN_ID, 's', 0);
```
`RUN_ID` is never imported or declared anywhere in the file. This is a hard TypeScript compile error (`Cannot find name 'RUN_ID'`) and would be a runtime `ReferenceError`. On the stable branch the signature is `createReconnectingFramedStream(name: string, startIndex?: number)` — no `runId` parameter.
2. **Wrong world mock shape** — The test built a world mock exposing `world.streams.get(runId, name, startIndex)`, but the stable `connect()` calls `world.readFromStream(name, effectiveStartIndex)` (verified in `serialization.ts`). So `world.readFromStream` would be `undefined` and `connect()` would throw, never exercising the intended reopen-retry path.
## Fix
Rewrote the test to match the stable API, matching the existing `makeWorldWithScriptedStreams` pattern used by every other test in the file:
- Mock `readFromStream(_name, startIndex)` instead of `streams.get(...)`.
- Call `createReconnectingFramedStream('s', 0)` (2-arg form).
The test's intent is preserved: index 0 delivers two frames then errors; the first reopen at index 2 throws transiently; the second reopen succeeds. Assertions remain `chunks === [1, 2, 3]` and `calls === [0, 2, 2]`.
This matches the stable `reconnect()` implementation, which retries `connect()` against the reconnect budget — so `readFromStream` is called with `2` twice (failed reopen + successful retry), yielding `[0, 2, 2]`.
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Co-authored-by: VaguelySerious <mittgfu@gmail.com>
@github-actions

github-actionsBot commented Jun 22, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440781122
✅ 💻 Local Development11380861224
✅ 📦 Local Production11380861224
✅ 🐘 Local Postgres11260981224
✅ 🪟 Windows10200102
❌ 🌍 Community Worlds76996181
✅ 📋 Other574038612
Total5198993925689

❌ Failed Tests

🌍 Community Worlds (99 failed)

redis (19 failed):

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

turso (80 failed):

  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KVRNPRVH7G5XXTWEM3SMR02X
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KVRNNT736E632EPQ6F8TX6B5
  • promiseRaceWorkflow | wrun_01KVRNNYVFR2VTDTRTGMEE3S0D
  • promiseAnyWorkflow | wrun_01KVRNP27Y0357VHEH4KM4JX6X
  • importedStepOnlyWorkflow | wrun_01KVRNQ5SAKYSE534X1GA8Z3GR
  • readableStreamWorkflow | wrun_01KVRNP5Q3HW5KHWBDBFMBJCVH
  • hookWorkflow | wrun_01KVRNPJV7ZF3QFF0YZXQRV9DB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KVRNPT6PWFMF7M58H9FMJ77M
  • webhookWorkflow | wrun_01KVRNPZA94SWRWK1D6X4HAWE4
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KVRNQ7BX3D5HG4MT1Y7VTB8S
  • sleepingWorkflow | wrun_01KVRNRWF6YH2Q8WV81ME8Q93A
  • parallelSleepWorkflow | wrun_01KVRNSCBBHF5P9MQMVH4ZMPN4
  • nullByteWorkflow | wrun_01KVRNSJZEQQ9P6C1CMP297PQE
  • workflowAndStepMetadataWorkflow | wrun_01KVRNSNQAM9VRXTJNDCJZT3CM
  • 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_01KVRNWN7E8VHE602NDJMYGERP
  • writableForwardedFromWorkflowWorkflow | wrun_01KVRNX6QJ29KQE3N80AX4N71F
  • writableForwardedFromStepWorkflow | wrun_01KVRNXARVHB02E8FB8NHY2EW6
  • fetchWorkflow | wrun_01KVRNXEE39RSR4TECYZ0JS177
  • promiseRaceStressTestWorkflow | wrun_01KVRNXJVEF2HM2VPKSZ3MXV58
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KVRP14FRSK6448MYPMN4TPMY
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KVRP1J97R1RKJXZ2A3VKQTH5
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KVRP1YK9NGF4TGRST6MF018B
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KVRP222PVKBPB19WNYTJ07TH
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KVRP261DSV0RFJX2W53PAD6D
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KVRP29CV8MAN53WKMQ8KC00D
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KVRP2RDS9MCZMPFBW2S7GC90
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KVRP3NX18V2CES45WAAYD7S6
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KVRP3X7R1Q9Z0MVM3P7TB0YA
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KVRP44PTBJKN0PGHZTRBMXJJ
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KVRP4AGRCDE62Y7Z9WNKH73S
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KVRP4PKBBGZBBC9HMZYGRPX8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KVRP504T2KPH10V4DZWXF68M
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KVRP5JJ8MEGQDYGAPQ3KES0E
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KVRP5YBTJXRWPBNN132N2HR0
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KVRP650E8HQ6ZR9CP1SQM6YZ
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KVRP67707AW4CDFS3DHBKJPG
  • 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_01KVRP6SE6M2PKP5PYFJ50RP6Y
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KVRP7011FJKAQ1EGBF16T0FV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KVRP76WK3ERHT7PB3MBHKZFR
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KVRP7E7DFDFGTBKSH0Y970ED
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KVRP7NZAA9EK81M8VSW3H01Q
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KVRP7XP8AD1YV430CZYTQNG9
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KVRP86QNG75AH072SFTSAZAA
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KVRP8NQW48Z66ZB2VPSTE61V
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KVRP91MDX04MEB3VQEXXJHMP
  • cancelRun - cancelling a running workflow | wrun_01KVRP9BWD5XXJT3Z8P0208Z0Y
  • cancelRun via CLI - cancelling a running workflow | wrun_01KVRP9N0JQVH2HDDF63GGDQA3
  • 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_01KVRPA10SDDGWEE15W12CS5EQ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KVRPAKN393YZWMY6C2715JE7
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KVRPB10759WDSBM5PHR9NRNW
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KVRPBAEXK03W4TBMT385Y744
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KVRPBD0QDQC61GABM044TM3F
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KVRPBHNSQE25EQW1SZDVDA7G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9408
✅ example9408
✅ express9408
✅ fastify9408
✅ hono9408
✅ nextjs-turbopack9903
✅ nextjs-webpack9903
✅ nitro9408
✅ nuxt9408
✅ sveltekit9408
✅ vite9408
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9507
✅ express-stable9507
✅ fastify-stable9507
✅ hono-stable9507
✅ nextjs-turbopack-canary82020
✅ nextjs-turbopack-stable10101
✅ nextjs-webpack-canary82020
✅ nextjs-webpack-stable10101
✅ nitro-stable9507
✅ nuxt-stable9507
✅ sveltekit-stable9507
✅ vite-stable9507
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10200
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64190
✅ turso-dev302
❌ turso3800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9606
✅ e2e-local-dev-tanstack-start-stable9606
✅ e2e-local-postgres-nest-stable9507
✅ e2e-local-postgres-tanstack-start-stable9507
✅ e2e-local-prod-nest-stable9606
✅ e2e-local-prod-tanstack-start-stable9606

📋 View full workflow run

@vercel
vercelBottemporarily deployed to Preview – workflow-docs June 22, 2026 22:00 Inactive
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.

1 participant

@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

Backport #2334: [core] Retry stream reopen against the reconnect budget - #2574

Merged
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable
Jun 22, 2026
Merged

Backport #2334: [core] Retry stream reopen against the reconnect budget#2574
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2334 to stable (backport job run).

AI recommendation: This is a self-contained bug fix to createReconnectingFramedStream in packages/core/src/serialization.ts, which exists on stable with the same reconnect() budget structure. It hardens the existing reconnect path to retry a transient connect() failure against the reconnect budget instead of failing fatally, and the PR notes the same sequencing applies to the stable line (#1847), so it applies cleanly to functionality present on stable.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Jun 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fa454c6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercelBot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-astro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-express-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-fastify-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-hono-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nitro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nuxt-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-sveltekit-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-tanstack-start-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-vite-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-swc-playgroundReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-tarballsReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-webReadyReadyPreview, CommentJun 22, 2026 10:04pm
1 Skipped Deployment
ProjectDeploymentActionsUpdated (UTC)
workflow-docsSkippedSkippedJun 22, 2026 10:04pm

Comment threadpackages/core/src/reconnecting-framed-stream.test.ts Outdated
…s.get`) that don't exist on the stable branch, causing a compile error and a broken test.
This commit fixes the issue reported at packages/core/src/reconnecting-framed-stream.test.ts:212
## Bug
The test `"retries the reopen itself against the budget instead of failing fatally"` (added at `packages/core/src/reconnecting-framed-stream.test.ts:175`) was backported from `main` without adapting it to the `stable` branch API. Two concrete mismatches:
1. **Undeclared identifier `RUN_ID`** — The test called:
```ts
const stream = createReconnectingFramedStream(RUN_ID, 's', 0);
```
`RUN_ID` is never imported or declared anywhere in the file. This is a hard TypeScript compile error (`Cannot find name 'RUN_ID'`) and would be a runtime `ReferenceError`. On the stable branch the signature is `createReconnectingFramedStream(name: string, startIndex?: number)` — no `runId` parameter.
2. **Wrong world mock shape** — The test built a world mock exposing `world.streams.get(runId, name, startIndex)`, but the stable `connect()` calls `world.readFromStream(name, effectiveStartIndex)` (verified in `serialization.ts`). So `world.readFromStream` would be `undefined` and `connect()` would throw, never exercising the intended reopen-retry path.
## Fix
Rewrote the test to match the stable API, matching the existing `makeWorldWithScriptedStreams` pattern used by every other test in the file:
- Mock `readFromStream(_name, startIndex)` instead of `streams.get(...)`.
- Call `createReconnectingFramedStream('s', 0)` (2-arg form).
The test's intent is preserved: index 0 delivers two frames then errors; the first reopen at index 2 throws transiently; the second reopen succeeds. Assertions remain `chunks === [1, 2, 3]` and `calls === [0, 2, 2]`.
This matches the stable `reconnect()` implementation, which retries `connect()` against the reconnect budget — so `readFromStream` is called with `2` twice (failed reopen + successful retry), yielding `[0, 2, 2]`.
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Co-authored-by: VaguelySerious <mittgfu@gmail.com>
@github-actions

github-actionsBot commented Jun 22, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440781122
✅ 💻 Local Development11380861224
✅ 📦 Local Production11380861224
✅ 🐘 Local Postgres11260981224
✅ 🪟 Windows10200102
❌ 🌍 Community Worlds76996181
✅ 📋 Other574038612
Total5198993925689

❌ Failed Tests

🌍 Community Worlds (99 failed)

redis (19 failed):

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

turso (80 failed):

  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KVRNPRVH7G5XXTWEM3SMR02X
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KVRNNT736E632EPQ6F8TX6B5
  • promiseRaceWorkflow | wrun_01KVRNNYVFR2VTDTRTGMEE3S0D
  • promiseAnyWorkflow | wrun_01KVRNP27Y0357VHEH4KM4JX6X
  • importedStepOnlyWorkflow | wrun_01KVRNQ5SAKYSE534X1GA8Z3GR
  • readableStreamWorkflow | wrun_01KVRNP5Q3HW5KHWBDBFMBJCVH
  • hookWorkflow | wrun_01KVRNPJV7ZF3QFF0YZXQRV9DB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KVRNPT6PWFMF7M58H9FMJ77M
  • webhookWorkflow | wrun_01KVRNPZA94SWRWK1D6X4HAWE4
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KVRNQ7BX3D5HG4MT1Y7VTB8S
  • sleepingWorkflow | wrun_01KVRNRWF6YH2Q8WV81ME8Q93A
  • parallelSleepWorkflow | wrun_01KVRNSCBBHF5P9MQMVH4ZMPN4
  • nullByteWorkflow | wrun_01KVRNSJZEQQ9P6C1CMP297PQE
  • workflowAndStepMetadataWorkflow | wrun_01KVRNSNQAM9VRXTJNDCJZT3CM
  • 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_01KVRNWN7E8VHE602NDJMYGERP
  • writableForwardedFromWorkflowWorkflow | wrun_01KVRNX6QJ29KQE3N80AX4N71F
  • writableForwardedFromStepWorkflow | wrun_01KVRNXARVHB02E8FB8NHY2EW6
  • fetchWorkflow | wrun_01KVRNXEE39RSR4TECYZ0JS177
  • promiseRaceStressTestWorkflow | wrun_01KVRNXJVEF2HM2VPKSZ3MXV58
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KVRP14FRSK6448MYPMN4TPMY
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KVRP1J97R1RKJXZ2A3VKQTH5
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KVRP1YK9NGF4TGRST6MF018B
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KVRP222PVKBPB19WNYTJ07TH
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KVRP261DSV0RFJX2W53PAD6D
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KVRP29CV8MAN53WKMQ8KC00D
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KVRP2RDS9MCZMPFBW2S7GC90
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KVRP3NX18V2CES45WAAYD7S6
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KVRP3X7R1Q9Z0MVM3P7TB0YA
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KVRP44PTBJKN0PGHZTRBMXJJ
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KVRP4AGRCDE62Y7Z9WNKH73S
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KVRP4PKBBGZBBC9HMZYGRPX8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KVRP504T2KPH10V4DZWXF68M
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KVRP5JJ8MEGQDYGAPQ3KES0E
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KVRP5YBTJXRWPBNN132N2HR0
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KVRP650E8HQ6ZR9CP1SQM6YZ
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KVRP67707AW4CDFS3DHBKJPG
  • 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_01KVRP6SE6M2PKP5PYFJ50RP6Y
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KVRP7011FJKAQ1EGBF16T0FV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KVRP76WK3ERHT7PB3MBHKZFR
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KVRP7E7DFDFGTBKSH0Y970ED
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KVRP7NZAA9EK81M8VSW3H01Q
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KVRP7XP8AD1YV430CZYTQNG9
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KVRP86QNG75AH072SFTSAZAA
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KVRP8NQW48Z66ZB2VPSTE61V
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KVRP91MDX04MEB3VQEXXJHMP
  • cancelRun - cancelling a running workflow | wrun_01KVRP9BWD5XXJT3Z8P0208Z0Y
  • cancelRun via CLI - cancelling a running workflow | wrun_01KVRP9N0JQVH2HDDF63GGDQA3
  • 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_01KVRPA10SDDGWEE15W12CS5EQ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KVRPAKN393YZWMY6C2715JE7
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KVRPB10759WDSBM5PHR9NRNW
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KVRPBAEXK03W4TBMT385Y744
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KVRPBD0QDQC61GABM044TM3F
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KVRPBHNSQE25EQW1SZDVDA7G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9408
✅ example9408
✅ express9408
✅ fastify9408
✅ hono9408
✅ nextjs-turbopack9903
✅ nextjs-webpack9903
✅ nitro9408
✅ nuxt9408
✅ sveltekit9408
✅ vite9408
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9507
✅ express-stable9507
✅ fastify-stable9507
✅ hono-stable9507
✅ nextjs-turbopack-canary82020
✅ nextjs-turbopack-stable10101
✅ nextjs-webpack-canary82020
✅ nextjs-webpack-stable10101
✅ nitro-stable9507
✅ nuxt-stable9507
✅ sveltekit-stable9507
✅ vite-stable9507
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10200
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64190
✅ turso-dev302
❌ turso3800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9606
✅ e2e-local-dev-tanstack-start-stable9606
✅ e2e-local-postgres-nest-stable9507
✅ e2e-local-postgres-tanstack-start-stable9507
✅ e2e-local-prod-nest-stable9606
✅ e2e-local-prod-tanstack-start-stable9606

📋 View full workflow run

@vercel
vercelBottemporarily deployed to Preview – workflow-docs June 22, 2026 22:00 Inactive
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.

1 participant

@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Backport #2334: [core] Retry stream reopen against the reconnect budget - #2574

Merged
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable
Jun 22, 2026
Merged

Backport #2334: [core] Retry stream reopen against the reconnect budget#2574
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2334 to stable (backport job run).

AI recommendation: This is a self-contained bug fix to createReconnectingFramedStream in packages/core/src/serialization.ts, which exists on stable with the same reconnect() budget structure. It hardens the existing reconnect path to retry a transient connect() failure against the reconnect budget instead of failing fatally, and the PR notes the same sequencing applies to the stable line (#1847), so it applies cleanly to functionality present on stable.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Jun 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fa454c6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercelBot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-astro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-express-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-fastify-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-hono-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nitro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nuxt-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-sveltekit-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-tanstack-start-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-vite-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-swc-playgroundReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-tarballsReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-webReadyReadyPreview, CommentJun 22, 2026 10:04pm
1 Skipped Deployment
ProjectDeploymentActionsUpdated (UTC)
workflow-docsSkippedSkippedJun 22, 2026 10:04pm

Comment threadpackages/core/src/reconnecting-framed-stream.test.ts Outdated
…s.get`) that don't exist on the stable branch, causing a compile error and a broken test.
This commit fixes the issue reported at packages/core/src/reconnecting-framed-stream.test.ts:212
## Bug
The test `"retries the reopen itself against the budget instead of failing fatally"` (added at `packages/core/src/reconnecting-framed-stream.test.ts:175`) was backported from `main` without adapting it to the `stable` branch API. Two concrete mismatches:
1. **Undeclared identifier `RUN_ID`** — The test called:
```ts
const stream = createReconnectingFramedStream(RUN_ID, 's', 0);
```
`RUN_ID` is never imported or declared anywhere in the file. This is a hard TypeScript compile error (`Cannot find name 'RUN_ID'`) and would be a runtime `ReferenceError`. On the stable branch the signature is `createReconnectingFramedStream(name: string, startIndex?: number)` — no `runId` parameter.
2. **Wrong world mock shape** — The test built a world mock exposing `world.streams.get(runId, name, startIndex)`, but the stable `connect()` calls `world.readFromStream(name, effectiveStartIndex)` (verified in `serialization.ts`). So `world.readFromStream` would be `undefined` and `connect()` would throw, never exercising the intended reopen-retry path.
## Fix
Rewrote the test to match the stable API, matching the existing `makeWorldWithScriptedStreams` pattern used by every other test in the file:
- Mock `readFromStream(_name, startIndex)` instead of `streams.get(...)`.
- Call `createReconnectingFramedStream('s', 0)` (2-arg form).
The test's intent is preserved: index 0 delivers two frames then errors; the first reopen at index 2 throws transiently; the second reopen succeeds. Assertions remain `chunks === [1, 2, 3]` and `calls === [0, 2, 2]`.
This matches the stable `reconnect()` implementation, which retries `connect()` against the reconnect budget — so `readFromStream` is called with `2` twice (failed reopen + successful retry), yielding `[0, 2, 2]`.
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Co-authored-by: VaguelySerious <mittgfu@gmail.com>
@github-actions

github-actionsBot commented Jun 22, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440781122
✅ 💻 Local Development11380861224
✅ 📦 Local Production11380861224
✅ 🐘 Local Postgres11260981224
✅ 🪟 Windows10200102
❌ 🌍 Community Worlds76996181
✅ 📋 Other574038612
Total5198993925689

❌ Failed Tests

🌍 Community Worlds (99 failed)

redis (19 failed):

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

turso (80 failed):

  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KVRNPRVH7G5XXTWEM3SMR02X
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KVRNNT736E632EPQ6F8TX6B5
  • promiseRaceWorkflow | wrun_01KVRNNYVFR2VTDTRTGMEE3S0D
  • promiseAnyWorkflow | wrun_01KVRNP27Y0357VHEH4KM4JX6X
  • importedStepOnlyWorkflow | wrun_01KVRNQ5SAKYSE534X1GA8Z3GR
  • readableStreamWorkflow | wrun_01KVRNP5Q3HW5KHWBDBFMBJCVH
  • hookWorkflow | wrun_01KVRNPJV7ZF3QFF0YZXQRV9DB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KVRNPT6PWFMF7M58H9FMJ77M
  • webhookWorkflow | wrun_01KVRNPZA94SWRWK1D6X4HAWE4
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KVRNQ7BX3D5HG4MT1Y7VTB8S
  • sleepingWorkflow | wrun_01KVRNRWF6YH2Q8WV81ME8Q93A
  • parallelSleepWorkflow | wrun_01KVRNSCBBHF5P9MQMVH4ZMPN4
  • nullByteWorkflow | wrun_01KVRNSJZEQQ9P6C1CMP297PQE
  • workflowAndStepMetadataWorkflow | wrun_01KVRNSNQAM9VRXTJNDCJZT3CM
  • 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_01KVRNWN7E8VHE602NDJMYGERP
  • writableForwardedFromWorkflowWorkflow | wrun_01KVRNX6QJ29KQE3N80AX4N71F
  • writableForwardedFromStepWorkflow | wrun_01KVRNXARVHB02E8FB8NHY2EW6
  • fetchWorkflow | wrun_01KVRNXEE39RSR4TECYZ0JS177
  • promiseRaceStressTestWorkflow | wrun_01KVRNXJVEF2HM2VPKSZ3MXV58
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KVRP14FRSK6448MYPMN4TPMY
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KVRP1J97R1RKJXZ2A3VKQTH5
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KVRP1YK9NGF4TGRST6MF018B
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KVRP222PVKBPB19WNYTJ07TH
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KVRP261DSV0RFJX2W53PAD6D
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KVRP29CV8MAN53WKMQ8KC00D
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KVRP2RDS9MCZMPFBW2S7GC90
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KVRP3NX18V2CES45WAAYD7S6
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KVRP3X7R1Q9Z0MVM3P7TB0YA
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KVRP44PTBJKN0PGHZTRBMXJJ
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KVRP4AGRCDE62Y7Z9WNKH73S
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KVRP4PKBBGZBBC9HMZYGRPX8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KVRP504T2KPH10V4DZWXF68M
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KVRP5JJ8MEGQDYGAPQ3KES0E
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KVRP5YBTJXRWPBNN132N2HR0
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KVRP650E8HQ6ZR9CP1SQM6YZ
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KVRP67707AW4CDFS3DHBKJPG
  • 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_01KVRP6SE6M2PKP5PYFJ50RP6Y
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KVRP7011FJKAQ1EGBF16T0FV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KVRP76WK3ERHT7PB3MBHKZFR
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KVRP7E7DFDFGTBKSH0Y970ED
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KVRP7NZAA9EK81M8VSW3H01Q
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KVRP7XP8AD1YV430CZYTQNG9
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KVRP86QNG75AH072SFTSAZAA
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KVRP8NQW48Z66ZB2VPSTE61V
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KVRP91MDX04MEB3VQEXXJHMP
  • cancelRun - cancelling a running workflow | wrun_01KVRP9BWD5XXJT3Z8P0208Z0Y
  • cancelRun via CLI - cancelling a running workflow | wrun_01KVRP9N0JQVH2HDDF63GGDQA3
  • 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_01KVRPA10SDDGWEE15W12CS5EQ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KVRPAKN393YZWMY6C2715JE7
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KVRPB10759WDSBM5PHR9NRNW
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KVRPBAEXK03W4TBMT385Y744
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KVRPBD0QDQC61GABM044TM3F
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KVRPBHNSQE25EQW1SZDVDA7G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9408
✅ example9408
✅ express9408
✅ fastify9408
✅ hono9408
✅ nextjs-turbopack9903
✅ nextjs-webpack9903
✅ nitro9408
✅ nuxt9408
✅ sveltekit9408
✅ vite9408
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9507
✅ express-stable9507
✅ fastify-stable9507
✅ hono-stable9507
✅ nextjs-turbopack-canary82020
✅ nextjs-turbopack-stable10101
✅ nextjs-webpack-canary82020
✅ nextjs-webpack-stable10101
✅ nitro-stable9507
✅ nuxt-stable9507
✅ sveltekit-stable9507
✅ vite-stable9507
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10200
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64190
✅ turso-dev302
❌ turso3800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9606
✅ e2e-local-dev-tanstack-start-stable9606
✅ e2e-local-postgres-nest-stable9507
✅ e2e-local-postgres-tanstack-start-stable9507
✅ e2e-local-prod-nest-stable9606
✅ e2e-local-prod-tanstack-start-stable9606

📋 View full workflow run

@vercel
vercelBottemporarily deployed to Preview – workflow-docs June 22, 2026 22:00 Inactive
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.

1 participant

@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Backport #2334: [core] Retry stream reopen against the reconnect budget - #2574

Merged
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable
Jun 22, 2026
Merged

Backport #2334: [core] Retry stream reopen against the reconnect budget#2574
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2334 to stable (backport job run).

AI recommendation: This is a self-contained bug fix to createReconnectingFramedStream in packages/core/src/serialization.ts, which exists on stable with the same reconnect() budget structure. It hardens the existing reconnect path to retry a transient connect() failure against the reconnect budget instead of failing fatally, and the PR notes the same sequencing applies to the stable line (#1847), so it applies cleanly to functionality present on stable.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Jun 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fa454c6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercelBot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-astro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-express-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-fastify-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-hono-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nitro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nuxt-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-sveltekit-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-tanstack-start-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-vite-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-swc-playgroundReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-tarballsReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-webReadyReadyPreview, CommentJun 22, 2026 10:04pm
1 Skipped Deployment
ProjectDeploymentActionsUpdated (UTC)
workflow-docsSkippedSkippedJun 22, 2026 10:04pm

Comment threadpackages/core/src/reconnecting-framed-stream.test.ts Outdated
…s.get`) that don't exist on the stable branch, causing a compile error and a broken test.
This commit fixes the issue reported at packages/core/src/reconnecting-framed-stream.test.ts:212
## Bug
The test `"retries the reopen itself against the budget instead of failing fatally"` (added at `packages/core/src/reconnecting-framed-stream.test.ts:175`) was backported from `main` without adapting it to the `stable` branch API. Two concrete mismatches:
1. **Undeclared identifier `RUN_ID`** — The test called:
```ts
const stream = createReconnectingFramedStream(RUN_ID, 's', 0);
```
`RUN_ID` is never imported or declared anywhere in the file. This is a hard TypeScript compile error (`Cannot find name 'RUN_ID'`) and would be a runtime `ReferenceError`. On the stable branch the signature is `createReconnectingFramedStream(name: string, startIndex?: number)` — no `runId` parameter.
2. **Wrong world mock shape** — The test built a world mock exposing `world.streams.get(runId, name, startIndex)`, but the stable `connect()` calls `world.readFromStream(name, effectiveStartIndex)` (verified in `serialization.ts`). So `world.readFromStream` would be `undefined` and `connect()` would throw, never exercising the intended reopen-retry path.
## Fix
Rewrote the test to match the stable API, matching the existing `makeWorldWithScriptedStreams` pattern used by every other test in the file:
- Mock `readFromStream(_name, startIndex)` instead of `streams.get(...)`.
- Call `createReconnectingFramedStream('s', 0)` (2-arg form).
The test's intent is preserved: index 0 delivers two frames then errors; the first reopen at index 2 throws transiently; the second reopen succeeds. Assertions remain `chunks === [1, 2, 3]` and `calls === [0, 2, 2]`.
This matches the stable `reconnect()` implementation, which retries `connect()` against the reconnect budget — so `readFromStream` is called with `2` twice (failed reopen + successful retry), yielding `[0, 2, 2]`.
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Co-authored-by: VaguelySerious <mittgfu@gmail.com>
@github-actions

github-actionsBot commented Jun 22, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440781122
✅ 💻 Local Development11380861224
✅ 📦 Local Production11380861224
✅ 🐘 Local Postgres11260981224
✅ 🪟 Windows10200102
❌ 🌍 Community Worlds76996181
✅ 📋 Other574038612
Total5198993925689

❌ Failed Tests

🌍 Community Worlds (99 failed)

redis (19 failed):

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

turso (80 failed):

  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KVRNPRVH7G5XXTWEM3SMR02X
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KVRNNT736E632EPQ6F8TX6B5
  • promiseRaceWorkflow | wrun_01KVRNNYVFR2VTDTRTGMEE3S0D
  • promiseAnyWorkflow | wrun_01KVRNP27Y0357VHEH4KM4JX6X
  • importedStepOnlyWorkflow | wrun_01KVRNQ5SAKYSE534X1GA8Z3GR
  • readableStreamWorkflow | wrun_01KVRNP5Q3HW5KHWBDBFMBJCVH
  • hookWorkflow | wrun_01KVRNPJV7ZF3QFF0YZXQRV9DB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KVRNPT6PWFMF7M58H9FMJ77M
  • webhookWorkflow | wrun_01KVRNPZA94SWRWK1D6X4HAWE4
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KVRNQ7BX3D5HG4MT1Y7VTB8S
  • sleepingWorkflow | wrun_01KVRNRWF6YH2Q8WV81ME8Q93A
  • parallelSleepWorkflow | wrun_01KVRNSCBBHF5P9MQMVH4ZMPN4
  • nullByteWorkflow | wrun_01KVRNSJZEQQ9P6C1CMP297PQE
  • workflowAndStepMetadataWorkflow | wrun_01KVRNSNQAM9VRXTJNDCJZT3CM
  • 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_01KVRNWN7E8VHE602NDJMYGERP
  • writableForwardedFromWorkflowWorkflow | wrun_01KVRNX6QJ29KQE3N80AX4N71F
  • writableForwardedFromStepWorkflow | wrun_01KVRNXARVHB02E8FB8NHY2EW6
  • fetchWorkflow | wrun_01KVRNXEE39RSR4TECYZ0JS177
  • promiseRaceStressTestWorkflow | wrun_01KVRNXJVEF2HM2VPKSZ3MXV58
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KVRP14FRSK6448MYPMN4TPMY
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KVRP1J97R1RKJXZ2A3VKQTH5
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KVRP1YK9NGF4TGRST6MF018B
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KVRP222PVKBPB19WNYTJ07TH
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KVRP261DSV0RFJX2W53PAD6D
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KVRP29CV8MAN53WKMQ8KC00D
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KVRP2RDS9MCZMPFBW2S7GC90
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KVRP3NX18V2CES45WAAYD7S6
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KVRP3X7R1Q9Z0MVM3P7TB0YA
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KVRP44PTBJKN0PGHZTRBMXJJ
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KVRP4AGRCDE62Y7Z9WNKH73S
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KVRP4PKBBGZBBC9HMZYGRPX8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KVRP504T2KPH10V4DZWXF68M
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KVRP5JJ8MEGQDYGAPQ3KES0E
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KVRP5YBTJXRWPBNN132N2HR0
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KVRP650E8HQ6ZR9CP1SQM6YZ
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KVRP67707AW4CDFS3DHBKJPG
  • 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_01KVRP6SE6M2PKP5PYFJ50RP6Y
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KVRP7011FJKAQ1EGBF16T0FV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KVRP76WK3ERHT7PB3MBHKZFR
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KVRP7E7DFDFGTBKSH0Y970ED
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KVRP7NZAA9EK81M8VSW3H01Q
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KVRP7XP8AD1YV430CZYTQNG9
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KVRP86QNG75AH072SFTSAZAA
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KVRP8NQW48Z66ZB2VPSTE61V
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KVRP91MDX04MEB3VQEXXJHMP
  • cancelRun - cancelling a running workflow | wrun_01KVRP9BWD5XXJT3Z8P0208Z0Y
  • cancelRun via CLI - cancelling a running workflow | wrun_01KVRP9N0JQVH2HDDF63GGDQA3
  • 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_01KVRPA10SDDGWEE15W12CS5EQ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KVRPAKN393YZWMY6C2715JE7
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KVRPB10759WDSBM5PHR9NRNW
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KVRPBAEXK03W4TBMT385Y744
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KVRPBD0QDQC61GABM044TM3F
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KVRPBHNSQE25EQW1SZDVDA7G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9408
✅ example9408
✅ express9408
✅ fastify9408
✅ hono9408
✅ nextjs-turbopack9903
✅ nextjs-webpack9903
✅ nitro9408
✅ nuxt9408
✅ sveltekit9408
✅ vite9408
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9507
✅ express-stable9507
✅ fastify-stable9507
✅ hono-stable9507
✅ nextjs-turbopack-canary82020
✅ nextjs-turbopack-stable10101
✅ nextjs-webpack-canary82020
✅ nextjs-webpack-stable10101
✅ nitro-stable9507
✅ nuxt-stable9507
✅ sveltekit-stable9507
✅ vite-stable9507
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10200
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64190
✅ turso-dev302
❌ turso3800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9606
✅ e2e-local-dev-tanstack-start-stable9606
✅ e2e-local-postgres-nest-stable9507
✅ e2e-local-postgres-tanstack-start-stable9507
✅ e2e-local-prod-nest-stable9606
✅ e2e-local-prod-tanstack-start-stable9606

📋 View full workflow run

@vercel
vercelBottemporarily deployed to Preview – workflow-docs June 22, 2026 22:00 Inactive
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.

1 participant

@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

Backport #2334: [core] Retry stream reopen against the reconnect budget - #2574

Merged
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable
Jun 22, 2026
Merged

Backport #2334: [core] Retry stream reopen against the reconnect budget#2574
VaguelySerious merged 2 commits into
stablefrom
backport/pr-2334-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2334 to stable (backport job run).

AI recommendation: This is a self-contained bug fix to createReconnectingFramedStream in packages/core/src/serialization.ts, which exists on stable with the same reconnect() budget structure. It hardens the existing reconnect path to retry a transient connect() failure against the reconnect budget instead of failing fatally, and the PR notes the same sequencing applies to the stable line (#1847), so it applies cleanly to functionality present on stable.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Jun 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fa454c6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercelBot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentJun 22, 2026 10:04pm
example-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-astro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-express-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-fastify-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-hono-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nitro-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-nuxt-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-sveltekit-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-tanstack-start-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workbench-vite-workflowReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-swc-playgroundReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-tarballsReadyReadyPreview, CommentJun 22, 2026 10:04pm
workflow-webReadyReadyPreview, CommentJun 22, 2026 10:04pm
1 Skipped Deployment
ProjectDeploymentActionsUpdated (UTC)
workflow-docsSkippedSkippedJun 22, 2026 10:04pm

Comment threadpackages/core/src/reconnecting-framed-stream.test.ts Outdated
…s.get`) that don't exist on the stable branch, causing a compile error and a broken test.
This commit fixes the issue reported at packages/core/src/reconnecting-framed-stream.test.ts:212
## Bug
The test `"retries the reopen itself against the budget instead of failing fatally"` (added at `packages/core/src/reconnecting-framed-stream.test.ts:175`) was backported from `main` without adapting it to the `stable` branch API. Two concrete mismatches:
1. **Undeclared identifier `RUN_ID`** — The test called:
```ts
const stream = createReconnectingFramedStream(RUN_ID, 's', 0);
```
`RUN_ID` is never imported or declared anywhere in the file. This is a hard TypeScript compile error (`Cannot find name 'RUN_ID'`) and would be a runtime `ReferenceError`. On the stable branch the signature is `createReconnectingFramedStream(name: string, startIndex?: number)` — no `runId` parameter.
2. **Wrong world mock shape** — The test built a world mock exposing `world.streams.get(runId, name, startIndex)`, but the stable `connect()` calls `world.readFromStream(name, effectiveStartIndex)` (verified in `serialization.ts`). So `world.readFromStream` would be `undefined` and `connect()` would throw, never exercising the intended reopen-retry path.
## Fix
Rewrote the test to match the stable API, matching the existing `makeWorldWithScriptedStreams` pattern used by every other test in the file:
- Mock `readFromStream(_name, startIndex)` instead of `streams.get(...)`.
- Call `createReconnectingFramedStream('s', 0)` (2-arg form).
The test's intent is preserved: index 0 delivers two frames then errors; the first reopen at index 2 throws transiently; the second reopen succeeds. Assertions remain `chunks === [1, 2, 3]` and `calls === [0, 2, 2]`.
This matches the stable `reconnect()` implementation, which retries `connect()` against the reconnect budget — so `readFromStream` is called with `2` twice (failed reopen + successful retry), yielding `[0, 2, 2]`.
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Co-authored-by: VaguelySerious <mittgfu@gmail.com>
@github-actions

github-actionsBot commented Jun 22, 2026

Copy link
Copy Markdown
ContributorAuthor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10440781122
✅ 💻 Local Development11380861224
✅ 📦 Local Production11380861224
✅ 🐘 Local Postgres11260981224
✅ 🪟 Windows10200102
❌ 🌍 Community Worlds76996181
✅ 📋 Other574038612
Total5198993925689

❌ Failed Tests

🌍 Community Worlds (99 failed)

redis (19 failed):

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

turso (80 failed):

  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • addTenWorkflow | wrun_01KVRNNHXTQZWEWQ8ZGEJ0R8JZ
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KVRNPRVH7G5XXTWEM3SMR02X
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KVRNNT736E632EPQ6F8TX6B5
  • promiseRaceWorkflow | wrun_01KVRNNYVFR2VTDTRTGMEE3S0D
  • promiseAnyWorkflow | wrun_01KVRNP27Y0357VHEH4KM4JX6X
  • importedStepOnlyWorkflow | wrun_01KVRNQ5SAKYSE534X1GA8Z3GR
  • readableStreamWorkflow | wrun_01KVRNP5Q3HW5KHWBDBFMBJCVH
  • hookWorkflow | wrun_01KVRNPJV7ZF3QFF0YZXQRV9DB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KVRNPT6PWFMF7M58H9FMJ77M
  • webhookWorkflow | wrun_01KVRNPZA94SWRWK1D6X4HAWE4
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01KVRNQ7BX3D5HG4MT1Y7VTB8S
  • sleepingWorkflow | wrun_01KVRNRWF6YH2Q8WV81ME8Q93A
  • parallelSleepWorkflow | wrun_01KVRNSCBBHF5P9MQMVH4ZMPN4
  • nullByteWorkflow | wrun_01KVRNSJZEQQ9P6C1CMP297PQE
  • workflowAndStepMetadataWorkflow | wrun_01KVRNSNQAM9VRXTJNDCJZT3CM
  • 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_01KVRNWN7E8VHE602NDJMYGERP
  • writableForwardedFromWorkflowWorkflow | wrun_01KVRNX6QJ29KQE3N80AX4N71F
  • writableForwardedFromStepWorkflow | wrun_01KVRNXARVHB02E8FB8NHY2EW6
  • fetchWorkflow | wrun_01KVRNXEE39RSR4TECYZ0JS177
  • promiseRaceStressTestWorkflow | wrun_01KVRNXJVEF2HM2VPKSZ3MXV58
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KVRP14FRSK6448MYPMN4TPMY
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KVRP1J97R1RKJXZ2A3VKQTH5
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01KVRP1YK9NGF4TGRST6MF018B
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01KVRP222PVKBPB19WNYTJ07TH
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01KVRP261DSV0RFJX2W53PAD6D
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01KVRP29CV8MAN53WKMQ8KC00D
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01KVRP2RDS9MCZMPFBW2S7GC90
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01KVRP3NX18V2CES45WAAYD7S6
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01KVRP3X7R1Q9Z0MVM3P7TB0YA
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01KVRP44PTBJKN0PGHZTRBMXJJ
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01KVRP4AGRCDE62Y7Z9WNKH73S
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01KVRP4PKBBGZBBC9HMZYGRPX8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KVRP504T2KPH10V4DZWXF68M
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KVRP5JJ8MEGQDYGAPQ3KES0E
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KVRP5YBTJXRWPBNN132N2HR0
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KVRP650E8HQ6ZR9CP1SQM6YZ
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KVRP67707AW4CDFS3DHBKJPG
  • 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_01KVRP6SE6M2PKP5PYFJ50RP6Y
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KVRP7011FJKAQ1EGBF16T0FV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KVRP76WK3ERHT7PB3MBHKZFR
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KVRP7E7DFDFGTBKSH0Y970ED
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KVRP7NZAA9EK81M8VSW3H01Q
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KVRP7XP8AD1YV430CZYTQNG9
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KVRP86QNG75AH072SFTSAZAA
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KVRP8NQW48Z66ZB2VPSTE61V
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KVRP91MDX04MEB3VQEXXJHMP
  • cancelRun - cancelling a running workflow | wrun_01KVRP9BWD5XXJT3Z8P0208Z0Y
  • cancelRun via CLI - cancelling a running workflow | wrun_01KVRP9N0JQVH2HDDF63GGDQA3
  • 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_01KVRPA10SDDGWEE15W12CS5EQ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KVRPAKN393YZWMY6C2715JE7
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KVRPB10759WDSBM5PHR9NRNW
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KVRPBAEXK03W4TBMT385Y744
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KVRPBD0QDQC61GABM044TM3F
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KVRPBHNSQE25EQW1SZDVDA7G

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9408
✅ example9408
✅ express9408
✅ fastify9408
✅ hono9408
✅ nextjs-turbopack9903
✅ nextjs-webpack9903
✅ nitro9408
✅ nuxt9408
✅ sveltekit9408
✅ vite9408
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9606
✅ express-stable9606
✅ fastify-stable9606
✅ hono-stable9606
✅ nextjs-turbopack-canary83019
✅ nextjs-turbopack-stable10200
✅ nextjs-webpack-canary83019
✅ nextjs-webpack-stable10200
✅ nitro-stable9606
✅ nuxt-stable9606
✅ sveltekit-stable9606
✅ vite-stable9606
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9507
✅ express-stable9507
✅ fastify-stable9507
✅ hono-stable9507
✅ nextjs-turbopack-canary82020
✅ nextjs-turbopack-stable10101
✅ nextjs-webpack-canary82020
✅ nextjs-webpack-stable10101
✅ nitro-stable9507
✅ nuxt-stable9507
✅ sveltekit-stable9507
✅ vite-stable9507
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack10200
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
✅ redis-dev302
❌ redis64190
✅ turso-dev302
❌ turso3800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9606
✅ e2e-local-dev-tanstack-start-stable9606
✅ e2e-local-postgres-nest-stable9507
✅ e2e-local-postgres-tanstack-start-stable9507
✅ e2e-local-prod-nest-stable9606
✅ e2e-local-prod-tanstack-start-stable9606

📋 View full workflow run

@vercel
vercelBottemporarily deployed to Preview – workflow-docs June 22, 2026 22:00 Inactive
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.

1 participant

@VaguelySerious