René's URL Explorer Experiment


Title: Prevent long timers from scheduling another chunk after orchestration completion · Issue #275 · microsoft/durabletask-python · GitHub

Open Graph Title: Prevent long timers from scheduling another chunk after orchestration completion · Issue #275 · microsoft/durabletask-python

X Title: Prevent long timers from scheduling another chunk after orchestration completion · Issue #275 · microsoft/durabletask-python

Description: Bug A long timer that loses a when_any race can schedule another chunk after the orchestration has completed when its current chunk fires later in the same history batch. Confirmed on Python commit ec9af14. This corresponds to the long-t...

Open Graph Description: Bug A long timer that loses a when_any race can schedule another chunk after the orchestration has completed when its current chunk fires later in the same history batch. Confirmed on Python commit...

X Description: Bug A long timer that loses a when_any race can schedule another chunk after the orchestration has completed when its current chunk fires later in the same history batch. Confirmed on Python commit...

Opengraph URL: https://github.com/microsoft/durabletask-python/issues/275

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Prevent long timers from scheduling another chunk after orchestration completion","articleBody":"## Bug\n\nA long timer that loses a `when_any` race can schedule another chunk after the orchestration has completed when its current chunk fires later in the same history batch.\n\nConfirmed on Python commit ec9af14386ba737f3598e33867ba080f99b3d5e1. This corresponds to the long-timer portion of microsoft/durabletask-go#164, not its Go-specific forced coroutine unload/defer mechanism.\n\n## Reproduction\n\n```python\ndef orchestrator(ctx, _):\n    event = ctx.wait_for_external_event(\"done\")\n    timer = ctx.create_timer(timedelta(days=10))\n    yield task.when_any([event, timer])\n    return \"done\"\n```\n\nWith the default three-day timer chunk, replay the initial execution and timer creation. Process a new batch containing `eventRaised(\"done\", true)` followed by the first chunk's `timerFired`.\n\n**Actual:** executor emits `[completeOrchestration, createTimer]`; the new chunk is emitted after completion.\n\n**Expected:** no further long-timer chunk is scheduled after terminal completion.\n\n## Relevant code and scope\n\n`durabletask/worker.py`: `_OrchestrationExecutor.process_event`, especially the `timerFired` path and `_handle_timer_fired` result handling. Shared by core, Azure Managed, and this repository's Azure Functions provider.\n\nFix lifecycle gating precisely and preserve ordinary multi-chunk progression, cancellation, replay, retries, and legitimate pre-completion work. Add regression cases for relevant terminal states. Do not port Go coroutine-unwind machinery: Python's execution model differs.\n\nAdd applicable Unreleased changelog entries. No emulator/live-service dispatch claim is made; the invalid post-completion action output was reproduced locally.","author":{"url":"https://github.com/andystaples","@type":"Person","name":"andystaples"},"datePublished":"2026-09-29T17:41:19Z","url":"https://github.com/microsoft/durabletask-python/issues/275"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f59cad98-1a46-81cd-a223-fff5c3a23c62
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9966:30F342:CA6FA2:11B9739:6AFE2CEF
html-safe-nonce7878673d2ee5ce5b46d31f6d1d513bbb68bbfb1ced4edc19ff26311fd118a6d1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTY2OjMwRjM0MjpDQTZGQTI6MTFCOTczOTo2QUZFMkNFRiIsInZpc2l0b3JfaWQiOiIzNDk0MTU4MTc3MTY1NzgyMjU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaceff255177854247def99bfe1e5cace44f3e67042cb392f1d9dbe6a328e4f71ab
hovercard-subject-tagissue:5634594683
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/durabletask-python/275/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1d51fe439c2464147cc67e21d2b027e61fe0a5cc77a37eb4c05c968644563566/microsoft/durabletask-python/issues/275
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1d51fe439c2464147cc67e21d2b027e61fe0a5cc77a37eb4c05c968644563566/microsoft/durabletask-python/issues/275
og:image:altBug A long timer that loses a when_any race can schedule another chunk after the orchestration has completed when its current chunk fires later in the same history batch. Confirmed on Python commit...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameandystaples
hostnamegithub.com
expected-hostnamegithub.com
Nonee973f9ec3625f3faad8cac5c2d11a214b7ffe45f3cc563b828459b290ecaeed3
turbo-cache-controlno-preview
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
disable-turbofalse
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
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/durabletask-python/issues/275#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-python%2Fissues%2F275
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%2Fissues%2F275
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fdurabletask-python
Reloadhttps://github.com/microsoft/durabletask-python/issues/275
Reloadhttps://github.com/microsoft/durabletask-python/issues/275
Reloadhttps://github.com/microsoft/durabletask-python/issues/275
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
https://github.com/microsoft/durabletask-python
New issuehttps://github.com/login?return_to=https://github.com/microsoft/durabletask-python/issues/275
New issuehttps://github.com/login?return_to=https://github.com/microsoft/durabletask-python/issues/275
#280https://github.com/microsoft/durabletask-python/pull/280
Prevent long timers from scheduling another chunk after orchestration completionhttps://github.com/microsoft/durabletask-python/issues/275#top
#280https://github.com/microsoft/durabletask-python/pull/280
https://github.com/andystaples
andystapleshttps://github.com/andystaples
on Sep 29, 2026https://github.com/microsoft/durabletask-python/issues/275#issue-5634594683
ec9af14https://github.com/microsoft/durabletask-python/commit/ec9af14386ba737f3598e33867ba080f99b3d5e1
microsoft/durabletask-go#164https://github.com/microsoft/durabletask-go/pull/164
Bernd Verst (berndverst)https://github.com/berndverst
completedhttps://github.com/microsoft/durabletask-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#280https://github.com/microsoft/durabletask-python/pull/280
on Oct 2, 2026https://github.com/microsoft/durabletask-python/issues/275#event-32300799263
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/durabletask-python/issues/275
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/durabletask-python/issues/275
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.