René's URL Explorer Experiment


Title: What is OrchestratorBlockedException? · Issue #242 · microsoft/durabletask-java · GitHub

Open Graph Title: What is OrchestratorBlockedException? · Issue #242 · microsoft/durabletask-java

X Title: What is OrchestratorBlockedException? · Issue #242 · microsoft/durabletask-java

Description: Creating a pinned issue to help folks who may have questions on this topic which occasionally comes up. This information is available in the JavaDocs, but sometimes gets missed, so I'm putting more context in a GitHub issue in hopes that...

Open Graph Description: Creating a pinned issue to help folks who may have questions on this topic which occasionally comes up. This information is available in the JavaDocs, but sometimes gets missed, so I'm putting more...

X Description: Creating a pinned issue to help folks who may have questions on this topic which occasionally comes up. This information is available in the JavaDocs, but sometimes gets missed, so I'm putting ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"What is OrchestratorBlockedException?","articleBody":"Creating a pinned issue to help folks who may have questions on this topic which occasionally comes up. This information is available in the JavaDocs, but sometimes gets missed, so I'm putting more context in a GitHub issue in hopes that this may be more discoverable. At some point this will be added to a Java-specific developer guide for Durable Task Java SDK.\n\n### What is OrchestratorBlockedException\n\n`OrchestratorBlockedException` is a subclass of `RuntimeException` that is thrown when an orchestrator calls `Task.await()` on a task that isn’t yet completed. \n\nThe reason for this exception _isn't_ that something went wrong in the code execution. Rather, it's part of the mechanism of how orchestrator functions get suspended (“yielded”) so the framework can checkpoint state, schedule further work (like activities or timers), and unload the orchestrator from memory until the next event. In effect, it’s used to block/suspend the orchestrator’s execution until the awaited task finishes.\n\n**It is a control-flow exception**. This exception must never be caught by user code, and the exception message emphasizes this. If you catch it, you may prevent the orchestration from saving its state or scheduling new work, which can lead to the orchestration “getting stuck.” \n\n### Why it is thrown\n\nIn an orchestrator function in Java, when you call something like `ctx.callActivity(“Foo”, input, SomeClass.class).await()`, that returns a `Task\u003cSomeClass>`. If that task is not completed yet, `.await()` needs to pause the orchestrator until that task finishes. This is similar to how coroutines work, particularly in languages that support async/await (which Java does not).\n\nThe mechanism Durable Task uses to implement the coroutine pattern is to throw (under the covers) an `OrchestratorBlockedException`. The orchestration runtime catches that internally, records the current workflow state (all scheduled but not yet completed tasks, etc.), checkpoints, and exits the function invocation (as a success). Later, when the awaited task (activity / timer / external event) completes, the orchestrator is resumed (replayed) from that point. \n\nIn summary: `OrchestratorBlockedException` is not an error. It’s an expected behavior in orchestrator functions to implement durable coroutines.","author":{"url":"https://github.com/cgillum","@type":"Person","name":"cgillum"},"datePublished":"2025-09-17T18:02:58Z","url":"https://github.com/microsoft/durabletask-java/issues/242"}

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:a702f8af-74a5-0e47-8423-c903410ff13b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD4E6:DB5A4:5FD3E:7CF65:6AFE31D9
html-safe-noncebcdc231f5b3b4a08184607e11a5e2bf76c4b588bb4d0f21c795a21a0ce20f683
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEU2OkRCNUE0OjVGRDNFOjdDRjY1OjZBRkUzMUQ5IiwidmlzaXRvcl9pZCI6Ijg5ODIwOTc0MzYxMzg2ODA3OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc3781cb6d283a3ce2c6f4cb401b48f8a706d5ab6d014ace5996b54db210bb2ac
hovercard-subject-tagissue:3427282607
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/242/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ba8649d7f431d71f8fa58d9db8ef4bd9c3e67376ad819f5c25f2f347cc587af0/microsoft/durabletask-java/issues/242
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ba8649d7f431d71f8fa58d9db8ef4bd9c3e67376ad819f5c25f2f347cc587af0/microsoft/durabletask-java/issues/242
og:image:altCreating a pinned issue to help folks who may have questions on this topic which occasionally comes up. This information is available in the JavaDocs, but sometimes gets missed, so I'm putting more...
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/242#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-java%2Fissues%2F242
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%2F242
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/242
Reloadhttps://github.com/microsoft/durabletask-java/issues/242
Reloadhttps://github.com/microsoft/durabletask-java/issues/242
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/242
New issuehttps://github.com/login?return_to=https://github.com/microsoft/durabletask-java/issues/242
What is OrchestratorBlockedException?https://github.com/microsoft/durabletask-java/issues/242#top
questionFurther information is requestedhttps://github.com/microsoft/durabletask-java/issues?q=state%3Aopen%20label%3A%22question%22
https://github.com/cgillum
Chris Gillum (cgillum)https://github.com/cgillum
on Sep 17, 2025https://github.com/microsoft/durabletask-java/issues/242#issue-3427282607
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 Sep 17, 2025https://github.com/microsoft/durabletask-java/issues/242#event-19756581747
Chris Gillum (cgillum)https://github.com/cgillum
on Sep 17, 2025https://github.com/microsoft/durabletask-java/issues/242#event-19756602708
Chris Gillum (cgillum)https://github.com/cgillum
completedhttps://github.com/microsoft/durabletask-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Sep 17, 2025https://github.com/microsoft/durabletask-java/issues/242#event-19756604176
Chris Gillum (cgillum)https://github.com/cgillum
questionFurther information is requestedhttps://github.com/microsoft/durabletask-java/issues?q=state%3Aopen%20label%3A%22question%22
Needs: Triage 🔍https://github.com/microsoft/durabletask-java/issues?q=state%3Aopen%20label%3A%22Needs%3A%20Triage%20%3Amag%3A%22
on Sep 17, 2025https://github.com/microsoft/durabletask-java/issues/242#event-19756609262
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/durabletask-java/issues/242
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/durabletask-java/issues/242
questionFurther information is requestedhttps://github.com/microsoft/durabletask-java/issues?q=state%3Aopen%20label%3A%22question%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.