René's URL Explorer Experiment


Title: RetryContext.lastAttemptNumber is inflated when retriable task is awaited via ctx.anyOf(...) · Issue #290 · microsoft/durabletask-java · GitHub

Open Graph Title: RetryContext.lastAttemptNumber is inflated when retriable task is awaited via ctx.anyOf(...) · Issue #290 · microsoft/durabletask-java

X Title: RetryContext.lastAttemptNumber is inflated when retriable task is awaited via ctx.anyOf(...) · Issue #290 · microsoft/durabletask-java

Description: Summary RetryContext.getLastAttemptNumber() violates its documented contract when the underlying retriable task is awaited indirectly via a CompoundTask (e.g. TaskOrchestrationContext.anyOf(...)). The counter increments on every Compound...

Open Graph Description: Summary RetryContext.getLastAttemptNumber() violates its documented contract when the underlying retriable task is awaited indirectly via a CompoundTask (e.g. TaskOrchestrationContext.anyOf(...)). ...

X Description: Summary RetryContext.getLastAttemptNumber() violates its documented contract when the underlying retriable task is awaited indirectly via a CompoundTask (e.g. TaskOrchestrationContext.anyOf(...)). ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RetryContext.lastAttemptNumber is inflated when retriable task is awaited via ctx.anyOf(...)","articleBody":"## Summary\n\n`RetryContext.getLastAttemptNumber()` violates its documented contract when the underlying retriable task is awaited indirectly via a `CompoundTask` (e.g. `TaskOrchestrationContext.anyOf(...)`). The counter increments on every `CompoundTask.await()` regardless of whether any task has failed, so a custom `RetryHandler` sees a `lastAttemptNumber` much higher than the actual number of failed attempts.\n\n## Documented contract\n\nFrom `RetryContext.getLastAttemptNumber()`:\n\n> Gets the previous retry attempt number. This number starts at 1 and increments each time the retry handler is invoked for a particular task failure.\n\n## Observed behavior\n\nIn a bounded sliding-window fan-out pattern that awaits retriable activities via `ctx.anyOf(...)`, tasks that enter the in-flight window *after* the first batch has burned through its retries observe `lastAttemptNumber ≈ window size` in their retry handler — on the **first real failure**, before any retry has happened.\n\n## Root cause\n\nThe inflated counter originates somewhere in `RetriableTask.attemptNumber` accounting when a freshly-scheduled `RetriableTask` joins an `anyOf` membership that is already being drained. Relevant entry points in `TaskOrchestrationExecutor.java` (1.9.0):\n\n```java\n// line ~2055\nvoid init() {\n    this.startTime = this.startTime == null ? this.context.getCurrentInstant() : this.startTime;\n    this.attemptNumber++;\n}\n\n// line ~2194\nprivate void initSubTasks() {\n    for (Task\u003cV> subTask : this.subTasks) {\n        if (subTask instanceof RetriableTask) ((RetriableTask\u003cV>)subTask).init();\n    }\n}\n```\n\nWhat we can pin down from the observed behaviour:\n\n- The retry handler is invoked exactly once per real failure (no double-firing).\n- `totalRetryTimeMs` is consistent with the real number of attempts — it is `0` on the inflated invocations, confirming zero real retries have happened.\n- `attemptNumber` on a `RetriableTask` scheduled mid-drain is already much greater than 1 by the time its first failure reaches the handler.\n- `RetriableTask`s that exist before the drain loop starts retain a correct counter, even though they participate in many `CompoundTask.await()` cycles while still pending. So `init()` cannot be incrementing unconditionally on every `initSubTasks()` pass; there is effectively an \"already initialised\" guard for them.\n\nThe remaining unknown is what causes a *newly constructed* `RetriableTask` to begin life with `attemptNumber` already inflated — or to be subjected to `init()` calls that skip the guard the existing tasks benefit from — when it is added to an `anyOf` membership that has already cycled through several `CompoundTask.await()` calls. That interaction is the failure surface.\n\n## Minimal reproduction\n\nThe bug surfaces under these conditions:\n\n1. **Bounded sliding window**: tasks are added to the in-flight list *mid-drain* (one new task scheduled each time one completes).\n2. **Outer `try/catch`** wrapping `ctx.anyOf(inFlight).await()`. The `CompoundTask` returned by `anyOf()` re-throws the underlying `TaskFailedException` from its `await()`, rather than returning the failed task. Without an outer catch the orchestrator dies on the first failure and the bug never gets a chance to manifest on later tasks.\n3. **Enough items to fill a second window** after the first has completed. With `N` total items and a window of `W`, you need `N > W`. The first window goes through retries normally (1→max); the second window is where the bug shows up.\n\nKotlin, Azure Functions Java worker:\n\n```kotlin\nclass LastAttemptReproOrchestratorFunction {\n    companion object {\n        const val ORCHESTRATOR_NAME = \"LastAttemptReproOrchestratorFunction\"\n        const val ACTIVITY_NAME = \"AlwaysFailsActivityFunction\"\n        private const val NUM_ACTIVITIES = 20\n        private const val MAX_IN_FLIGHT = 10\n        private const val MAX_ATTEMPTS = 5\n        private const val SLOW_TASK_STEP_MILLIS = 200L\n    }\n\n    @FunctionName(ORCHESTRATOR_NAME)\n    fun run(\n        @DurableOrchestrationTrigger(name = \"ctx\") ctx: TaskOrchestrationContext,\n        executionContext: ExecutionContext,\n    ) {\n        val log = executionContext.logger\n        val opts = TaskOptions(\n            RetryHandler { retryCtx ->\n                if (!retryCtx.orchestrationContext.isReplaying) {\n                    log.log(\n                        Level.WARNING,\n                        \"RetryHandler invoked: lastAttemptNumber=${retryCtx.lastAttemptNumber} \" +\n                            \"(max=$MAX_ATTEMPTS), totalRetryTimeMs=${retryCtx.totalRetryTime.toMillis()}\",\n                    )\n                }\n                retryCtx.lastAttemptNumber \u003c MAX_ATTEMPTS\n            },\n        )\n\n        // Bounded sliding-window fan-out: keep at most MAX_IN_FLIGHT in flight at any time,\n        // and start a replacement each time one completes.\n        val inFlight = mutableListOf\u003cTask\u003c*>>()\n        var nextIndex = 0\n        while (nextIndex \u003c MAX_IN_FLIGHT && nextIndex \u003c NUM_ACTIVITIES) {\n            inFlight += ctx.callActivity(ACTIVITY_NAME, nextIndex, opts, String::class.java)\n            nextIndex++\n        }\n        while (inFlight.isNotEmpty()) {\n            try {\n                val completedTask: Task\u003c*> = ctx.anyOf(inFlight).await()\n                inFlight.remove(completedTask)\n                try {\n                    completedTask.await()\n                } catch (e: TaskFailedException) {\n                    // expected — every activity always fails\n                }\n            } catch (e: TaskFailedException) {\n                // anyOf().await() can throw the underlying TaskFailedException directly\n                // rather than returning the failed task — identify the done task and continue.\n                val done = inFlight.firstOrNull { it.isDone } ?: throw e\n                inFlight.remove(done)\n            }\n            if (nextIndex \u003c NUM_ACTIVITIES) {\n                inFlight += ctx.callActivity(ACTIVITY_NAME, nextIndex, opts, String::class.java)\n                nextIndex++\n            }\n        }\n    }\n\n    @FunctionName(ACTIVITY_NAME)\n    fun alwaysFails(@DurableActivityTrigger(name = \"index\") index: Int): String {\n        Thread.sleep(index * SLOW_TASK_STEP_MILLIS)\n        throw RuntimeException(\"Always fails (for lastAttemptNumber repro)\")\n    }\n}\n```\n\n(Plus a trivial HTTP trigger that calls `durableContext.client.scheduleNewOrchestrationInstance(ORCHESTRATOR_NAME)` to start it.)\n\nThe staggered `Thread.sleep(index * 200ms)` in the activity makes the first batch of activities fail quickly and the second batch slowly, ensuring many `anyOf().await()` iterations run with the second batch still pending.\n\n### Observed output\n\nWith `NUM_ACTIVITIES=20`, `MAX_IN_FLIGHT=10`, `MAX_ATTEMPTS=5`, all `RetryHandler invoked` log lines from one orchestration run:\n\n```\n\"20/05/2026, 12:41:38.178\",\"RetryHandler invoked: lastAttemptNumber=1 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:38.251\",\"RetryHandler invoked: lastAttemptNumber=2 (max=5), totalRetryTimeMs=570\"\n\"20/05/2026, 12:41:38.313\",\"RetryHandler invoked: lastAttemptNumber=1 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:38.313\",\"RetryHandler invoked: lastAttemptNumber=3 (max=5), totalRetryTimeMs=661\"\n\"20/05/2026, 12:41:38.465\",\"RetryHandler invoked: lastAttemptNumber=4 (max=5), totalRetryTimeMs=722\"\n\"20/05/2026, 12:41:38.554\",\"RetryHandler invoked: lastAttemptNumber=1 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:38.554\",\"RetryHandler invoked: lastAttemptNumber=5 (max=5), totalRetryTimeMs=873\"\n\"20/05/2026, 12:41:38.623\",\"RetryHandler invoked: lastAttemptNumber=2 (max=5), totalRetryTimeMs=722\"\n\"20/05/2026, 12:41:38.763\",\"RetryHandler invoked: lastAttemptNumber=1 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:38.891\",\"RetryHandler invoked: lastAttemptNumber=3 (max=5), totalRetryTimeMs=1030\"\n\"20/05/2026, 12:41:38.891\",\"RetryHandler invoked: lastAttemptNumber=1 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:39.072\",\"RetryHandler invoked: lastAttemptNumber=2 (max=5), totalRetryTimeMs=961\"\n\"20/05/2026, 12:41:39.135\",\"RetryHandler invoked: lastAttemptNumber=1 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:39.201\",\"RetryHandler invoked: lastAttemptNumber=4 (max=5), totalRetryTimeMs=1298\"\n\"20/05/2026, 12:41:39.340\",\"RetryHandler invoked: lastAttemptNumber=1 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:39.437\",\"RetryHandler invoked: lastAttemptNumber=2 (max=5), totalRetryTimeMs=1170\"\n\"20/05/2026, 12:41:39.556\",\"RetryHandler invoked: lastAttemptNumber=5 (max=5), totalRetryTimeMs=1608\"\n\"20/05/2026, 12:41:39.556\",\"RetryHandler invoked: lastAttemptNumber=3 (max=5), totalRetryTimeMs=1479\"\n\"20/05/2026, 12:41:39.556\",\"RetryHandler invoked: lastAttemptNumber=1 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:39.748\",\"RetryHandler invoked: lastAttemptNumber=1 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:39.818\",\"RetryHandler invoked: lastAttemptNumber=2 (max=5), totalRetryTimeMs=1298\"\n\"20/05/2026, 12:41:39.952\",\"RetryHandler invoked: lastAttemptNumber=1 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:40.021\",\"RetryHandler invoked: lastAttemptNumber=4 (max=5), totalRetryTimeMs=1964\"\n\"20/05/2026, 12:41:40.109\",\"RetryHandler invoked: lastAttemptNumber=3 (max=5), totalRetryTimeMs=1846\"\n\"20/05/2026, 12:41:40.215\",\"RetryHandler invoked: lastAttemptNumber=2 (max=5), totalRetryTimeMs=1543\"\n\"20/05/2026, 12:41:40.512\",\"RetryHandler invoked: lastAttemptNumber=5 (max=5), totalRetryTimeMs=2430\"\n\"20/05/2026, 12:41:40.620\",\"RetryHandler invoked: lastAttemptNumber=2 (max=5), totalRetryTimeMs=1748\"\n\"20/05/2026, 12:41:40.698\",\"RetryHandler invoked: lastAttemptNumber=3 (max=5), totalRetryTimeMs=2227\"\n\"20/05/2026, 12:41:40.782\",\"RetryHandler invoked: lastAttemptNumber=4 (max=5), totalRetryTimeMs=2518\"\n\"20/05/2026, 12:41:41.043\",\"RetryHandler invoked: lastAttemptNumber=2 (max=5), totalRetryTimeMs=1964\"\n\"20/05/2026, 12:41:41.283\",\"RetryHandler invoked: lastAttemptNumber=3 (max=5), totalRetryTimeMs=2623\"\n\"20/05/2026, 12:41:41.425\",\"RetryHandler invoked: lastAttemptNumber=2 (max=5), totalRetryTimeMs=2154\"\n\"20/05/2026, 12:41:41.503\",\"RetryHandler invoked: lastAttemptNumber=5 (max=5), totalRetryTimeMs=3191\"\n\"20/05/2026, 12:41:41.565\",\"RetryHandler invoked: lastAttemptNumber=4 (max=5), totalRetryTimeMs=3106\"\n\"20/05/2026, 12:41:41.828\",\"RetryHandler invoked: lastAttemptNumber=2 (max=5), totalRetryTimeMs=2361\"\n\"20/05/2026, 12:41:41.899\",\"RetryHandler invoked: lastAttemptNumber=3 (max=5), totalRetryTimeMs=3029\"\n\"20/05/2026, 12:41:42.356\",\"RetryHandler invoked: lastAttemptNumber=4 (max=5), totalRetryTimeMs=3692\"\n\"20/05/2026, 12:41:42.437\",\"RetryHandler invoked: lastAttemptNumber=5 (max=5), totalRetryTimeMs=3974\"\n\"20/05/2026, 12:41:42.557\",\"RetryHandler invoked: lastAttemptNumber=3 (max=5), totalRetryTimeMs=3452\"\n\"20/05/2026, 12:41:43.109\",\"RetryHandler invoked: lastAttemptNumber=3 (max=5), totalRetryTimeMs=3834\"\n\"20/05/2026, 12:41:43.179\",\"RetryHandler invoked: lastAttemptNumber=4 (max=5), totalRetryTimeMs=4308\"\n\"20/05/2026, 12:41:43.436\",\"RetryHandler invoked: lastAttemptNumber=5 (max=5), totalRetryTimeMs=4766\"\n\"20/05/2026, 12:41:43.717\",\"RetryHandler invoked: lastAttemptNumber=3 (max=5), totalRetryTimeMs=4238\"\n\"20/05/2026, 12:41:44.034\",\"RetryHandler invoked: lastAttemptNumber=4 (max=5), totalRetryTimeMs=4965\"\n\"20/05/2026, 12:41:44.486\",\"RetryHandler invoked: lastAttemptNumber=5 (max=5), totalRetryTimeMs=5589\"\n\"20/05/2026, 12:41:44.800\",\"RetryHandler invoked: lastAttemptNumber=4 (max=5), totalRetryTimeMs=5519\"\n\"20/05/2026, 12:41:45.517\",\"RetryHandler invoked: lastAttemptNumber=5 (max=5), totalRetryTimeMs=6444\"\n\"20/05/2026, 12:41:45.596\",\"RetryHandler invoked: lastAttemptNumber=4 (max=5), totalRetryTimeMs=6125\"\n\"20/05/2026, 12:41:46.480\",\"RetryHandler invoked: lastAttemptNumber=5 (max=5), totalRetryTimeMs=7206\"\n\"20/05/2026, 12:41:47.480\",\"RetryHandler invoked: lastAttemptNumber=5 (max=5), totalRetryTimeMs=8005\"\n\"20/05/2026, 12:41:49.563\",\"RetryHandler invoked: lastAttemptNumber=10 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:49.792\",\"RetryHandler invoked: lastAttemptNumber=10 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:50.045\",\"RetryHandler invoked: lastAttemptNumber=10 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:50.203\",\"RetryHandler invoked: lastAttemptNumber=10 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:50.405\",\"RetryHandler invoked: lastAttemptNumber=10 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:50.623\",\"RetryHandler invoked: lastAttemptNumber=10 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:50.837\",\"RetryHandler invoked: lastAttemptNumber=10 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:51.017\",\"RetryHandler invoked: lastAttemptNumber=10 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:51.255\",\"RetryHandler invoked: lastAttemptNumber=10 (max=5), totalRetryTimeMs=0\"\n\"20/05/2026, 12:41:51.463\",\"RetryHandler invoked: lastAttemptNumber=10 (max=5), totalRetryTimeMs=0\"\n```\n\nThe first batch of 10 activities (indices 0–9) retries normally — `lastAttemptNumber` progresses 1→5 and `totalRetryTimeMs` rises monotonically per task. The second batch (indices 10–19) each see `lastAttemptNumber=10` with `totalRetryTimeMs=0` on their **first** failure — equal to `MAX_IN_FLIGHT`, matching the root-cause analysis above. The retry handler returns `false` (10 \u003c 5 is false), so the second batch gets zero retries and their first failure propagates. The `totalRetryTimeMs=0` confirms no real retry has happened, even though `lastAttemptNumber` already says 10.\n\n**Expected**: each task's retry handler sees `lastAttemptNumber` rising from 1 to 5 as it actually retries.\n**Actual**: tasks entering a refilled window see `lastAttemptNumber ≈ window size` on first failure — exceeding the retry budget before any real retry happens.\n\n## Impact\n\nAny custom `RetryHandler` that gates retries on `lastAttemptNumber` (the obvious choice given the docs) silently rejects retries that should fire, under common parallel fan-out patterns. We hit this in production when running 10 items in parallel via `anyOf` with a 5-attempt cap: the last items in the window saw inflated `lastAttemptNumber` on their first failure, retries were rejected, the activity failure propagated to the orchestrator, and the orchestration failed instead of recovering.\n\nWorkaround: gate on `RetryContext.getTotalRetryTime()` instead — that field is only written inside `RetriableTask.tryRetry()` after the timer await and is not affected by `initSubTasks`.\n\n## Suggested fix\n\nWithout a precise diagnosis it's premature to prescribe a code change, but the goal is clear: `RetryContext.getLastAttemptNumber()` must reflect only real handler invocations for a given task, matching `totalRetryTime`. Whatever code path bumps `attemptNumber` for a freshly-scheduled `RetriableTask` joining an active `CompoundTask` needs to be removed or guarded so that the counter starts at `1` on the first real failure for every task, regardless of when in the orchestrator's lifetime the task was scheduled.\n\nA useful invariant to enforce in tests: for every retry-handler invocation, `lastAttemptNumber == 1 || totalRetryTime > 0`. Any invocation with `lastAttemptNumber > 1` and `totalRetryTime == 0` is by definition inconsistent with the documented contract.\n\n## Environment\n\n- `com.microsoft:durabletask-client:1.9.0`\n- Azure Functions Java worker on **Flex Consumption** plan, region `norwayeast`, **Maximum instance count = 10**\n- Relevant `host.json`:\n\n  ```json\n  {\n    \"version\": \"2.0\",\n    \"functionTimeout\": \"00:10:00\",\n    \"extensions\": {\n      \"durableTask\": {\n        \"hubName\": \"MyHub\",\n        \"storageProvider\": {\n          \"partitionCount\": 16\n        },\n        \"maxConcurrentActivityFunctions\": 10,\n        \"maxConcurrentOrchestratorFunctions\": 20\n      }\n    },\n    \"extensionBundle\": {\n      \"id\": \"Microsoft.Azure.Functions.ExtensionBundle\",\n      \"version\": \"[4.*, 5.0.0)\"\n    }\n  }\n  ```\n\n","author":{"url":"https://github.com/torenedre","@type":"Person","name":"torenedre"},"datePublished":"2026-05-20T06:33:16Z","url":"https://github.com/microsoft/durabletask-java/issues/290"}

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:5ee89059-cc21-5d37-a4eb-61f5274d5f4d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC214:25139E:73812:98D5E:6AFE31BC
html-safe-nonce7ac8ce79787fc13f837b7f48ef6575bb4336c666cb6c45935638a348c61010ec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjE0OjI1MTM5RTo3MzgxMjo5OEQ1RTo2QUZFMzFCQyIsInZpc2l0b3JfaWQiOiI1OTk4OTEwMDk0MDQzOTE4NzgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf9a6bce891ebd135e1e8429aa116939dd97c0fea2bac2d94a387b78d6fd5634d
hovercard-subject-tagissue:4483804807
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/290/issue_layout
twitter:imagehttps://opengraph.githubassets.com/aa1b65d49d8a994ccd8c692a7414a948daadb8892ac0cef5fcddcd8a66c4961a/microsoft/durabletask-java/issues/290
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aa1b65d49d8a994ccd8c692a7414a948daadb8892ac0cef5fcddcd8a66c4961a/microsoft/durabletask-java/issues/290
og:image:altSummary RetryContext.getLastAttemptNumber() violates its documented contract when the underlying retriable task is awaited indirectly via a CompoundTask (e.g. TaskOrchestrationContext.anyOf(...)). ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametorenedre
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/290#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-java%2Fissues%2F290
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%2F290
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/290
Reloadhttps://github.com/microsoft/durabletask-java/issues/290
Reloadhttps://github.com/microsoft/durabletask-java/issues/290
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/290
New issuehttps://github.com/login?return_to=https://github.com/microsoft/durabletask-java/issues/290
RetryContext.lastAttemptNumber is inflated when retriable task is awaited via ctx.anyOf(...)https://github.com/microsoft/durabletask-java/issues/290#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/torenedre
Tore Nedretvedt (torenedre)https://github.com/torenedre
on May 20, 2026https://github.com/microsoft/durabletask-java/issues/290#issue-4483804807
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 20, 2026https://github.com/microsoft/durabletask-java/issues/290#event-25742549377
https://github.com/torenedre
Tore Nedretvedt (torenedre)https://github.com/torenedre
on May 22, 2026https://github.com/microsoft/durabletask-java/issues/290#issuecomment-4515967671
https://github.com/torenedre
Tore Nedretvedt (torenedre)https://github.com/torenedre
on May 22, 2026https://github.com/microsoft/durabletask-java/issues/290#issuecomment-4516447453
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/durabletask-java/issues/290
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/durabletask-java/issues/290
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.