Title: Add HTTP-specific retry options to azure-functions-durable v2 call_http · Issue #268 · microsoft/durabletask-python · GitHub
Open Graph Title: Add HTTP-specific retry options to azure-functions-durable v2 call_http · Issue #268 · microsoft/durabletask-python
X Title: Add HTTP-specific retry options to azure-functions-durable v2 call_http · Issue #268 · microsoft/durabletask-python
Description: Add configurable, durable HTTP failure retries to the azure-functions-durable v2 compatibility package in this repository. This is the Python v2 follow-up to Azure/azure-functions-durable-extension#1984, not a request for generic activit...
Open Graph Description: Add configurable, durable HTTP failure retries to the azure-functions-durable v2 compatibility package in this repository. This is the Python v2 follow-up to Azure/azure-functions-durable-extension...
X Description: Add configurable, durable HTTP failure retries to the azure-functions-durable v2 compatibility package in this repository. This is the Python v2 follow-up to Azure/azure-functions-durable-extension...
Opengraph URL: https://github.com/microsoft/durabletask-python/issues/268
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add HTTP-specific retry options to azure-functions-durable v2 call_http","articleBody":"Add configurable, durable HTTP failure retries to the `azure-functions-durable` v2 compatibility package in this repository. This is the Python v2 follow-up to Azure/azure-functions-durable-extension#1984, not a request for generic activity retry support.\n\n## Current behavior\n\nChecked `azure-functions-durable==2.0.0rc1` (`azurefunctions-v2.0.0rc1`):\n\n- `DurableOrchestrationContext.call_http(method, uri, content=None, headers=None, token_source=None, is_raw_str=False)` has no HTTP retry parameter and schedules the built-in HTTP polling sub-orchestration.\n- [`DurableHttpRequest`](https://github.com/microsoft/durabletask-python/blob/azurefunctions-v2.0.0rc1/azure-functions-durable/azure/durable_functions/http/models.py#L20-L69) neither accepts nor serializes a retry policy or retryable-status-code list.\n- [`builtin_http_activity`](https://github.com/microsoft/durabletask-python/blob/azurefunctions-v2.0.0rc1/azure-functions-durable/azure/durable_functions/http/builtin.py#L161-L219) returns HTTP error responses rather than treating selected statuses as retryable failures.\n- The [polling orchestrator](https://github.com/microsoft/durabletask-python/blob/azurefunctions-v2.0.0rc1/azure-functions-durable/azure/durable_functions/http/builtin.py#L267-L333) calls activities without a retry policy and repeats only for HTTP 202 responses with a Location header.\n\nThis package executes HTTP through worker-side built-ins rather than the extension's native HTTP action. Retry support must be implemented in that worker path, not just added to a host-bound JSON field.\n\n## Acceptance Criteria\n\n- [ ] Expose HTTP-specific retry configuration on `call_http`, including first retry interval, maximum attempts, backoff coefficient, maximum retry interval, retry timeout, and retryable HTTP status codes.\n- [ ] Carry the configuration through the request model/serialization and apply durable retries to selected HTTP statuses and retryable transport failures.\n- [ ] Define and document status-code defaults consistent with .NET `HttpRetryOptions` (an omitted/empty status-code list retries 4xx/5xx responses when a retry policy is supplied).\n- [ ] Preserve existing behavior when retry options are omitted, and keep HTTP 202 polling distinct from failure retries.\n- [ ] Add coverage for retry-then-success, exhausted attempts, excluded status codes, backoff/timeout limits, replay, and interaction with 202 polling.\n- [ ] Document usage and any intentional differences from .NET HTTP retry semantics.\n\n## Related\n\n- Original cross-language tracker: Azure/azure-functions-durable-extension#1984.\n- Equivalent Node v4 work: microsoft/durabletask-js#367.\n- [.NET HttpRetryOptions reference implementation](https://github.com/Azure/azure-functions-durable-extension/blob/4437edf785533ccdf219c15f496777ba1c30d41d/src/WebJobs.Extensions.DurableTask/HttpRetryOptions.cs).","author":{"url":"https://github.com/YunchuWang","@type":"Person","name":"YunchuWang"},"datePublished":"2026-09-17T19:17:34Z","url":"https://github.com/microsoft/durabletask-python/issues/268"}
| 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:de660cef-c3d1-7652-3a48-be420f47df63 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C220:174E3F:7DA70:A3C58:6AFE2F6B |
| html-safe-nonce | 3769eba107d66a10bd53cd4f378690e592c266007039f70d8b2f1b54ce35144f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjIwOjE3NEUzRjo3REE3MDpBM0M1ODo2QUZFMkY2QiIsInZpc2l0b3JfaWQiOiIyNDU1NDMxNDEzMzQ4ODM5Mjc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 59ad591f77c73bbd81ff1efdabfce2a1b5abb161030a4c689f353fae1fd2df7f |
| hovercard-subject-tag | issue:5491709453 |
| 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/268/issue_layout |
| twitter:image | https://opengraph.githubassets.com/678ae6ca3d0c1f671457f1244e976c2855e5210878434a4bdc37ece726f89e45/microsoft/durabletask-python/issues/268 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/678ae6ca3d0c1f671457f1244e976c2855e5210878434a4bdc37ece726f89e45/microsoft/durabletask-python/issues/268 |
| og:image:alt | Add configurable, durable HTTP failure retries to the azure-functions-durable v2 compatibility package in this repository. This is the Python v2 follow-up to Azure/azure-functions-durable-extension... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | YunchuWang |
| hostname | github.com |
| expected-hostname | github.com |
| None | d70e31220a67f6376c108d2416fa8e7df854c1065b1672ab7a88ab6dc3a809e2 |
| 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 | ccb88d9c92abe69245b429398c8a57ae87070c7c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width