René's URL Explorer Experiment


Title: Add Durable Task middleware support · Issue #285 · microsoft/durabletask-java · GitHub

Open Graph Title: Add Durable Task middleware support · Issue #285 · microsoft/durabletask-java

X Title: Add Durable Task middleware support · Issue #285 · microsoft/durabletask-java

Description: Summary Track adding SDK-level Durable Task middleware support to the Java SDK, aligned with the .NET reference implementation. Reference spec: https://github.com/microsoft/durabletask-dotnet/blob/feature/durable-task-middleware/doc/cros...

Open Graph Description: Summary Track adding SDK-level Durable Task middleware support to the Java SDK, aligned with the .NET reference implementation. Reference spec: https://github.com/microsoft/durabletask-dotnet/blob/...

X Description: Summary Track adding SDK-level Durable Task middleware support to the Java SDK, aligned with the .NET reference implementation. Reference spec: https://github.com/microsoft/durabletask-dotnet/blob/...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add Durable Task middleware support","articleBody":"## Summary\n\nTrack adding SDK-level Durable Task middleware support to the Java SDK, aligned with the .NET reference implementation.\n\nReference spec: https://github.com/microsoft/durabletask-dotnet/blob/feature/durable-task-middleware/doc/cross-sdk-middleware.md\n.NET user guide: https://github.com/microsoft/durabletask-dotnet/blob/feature/durable-task-middleware/doc/durable-task-middleware.md\nMotivation: https://github.com/Azure/azure-functions-durable-extension/issues/3054\n\nThe spec may shift until the .NET v1 implementation is merged. This issue is intended to track the Java design and implementation work so it can follow the same durable middleware contract with idiomatic API names.\n\n## Proposed shape\n\nNames are illustrative, not final API commitments.\n\n```java\nworkerBuilder.useOrchestrationMiddleware((ctx, next) -> {\n    if (!ctx.isReplaying()) {\n        logger.info(\"starting orchestration {}\", ctx.getInstanceId());\n    }\n\n    return next.invoke(ctx);\n});\n\nworkerBuilder.useActivityMiddleware((ctx, next) -> {\n    Optional\u003cObject> cached = cache.tryGet(ctx.getName(), ctx.getInput());\n    if (cached.isPresent()) {\n        ctx.setResult(cached.get());\n        return CompletableFuture.completedFuture(null);\n    }\n\n    return next.invoke(ctx);\n});\n```\n\n## Design points to cover\n\n- Builder-level registration APIs for orchestration and activity middleware.\n- Registration ordering: first registered middleware runs outermost and unwinds last.\n- Context interfaces that expose durable task name, instance ID, version/parent/tags where available, input, raw input where available, replay state for orchestrations, features, and result after `next`.\n- A feature collection keyed by `Class\u003cT>` or another type-safe Java abstraction.\n- Integration with dependency injection frameworks where present, without requiring a particular DI container.\n- Orchestration middleware determinism guidance for replay, including replay-safe logging and avoiding nondurable `CompletableFuture`/threading usage, wall-clock time, random values, file/network I/O, and mutable process state.\n- Activity middleware short-circuiting through an explicit `setResult` API.\n- Host integration pattern for Azure Functions or other hosts to attach invocation context through features instead of durable middleware depending on host middleware internals.\n\n## Acceptance criteria\n\n- Orchestration and activity middleware APIs are exposed at the durable worker/builder level.\n- Middleware executes in registration order and unwinds in reverse order.\n- Orchestration middleware must call `next.invoke(ctx)` exactly once when completing successfully; missing or duplicate calls are rejected where feasible.\n- Activity middleware can call `next.invoke(ctx)` once or short-circuit only through `ctx.setResult(...)`; duplicate `next` is invalid.\n- Host-specific objects can be passed through features without serialization into durable history.\n- Documentation covers replay determinism and the difference between durable middleware and host/Functions middleware.\n- Tests cover registration ordering, context population, feature access, orchestration next-call validation, and activity short-circuiting.\n- No wire protocol or protobuf changes are required.\n- Entity middleware is out of scope for v1.\r\n","author":{"url":"https://github.com/cgillum","@type":"Person","name":"cgillum"},"datePublished":"2026-05-05T22:46:26Z","url":"https://github.com/microsoft/durabletask-java/issues/285"}

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:e0e4de43-b41e-f43a-cc26-6e09f112a7d7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8BE8:2218F3:658BA:89D3C:6AFE31A3
html-safe-nonceaf4b798400667fbfad770c6e49a7a0f3c8f98833332d48d3e84ad36de6aa6661
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkU4OjIyMThGMzo2NThCQTo4OUQzQzo2QUZFMzFBMyIsInZpc2l0b3JfaWQiOiI1NDY2MDY2Mzk2NzgzNzE4ODE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9ecd682e2936b2247a86cdc8109e25ca8407a4ea913e195bd03967d514848174
hovercard-subject-tagissue:4387548499
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-java/285/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a964efbb0dc929179c510505f9acfba05c19aeef5b69a9b51e5ebdcda73387a9/microsoft/durabletask-java/issues/285
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a964efbb0dc929179c510505f9acfba05c19aeef5b69a9b51e5ebdcda73387a9/microsoft/durabletask-java/issues/285
og:image:altSummary Track adding SDK-level Durable Task middleware support to the Java SDK, aligned with the .NET reference implementation. Reference spec: https://github.com/microsoft/durabletask-dotnet/blob/...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecgillum
hostnamegithub.com
expected-hostnamegithub.com
Noned70e31220a67f6376c108d2416fa8e7df854c1065b1672ab7a88ab6dc3a809e2
turbo-cache-controlno-preview
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/285#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-java%2Fissues%2F285
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%2F285
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-java
Reloadhttps://github.com/microsoft/durabletask-java/issues/285
Reloadhttps://github.com/microsoft/durabletask-java/issues/285
Reloadhttps://github.com/microsoft/durabletask-java/issues/285
microsofthttps://github.com/microsoft
durabletask-javahttps://github.com/microsoft/durabletask-java
Codehttps://github.com/microsoft/durabletask-java
Issues47 (47)https://github.com/microsoft/durabletask-java/issues
Pull requests4 (4)https://github.com/microsoft/durabletask-java/pulls
Actionshttps://github.com/microsoft/durabletask-java/actions
Projectshttps://github.com/microsoft/durabletask-java/projects
Security and qualityhttps://github.com/microsoft/durabletask-java/security
Insightshttps://github.com/microsoft/durabletask-java/insights
https://github.com/microsoft/durabletask-java
New issuehttps://github.com/login?return_to=https://github.com/microsoft/durabletask-java/issues/285
New issuehttps://github.com/login?return_to=https://github.com/microsoft/durabletask-java/issues/285
Add Durable Task middleware supporthttps://github.com/microsoft/durabletask-java/issues/285#top
Needs: Triage 🔍https://github.com/microsoft/durabletask-java/issues?q=state%3Aopen%20label%3A%22Needs%3A%20Triage%20%3Amag%3A%22
https://github.com/cgillum
Chris Gillum (cgillum)https://github.com/cgillum
on May 5, 2026https://github.com/microsoft/durabletask-java/issues/285#issue-4387548499
https://github.com/microsoft/durabletask-dotnet/blob/feature/durable-task-middleware/doc/cross-sdk-middleware.mdhttps://github.com/microsoft/durabletask-dotnet/blob/feature/durable-task-middleware/doc/cross-sdk-middleware.md
https://github.com/microsoft/durabletask-dotnet/blob/feature/durable-task-middleware/doc/durable-task-middleware.mdhttps://github.com/microsoft/durabletask-dotnet/blob/feature/durable-task-middleware/doc/durable-task-middleware.md
Azure/azure-functions-durable-extension#3054https://github.com/Azure/azure-functions-durable-extension/issues/3054
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Needs: Triage 🔍https://github.com/microsoft/durabletask-java/issues?q=state%3Aopen%20label%3A%22Needs%3A%20Triage%20%3Amag%3A%22
on May 5, 2026https://github.com/microsoft/durabletask-java/issues/285#event-25196785274
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/durabletask-java/issues/285
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/durabletask-java/issues/285
Needs: Triage 🔍https://github.com/microsoft/durabletask-java/issues?q=state%3Aopen%20label%3A%22Needs%3A%20Triage%20%3Amag%3A%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.