Title: Support orchestration cloning · Issue #340 · microsoft/durabletask-python · GitHub
Open Graph Title: Support orchestration cloning · Issue #340 · microsoft/durabletask-python
X Title: Support orchestration cloning · Issue #340 · microsoft/durabletask-python
Description: Add a native SDK API with a required target ID and optional version. Enable users to clone an existing orchestration with a chosen instance ID and optional version, while retaining a reference to the source orchestration. Example using t...
Open Graph Description: Add a native SDK API with a required target ID and optional version. Enable users to clone an existing orchestration with a chosen instance ID and optional version, while retaining a reference to t...
X Description: Add a native SDK API with a required target ID and optional version. Enable users to clone an existing orchestration with a chosen instance ID and optional version, while retaining a reference to t...
Opengraph URL: https://github.com/microsoft/durabletask-python/issues/340
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support orchestration cloning","articleBody":"Add a native SDK API with a **required target ID** and **optional version**. Enable users to clone an existing orchestration with a chosen instance ID and optional version, while retaining a reference to the source orchestration.\n\nExample using the JavaScript `durable-functions` SDK v3.x:\n\n```javascript\nawait client.restart(\"order-123\", {\n newInstanceId: \"order-123-retry\",\n version: \"2.0\",\n});\n```\n\nRestart from the beginning with the original name/input—not copied history. Inside the clone:\n\n```javascript\ndf.orchestrator(function* (context) {\n context.df.instanceId; // \"order-123-retry\"\n context.df.sourceInstanceId; // \"order-123\"\n context.df.version; // \"2.0\"\n});\n```\n\nCloning `\"order-123-retry\"` again gives the next clone `sourceInstanceId === \"order-123-retry\"`, not `\"order-123\"`.\n\nIf `version` is omitted, preserve the backend’s existing default restart behavior. An explicit empty string selects an unversioned orchestration.\n\nPreserve existing APIs and replay behavior. Sub-orchestrations must not inherit the source reference.\n\nExamples use the `Azure/azure-functions-durable-js` API; other SDKs should follow their native naming conventions.","author":{"url":"https://github.com/bachuv","@type":"Person","name":"bachuv"},"datePublished":"2026-11-03T23:01:11Z","url":"https://github.com/microsoft/durabletask-python/issues/340"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a6974ca0-3bdc-2e70-6995-6e20d8652f0a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AAA8:2AC096:3BDE2C:5113DE:6AFE1E8A |
| html-safe-nonce | a370a1c940db1a9f7394e38ffbec8757b8a0a5d146042b708661bf12a3080f5b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUE4OjJBQzA5NjozQkRFMkM6NTExM0RFOjZBRkUxRThBIiwidmlzaXRvcl9pZCI6IjEzOTc1NDA5MjIwNjg5NjcwNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 983a36a671a5ea91a27c7ab8e3540d3fcfdb51e6250d28f8bdddd36a4b556aeb |
| hovercard-subject-tag | issue:6192718298 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/durabletask-python/340/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e52118769cbbd2044d89c14d7b085f03484df1d753e9d8ea5fd48028765705c2/microsoft/durabletask-python/issues/340 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e52118769cbbd2044d89c14d7b085f03484df1d753e9d8ea5fd48028765705c2/microsoft/durabletask-python/issues/340 |
| og:image:alt | Add a native SDK API with a required target ID and optional version. Enable users to clone an existing orchestration with a chosen instance ID and optional version, while retaining a reference to t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bachuv |
| hostname | github.com |
| expected-hostname | github.com |
| None | d0525ab1464526bf4532a5551aa348cf100dff75ef808a96fc67a08b1d946aa9 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/durabletask-python git https://github.com/microsoft/durabletask-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 627664515 |
| octolytics-dimension-repository_nwo | microsoft/durabletask-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627664515 |
| octolytics-dimension-repository_network_root_nwo | microsoft/durabletask-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fef3993a71fa20f7be8e167132fbf9619bc66e12 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width