René's URL Explorer Experiment


Title: Prevent timer callbacks after orchestration completion by andystaples · Pull Request #280 · microsoft/durabletask-python · GitHub

Open Graph Title: Prevent timer callbacks after orchestration completion by andystaples · Pull Request #280 · microsoft/durabletask-python

X Title: Prevent timer callbacks after orchestration completion by andystaples · Pull Request #280 · microsoft/durabletask-python

Description: Summary Fixes #275. Guard timerFired callbacks once the orchestration context is terminal. A later timer event can no longer schedule another long-timer chunk, dispatch an activity/sub-orchestration retry, or resume suspended orchestrator code after completion, failure, termination, or continue-as-new. The guard is local to the timer callback, after task lookup and timer tracing. It does not break the history loop, change external-event handling, clear pending actions, or remove legitimate work scheduled before the terminal state. No Go coroutine-unwind/defer machinery is introduced; #274, #276, and #277 are intentionally out of scope. Core and Azure Functions use chunked long timers. Azure Managed disables chunking because DTS supports native long timers; it benefits from the same terminal guard for retry dispatch and generator resumption, not a default chunk-continuation fix. All three Unreleased changelogs reflect this distinction. No versions or dependency minimums are changed; provider release coordination waits for the corrected core release. Regression coverage Completion, unhandled exceptions, output-serialization failure, termination, and continue-as-new, including a terminal transition in replayed history. Trailing carryover events remain processed after the ignored timer callback. Short/final timer callbacks cannot resume terminal orchestrators. Activity and sub-orchestration retry callbacks with chunked and native timers; active retries still progress. Ordinary multi-chunk progression, late cancellation, cancellation of a newly scheduled chunk, and preservation of pre-terminal timer/send-event actions. Azure Functions worker response through both native and compatibility APIs.

Open Graph Description: Summary Fixes #275. Guard timerFired callbacks once the orchestration context is terminal. A later timer event can no longer schedule another long-timer chunk, dispatch an activity/sub-orchestratio...

X Description: Summary Fixes #275. Guard timerFired callbacks once the orchestration context is terminal. A later timer event can no longer schedule another long-timer chunk, dispatch an activity/sub-orchestratio...

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

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:0f54c726-2ba1-7855-15c8-2e7fefae34b1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE652:243232:3723EA:4BB959:6AFE2E48
html-safe-nonce7f6d7a13d696bac92a690d63f73b873e74710388237959ad1038d359379933ad
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjUyOjI0MzIzMjozNzIzRUE6NEJCOTU5OjZBRkUyRTQ4IiwidmlzaXRvcl9pZCI6IjYzNTMzNDAwNzI0MzkxOTcyNTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac97634e659837095e0809b975e0e52219a12f70595a2eba0ce0fbe8c7987955e6
hovercard-subject-tagpull_request:4680704712
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/280/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 Fixes #275. Guard timerFired callbacks once the orchestration context is terminal. A later timer event can no longer schedule another long-timer chunk, dispatch an activity/sub-orchestratio...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee973f9ec3625f3faad8cac5c2d11a214b7ffe45f3cc563b828459b290ecaeed3
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
release1f92c367595b9190e0be293896078033886b1913
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/durabletask-python/pull/280/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-python%2Fpull%2F280%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%2F280%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/280/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/280/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/280/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-prevent-timer-chunks-after-orchestrationhttps://github.com/microsoft/durabletask-python/tree/andystaples-prevent-timer-chunks-after-orchestration
Conversation 2 https://github.com/microsoft/durabletask-python/pull/280
Commits 2 https://github.com/microsoft/durabletask-python/pull/280/commits
Checks 24 https://github.com/microsoft/durabletask-python/pull/280/checks
Files changed https://github.com/microsoft/durabletask-python/pull/280/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/280/files
Prevent timer callbacks after orchestration completion https://github.com/microsoft/durabletask-python/pull/280/files#top
Show all changes 2 commits https://github.com/microsoft/durabletask-python/pull/280/files
4a5e6b3 Prevent timer callbacks after orchestration completion andystaples Sep 29, 2026 https://github.com/microsoft/durabletask-python/pull/280/commits/4a5e6b35c8b83bda79acc88dee79a06006f75002
546606f Merge branch 'main' into andystaples-prevent-timer-chunks-after-orche… andystaples Oct 1, 2026 https://github.com/microsoft/durabletask-python/pull/280/commits/546606fa3e5333e30b22dd93552173995299d784
Clear filters https://github.com/microsoft/durabletask-python/pull/280/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/280/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/280/files
CHANGELOG.md https://github.com/microsoft/durabletask-python/pull/280/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
CHANGELOG.md https://github.com/microsoft/durabletask-python/pull/280/files#diff-5238e244f2c6b5bd4ede65c19a2cd928c40ff1a5c28bf1979651e8fe1db1a6d2
CHANGELOG.md https://github.com/microsoft/durabletask-python/pull/280/files#diff-1d1ece375471f083a849ea1b601985661b8bd8e7017fdb7fd5d10e02c4ca69f6
worker.py https://github.com/microsoft/durabletask-python/pull/280/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
test_worker_compat.py https://github.com/microsoft/durabletask-python/pull/280/files#diff-c1e9352e0d163ff9852246865936509240b49781a1ba7b85895c0ba9d797c997
test_orchestration_executor.py https://github.com/microsoft/durabletask-python/pull/280/files#diff-3d6b06ac4db653818f8956dc727c6b691775880aca64ddd2e3342c04b8ec0b8e
CHANGELOG.mdhttps://github.com/microsoft/durabletask-python/pull/280/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/microsoft/durabletask-python/blob/546606fa3e5333e30b22dd93552173995299d784/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/280/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/280/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/microsoft/durabletask-python/pull/280/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
azure-functions-durable/CHANGELOG.mdhttps://github.com/microsoft/durabletask-python/pull/280/files#diff-5238e244f2c6b5bd4ede65c19a2cd928c40ff1a5c28bf1979651e8fe1db1a6d2
View file https://github.com/microsoft/durabletask-python/blob/546606fa3e5333e30b22dd93552173995299d784/azure-functions-durable/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/280/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/280/files#diff-5238e244f2c6b5bd4ede65c19a2cd928c40ff1a5c28bf1979651e8fe1db1a6d2
https://github.com/microsoft/durabletask-python/pull/280/files#diff-5238e244f2c6b5bd4ede65c19a2cd928c40ff1a5c28bf1979651e8fe1db1a6d2
durabletask-azuremanaged/CHANGELOG.mdhttps://github.com/microsoft/durabletask-python/pull/280/files#diff-1d1ece375471f083a849ea1b601985661b8bd8e7017fdb7fd5d10e02c4ca69f6
View file https://github.com/microsoft/durabletask-python/blob/546606fa3e5333e30b22dd93552173995299d784/durabletask-azuremanaged/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/280/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/280/files#diff-1d1ece375471f083a849ea1b601985661b8bd8e7017fdb7fd5d10e02c4ca69f6
https://github.com/microsoft/durabletask-python/pull/280/files#diff-1d1ece375471f083a849ea1b601985661b8bd8e7017fdb7fd5d10e02c4ca69f6
durabletask/worker.pyhttps://github.com/microsoft/durabletask-python/pull/280/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
View file https://github.com/microsoft/durabletask-python/blob/546606fa3e5333e30b22dd93552173995299d784/durabletask/worker.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/280/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/280/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/280/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
tests/azure-functions-durable/test_worker_compat.pyhttps://github.com/microsoft/durabletask-python/pull/280/files#diff-c1e9352e0d163ff9852246865936509240b49781a1ba7b85895c0ba9d797c997
View file https://github.com/microsoft/durabletask-python/blob/546606fa3e5333e30b22dd93552173995299d784/tests/azure-functions-durable/test_worker_compat.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/280/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/280/files#diff-c1e9352e0d163ff9852246865936509240b49781a1ba7b85895c0ba9d797c997
https://github.com/microsoft/durabletask-python/pull/280/files#diff-c1e9352e0d163ff9852246865936509240b49781a1ba7b85895c0ba9d797c997
https://github.com/microsoft/durabletask-python/pull/280/files#diff-c1e9352e0d163ff9852246865936509240b49781a1ba7b85895c0ba9d797c997
https://github.com/microsoft/durabletask-python/pull/280/files#diff-c1e9352e0d163ff9852246865936509240b49781a1ba7b85895c0ba9d797c997
https://github.com/microsoft/durabletask-python/pull/280/files#diff-c1e9352e0d163ff9852246865936509240b49781a1ba7b85895c0ba9d797c997
tests/durabletask/test_orchestration_executor.pyhttps://github.com/microsoft/durabletask-python/pull/280/files#diff-3d6b06ac4db653818f8956dc727c6b691775880aca64ddd2e3342c04b8ec0b8e
View file https://github.com/microsoft/durabletask-python/blob/546606fa3e5333e30b22dd93552173995299d784/tests/durabletask/test_orchestration_executor.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/280/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/280/files#diff-3d6b06ac4db653818f8956dc727c6b691775880aca64ddd2e3342c04b8ec0b8e
https://github.com/microsoft/durabletask-python/pull/280/files#diff-3d6b06ac4db653818f8956dc727c6b691775880aca64ddd2e3342c04b8ec0b8e
https://github.com/microsoft/durabletask-python/pull/280/files#diff-3d6b06ac4db653818f8956dc727c6b691775880aca64ddd2e3342c04b8ec0b8e
https://github.com/microsoft/durabletask-python/pull/280/files#diff-3d6b06ac4db653818f8956dc727c6b691775880aca64ddd2e3342c04b8ec0b8e
https://github.com/microsoft/durabletask-python/pull/280/files#diff-3d6b06ac4db653818f8956dc727c6b691775880aca64ddd2e3342c04b8ec0b8e
https://github.com/microsoft/durabletask-python/pull/280/files#diff-3d6b06ac4db653818f8956dc727c6b691775880aca64ddd2e3342c04b8ec0b8e
https://github.com/microsoft/durabletask-python/pull/280/files#diff-3d6b06ac4db653818f8956dc727c6b691775880aca64ddd2e3342c04b8ec0b8e
https://github.com/microsoft/durabletask-python/pull/280/files#diff-3d6b06ac4db653818f8956dc727c6b691775880aca64ddd2e3342c04b8ec0b8e
https://github.com/microsoft/durabletask-python/pull/280/files#diff-3d6b06ac4db653818f8956dc727c6b691775880aca64ddd2e3342c04b8ec0b8e
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/280/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.