Skip to content

Backport #1768: [web] Disable Vite minification in @workflow/web to fix Socket "obfuscated code" alert#1776

Merged
VaguelySerious merged 1 commit intostablefrom
backport/pr-1768-to-stable
Apr 16, 2026
Merged

Backport #1768: [web] Disable Vite minification in @workflow/web to fix Socket "obfuscated code" alert#1776
VaguelySerious merged 1 commit intostablefrom
backport/pr-1768-to-stable

Conversation

@workflow-devkit-release-bot
Copy link
Copy Markdown
Contributor

Automated backport of #1768 to stable.

Merge conflicts were resolved by AI (opencode with Claude Opus). Please review the conflict resolution before merging.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 16, 2026

🦋 Changeset detected

Latest commit: 87675a3

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

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

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

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

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 16, 2026

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

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Apr 16, 2026 4:54pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Apr 16, 2026 4:54pm
example-workflow Ready Ready Preview, Comment Apr 16, 2026 4:54pm
workbench-astro-workflow Ready Ready Preview, Comment Apr 16, 2026 4:54pm
workbench-express-workflow Ready Ready Preview, Comment Apr 16, 2026 4:54pm
workbench-fastify-workflow Ready Ready Preview, Comment Apr 16, 2026 4:54pm
workbench-hono-workflow Ready Ready Preview, Comment Apr 16, 2026 4:54pm
workbench-nitro-workflow Ready Ready Preview, Comment Apr 16, 2026 4:54pm
workbench-nuxt-workflow Ready Ready Preview, Comment Apr 16, 2026 4:54pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Apr 16, 2026 4:54pm
workbench-vite-workflow Ready Ready Preview, Comment Apr 16, 2026 4:54pm
workflow-docs Ready Ready Preview, Comment, Open in v0 Apr 16, 2026 4:54pm
workflow-swc-playground Ready Ready Preview, Comment Apr 16, 2026 4:54pm
workflow-web Ready Ready Preview, Comment Apr 16, 2026 4:54pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 16, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
❌ ▲ Vercel Production 885 16 67 968
✅ 💻 Local Development 970 0 86 1056
✅ 📦 Local Production 970 0 86 1056
✅ 🐘 Local Postgres 970 0 86 1056
✅ 🪟 Windows 88 0 0 88
❌ 🌍 Community Worlds 16 68 0 84
✅ 📋 Other 246 0 18 264
Total 4145 84 343 4572

❌ Failed Tests

▲ Vercel Production (16 failed)

astro (4 failed):

  • DurableAgent e2e onStepFinish fires constructor + stream callbacks in order with step data
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • cancelRun via CLI - cancelling a running workflow | wrun_01KPBR8GS3EPZ1Y5Y43E6EH13H | 🔍 observability

express (1 failed):

  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow

hono (1 failed):

  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow

nextjs-turbopack (2 failed):

  • outputStreamWorkflow negative startIndex (reads from end)
  • error handling error propagation step errors basic step error preserves message and stack trace

nextjs-webpack (2 failed):

  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KPBR6YCJTJ0D6QVR5W7BQKNK | 🔍 observability

nitro (2 failed):

  • outputStreamWorkflow negative startIndex (reads from end)
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KPBR46QFAVPF0HV3Y6WJ3099 | 🔍 observability

sveltekit (3 failed):

  • outputStreamWorkflow negative startIndex (reads from end)
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KPBR5RYB2BEWDER064S6GMQJ | 🔍 observability
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KPBR9YQHKSVAM1JD2HW96HNX | 🔍 observability

vite (1 failed):

  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPBQVRT8DEPWP67GYT9BXMZD | 🔍 observability
🌍 Community Worlds (68 failed)

mongodb-dev (1 failed):

  • dev e2e should rebuild on imported step dependency change

redis-dev (1 failed):

  • dev e2e should rebuild on imported step dependency change

turso-dev (1 failed):

  • dev e2e should rebuild on imported step dependency change

turso (65 failed):

  • addTenWorkflow | wrun_01KPBQM9J95S4Q8BHD5VM45024
  • addTenWorkflow | wrun_01KPBQM9J95S4Q8BHD5VM45024
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KPBQMTTFQ5TK4KEEKBQ29Y0B
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KPBQN67HRYTG2QW2NJWVZQ4E
  • promiseRaceWorkflow | wrun_01KPBQNANF3XBYYT713K2WQBSV
  • promiseAnyWorkflow | wrun_01KPBQNCN26EMBGWWPKYRAP80E
  • importedStepOnlyWorkflow | wrun_01KPBQN8SEGYVCXBVND088MH0T
  • readableStreamWorkflow | wrun_01KPBQNERNXY8Z5FB746GCMGYV
  • hookWorkflow | wrun_01KPBQNRFVH2DYVRWTM0XR6EF4
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPBQP2VD2541DBWYJNCWDGF2
  • webhookWorkflow | wrun_01KPBQPB54TQ57ZYSX57AD0DZY
  • sleepingWorkflow | wrun_01KPBQPHV41N5R1VVF5NQCJW3Y
  • parallelSleepWorkflow | wrun_01KPBQQ3WW83GG9NNZEZAM9JS2
  • nullByteWorkflow | wrun_01KPBQQSTRTKM9RDQ573MZXN0G
  • workflowAndStepMetadataWorkflow | wrun_01KPBQR1PNR2EQT9314VRVPVE9
  • 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_01KPBQVRT8DEPWP67GYT9BXMZD
  • fetchWorkflow | wrun_01KPBQXKTT0GFDHHQBFGR5YK49
  • promiseRaceStressTestWorkflow | wrun_01KPBQXPVRDTRTERJWA0Z6RZ9M
  • 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_01KPBR2Z7ET1N1Q37110TZP1F7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPBR3JYXWYT2EY36CNGFQRFT
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KPBR46QFAVPF0HV3Y6WJ3099
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KPBR4SV6VA6J3AY7YYRQ5QHZ
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KPBR537JS8TCPDKW3NZ66VSX
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KPBR587P0XEGWQTMZPQBCJ1D
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KPBR5AATF2NTJJVV05RBKCVF
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KPBR5RYB2BEWDER064S6GMQJ
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KPBR5XZYGWFMANM58QMBV3A9
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KPBR644SGH3KW6GW0GNZD89W
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KPBR6A57AJYKQK04JFY53C4X
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KPBR6GXD8EZX4G1V7XDXQN0C
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KPBR6YCJTJ0D6QVR5W7BQKNK
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KPBR75MM9SHQX9CPF1XRDX9M
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KPBR7FZEDCVKRE69YD3EC0VD
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KPBR7W4D1A1ZXYBFWZ3BAN91
  • cancelRun - cancelling a running workflow | wrun_01KPBR866XT1T7BJ2G7JCNSAJF
  • cancelRun via CLI - cancelling a running workflow | wrun_01KPBR8GS3EPZ1Y5Y43E6EH13H
  • 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_01KPBR8VYM7VSXZJX99HJR1QQ4
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KPBR9KJX8340A24YMSH2ZH7Q
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KPBR9YQHKSVAM1JD2HW96HNX
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KPBRAG63Y2HCTEKNXQR368PE
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KPBRAJ33Q5BHE84T0QTNZYH3
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KPBRAMCEK1NV27EQPM91VYMX

Details by Category

❌ ▲ Vercel Production
App Passed Failed Skipped
❌ astro 77 4 7
✅ example 81 0 7
❌ express 80 1 7
✅ fastify 81 0 7
❌ hono 80 1 7
❌ nextjs-turbopack 84 2 2
❌ nextjs-webpack 84 2 2
❌ nitro 79 2 7
✅ nuxt 81 0 7
❌ sveltekit 78 3 7
❌ vite 80 1 7
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 82 0 6
✅ express-stable 82 0 6
✅ fastify-stable 82 0 6
✅ hono-stable 82 0 6
✅ nextjs-turbopack-canary 69 0 19
✅ nextjs-turbopack-stable 88 0 0
✅ nextjs-webpack-canary 69 0 19
✅ nextjs-webpack-stable 88 0 0
✅ nitro-stable 82 0 6
✅ nuxt-stable 82 0 6
✅ sveltekit-stable 82 0 6
✅ vite-stable 82 0 6
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 82 0 6
✅ express-stable 82 0 6
✅ fastify-stable 82 0 6
✅ hono-stable 82 0 6
✅ nextjs-turbopack-canary 69 0 19
✅ nextjs-turbopack-stable 88 0 0
✅ nextjs-webpack-canary 69 0 19
✅ nextjs-webpack-stable 88 0 0
✅ nitro-stable 82 0 6
✅ nuxt-stable 82 0 6
✅ sveltekit-stable 82 0 6
✅ vite-stable 82 0 6
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 82 0 6
✅ express-stable 82 0 6
✅ fastify-stable 82 0 6
✅ hono-stable 82 0 6
✅ nextjs-turbopack-canary 69 0 19
✅ nextjs-turbopack-stable 88 0 0
✅ nextjs-webpack-canary 69 0 19
✅ nextjs-webpack-stable 88 0 0
✅ nitro-stable 82 0 6
✅ nuxt-stable 82 0 6
✅ sveltekit-stable 82 0 6
✅ vite-stable 82 0 6
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 88 0 0
❌ 🌍 Community Worlds
App Passed Failed Skipped
❌ mongodb-dev 4 1 0
❌ redis-dev 4 1 0
❌ turso-dev 4 1 0
❌ turso 4 65 0
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 82 0 6
✅ e2e-local-postgres-nest-stable 82 0 6
✅ e2e-local-prod-nest-stable 82 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.

@VaguelySerious VaguelySerious merged commit c556da3 into stable Apr 16, 2026
127 of 150 checks passed
@VaguelySerious VaguelySerious deleted the backport/pr-1768-to-stable branch April 16, 2026 18:21
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.

2 participants