René's URL Explorer Experiment


Title: Fix durabletask issues surfaced during Azure Functions investigation by andystaples · Pull Request #174 · microsoft/durabletask-python · GitHub

Open Graph Title: Fix durabletask issues surfaced during Azure Functions investigation by andystaples · Pull Request #174 · microsoft/durabletask-python

X Title: Fix durabletask issues surfaced during Azure Functions investigation by andystaples · Pull Request #174 · microsoft/durabletask-python

Description: Summary While building out Azure Functions support, several pre-existing issues in the core durabletask SDK were surfaced. This PR splits those fixes out into a dedicated, self-contained change so they can be reviewed independently of the larger Functions work. Fixes (durabletask/worker.py) Timer timezone bug — Timers created with a timezone-aware fire_at were compared against the orchestration's naive UTC clock, which could cause them to fire at the wrong time. Timezone-aware fire times are now normalized to naive UTC before scheduling. Orchestration version presence check — Replaced a truthiness check on executionStarted.version with HasField("version"). A singular protobuf message field is always truthy, so the version was being set on OrchestrationContext even when none was provided. genericEvent handling — Replaying a genericEvent history event (for example, the marker the Durable Functions extension appends when rewinding an orchestration) raised OrchestrationStateError. Such informational events are now ignored during replay, matching the .NET worker. Lock-granted entity events — Over the legacy entity protocol, a lock-granted response attempted to deserialize an empty operation result and raised. Lock-granted events no longer attempt result deserialization. Additions Task.result — New read-only property aliasing Task.get_result() (durabletask/task.py). bind_context / clear_context — Now exported from durabletask.extensions.history_export for managing the ambient history-export context. Serialization robustness (default wire format unchanged) ScheduleState.from_json gains an optional converter parameter plus a _rebuild_configuration helper so the nested ScheduleConfiguration round-trips under alternate converters (durabletask/scheduled/models.py). ScheduleOperationRequest gains explicit to_json / from_json hooks, mirroring the plain dataclass field mapping so the wire format is unchanged for the default JSON converter while remaining serializable by converters that require an explicit hook (durabletask/scheduled/orchestrator.py). Validation Pylance clean; flake8 clean on all changed files. CHANGELOG.md updated with ADDED / FIXED entries for the user-facing changes. Full core test suite: 734 passed, 9 skipped.

Open Graph Description: Summary While building out Azure Functions support, several pre-existing issues in the core durabletask SDK were surfaced. This PR splits those fixes out into a dedicated, self-contained change so ...

X Description: Summary While building out Azure Functions support, several pre-existing issues in the core durabletask SDK were surfaced. This PR splits those fixes out into a dedicated, self-contained change so ...

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

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:23dd3fd9-cda5-06bf-b528-8802ecef65c4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD696:2D9CF4:20E91A:2B198E:6AFE590F
html-safe-nonce4a371d3f069f1d54d6de615f20c11fa2b0ba28ec350583e01cf6c06cfc05450a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjk2OjJEOUNGNDoyMEU5MUE6MkIxOThFOjZBRkU1OTBGIiwidmlzaXRvcl9pZCI6IjIxMjc3NzAxNTM2MzMzMzk2NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc884a9f12c1ab0b79e00dab3661197a65dff8b65eace607ccb14a215983d3b53
hovercard-subject-tagpull_request:4054508015
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/174/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 While building out Azure Functions support, several pre-existing issues in the core durabletask SDK were surfaced. This PR splits those fixes out into a dedicated, self-contained change so ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
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
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/durabletask-python/pull/174/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-python%2Fpull%2F174%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%2F174%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/174/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/174/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/174/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
andystapleshttps://github.com/andystaples
microsoft:mainhttps://github.com/microsoft/durabletask-python/tree/main
andystaples:andystaples/durabletask-fixes-from-functions-investigationhttps://github.com/andystaples/durabletask-python/tree/andystaples/durabletask-fixes-from-functions-investigation
Conversation 2 https://github.com/microsoft/durabletask-python/pull/174
Commits 2 https://github.com/microsoft/durabletask-python/pull/174/commits
Checks 17 https://github.com/microsoft/durabletask-python/pull/174/checks
Files changed https://github.com/microsoft/durabletask-python/pull/174/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/174/files
Fix durabletask issues surfaced during Azure Functions investigation https://github.com/microsoft/durabletask-python/pull/174/files#top
Show all changes 2 commits https://github.com/microsoft/durabletask-python/pull/174/files
a6cf7e8 Apply durabletask fixes surfaced during Azure Functions investigation andystaples Jul 14, 2026 https://github.com/microsoft/durabletask-python/pull/174/commits/a6cf7e811c7241dc5d9491209f8cd96a1e565490
2bf030e Use utcoffset() to detect truly-aware timer fire_at (PR review) andystaples Jul 14, 2026 https://github.com/microsoft/durabletask-python/pull/174/commits/2bf030e37150ca2fff337d985b0ec96aa5c9bbc3
Clear filters https://github.com/microsoft/durabletask-python/pull/174/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/174/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/174/files
CHANGELOG.md https://github.com/microsoft/durabletask-python/pull/174/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
__init__.py https://github.com/microsoft/durabletask-python/pull/174/files#diff-051600ba2467389dd1aa686c093fc551a36dcba46277a47e4f1299d1bd772e56
models.py https://github.com/microsoft/durabletask-python/pull/174/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
orchestrator.py https://github.com/microsoft/durabletask-python/pull/174/files#diff-df59f127f9a780cb96f98ce67b53e7282117647c3d524ca7661ba847d43c8ff8
task.py https://github.com/microsoft/durabletask-python/pull/174/files#diff-36492640add0941ee3934088b514e433cd929fa6120e74f93e37e5484bfe7981
worker.py https://github.com/microsoft/durabletask-python/pull/174/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
CHANGELOG.mdhttps://github.com/microsoft/durabletask-python/pull/174/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/andystaples/durabletask-python/blob/2bf030e37150ca2fff337d985b0ec96aa5c9bbc3/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/174/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/174/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/microsoft/durabletask-python/pull/174/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
durabletask/extensions/history_export/__init__.pyhttps://github.com/microsoft/durabletask-python/pull/174/files#diff-051600ba2467389dd1aa686c093fc551a36dcba46277a47e4f1299d1bd772e56
View file https://github.com/andystaples/durabletask-python/blob/2bf030e37150ca2fff337d985b0ec96aa5c9bbc3/durabletask/extensions/history_export/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/174/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/174/files#diff-051600ba2467389dd1aa686c093fc551a36dcba46277a47e4f1299d1bd772e56
https://github.com/microsoft/durabletask-python/pull/174/files#diff-051600ba2467389dd1aa686c093fc551a36dcba46277a47e4f1299d1bd772e56
https://github.com/microsoft/durabletask-python/pull/174/files#diff-051600ba2467389dd1aa686c093fc551a36dcba46277a47e4f1299d1bd772e56
durabletask/scheduled/models.pyhttps://github.com/microsoft/durabletask-python/pull/174/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
View file https://github.com/andystaples/durabletask-python/blob/2bf030e37150ca2fff337d985b0ec96aa5c9bbc3/durabletask/scheduled/models.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/174/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/174/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
https://github.com/microsoft/durabletask-python/pull/174/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
https://github.com/microsoft/durabletask-python/pull/174/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
https://github.com/microsoft/durabletask-python/pull/174/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
https://github.com/microsoft/durabletask-python/pull/174/files#diff-a7d0ad596b338830ccd99b3453c0082bb75968b791d83ef6550e6693e9ff45d6
durabletask/scheduled/orchestrator.pyhttps://github.com/microsoft/durabletask-python/pull/174/files#diff-df59f127f9a780cb96f98ce67b53e7282117647c3d524ca7661ba847d43c8ff8
View file https://github.com/andystaples/durabletask-python/blob/2bf030e37150ca2fff337d985b0ec96aa5c9bbc3/durabletask/scheduled/orchestrator.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/174/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/174/files#diff-df59f127f9a780cb96f98ce67b53e7282117647c3d524ca7661ba847d43c8ff8
https://github.com/microsoft/durabletask-python/pull/174/files#diff-df59f127f9a780cb96f98ce67b53e7282117647c3d524ca7661ba847d43c8ff8
durabletask/task.pyhttps://github.com/microsoft/durabletask-python/pull/174/files#diff-36492640add0941ee3934088b514e433cd929fa6120e74f93e37e5484bfe7981
View file https://github.com/andystaples/durabletask-python/blob/2bf030e37150ca2fff337d985b0ec96aa5c9bbc3/durabletask/task.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/174/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/174/files#diff-36492640add0941ee3934088b514e433cd929fa6120e74f93e37e5484bfe7981
https://github.com/microsoft/durabletask-python/pull/174/files#diff-36492640add0941ee3934088b514e433cd929fa6120e74f93e37e5484bfe7981
durabletask/worker.pyhttps://github.com/microsoft/durabletask-python/pull/174/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
View file https://github.com/andystaples/durabletask-python/blob/2bf030e37150ca2fff337d985b0ec96aa5c9bbc3/durabletask/worker.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/174/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/174/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/174/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/174/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/174/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/174/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/174/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/174/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/174/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/174/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/174/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/174/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.