René's URL Explorer Experiment


Title: Complete permanent payload failures with entity-lock cleanup by andystaples · Pull Request #306 · microsoft/durabletask-python · GitHub

Open Graph Title: Complete permanent payload failures with entity-lock cleanup by andystaples · Pull Request #306 · microsoft/durabletask-python

X Title: Complete permanent payload failures with entity-lock cleanup by andystaples · Pull Request #306 · microsoft/durabletask-python

Description: Summary Fixes #297. This is the middle layer of native stack 308 (#305 → #306 → #307). The preflight layer #305 is merged, and this PR now targets main. Convert only the SDK's configured payload-cap rejection into a small inline, non-retriable Failed orchestrator completion. The rejection remains a ValueError subtype; arbitrary storage ValueError, I/O failures, and cancellation are not classified as permanent. Preserve already-emitted entity releases and snapshot full outstanding release obligations before generator teardown, then submit releases before the terminal failure. Discard oversized actions/custom status without reusing the failing store or attaching unbounded exception properties/tracebacks. Keep ordinary unlock emission exactly compatible with historical release order/action IDs, including exits with pending entity calls. Missing held-lock releases remain separate and are used only when a new terminal failure needs full cleanup, even after an explicit exit in an earlier dispatch. Coverage and validation Native-worker regressions cover oversized terminal result, custom status, pending entity-call input, and continue-as-new input, with and without a prior completed entity call; assert owner/target/critical-section IDs, release order, original completion token, bounded response, and one non-retriable failure. In-memory backend regressions queue another caller behind two locks and prove it progresses after result/status/entity-call failures release them. Replay literal pre-change completed-call and pending-call timeout histories through later durable work without changing recorded action IDs. Also cover pre-lock completions before acquisition is granted, full cleanup immediately after normal exit and after replay of an already-committed unlock, emitted plus outstanding releases, transient/cancellation propagation, and sync/async token idempotency. On current head 1c0ac067f0ede24d181e398817eac81fef3fca8b: full service-free core suite 1,341 passed, 13 skipped; focused executor/entity regressions 236 passed; Azure Managed worker/client unit compatibility 129 passed. Skips include the optional Azure Blob dependency and service-dependent tests. Changed implementation strict Pyright and core/provider source/test flake8 pass. Independent correctness reviews include the final normal-versus-terminal separation and persisted action IDs, with no remaining significant issues. Both confirmed replay findings are fixed and their inline threads are resolved. Compatibility and coordination The .NET proposal in microsoft/durabletask-dotnet#816 provides the release-preservation/outstanding-lock precedent; inspected JS wholesale action replacement is not safe for held locks. No new public store contract, abstract requirement, package version, or dependency minimum is introduced. Azure Managed inherits the core fix and its changelog records release coordination. Do not merge independently. The coordinator owns the existing native stack and landing after sibling-overlap, review, and CI checks.

Open Graph Description: Summary Fixes #297. This is the middle layer of native stack 308 (#305 → #306 → #307). The preflight layer #305 is merged, and this PR now targets main. Convert only the SDK's configured paylo...

X Description: Summary Fixes #297. This is the middle layer of native stack 308 (#305 → #306 → #307). The preflight layer #305 is merged, and this PR now targets main. Convert only the SDK's configured p...

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

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:9cb9d51f-4bdf-8c50-f8fd-7728c590e8eb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA42C:11C048:648C3:854EF:6AFE2CCE
html-safe-nonce49a9666beca56c7aad62a99fff5b4e6d7aa983e81ad70924bbbb23f0572c6e3d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDJDOjExQzA0ODo2NDhDMzo4NTRFRjo2QUZFMkNDRSIsInZpc2l0b3JfaWQiOiI1NDQ5MTYxMTQzNTEzNjU2NTI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9e1c36bacf453624bfd30f40ccd9526653e108d95b9f50c5bec6b07839a10310
hovercard-subject-tagpull_request:4955164696
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/306/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 #297. This is the middle layer of native stack 308 (#305 → #306 → #307). The preflight layer #305 is merged, and this PR now targets main. Convert only the SDK's configured paylo...
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/306/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-python%2Fpull%2F306%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%2F306%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/306/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/306/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/306/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-permanent-payload-failure-lock-cleanuphttps://github.com/microsoft/durabletask-python/tree/andystaples-permanent-payload-failure-lock-cleanup
Conversation 10 https://github.com/microsoft/durabletask-python/pull/306
Commits 5 https://github.com/microsoft/durabletask-python/pull/306/commits
Checks 27 https://github.com/microsoft/durabletask-python/pull/306/checks
Files changed https://github.com/microsoft/durabletask-python/pull/306/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/306/files
Complete permanent payload failures with entity-lock cleanup https://github.com/microsoft/durabletask-python/pull/306/files#top
Show all changes 5 commits https://github.com/microsoft/durabletask-python/pull/306/files
027b6d5 fix: complete permanent payload failures and release entity locks andystaples Oct 21, 2026 https://github.com/microsoft/durabletask-python/pull/306/commits/027b6d54d30acb98ec2ad7b1bffad7f17348de6b
a79258c fix: preserve historical entity release order during replay andystaples Oct 21, 2026 https://github.com/microsoft/durabletask-python/pull/306/commits/a79258c280f0288ce03a08f235d5c074c5efd213
80e8306 test: explain handled entity failure in replay regression andystaples Oct 21, 2026 https://github.com/microsoft/durabletask-python/pull/306/commits/80e8306f3585236d6f4a90f718e34d164df3508b
1c0ac06 fix: keep normal unlock emission separate from terminal cleanup andystaples Oct 21, 2026 https://github.com/microsoft/durabletask-python/pull/306/commits/1c0ac067f0ede24d181e398817eac81fef3fca8b
f9942e2 test: make payload failure regression return explicit andystaples Oct 21, 2026 https://github.com/microsoft/durabletask-python/pull/306/commits/f9942e2eb0f26098e296757c717a5189bf63c02c
Clear filters https://github.com/microsoft/durabletask-python/pull/306/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/306/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/306/files
CHANGELOG.md https://github.com/microsoft/durabletask-python/pull/306/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
CHANGELOG.md https://github.com/microsoft/durabletask-python/pull/306/files#diff-1d1ece375471f083a849ea1b601985661b8bd8e7017fdb7fd5d10e02c4ca69f6
exceptions.py https://github.com/microsoft/durabletask-python/pull/306/files#diff-7cee37fa9e9281db434398dcf8b2e47fa04590c8e96053d71b8deec9b23ae56d
orchestration_entity_context.py https://github.com/microsoft/durabletask-python/pull/306/files#diff-27b0e44a67b40ea648f85522c663474ce441c4d9d2dcc0455c6c461f97bec27d
helpers.py https://github.com/microsoft/durabletask-python/pull/306/files#diff-4ea1b34634dbe7fbfb494c174ac7c1b020d85b5b1e2f3dc309b466bfdf048fe0
worker.py https://github.com/microsoft/durabletask-python/pull/306/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
test_large_payload.py https://github.com/microsoft/durabletask-python/pull/306/files#diff-3297e112ca62344399ded154b9e6ef27ebad81fea2c054f86926ad14a3da53ef
test_orchestrator_payload_failure.py https://github.com/microsoft/durabletask-python/pull/306/files#diff-356ba567112058a71758c928b4ef09c779c4e26ab9d0eaeed1b528b6b75b0304
CHANGELOG.mdhttps://github.com/microsoft/durabletask-python/pull/306/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/microsoft/durabletask-python/blob/f9942e2eb0f26098e296757c717a5189bf63c02c/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/306/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/306/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/microsoft/durabletask-python/pull/306/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
durabletask-azuremanaged/CHANGELOG.mdhttps://github.com/microsoft/durabletask-python/pull/306/files#diff-1d1ece375471f083a849ea1b601985661b8bd8e7017fdb7fd5d10e02c4ca69f6
View file https://github.com/microsoft/durabletask-python/blob/f9942e2eb0f26098e296757c717a5189bf63c02c/durabletask-azuremanaged/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/306/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/306/files#diff-1d1ece375471f083a849ea1b601985661b8bd8e7017fdb7fd5d10e02c4ca69f6
https://github.com/microsoft/durabletask-python/pull/306/files#diff-1d1ece375471f083a849ea1b601985661b8bd8e7017fdb7fd5d10e02c4ca69f6
durabletask/internal/exceptions.pyhttps://github.com/microsoft/durabletask-python/pull/306/files#diff-7cee37fa9e9281db434398dcf8b2e47fa04590c8e96053d71b8deec9b23ae56d
View file https://github.com/microsoft/durabletask-python/blob/f9942e2eb0f26098e296757c717a5189bf63c02c/durabletask/internal/exceptions.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/306/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/306/files#diff-7cee37fa9e9281db434398dcf8b2e47fa04590c8e96053d71b8deec9b23ae56d
durabletask/internal/orchestration_entity_context.pyhttps://github.com/microsoft/durabletask-python/pull/306/files#diff-27b0e44a67b40ea648f85522c663474ce441c4d9d2dcc0455c6c461f97bec27d
View file https://github.com/microsoft/durabletask-python/blob/f9942e2eb0f26098e296757c717a5189bf63c02c/durabletask/internal/orchestration_entity_context.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/306/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/306/files#diff-27b0e44a67b40ea648f85522c663474ce441c4d9d2dcc0455c6c461f97bec27d
https://github.com/microsoft/durabletask-python/pull/306/files#diff-27b0e44a67b40ea648f85522c663474ce441c4d9d2dcc0455c6c461f97bec27d
https://github.com/microsoft/durabletask-python/pull/306/files#diff-27b0e44a67b40ea648f85522c663474ce441c4d9d2dcc0455c6c461f97bec27d
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/306/files
https://github.com/microsoft/durabletask-python/pull/306/files#diff-27b0e44a67b40ea648f85522c663474ce441c4d9d2dcc0455c6c461f97bec27d
https://github.com/microsoft/durabletask-python/pull/306/files#diff-27b0e44a67b40ea648f85522c663474ce441c4d9d2dcc0455c6c461f97bec27d
https://github.com/microsoft/durabletask-python/pull/306/files#diff-27b0e44a67b40ea648f85522c663474ce441c4d9d2dcc0455c6c461f97bec27d
durabletask/payload/helpers.pyhttps://github.com/microsoft/durabletask-python/pull/306/files#diff-4ea1b34634dbe7fbfb494c174ac7c1b020d85b5b1e2f3dc309b466bfdf048fe0
View file https://github.com/microsoft/durabletask-python/blob/f9942e2eb0f26098e296757c717a5189bf63c02c/durabletask/payload/helpers.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/306/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/306/files#diff-4ea1b34634dbe7fbfb494c174ac7c1b020d85b5b1e2f3dc309b466bfdf048fe0
https://github.com/microsoft/durabletask-python/pull/306/files#diff-4ea1b34634dbe7fbfb494c174ac7c1b020d85b5b1e2f3dc309b466bfdf048fe0
https://github.com/microsoft/durabletask-python/pull/306/files#diff-4ea1b34634dbe7fbfb494c174ac7c1b020d85b5b1e2f3dc309b466bfdf048fe0
https://github.com/microsoft/durabletask-python/pull/306/files#diff-4ea1b34634dbe7fbfb494c174ac7c1b020d85b5b1e2f3dc309b466bfdf048fe0
durabletask/worker.pyhttps://github.com/microsoft/durabletask-python/pull/306/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
View file https://github.com/microsoft/durabletask-python/blob/f9942e2eb0f26098e296757c717a5189bf63c02c/durabletask/worker.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/306/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/306/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/306/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/306/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/306/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/306/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/306/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/306/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/306/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
https://github.com/microsoft/durabletask-python/pull/306/files#diff-821cca3b6d2d4c27b83bc2ea2c1dfbce058c46419967498ae26dc12693418899
tests/durabletask/test_large_payload.pyhttps://github.com/microsoft/durabletask-python/pull/306/files#diff-3297e112ca62344399ded154b9e6ef27ebad81fea2c054f86926ad14a3da53ef
View file https://github.com/microsoft/durabletask-python/blob/f9942e2eb0f26098e296757c717a5189bf63c02c/tests/durabletask/test_large_payload.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/306/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/306/files#diff-3297e112ca62344399ded154b9e6ef27ebad81fea2c054f86926ad14a3da53ef
https://github.com/microsoft/durabletask-python/pull/306/files#diff-3297e112ca62344399ded154b9e6ef27ebad81fea2c054f86926ad14a3da53ef
https://github.com/microsoft/durabletask-python/pull/306/files#diff-3297e112ca62344399ded154b9e6ef27ebad81fea2c054f86926ad14a3da53ef
https://github.com/microsoft/durabletask-python/pull/306/files#diff-3297e112ca62344399ded154b9e6ef27ebad81fea2c054f86926ad14a3da53ef
https://github.com/microsoft/durabletask-python/pull/306/files#diff-3297e112ca62344399ded154b9e6ef27ebad81fea2c054f86926ad14a3da53ef
https://github.com/microsoft/durabletask-python/pull/306/files#diff-3297e112ca62344399ded154b9e6ef27ebad81fea2c054f86926ad14a3da53ef
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/306/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/306/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.