Files
Peter Wielander 2fcd1454a1 [swc-plugin] Preserve maxRetries on steps nested inside a workflow
A step defined inside a workflow body configures its retry count via a
property assignment (`myStep.maxRetries = N`). In step mode the workflow
body is replaced with a `throw`, so that assignment was dropped and the
step silently reverted to the default of 3 retries.

Collect `<step>.maxRetries = <literal>` assignments from the workflow
body and re-emit them at module scope on the hoisted step function, right
after its registration IIFE. Only literal right-hand sides are hoisted so
the assignment cannot capture workflow-local bindings.

Adds a Rust fixture (nested-step-max-retries) and an e2e workflow +
assertion (errorRetryDisabledNested) covering the regression.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 09:21:35 -07:00
..
2026-07-08 10:25:34 -07:00
2026-07-08 10:25:34 -07:00
2026-07-08 10:25:34 -07:00
2026-01-26 13:31:22 -08:00
2026-07-08 10:25:34 -07:00
2025-10-23 12:07:52 +03:00

Workbench

These apps are used for testing internally. Refer to Workflow SDK Examples to see some use cases and working examples.