Title: when_any allows proceeding workflow ahead, even when all tasks fail · Issue #12 · microsoft/durabletask-python · GitHub
Open Graph Title: when_any allows proceeding workflow ahead, even when all tasks fail · Issue #12 · microsoft/durabletask-python
X Title: when_any allows proceeding workflow ahead, even when all tasks fail · Issue #12 · microsoft/durabletask-python
Description: How to Replicate: Create an orchestrator my_wf. Create an activity that always fails, let's say fail_act_1 - it takes an orderPayload input Create another activity that again always fails, let's say fail_act_2 - it takes an orderPayload ...
Open Graph Description: How to Replicate: Create an orchestrator my_wf. Create an activity that always fails, let's say fail_act_1 - it takes an orderPayload input Create another activity that again always fails, let's sa...
X Description: How to Replicate: Create an orchestrator my_wf. Create an activity that always fails, let's say fail_act_1 - it takes an orderPayload input Create another activity that again always fails, let&...
Opengraph URL: https://github.com/microsoft/durabletask-python/issues/12
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"when_any allows proceeding workflow ahead, even when all tasks fail","articleBody":"How to Replicate:\r\n1. Create an orchestrator `my_wf`.\r\n2. Create an activity that always fails, let's say `fail_act_1` - it takes an orderPayload input\r\n3. Create another activity that again always fails, let's say `fail_act_2` - it takes an orderPayload input\r\n4. In `my_wf`, call when_any, something like this:\r\n```\r\nyield when_any([ctx.call_activity(fail_act_1, input=orderPayload),\r\n ctx.call_activity(fail_act_2, input=orderPayload)])\r\n\r\n```\r\n\r\nAfter calling when_any, call some other activity, which always passes and takes some input:\r\n```\r\n yield ctx.call_activity(pass_act, input=some_inp)\r\n```\r\n\r\nI would expect that pass_act is never called and orchestrator fails after when_any, as both of the activities in when_any are deemed to fail.\r\nBut, In Actual, orchestrator goes ahead and calls pass_act.","author":{"url":"https://github.com/DeepanshuA","@type":"Person","name":"DeepanshuA"},"datePublished":"2023-07-28T10:46:39Z","url":"https://github.com/microsoft/durabletask-python/issues/12"}
| 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:6bcc3438-5318-ead3-ca9e-246b5d5f4b3e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB38:340002:BB47A:FCC79:6AFE43C1 |
| html-safe-nonce | d02604db7b08c9a72f8567e2a2f3df92a32e06e738e1822ec156122775a1c437 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjM4OjM0MDAwMjpCQjQ3QTpGQ0M3OTo2QUZFNDNDMSIsInZpc2l0b3JfaWQiOiIxMzU2NTc4MTUyNTE5NzEzNzI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | eb5466e35e646cd2dcb68a508d48c3a3d3691b50758cbf0965ec9f86c42299af |
| hovercard-subject-tag | issue:1826207212 |
| 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/12/issue_layout |
| twitter:image | https://opengraph.githubassets.com/089554deccb4c03d80f22bdafa4dd2e8f592771ec79c33e25eac2c10fbbddaa8/microsoft/durabletask-python/issues/12 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/089554deccb4c03d80f22bdafa4dd2e8f592771ec79c33e25eac2c10fbbddaa8/microsoft/durabletask-python/issues/12 |
| og:image:alt | How to Replicate: Create an orchestrator my_wf. Create an activity that always fails, let's say fail_act_1 - it takes an orderPayload input Create another activity that again always fails, let's sa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DeepanshuA |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1a5901e2377b0af2a0b303f9528678f1475d04b9219dca1e993344196eaa07c |
| 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 | ce393ea11ad276623b946bc9663d3e7d6f564275 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width