René's URL Explorer Experiment


Title: Add opt-in durable HTTP failure retries by andystaples · Pull Request #338 · microsoft/durabletask-python · GitHub

Open Graph Title: Add opt-in durable HTTP failure retries by andystaples · Pull Request #338 · microsoft/durabletask-python

X Title: Add opt-in durable HTTP failure retries by andystaples · Pull Request #338 · microsoft/durabletask-python

Description: Fixes #268. Depends on #326. This PR targets its replay-safe retry-timeout branch and adds only the Azure Functions HTTP layer. Behavior Adds public HttpRetryOptions and optional retry_options on compatibility context.call_http(). The policy uses native timedelta durations, snapshots timing and status selection into the request, and reuses the core durable activity retry engine for the initial HTTP request. No second retry engine or additional core changes are introduced. The attempt limit includes the initial attempt. Defaults are constant backoff, a six-day maximum retry interval, and an unbounded retry timeout. An omitted, None, or empty status list selects every non-2xx response, including unfollowed redirects. A nonempty list is exact, including 202 when explicitly selected. Selected responses are closed before reading their bodies and become activity failures; exhausting retries fails call_http rather than returning the last selected response. Excluded statuses retain their complete response. Transport and other activity failures also use the policy. Compatibility and rollout Omitting retry options preserves the existing scheduled input shape and behavior. Policies apply only to the initial request, not subsequent 202 Location GET polls, matching the JavaScript SDK and extension behavior. Existing response wrapping, URL validation, redirects, credentials, token acquisition, registration, and polling behavior remain intact. Retry timeout uses orchestration time and does not cancel in-flight HTTP requests. Python checks elapsed time when a failure is handled; unlike the JavaScript core engine, it can schedule a delay that crosses the timeout boundary. The README documents this difference, side-effect/idempotency risks, and versioning or draining affected in-flight orchestrations when changing policies. Package versions and dependency minimums are unchanged. The corrected core from #326 must be released before publishing this provider feature, with provider version and dependency minimum updates coordinated in a dedicated release PR.

Open Graph Description: Fixes #268. Depends on #326. This PR targets its replay-safe retry-timeout branch and adds only the Azure Functions HTTP layer. Behavior Adds public HttpRetryOptions and optional retry_options on c...

X Description: Fixes #268. Depends on #326. This PR targets its replay-safe retry-timeout branch and adds only the Azure Functions HTTP layer. Behavior Adds public HttpRetryOptions and optional retry_options on c...

Opengraph URL: https://github.com/microsoft/durabletask-python/pull/338

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:db3f22cd-5ac1-156c-6ee6-643117846313
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBC7A:346DEB:190AE:22BA4:6AFE2FBE
html-safe-nonce0a27394782f29a2a5abf2a243bfe596e46613fa961616187eff722c367e94635
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzdBOjM0NkRFQjoxOTBBRToyMkJBNDo2QUZFMkZCRSIsInZpc2l0b3JfaWQiOiIxNzY4OTgzNTUzNjg2NTE1NjQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca9c76a6becd18308f8ab7093a507ed9902b6f9f97e7494c71e5a9052d67467aa
hovercard-subject-tagpull_request:5142655197
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/microsoft/durabletask-python/pull/338/files
twitter:imagehttps://avatars.githubusercontent.com/u/77818326?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/77818326?s=400&v=4
og:image:altFixes #268. Depends on #326. This PR targets its replay-safe retry-timeout branch and adds only the Azure Functions HTTP layer. Behavior Adds public HttpRetryOptions and optional retry_options on c...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned70e31220a67f6376c108d2416fa8e7df854c1065b1672ab7a88ab6dc3a809e2
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/microsoft/durabletask-python git https://github.com/microsoft/durabletask-python.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id627664515
octolytics-dimension-repository_nwomicrosoft/durabletask-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627664515
octolytics-dimension-repository_network_root_nwomicrosoft/durabletask-python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseccb88d9c92abe69245b429398c8a57ae87070c7c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/durabletask-python/pull/338/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-python%2Fpull%2F338%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-python%2Fpull%2F338%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=microsoft%2Fdurabletask-python
Reloadhttps://github.com/microsoft/durabletask-python/pull/338/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/338/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/338/files
microsofthttps://github.com/microsoft
durabletask-pythonhttps://github.com/microsoft/durabletask-python
Codehttps://github.com/microsoft/durabletask-python
Issues15 (15)https://github.com/microsoft/durabletask-python/issues
Pull requests12 (12)https://github.com/microsoft/durabletask-python/pulls
Actionshttps://github.com/microsoft/durabletask-python/actions
Projectshttps://github.com/microsoft/durabletask-python/projects
Security and qualityhttps://github.com/microsoft/durabletask-python/security
Insightshttps://github.com/microsoft/durabletask-python/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fmicrosoft%2Fdurabletask-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmicrosoft%2Fdurabletask-python%2Fissues%2Fnew%2Fchoose
Bernd Verst (berndverst)https://github.com/berndverst
mainhttps://github.com/microsoft/durabletask-python/tree/main
andystaples-http-failure-retrieshttps://github.com/microsoft/durabletask-python/tree/andystaples-http-failure-retries
Conversation 2 https://github.com/microsoft/durabletask-python/pull/338
Commits 1 https://github.com/microsoft/durabletask-python/pull/338/commits
Checks 25 https://github.com/microsoft/durabletask-python/pull/338/checks
Files changed https://github.com/microsoft/durabletask-python/pull/338/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/338/files
Add opt-in durable HTTP failure retries https://github.com/microsoft/durabletask-python/pull/338/files#top
Show all changes 1 commit https://github.com/microsoft/durabletask-python/pull/338/files
5ac55ff Add opt-in durable HTTP failure retries andystaples Nov 3, 2026 https://github.com/microsoft/durabletask-python/pull/338/commits/5ac55ff41bb68ad3f79bd5ef42f24170c051061c
Clear filters https://github.com/microsoft/durabletask-python/pull/338/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/338/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/338/files
CHANGELOG.md https://github.com/microsoft/durabletask-python/pull/338/files#diff-5238e244f2c6b5bd4ede65c19a2cd928c40ff1a5c28bf1979651e8fe1db1a6d2
README.md https://github.com/microsoft/durabletask-python/pull/338/files#diff-5f1b86ca0704e38f8e8592e42bcecc439d94f909c4ccb61e3edb0bf409b29b56
__init__.py https://github.com/microsoft/durabletask-python/pull/338/files#diff-ed8c7a39367adf6e282eaa85b059dff6810322f38059fd94ad3cd9cc7882a4cb
builtin.py https://github.com/microsoft/durabletask-python/pull/338/files#diff-fefe40ff3b1e0072b38d67a9bb661563e0150192ba6e8416d59197ba9e526de4
models.py https://github.com/microsoft/durabletask-python/pull/338/files#diff-1480cb8886842a13e2ad7f2f7685f4b17d28d89c71ef7c74293f36817ae0c1d1
orchestration_context.py https://github.com/microsoft/durabletask-python/pull/338/files#diff-f16988a86dd6eebf3fcb8b717b74145fe00ef74369cf46e6e66b6f4cf82ee2d3
test_http_retry.py https://github.com/microsoft/durabletask-python/pull/338/files#diff-92099d197a1dbe8f65c36d18cef22e612dc96f6b7136ae2f91f3b4b53f535deb
azure-functions-durable/CHANGELOG.mdhttps://github.com/microsoft/durabletask-python/pull/338/files#diff-5238e244f2c6b5bd4ede65c19a2cd928c40ff1a5c28bf1979651e8fe1db1a6d2
View file https://github.com/microsoft/durabletask-python/blob/5ac55ff41bb68ad3f79bd5ef42f24170c051061c/azure-functions-durable/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/338/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/338/files#diff-5238e244f2c6b5bd4ede65c19a2cd928c40ff1a5c28bf1979651e8fe1db1a6d2
https://github.com/microsoft/durabletask-python/pull/338/files#diff-5238e244f2c6b5bd4ede65c19a2cd928c40ff1a5c28bf1979651e8fe1db1a6d2
azure-functions-durable/README.mdhttps://github.com/microsoft/durabletask-python/pull/338/files#diff-5f1b86ca0704e38f8e8592e42bcecc439d94f909c4ccb61e3edb0bf409b29b56
View file https://github.com/microsoft/durabletask-python/blob/5ac55ff41bb68ad3f79bd5ef42f24170c051061c/azure-functions-durable/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/338/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/338/files#diff-5f1b86ca0704e38f8e8592e42bcecc439d94f909c4ccb61e3edb0bf409b29b56
https://github.com/microsoft/durabletask-python/pull/338/files#diff-5f1b86ca0704e38f8e8592e42bcecc439d94f909c4ccb61e3edb0bf409b29b56
azure-functions-durable/azure/durable_functions/__init__.pyhttps://github.com/microsoft/durabletask-python/pull/338/files#diff-ed8c7a39367adf6e282eaa85b059dff6810322f38059fd94ad3cd9cc7882a4cb
View file https://github.com/microsoft/durabletask-python/blob/5ac55ff41bb68ad3f79bd5ef42f24170c051061c/azure-functions-durable/azure/durable_functions/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/338/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/338/files#diff-ed8c7a39367adf6e282eaa85b059dff6810322f38059fd94ad3cd9cc7882a4cb
https://github.com/microsoft/durabletask-python/pull/338/files#diff-ed8c7a39367adf6e282eaa85b059dff6810322f38059fd94ad3cd9cc7882a4cb
https://github.com/microsoft/durabletask-python/pull/338/files#diff-ed8c7a39367adf6e282eaa85b059dff6810322f38059fd94ad3cd9cc7882a4cb
https://github.com/microsoft/durabletask-python/pull/338/files#diff-ed8c7a39367adf6e282eaa85b059dff6810322f38059fd94ad3cd9cc7882a4cb
azure-functions-durable/azure/durable_functions/http/builtin.pyhttps://github.com/microsoft/durabletask-python/pull/338/files#diff-fefe40ff3b1e0072b38d67a9bb661563e0150192ba6e8416d59197ba9e526de4
View file https://github.com/microsoft/durabletask-python/blob/5ac55ff41bb68ad3f79bd5ef42f24170c051061c/azure-functions-durable/azure/durable_functions/http/builtin.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/338/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/338/files#diff-fefe40ff3b1e0072b38d67a9bb661563e0150192ba6e8416d59197ba9e526de4
https://github.com/microsoft/durabletask-python/pull/338/files#diff-fefe40ff3b1e0072b38d67a9bb661563e0150192ba6e8416d59197ba9e526de4
https://github.com/microsoft/durabletask-python/pull/338/files#diff-fefe40ff3b1e0072b38d67a9bb661563e0150192ba6e8416d59197ba9e526de4
https://github.com/microsoft/durabletask-python/pull/338/files#diff-fefe40ff3b1e0072b38d67a9bb661563e0150192ba6e8416d59197ba9e526de4
https://github.com/microsoft/durabletask-python/pull/338/files#diff-fefe40ff3b1e0072b38d67a9bb661563e0150192ba6e8416d59197ba9e526de4
https://github.com/microsoft/durabletask-python/pull/338/files#diff-fefe40ff3b1e0072b38d67a9bb661563e0150192ba6e8416d59197ba9e526de4
https://github.com/microsoft/durabletask-python/pull/338/files#diff-fefe40ff3b1e0072b38d67a9bb661563e0150192ba6e8416d59197ba9e526de4
https://github.com/microsoft/durabletask-python/pull/338/files#diff-fefe40ff3b1e0072b38d67a9bb661563e0150192ba6e8416d59197ba9e526de4
azure-functions-durable/azure/durable_functions/http/models.pyhttps://github.com/microsoft/durabletask-python/pull/338/files#diff-1480cb8886842a13e2ad7f2f7685f4b17d28d89c71ef7c74293f36817ae0c1d1
View file https://github.com/microsoft/durabletask-python/blob/5ac55ff41bb68ad3f79bd5ef42f24170c051061c/azure-functions-durable/azure/durable_functions/http/models.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/338/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/338/files#diff-1480cb8886842a13e2ad7f2f7685f4b17d28d89c71ef7c74293f36817ae0c1d1
https://github.com/microsoft/durabletask-python/pull/338/files#diff-1480cb8886842a13e2ad7f2f7685f4b17d28d89c71ef7c74293f36817ae0c1d1
https://github.com/microsoft/durabletask-python/pull/338/files#diff-1480cb8886842a13e2ad7f2f7685f4b17d28d89c71ef7c74293f36817ae0c1d1
https://github.com/microsoft/durabletask-python/pull/338/files#diff-1480cb8886842a13e2ad7f2f7685f4b17d28d89c71ef7c74293f36817ae0c1d1
https://github.com/microsoft/durabletask-python/pull/338/files#diff-1480cb8886842a13e2ad7f2f7685f4b17d28d89c71ef7c74293f36817ae0c1d1
azure-functions-durable/azure/durable_functions/internal/compat/orchestration_context.pyhttps://github.com/microsoft/durabletask-python/pull/338/files#diff-f16988a86dd6eebf3fcb8b717b74145fe00ef74369cf46e6e66b6f4cf82ee2d3
View file https://github.com/microsoft/durabletask-python/blob/5ac55ff41bb68ad3f79bd5ef42f24170c051061c/azure-functions-durable/azure/durable_functions/internal/compat/orchestration_context.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/338/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/338/files#diff-f16988a86dd6eebf3fcb8b717b74145fe00ef74369cf46e6e66b6f4cf82ee2d3
https://github.com/microsoft/durabletask-python/pull/338/files#diff-f16988a86dd6eebf3fcb8b717b74145fe00ef74369cf46e6e66b6f4cf82ee2d3
https://github.com/microsoft/durabletask-python/pull/338/files#diff-f16988a86dd6eebf3fcb8b717b74145fe00ef74369cf46e6e66b6f4cf82ee2d3
https://github.com/microsoft/durabletask-python/pull/338/files#diff-f16988a86dd6eebf3fcb8b717b74145fe00ef74369cf46e6e66b6f4cf82ee2d3
https://github.com/microsoft/durabletask-python/pull/338/files#diff-f16988a86dd6eebf3fcb8b717b74145fe00ef74369cf46e6e66b6f4cf82ee2d3
https://github.com/microsoft/durabletask-python/pull/338/files#diff-f16988a86dd6eebf3fcb8b717b74145fe00ef74369cf46e6e66b6f4cf82ee2d3
https://github.com/microsoft/durabletask-python/pull/338/files#diff-f16988a86dd6eebf3fcb8b717b74145fe00ef74369cf46e6e66b6f4cf82ee2d3
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/338/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/338/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.