René's URL Explorer Experiment


Title: Fix replay determinism for retry timeouts by andystaples · Pull Request #326 · microsoft/durabletask-python · GitHub

Open Graph Title: Fix replay determinism for retry timeouts by andystaples · Pull Request #326 · microsoft/durabletask-python

X Title: Fix replay determinism for retry timeouts by andystaples · Pull Request #326 · microsoft/durabletask-python

Description: Summary Activity and sub-orchestration retry timeout decisions now use the orchestration's replay-safe logical clock instead of wall-clock time. Replaying a historical failure after the real-time deadline no longer incorrectly suppresses its retry. RetryableTask.compute_next_delay() accepts an optional current timestamp, normalizes timezone-aware inputs to UTC, and treats naive inputs as UTC. Direct calls without a timestamp retain their wall-clock fallback. Retry attempt limits, backoff, interval caps, and the existing expiration boundary are preserved; an absent timeout remains unbounded. Regression coverage exercises activity and sub-orchestration history replay, recorded retry timers through successful completion, deadline boundaries, timezone offsets, and calls without an explicit timestamp. Upgrade and release coordination Histories that recorded timeout failures based on wall-clock time can replay differently under the corrected behavior, including orchestrations that caught those failures. Drain affected instances on the previous SDK before upgrading. This change does not recover already-failed instances. The core, Azure Managed, and Azure Functions changelogs document the fix. Provider versions and dependency minimums remain unchanged; coordinate provider releases after the corrected core SDK is released. Fixes #316

Open Graph Description: Summary Activity and sub-orchestration retry timeout decisions now use the orchestration's replay-safe logical clock instead of wall-clock time. Replaying a historical failure after the real-ti...

X Description: Summary Activity and sub-orchestration retry timeout decisions now use the orchestration's replay-safe logical clock instead of wall-clock time. Replaying a historical failure after the rea...

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

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:20dfc90b-2b82-a2d4-0103-2d925fb979ea
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id96F8:2836FB:42525:55275:6AFE2F04
html-safe-nonceb0234c06881f50240c32fd817a12ef282384d651bad180a430fbd701528c6602
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkY4OjI4MzZGQjo0MjUyNTo1NTI3NTo2QUZFMkYwNCIsInZpc2l0b3JfaWQiOiI4NjM5NjAxMDcxNjE5OTc2OTY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6486da2ae47a6d4df7b09863c983679f466e9ba31615207d6b56acc48f75ee6d
hovercard-subject-tagpull_request:5126045643
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/326/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:altSummary Activity and sub-orchestration retry timeout decisions now use the orchestration's replay-safe logical clock instead of wall-clock time. Replaying a historical failure after the real-ti...
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/326/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-python%2Fpull%2F326%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%2F326%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/326/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/326/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/326/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-retry-timeout-determinismhttps://github.com/microsoft/durabletask-python/tree/andystaples-retry-timeout-determinism
Conversation 4 https://github.com/microsoft/durabletask-python/pull/326
Commits 6 https://github.com/microsoft/durabletask-python/pull/326/commits
Checks 25 https://github.com/microsoft/durabletask-python/pull/326/checks
Files changed https://github.com/microsoft/durabletask-python/pull/326/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/326/files
Fix replay determinism for retry timeouts https://github.com/microsoft/durabletask-python/pull/326/files#top
Show all changes 6 commits https://github.com/microsoft/durabletask-python/pull/326/files
15b4e29 Fix replay determinism for retry timeouts andystaples Nov 2, 2026 https://github.com/microsoft/durabletask-python/pull/326/commits/15b4e29b3f16fb560843e44d2cd77597c1a971ce
4b24663 Align timeout E2E expectations with replay-safe retry decisions andystaples Nov 2, 2026 https://github.com/microsoft/durabletask-python/pull/326/commits/4b246630448f7b6ee3240a5935ca0d50ca4ad541
fdb27bf Merge latest main into retry timeout fix andystaples Nov 3, 2026 https://github.com/microsoft/durabletask-python/pull/326/commits/fdb27bf029dd9fb24021e2c70d7b3a7066fdaded
9ac49b4 Treat undefined datetime offsets as naive in retry calculations andystaples Nov 3, 2026 https://github.com/microsoft/durabletask-python/pull/326/commits/9ac49b4e46c34f21666c0495a162f10ee8d305e0
71832df Merge latest main and resolve changelog conflicts andystaples Nov 9, 2026 https://github.com/microsoft/durabletask-python/pull/326/commits/71832df94174c350e9ff884558cf99376a19ac70
d44f7f7 Merge latest main and preserve unreleased changelog entries andystaples Nov 10, 2026 https://github.com/microsoft/durabletask-python/pull/326/commits/d44f7f7564344e7848caf5dd7278aa0fa9a3b3d7
Clear filters https://github.com/microsoft/durabletask-python/pull/326/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/326/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/326/files
CHANGELOG.md https://github.com/microsoft/durabletask-python/pull/326/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
CHANGELOG.md https://github.com/microsoft/durabletask-python/pull/326/files#diff-5238e244f2c6b5bd4ede65c19a2cd928c40ff1a5c28bf1979651e8fe1db1a6d2
CHANGELOG.md https://github.com/microsoft/durabletask-python/pull/326/files#diff-1d1ece375471f083a849ea1b601985661b8bd8e7017fdb7fd5d10e02c4ca69f6
task.py https://github.com/microsoft/durabletask-python/pull/326/files#diff-36492640add0941ee3934088b514e433cd929fa6120e74f93e37e5484bfe7981
worker.py https://github.com/microsoft/durabletask-python/pull/326/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
test_dts_async_orchestration_e2e.py https://github.com/microsoft/durabletask-python/pull/326/files#diff-e1b51e1aad7b98cf6143615f1d6cf5a29d843e5ce056e5eee3718a3178595a9f
test_dts_orchestration_e2e.py https://github.com/microsoft/durabletask-python/pull/326/files#diff-0e35b16d11de336eb2c30de3a819ed9b3957b287944aa227584be4880d0cb84f
test_orchestration_e2e.py https://github.com/microsoft/durabletask-python/pull/326/files#diff-6ae562d267fbf26f56954bd573fc0bf9f305a0c6987c8afad685ee560f8fe70b
test_retry_timeout.py https://github.com/microsoft/durabletask-python/pull/326/files#diff-dd3b28e649b221f035b1bb8eebab92ca0a87a7d0f43f83c05348741dfdd14ce5
CHANGELOG.mdhttps://github.com/microsoft/durabletask-python/pull/326/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/microsoft/durabletask-python/blob/d44f7f7564344e7848caf5dd7278aa0fa9a3b3d7/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/326/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/326/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/microsoft/durabletask-python/pull/326/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
azure-functions-durable/CHANGELOG.mdhttps://github.com/microsoft/durabletask-python/pull/326/files#diff-5238e244f2c6b5bd4ede65c19a2cd928c40ff1a5c28bf1979651e8fe1db1a6d2
View file https://github.com/microsoft/durabletask-python/blob/d44f7f7564344e7848caf5dd7278aa0fa9a3b3d7/azure-functions-durable/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/326/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/326/files#diff-5238e244f2c6b5bd4ede65c19a2cd928c40ff1a5c28bf1979651e8fe1db1a6d2
https://github.com/microsoft/durabletask-python/pull/326/files#diff-5238e244f2c6b5bd4ede65c19a2cd928c40ff1a5c28bf1979651e8fe1db1a6d2
durabletask-azuremanaged/CHANGELOG.mdhttps://github.com/microsoft/durabletask-python/pull/326/files#diff-1d1ece375471f083a849ea1b601985661b8bd8e7017fdb7fd5d10e02c4ca69f6
View file https://github.com/microsoft/durabletask-python/blob/d44f7f7564344e7848caf5dd7278aa0fa9a3b3d7/durabletask-azuremanaged/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/326/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/326/files#diff-1d1ece375471f083a849ea1b601985661b8bd8e7017fdb7fd5d10e02c4ca69f6
https://github.com/microsoft/durabletask-python/pull/326/files#diff-1d1ece375471f083a849ea1b601985661b8bd8e7017fdb7fd5d10e02c4ca69f6
durabletask/task.pyhttps://github.com/microsoft/durabletask-python/pull/326/files#diff-36492640add0941ee3934088b514e433cd929fa6120e74f93e37e5484bfe7981
View file https://github.com/microsoft/durabletask-python/blob/d44f7f7564344e7848caf5dd7278aa0fa9a3b3d7/durabletask/task.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/326/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/326/files#diff-36492640add0941ee3934088b514e433cd929fa6120e74f93e37e5484bfe7981
https://github.com/microsoft/durabletask-python/pull/326/files#diff-36492640add0941ee3934088b514e433cd929fa6120e74f93e37e5484bfe7981
durabletask/worker.pyhttps://github.com/microsoft/durabletask-python/pull/326/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
View file https://github.com/microsoft/durabletask-python/blob/d44f7f7564344e7848caf5dd7278aa0fa9a3b3d7/durabletask/worker.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/326/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/326/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/326/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/326/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/326/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
tests/durabletask-azuremanaged/test_dts_async_orchestration_e2e.pyhttps://github.com/microsoft/durabletask-python/pull/326/files#diff-e1b51e1aad7b98cf6143615f1d6cf5a29d843e5ce056e5eee3718a3178595a9f
View file https://github.com/microsoft/durabletask-python/blob/d44f7f7564344e7848caf5dd7278aa0fa9a3b3d7/tests/durabletask-azuremanaged/test_dts_async_orchestration_e2e.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/326/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/326/files#diff-e1b51e1aad7b98cf6143615f1d6cf5a29d843e5ce056e5eee3718a3178595a9f
https://github.com/microsoft/durabletask-python/pull/326/files#diff-e1b51e1aad7b98cf6143615f1d6cf5a29d843e5ce056e5eee3718a3178595a9f
https://github.com/microsoft/durabletask-python/pull/326/files#diff-e1b51e1aad7b98cf6143615f1d6cf5a29d843e5ce056e5eee3718a3178595a9f
https://github.com/microsoft/durabletask-python/pull/326/files#diff-e1b51e1aad7b98cf6143615f1d6cf5a29d843e5ce056e5eee3718a3178595a9f
tests/durabletask-azuremanaged/test_dts_orchestration_e2e.pyhttps://github.com/microsoft/durabletask-python/pull/326/files#diff-0e35b16d11de336eb2c30de3a819ed9b3957b287944aa227584be4880d0cb84f
View file https://github.com/microsoft/durabletask-python/blob/d44f7f7564344e7848caf5dd7278aa0fa9a3b3d7/tests/durabletask-azuremanaged/test_dts_orchestration_e2e.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/326/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/326/files#diff-0e35b16d11de336eb2c30de3a819ed9b3957b287944aa227584be4880d0cb84f
https://github.com/microsoft/durabletask-python/pull/326/files#diff-0e35b16d11de336eb2c30de3a819ed9b3957b287944aa227584be4880d0cb84f
https://github.com/microsoft/durabletask-python/pull/326/files#diff-0e35b16d11de336eb2c30de3a819ed9b3957b287944aa227584be4880d0cb84f
https://github.com/microsoft/durabletask-python/pull/326/files#diff-0e35b16d11de336eb2c30de3a819ed9b3957b287944aa227584be4880d0cb84f
tests/durabletask/test_orchestration_e2e.pyhttps://github.com/microsoft/durabletask-python/pull/326/files#diff-6ae562d267fbf26f56954bd573fc0bf9f305a0c6987c8afad685ee560f8fe70b
View file https://github.com/microsoft/durabletask-python/blob/d44f7f7564344e7848caf5dd7278aa0fa9a3b3d7/tests/durabletask/test_orchestration_e2e.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/326/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/326/files#diff-6ae562d267fbf26f56954bd573fc0bf9f305a0c6987c8afad685ee560f8fe70b
https://github.com/microsoft/durabletask-python/pull/326/files#diff-6ae562d267fbf26f56954bd573fc0bf9f305a0c6987c8afad685ee560f8fe70b
https://github.com/microsoft/durabletask-python/pull/326/files#diff-6ae562d267fbf26f56954bd573fc0bf9f305a0c6987c8afad685ee560f8fe70b
tests/durabletask/test_retry_timeout.pyhttps://github.com/microsoft/durabletask-python/pull/326/files#diff-dd3b28e649b221f035b1bb8eebab92ca0a87a7d0f43f83c05348741dfdd14ce5
View file https://github.com/microsoft/durabletask-python/blob/d44f7f7564344e7848caf5dd7278aa0fa9a3b3d7/tests/durabletask/test_retry_timeout.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/326/{{ revealButtonHref }}
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/326/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.