Title: Expose a public, typed orchestration ID reuse policy · Issue #26 · microsoft/durabletask-python · GitHub
Open Graph Title: Expose a public, typed orchestration ID reuse policy · Issue #26 · microsoft/durabletask-python
X Title: Expose a public, typed orchestration ID reuse policy · Issue #26 · microsoft/durabletask-python
Description: Current behavior The synchronous and asynchronous schedule_new_orchestration() APIs already accept reuse_id_policy and forward it to the backend. Callers must construct durabletask.internal.orchestrator_service_pb2.OrchestrationIdReusePo...
Open Graph Description: Current behavior The synchronous and asynchronous schedule_new_orchestration() APIs already accept reuse_id_policy and forward it to the backend. Callers must construct durabletask.internal.orchest...
X Description: Current behavior The synchronous and asynchronous schedule_new_orchestration() APIs already accept reuse_id_policy and forward it to the backend. Callers must construct durabletask.internal.orchest...
Opengraph URL: https://github.com/microsoft/durabletask-python/issues/26
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Expose a public, typed orchestration ID reuse policy","articleBody":"## Current behavior\n\nThe synchronous and asynchronous `schedule_new_orchestration()` APIs already accept `reuse_id_policy` and forward it to the backend. Callers must construct `durabletask.internal.orchestrator_service_pb2.OrchestrationIdReusePolicy`, so the capability is exposed through an internal generated type rather than a supported, typed public API.\n\n## Proposed scope\n\nExpose a public orchestration ID reuse policy using `OrchestrationStatus` values. Align its public semantics with the current .NET and Go SDKs: statuses selected for deduplication reject an existing instance; other statuses permit replacement where supported by the backend.\n\n- Preserve backend defaults when the policy or its status list is omitted.\n- Distinguish an explicit empty deduplication list from omission: an empty list permits replacement in every supported stable status.\n- Preserve compatibility with callers passing the existing protobuf policy.\n- Support synchronous and asynchronous clients, including the inherited Azure Managed and Azure Functions client APIs.\n- Document status polarity, backend-dependent behavior, and the difference between omission and an explicit empty list.\n\n## Protocol constraints\n\nThe original January 2024 proposal described `ERROR`, `IGNORE`, and `TERMINATE` actions. The shared protocol removed its obsolete action field in March 2025 and now carries only `replaceableStatus`: https://github.com/microsoft/durabletask-protobuf/pull/35.\n\nThis issue does not propose restoring those action enums or promising atomic no-op/`IGNORE` behavior. Replacement must remain a backend operation rather than a client-side terminate-then-start sequence.\n\n## Related APIs\n\n- .NET: `StartOrchestrationOptions.DedupeStatuses`\n- Go: `OrchestrationIDReusePolicy.DedupeStatuses`\n- JavaScript/TypeScript: `StartOrchestrationOptions.dedupeStatuses` on the current development branch","author":{"url":"https://github.com/kaibocai","@type":"Person","name":"kaibocai"},"datePublished":"2024-01-05T14:11:57Z","url":"https://github.com/microsoft/durabletask-python/issues/26"}
| 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:20c0df7b-9f47-a297-a4a5-46a1bdbac9e7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 904C:174C90:39FA2A:4E6291:6AFE1E89 |
| html-safe-nonce | eb2c76d513133d99e2d6429021832966a308a7b839741c1e19428bdc784caa2b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDRDOjE3NEM5MDozOUZBMkE6NEU2MjkxOjZBRkUxRTg5IiwidmlzaXRvcl9pZCI6Ijc0NDUxMzc1Njk1ODQzODk3NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5eaa611b48de97be3a95f28bdda160cb2b5098680b4f52f13ed71191952beeae |
| hovercard-subject-tag | issue:2067418109 |
| 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/26/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0882acec5b907ee7c44f00487006bd41bf527fae0dcffd6798df2eb589a6c1d2/microsoft/durabletask-python/issues/26 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0882acec5b907ee7c44f00487006bd41bf527fae0dcffd6798df2eb589a6c1d2/microsoft/durabletask-python/issues/26 |
| og:image:alt | Current behavior The synchronous and asynchronous schedule_new_orchestration() APIs already accept reuse_id_policy and forward it to the backend. Callers must construct durabletask.internal.orchest... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kaibocai |
| 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