Skip to content

Backport #1704: Move swc-playground-wasm into workbench/swc-playground#1772

Merged
TooTallNate merged 1 commit into
stablefrom
backport/pr-1704-to-stable
Apr 16, 2026
Merged

Backport #1704: Move swc-playground-wasm into workbench/swc-playground#1772
TooTallNate merged 1 commit into
stablefrom
backport/pr-1704-to-stable

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Apr 16, 2026

Automated backport of #1704 to stable.

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

* move swc-playground-wasm into workbench/swc-playground

Move the Rust/WASM source from packages/swc-playground-wasm into
workbench/swc-playground/wasm/ so it is no longer built as part of
the packages/* turbo filter in CI. The WASM build now runs as part
of the playground's own prebuild/dev scripts, avoiding Rust toolchain
failures in unrelated CI jobs.

* fix: ensure default rustup toolchain in wasm build

The Vercel build environment has rustup installed but no default
toolchain configured. Add a check for this and install stable
if needed. Also check for VERCEL env var in addition to CI.

* fix: ensure cargo bin dir is in PATH on Vercel

After cargo install wasm-pack, the binary lives in $CARGO_HOME/bin
which may not be in PATH on the Vercel build environment. Always
add the cargo bin directory to PATH after ensuring the toolchain.
@ghost ghost self-requested a review as a code owner April 16, 2026 06:38
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 16, 2026

⚠️ No Changeset found

Latest commit: 1f08cbf

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

@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 900 1 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 4160 69 343 4572

❌ Failed Tests

▲ Vercel Production (1 failed)

nuxt (1 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPAGAFY7VRD0VP0T3JMFE7Y3 | 🔍 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_01KPAG935QERVR6CS72SZXHY3D
  • addTenWorkflow | wrun_01KPAG935QERVR6CS72SZXHY3D
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KPAGB4RHSFXG1HA16003RC72
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KPAG9B1JJ57MHNP14QP7MY5H
  • promiseRaceWorkflow | wrun_01KPAG9GJQ66HAY07QF0V6B78X
  • promiseAnyWorkflow | wrun_01KPAG9JNH1CVDDA9350EF13VW
  • importedStepOnlyWorkflow | wrun_01KPAGBGB3XW4M1W6DV1VMR90T
  • readableStreamWorkflow | wrun_01KPAG9MXR4Z15CKW09GN794NS
  • hookWorkflow | wrun_01KPAG9YTQMG2D6S1H5N76BJSC
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPAGAFY7VRD0VP0T3JMFE7Y3
  • webhookWorkflow | wrun_01KPAGB0MBZ9FW7A5DEH7VJWY7
  • sleepingWorkflow | wrun_01KPAGB7G6SS8S79WB620K7RF1
  • parallelSleepWorkflow | wrun_01KPAGBK41CSTWAJWKGDAN3XWM
  • nullByteWorkflow | wrun_01KPAGBRMKCKHP66FDR6J3JX8R
  • workflowAndStepMetadataWorkflow | wrun_01KPAGBTVAK68RRPF5EEQ0RBD9
  • 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_01KPAGE3TDGR550T53J1TAMCWM
  • fetchWorkflow | wrun_01KPAGEHKCMSJQVVRP1952PB6A
  • promiseRaceStressTestWorkflow | wrun_01KPAGEN4CY2HFMJQA6SS7W004
  • 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_01KPAGJ2C8K3BMG70DV5BYPXSS
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPAGJQ46QG8Q9KHRW8S8TFJ5
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KPAGKC0CHQY3KFNXBEGEKWWE
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KPAGKZEE982V2K64GB2703VH
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KPAGM8A3ZXXE3J4YVB3GVMQX
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KPAGMDWDXH9H9TH7Y0ZZPZGE
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KPAGMH2XTBHKS6AYWSJNZ3QM
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KPAGN0JGM5ZDTRZ1Q446AQSC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KPAGN60CTF87KH707HXEVDHN
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KPAGNCX45QAHVDN860R4SXJ2
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KPAGNKKN2M0M9MZEZKTN0H18
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KPAGNT2MZW748FPP9WBRQNHW
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KPAGP10WKZKKPPCYEZ5A2AZZ
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KPAGP8SM9100HXATQPZPAHT8
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KPAGPKJ39MV6WWPBF5C4G9ZF
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KPAGPWG8M52309HY970V72JV
  • cancelRun - cancelling a running workflow | wrun_01KPAGQ318NDCN0CJ2Z01C1BGE
  • cancelRun via CLI - cancelling a running workflow | wrun_01KPAGQC4432H0J1P86BANXP0Y
  • 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_01KPAGQR6VHM4BJXCQ7R108PRG
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KPAGRCE64GAE3DYPFG8HWE93
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KPAGRPW2BSWTF83177PF48RG
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KPAGRYJK4Z057DAAWFVKE0HZ
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KPAGS0VE1EP9T9N90HKR4AYS
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KPAGS3ARZ8MCPNQNBCE6TVBR

Details by Category

❌ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 81 0 7
✅ example 81 0 7
✅ express 81 0 7
✅ fastify 81 0 7
✅ hono 81 0 7
✅ nextjs-turbopack 86 0 2
✅ nextjs-webpack 86 0 2
✅ nitro 81 0 7
❌ nuxt 80 1 7
✅ sveltekit 81 0 7
✅ vite 81 0 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.

@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 6:42am
example-nextjs-workflow-webpack Ready Ready Preview, Comment Apr 16, 2026 6:42am
example-workflow Ready Ready Preview, Comment Apr 16, 2026 6:42am
workbench-astro-workflow Ready Ready Preview, Comment Apr 16, 2026 6:42am
workbench-express-workflow Ready Ready Preview, Comment Apr 16, 2026 6:42am
workbench-fastify-workflow Ready Ready Preview, Comment Apr 16, 2026 6:42am
workbench-hono-workflow Ready Ready Preview, Comment Apr 16, 2026 6:42am
workbench-nitro-workflow Ready Ready Preview, Comment Apr 16, 2026 6:42am
workbench-nuxt-workflow Ready Ready Preview, Comment Apr 16, 2026 6:42am
workbench-sveltekit-workflow Ready Ready Preview, Comment Apr 16, 2026 6:42am
workbench-vite-workflow Ready Ready Preview, Comment Apr 16, 2026 6:42am
workflow-swc-playground Ready Ready Preview, Comment Apr 16, 2026 6:42am
workflow-web Ready Ready Preview, Comment Apr 16, 2026 6:42am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
workflow-docs Ignored Ignored Preview Apr 16, 2026 6:42am

@TooTallNate TooTallNate merged commit fdac33c into stable Apr 16, 2026
82 of 86 checks passed
@TooTallNate TooTallNate deleted the backport/pr-1704-to-stable branch April 16, 2026 07:02
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