René's URL Explorer Experiment


Title: Preserve entity unlocks on payload failures and skip known tokens for .NET parity · Issue #307 · microsoft/durabletask-java · GitHub

Open Graph Title: Preserve entity unlocks on payload failures and skip known tokens for .NET parity · Issue #307 · microsoft/durabletask-java

X Title: Preserve entity unlocks on payload failures and skip known tokens for .NET parity · Issue #307 · microsoft/durabletask-java

Description: Java SDK for Durable Functions and the Durable Task Framework - Preserve entity unlocks on payload failures and skip known tokens for .NET parity · Issue #307 · microsoft/durabletask-java

Open Graph Description: Java SDK for Durable Functions and the Durable Task Framework - Preserve entity unlocks on payload failures and skip known tokens for .NET parity · Issue #307 · microsoft/durabletask-java

X Description: Java SDK for Durable Functions and the Durable Task Framework - Preserve entity unlocks on payload failures and skip known tokens for .NET parity · Issue #307 · microsoft/durabletask-java

Opengraph URL: https://github.com/microsoft/durabletask-java

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Preserve entity unlocks on payload failures and skip known tokens for .NET parity","articleBody":"Please bring orchestration payload-failure cleanup and known-token handling into parity with the fixes proposed in [durabletask-dotnet PR 816](https://github.com/microsoft/durabletask-dotnet/pull/816). Source inspection of current `main` (`0262c53c8f13401bfe2c25a3e058128963ad51a9`) identifies both gaps below. This is a source-backed report and a regression recipe, not a claim of a live Azure reproduction.\r\n\r\n## Findings\r\n\r\n**Entity releases are discarded by the failed-completion fallback.**\r\n\r\n- [`externalizeOrchestratorResponse`](https://github.com/microsoft/durabletask-java/blob/0262c53c8f13401bfe2c25a3e058128963ad51a9/azure-blob-payloads/src/main/java/com/microsoft/durabletask/azureblobpayloads/LargePayloadInterceptor.java#L211-L259) constructs a new response containing only `CompleteOrchestration(Failed)` when externalization throws. None of the existing actions are retained.\r\n- Those actions can include real lock releases: [`TaskOrchestrationExecutor`](https://github.com/microsoft/durabletask-java/blob/0262c53c8f13401bfe2c25a3e058128963ad51a9/client/src/main/java/com/microsoft/durabletask/TaskOrchestrationExecutor.java#L718-L762) emits either native `SendEntityMessage.EntityUnlockSent` or legacy entity-addressed `SendEvent(name=\"release\")`.\r\n- The rewrite occurs in the outbound interceptor, after the executor produced its actions. If a pending entity call or custom status fails payload externalization while the orchestration still holds locks, changing the wire response to terminal also requires generating the outstanding releases; preserving only releases already present is not sufficient.\r\n\r\n**Already-externalized values can be uploaded again.**\r\n\r\n- [`maybeExternalize`](https://github.com/microsoft/durabletask-java/blob/0262c53c8f13401bfe2c25a3e058128963ad51a9/azure-blob-payloads/src/main/java/com/microsoft/durabletask/azureblobpayloads/LargePayloadInterceptor.java#L1102-L1124) checks byte size and uploads without checking `payloadStore.isKnownPayloadToken`.\r\n- A recognized token at or above the threshold is therefore treated as ordinary data when it reaches this helper again. It can become a nested token, or fail the configured maximum-size check even though no upload is necessary.\r\n- Java protobuf requests are immutable, so this report does not assume every ordinary transport retry mutates/reuses the externalized request in the same way as .NET. The missing invariant is that externalizing an already-tokenized value must be idempotent.\r\n\r\n## Regression recipes\r\n\r\n1. Extend the existing interceptor failure test with two native unlock actions, then separately with two legacy entity releases. Force a permanent `PayloadStorageException` during custom-status or completion-result upload. The current fallback contains one Failed action; it should retain the two releases before that action and discard unrelated unpersistable work.\r\n2. Replay an orchestration that acquired two locks and is waiting on an oversized entity call. Force a permanent payload failure after replay. The failed completion must also contain releases for the still-held locks, even when no releases existed in the original response.\r\n3. Make a fake store recognize a token whose UTF-8 length exceeds the threshold. Re-externalize a response/request containing that token. The token must remain unchanged and `upload` must not be called, including when the token itself exceeds the ordinary raw-payload cap.\r\n\r\n## Acceptance Criteria\r\n\r\n- [ ] Permanent orchestration payload failures preserve native and legacy entity releases, including their destinations and critical-section/owner identity, before a single terminal Failed action.\r\n- [ ] Terminal failures introduced after orchestration execution generate any remaining acquired-lock releases before sending; they do not merely preserve releases already emitted.\r\n- [ ] Known payload tokens bypass upload and raw-payload size limits across the supported outbound payload fields.\r\n- [ ] Regression tests cover zero/partial/all previously emitted releases, terminal output and pending entity-call failures, and a second caller progressing after the releases are processed.\r\n- [ ] Transient storage failures and cancellation are not converted into permanent terminal failures, and completion retries do not duplicate releases.\r\n\r\n## Related\r\n\r\n- [.NET parity reference: PR 816](https://github.com/microsoft/durabletask-dotnet/pull/816), currently proposed rather than a released fix.\r\n- [Java PR 306](https://github.com/microsoft/durabletask-java/pull/306) addresses transient upload classification and other historical parity differences. Its inspected interceptor patch still builds a single-action response for permanent orchestration failures and does not add the known-token upload guard, so this report tracks a distinct remaining gap.\r\n","author":{"url":"https://github.com/YunchuWang","@type":"Person","name":"YunchuWang"},"datePublished":"2026-10-19T19:25:05Z","url":"https://github.com/microsoft/durabletask-java/issues/307"}

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/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:b49b01d2-fcae-925d-76ef-029304a82af9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id986C:E34D0:702B8:99C39:6AFE31D2
html-safe-noncec4d63f9c575f396dbf496149fbff7c4a4bb4d60241a94574ef56e4caa760c90c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODZDOkUzNEQwOjcwMkI4Ojk5QzM5OjZBRkUzMUQyIiwidmlzaXRvcl9pZCI6IjI5NTczMjE1MDg5NDAwMzQ1MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac557db1e60d4c8dda6332c651e7c6b939e8d108d1098f08d532580f83204e692f
hovercard-subject-tagrepository:452823832
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/microsoft/durabletask-java/issues/307
twitter:imagehttps://opengraph.githubassets.com/67769f7916c8adca31cc61d7a8831c53baeda79752b258480250647c8d10f24b/microsoft/durabletask-java
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/67769f7916c8adca31cc61d7a8831c53baeda79752b258480250647c8d10f24b/microsoft/durabletask-java
og:image:altJava SDK for Durable Functions and the Durable Task Framework - Preserve entity unlocks on payload failures and skip known tokens for .NET parity · Issue #307 · microsoft/durabletask-java
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned70e31220a67f6376c108d2416fa8e7df854c1065b1672ab7a88ab6dc3a809e2
turbo-cache-controlno-cache
go-importgithub.com/microsoft/durabletask-java git https://github.com/microsoft/durabletask-java.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id452823832
octolytics-dimension-repository_nwomicrosoft/durabletask-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id452823832
octolytics-dimension-repository_network_root_nwomicrosoft/durabletask-java
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
releaseccb88d9c92abe69245b429398c8a57ae87070c7c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/durabletask-java/issues/307#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-java%2Fissues%2F307
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-java%2Fissues%2F307
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=microsoft%2Fdurabletask-java
Reloadhttps://github.com/microsoft/durabletask-java/issues/307
Reloadhttps://github.com/microsoft/durabletask-java/issues/307
Reloadhttps://github.com/microsoft/durabletask-java/issues/307
https://github.com/microsoft/durabletask-java
New issuehttps://github.com/login?return_to=https://github.com/microsoft/durabletask-java/issues/307
New issuehttps://github.com/login?return_to=https://github.com/microsoft/durabletask-java/issues/307
Preserve entity unlocks on payload failures and skip known tokens for .NET parityhttps://github.com/microsoft/durabletask-java/issues/307#top
bugSomething isn't workinghttps://github.com/microsoft/durabletask-java/issues?q=state%3Aopen%20label%3A%22bug%22
feature-parityThis feature is needed for parity with other language SDKshttps://github.com/microsoft/durabletask-java/issues?q=state%3Aopen%20label%3A%22feature-parity%22
https://github.com/YunchuWang
wangbill (YunchuWang)https://github.com/YunchuWang
on Oct 19, 2026https://github.com/microsoft/durabletask-java/issues/307#issue-5930129130
durabletask-dotnet PR 816https://github.com/microsoft/durabletask-dotnet/pull/816
externalizeOrchestratorResponsehttps://github.com/microsoft/durabletask-java/blob/0262c53c8f13401bfe2c25a3e058128963ad51a9/azure-blob-payloads/src/main/java/com/microsoft/durabletask/azureblobpayloads/LargePayloadInterceptor.java#L211-L259
TaskOrchestrationExecutorhttps://github.com/microsoft/durabletask-java/blob/0262c53c8f13401bfe2c25a3e058128963ad51a9/client/src/main/java/com/microsoft/durabletask/TaskOrchestrationExecutor.java#L718-L762
maybeExternalizehttps://github.com/microsoft/durabletask-java/blob/0262c53c8f13401bfe2c25a3e058128963ad51a9/azure-blob-payloads/src/main/java/com/microsoft/durabletask/azureblobpayloads/LargePayloadInterceptor.java#L1102-L1124
.NET parity reference: PR 816https://github.com/microsoft/durabletask-dotnet/pull/816
Java PR 306https://github.com/microsoft/durabletask-java/pull/306
wangbill (YunchuWang)https://github.com/YunchuWang
bugSomething isn't workinghttps://github.com/microsoft/durabletask-java/issues?q=state%3Aopen%20label%3A%22bug%22
feature-parityThis feature is needed for parity with other language SDKshttps://github.com/microsoft/durabletask-java/issues?q=state%3Aopen%20label%3A%22feature-parity%22
on Oct 19, 2026https://github.com/microsoft/durabletask-java/issues/307#event-33677842975
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/durabletask-java/issues/307
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/durabletask-java/issues/307
bugSomething isn't workinghttps://github.com/microsoft/durabletask-java/issues?q=state%3Aopen%20label%3A%22bug%22
feature-parityThis feature is needed for parity with other language SDKshttps://github.com/microsoft/durabletask-java/issues?q=state%3Aopen%20label%3A%22feature-parity%22
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.