Skip to content

Backport #2632: [web] Fix HTTP/2 in bundled server build so observability reads work - #2653

Closed
github-actions[bot] wants to merge 3 commits into
stablefrom
backport/pr-2632-to-stable
Closed

github-actions[bot] wants to merge 3 commits into
stablefrom
backport/pr-2632-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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

AI recommendation: packages/web is maintained on stable and its vite.config.ts already uses the same ssr.noExternal: true undici-bundling profile that this fix targets, so the change applies cleanly to existing functionality. The createRequire banner is self-contained, guarded to be a no-op when require already exists, and does not depend on any main-only API — making it a safe, defensive correctness fix worth backporting even though HTTP/2 isn't yet enabled on stable.

@changeset-bot

changeset-bot Bot commented Jun 26, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d7456d8

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

vercel Bot commented Jun 26, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Building Building Preview, v0 Aug 24, 2026 11:05pm
example-nextjs-workflow-webpack Ready Ready Preview, v0 Aug 24, 2026 11:05pm
example-workflow Ready Ready Preview, v0 Aug 24, 2026 11:05pm
workbench-astro-workflow Ready Ready Preview, v0 Aug 24, 2026 11:05pm
workbench-express-workflow Ready Ready Preview, v0 Aug 24, 2026 11:05pm
workbench-fastify-workflow Ready Ready Preview, v0 Aug 24, 2026 11:05pm
workbench-hono-workflow Ready Ready Preview, v0 Aug 24, 2026 11:05pm
workbench-nestjs-workflow Ready Ready Preview, v0 Aug 24, 2026 11:05pm
workbench-nitro-workflow Ready Ready Preview, v0 Aug 24, 2026 11:05pm
workbench-nuxt-workflow Ready Ready Preview, v0 Aug 24, 2026 11:05pm
workbench-python-workflow Error Error v0 Aug 24, 2026 11:05pm
workbench-sveltekit-workflow Ready Ready Preview, v0 Aug 24, 2026 11:05pm
workbench-tanstack-start-workflow Ready Ready Preview, v0 Aug 24, 2026 11:05pm
workbench-vite-workflow Ready Ready Preview, v0 Aug 24, 2026 11:05pm
workflow-docs Ready Ready Preview, v0 Aug 24, 2026 11:05pm
workflow-swc-playground Ready Ready Preview, v0 Aug 24, 2026 11:05pm
workflow-tarballs Ready Ready Preview, v0 Aug 24, 2026 11:05pm
workflow-web Ready Ready Preview, v0 Aug 24, 2026 11:05pm

@github-actions

github-actions Bot commented Jun 26, 2026 •

Copy link
Copy Markdown
Contributor Author

🧪 E2E Test Results

❌ Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 995 0 75 1070
✅ 💻 Local Development 1198 0 86 1284
✅ 📦 Local Production 1198 0 86 1284
✅ 🐘 Local Postgres 1198 0 86 1284
✅ 🪟 Windows 107 0 0 107
❌ 🌍 Community Worlds 82 106 9 197
✅ 📋 Other 606 0 36 642
Total 5384 106 378 5868

❌ Failed Tests

🌍 Community Worlds (106 failed)

redis (21 failed):

  • hookWorkflow | wrun_01M0V07ZKVWE3HN5FS7PX7ZNF6
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0V086WCN8NW7NRA7402K2BV
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0V08G9FGBBAF1CYAYPEKWJ6
  • sleepingWorkflow | wrun_01M0V09FC2DKRN45HG41W75SQX
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • error handling serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0V0H47CBXKH4FZNMDGCBDP8
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0V0HFYFYKHY6XCPKVSZK8ZS
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0V0HPP1RCWV1MFHHSXV4WQ0
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0V0J4Q6J3QZQZSNHWXR4CC5
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0V0JY3FN4M2GKC1WJVMJF5H
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0V0K2SNQMGE0KYN7C3ERQ63
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0V0K8XTE434NWB3W4A8Q3B2
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0V0KE8W38FPH00F16B7B3Z8
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0V0KPHNYD5PGWJ2J37RY859
  • pages router sleepingWorkflow via pages router
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0V0RY3PFD0GPD10Q7N5A9VH

turso (85 failed):

  • addTenWorkflow | wrun_01M0V074CGHAN3DCFMP7TV7XP4
  • addTenWorkflow | wrun_01M0V074CGHAN3DCFMP7TV7XP4
  • deploymentId: 'latest' is a no-op in non-Vercel worlds
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01M0V091MX4PB3XFGTPCFTBB6Y
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01M0V07BK6AA2HZ9YCP2SVRDW1
  • promiseRaceWorkflow | wrun_01M0V07EZFYPEZJAPPBF0279CN
  • promiseAnyWorkflow | wrun_01M0V07H5SKAKSDNTEE5SEQ757
  • importedStepOnlyWorkflow | wrun_01M0V09DQ9BX26WW5089VHE93W
  • readableStreamWorkflow | wrun_01M0V07K97GKFC4SDT777X58GS
  • hookWorkflow | wrun_01M0V07ZKVWE3HN5FS7PX7ZNF6
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01M0V086WCN8NW7NRA7402K2BV
  • webhookWorkflow | wrun_01M0V08B602P4CAAP9NXBGT1C7
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race | wrun_01M0V08G9FGBBAF1CYAYPEKWJ6
  • sleepingWorkflow | wrun_01M0V09FC2DKRN45HG41W75SQX
  • parallelSleepWorkflow | wrun_01M0V09Y607SZJD45ARB4053MC
  • sleepWinsRaceWorkflow | wrun_01M0V0A1PHX63GM9YY3XKCZ281
  • stepWinsRaceWorkflow | wrun_01M0V0A4VTG9QTFC4BRTFBF371
  • nullByteWorkflow | wrun_01M0V0A80H1BNKPPWM1ES4MB69
  • workflowAndStepMetadataWorkflow | wrun_01M0V0AA5884H0XS5FJ3Q2DW4F
  • 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_01M0V0CGNXTPPRPWVTDA6F3291
  • writableForwardedFromWorkflowWorkflow | wrun_01M0V0CWX0F8D9SB9NK4X0DRTF
  • writableForwardedFromStepWorkflow | wrun_01M0V0CZQYMNFW5AHN8JW8MYMF
  • fetchWorkflow | wrun_01M0V0D23Q4PBBYWNRF6BJZ9FB
  • promiseRaceStressTestWorkflow | wrun_01M0V0D5AV9CS8YZ6SVQRHXC29
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling serialization failures step-argument serialization failure is catchable in workflow code
  • error handling serialization failures uncaught step-argument serialization failure fails the run as USER_ERROR without redelivery retries
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01M0V0GSH3GSWV1QPS2CJX3W3D
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01M0V0H47CBXKH4FZNMDGCBDP8
  • hookGetConflictWorkflow - awaiting hook.getConflict() registers hook without payload | wrun_01M0V0HFYFYKHY6XCPKVSZK8ZS
  • 'hookGetConflictWithPriorStepWorkflow' - hook.getConflict() does not block step execution | wrun_01M0V0HJ7ZD18TCEF8Y73H8TTV
  • 'hookGetConflictWithParallelStepWorkfl…' - hook.getConflict() does not block step execution | wrun_01M0V0HMD53RFNRRA9YBNCS61J
  • hookGetConflictThenStepParallelWorkflow - hook.getConflict() continuation step runs alongside other steps | wrun_01M0V0HPP1RCWV1MFHHSXV4WQ0
  • hookGetConflictWorkflow - hook.getConflict() resolves with the conflicting run when token is already registered | wrun_01M0V0J4Q6J3QZQZSNHWXR4CC5
  • hookClaimOnlyMutexWorkflow - hook works as a pure run mutex without payload data | wrun_01M0V0JY3FN4M2GKC1WJVMJF5H
  • hookAdoptOwnerResultWorkflow - duplicate adopts the owner result via conflict.returnValue | wrun_01M0V0K2SNQMGE0KYN7C3ERQ63
  • hookSignalOwnerWorkflow - duplicate forwards its payload to the owner via resumeHook | wrun_01M0V0K8XTE434NWB3W4A8Q3B2
  • hookSupersedeOwnerWorkflow - duplicate cancels the owner and claims the released token | wrun_01M0V0KE8W38FPH00F16B7B3Z8
  • resume-or-start route pattern - resumeHook retried after start() reaches the new run | wrun_01M0V0KPHNYD5PGWJ2J37RY859
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01M0V0KWYPREW4QNDG3EPG6GFZ
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01M0V0MCQMR1BC1Y7XPMA5FEJZ
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01M0V0MNF7NEAPDZN671YD3ZHS
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01M0V0MTP4D3X2BRKQSRY1P3YB
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01M0V0MX0AKWKRN3CRRKPPRCK4
  • 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_01M0V0NCK8BWTRQDKNHNVYJ15E
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01M0V0NHSSEXA92EGQT5P9GCVE
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01M0V0NR9KDNEN11W4SCHCFTJ8
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01M0V0NYPSA6FB864XAR00MJKY
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01M0V0P3T15GAGYC8WG50XFTS8
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01M0V0PBRHHACX446NJCJ6NY49
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01M0V0PJ4JEKB04J7J99XZQ84X
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01M0V0PXV6QR9EJ655YEYPBH8P
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01M0V0Q57D8EC0FT59XGG4PNW6
  • cancelRun - cancelling a running workflow | wrun_01M0V0QBDS909203AG5JNZP7WH
  • cancelRun via CLI - cancelling a running workflow | wrun_01M0V0QFSM435DVV40WH8HGWHM
  • 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_01M0V0QPPW88FXF8NY439SQRRH
  • hookWithSleepFinalStepWorkflow - step only on final payload | wrun_01M0V0R1A8M1XTGXX0DZVEDR59
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01M0V0R9M9J6AVNGGN0RWW51E0
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01M0V0RKRCJAJW3VFFEG6Q68WH
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01M0V0RT1CQR0D0RC19AJ2R0G0
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01M0V0RW32XE4C3HJWPEXBCWY4
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01M0V0RY3PFD0GPD10Q7N5A9VH

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 99 0 8
✅ example 99 0 8
✅ express 99 0 8
✅ fastify 99 0 8
✅ hono 99 0 8
✅ nextjs-webpack 104 0 3
✅ nitro 99 0 8
✅ nuxt 99 0 8
✅ sveltekit 99 0 8
✅ vite 99 0 8
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 101 0 6
✅ express-stable 101 0 6
✅ fastify-stable 101 0 6
✅ hono-stable 101 0 6
✅ nextjs-turbopack-canary 88 0 19
✅ nextjs-turbopack-stable 107 0 0
✅ nextjs-webpack-canary 88 0 19
✅ nextjs-webpack-stable 107 0 0
✅ nitro-stable 101 0 6
✅ nuxt-stable 101 0 6
✅ sveltekit-stable 101 0 6
✅ vite-stable 101 0 6
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 101 0 6
✅ express-stable 101 0 6
✅ fastify-stable 101 0 6
✅ hono-stable 101 0 6
✅ nextjs-turbopack-canary 88 0 19
✅ nextjs-turbopack-stable 107 0 0
✅ nextjs-webpack-canary 88 0 19
✅ nextjs-webpack-stable 107 0 0
✅ nitro-stable 101 0 6
✅ nuxt-stable 101 0 6
✅ sveltekit-stable 101 0 6
✅ vite-stable 101 0 6
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 101 0 6
✅ express-stable 101 0 6
✅ fastify-stable 101 0 6
✅ hono-stable 101 0 6
✅ nextjs-turbopack-canary 88 0 19
✅ nextjs-turbopack-stable 107 0 0
✅ nextjs-webpack-canary 88 0 19
✅ nextjs-webpack-stable 107 0 0
✅ nitro-stable 101 0 6
✅ nuxt-stable 101 0 6
✅ sveltekit-stable 101 0 6
✅ vite-stable 101 0 6
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 107 0 0
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 4 0 3
✅ redis-dev 4 0 3
❌ redis 67 21 0
✅ turso-dev 4 0 3
❌ turso 3 85 0
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 101 0 6
✅ e2e-local-dev-tanstack-start-stable 101 0 6
✅ e2e-local-postgres-nest-stable 101 0 6
✅ e2e-local-postgres-tanstack-start-stable 101 0 6
✅ e2e-local-prod-nest-stable 101 0 6
✅ e2e-local-prod-tanstack-start-stable 101 0 6

📋 View full workflow run


❌ Some E2E test jobs failed:

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

Check the workflow run for details.

…port/pr-2632-to-stable

# Conflicts:
#	packages/web/vite-plugin-node-require.ts
@karthikscale3

Copy link
Copy Markdown
Contributor

these changes were backported to stable as part of #3233

This branch had an error being deployed

2 failed and 16 active deployments
Preview – workflow-swc-playground — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – example-nextjs-workflow-webpack — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – workbench-nuxt-workflow — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – workbench-express-workflow — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – example-workflow — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – workflow-tarballs — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – workbench-sveltekit-workflow — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – workbench-astro-workflow — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – workbench-tanstack-start-workflow — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – workbench-vite-workflow — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – workbench-fastify-workflow — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – workbench-nitro-workflow — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – workbench-hono-workflow — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – workbench-nestjs-workflow — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – workflow-web — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – workflow-docs — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – example-nextjs-workflow-turbopack — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Preview – workbench-python-workflow — d7456d8e Deployed Aug 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant