Repository navigation
Isolate inbound payload hydration failures to their deliveries #829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
wangbill (YunchuWang)
merged 11 commits into
main
from
yunchuwang-payload-hydration-isolation
Nov 17, 2026
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
7b811e3
Isolate inbound payload hydration failures by delivery
YunchuWang dff9127
Merge main and verify Azure Managed hydration recovery
YunchuWang a0f5320
Fail confirmed-missing payload deliveries without disconnecting healt…
YunchuWang 3837371
Revert "Fail confirmed-missing payload deliveries without disconnecti…
YunchuWang e70fac2
refactor: reduce abandon-only hydration patch
YunchuWang 52ed544
fix: pause the read watchdog during payload abandonment
YunchuWang 1675f41
fix: separate transport, download, and abandonment budgets
YunchuWang 325f6bb
fix: clarify payload contracts and own each read deadline
YunchuWang 5c1c38e
fix(test): use the feed-cached native fake clock package
YunchuWang 93426cc
fix: keep payload recovery limited to delivery abandonment
YunchuWang fa5acb8
fix: count failed payload deliveries as stream activity
YunchuWang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| // Copyright (c) Microsoft Corporation. | ||
| // Licensed under the MIT License. | ||
|
|
||
| using P = Microsoft.DurableTask.Protobuf; | ||
|
|
||
| namespace Microsoft.DurableTask.Worker.Grpc.Internal; | ||
|
|
||
| /// <summary> | ||
| /// A received delivery whose payloads could not be resolved. The item is only safe to abandon, not dispatch. | ||
| /// </summary> | ||
| /// <param name="workItem">The failed delivery, including its original completion token.</param> | ||
| /// <param name="innerException">The payload resolution failure.</param> | ||
| /// <remarks> | ||
| /// Infrastructure contract between worker extensions and the gRPC worker. This is not a supported application API. | ||
| /// </remarks> | ||
| public sealed class WorkItemPayloadException(P.WorkItem workItem, Exception innerException) | ||
| : Exception("Failed to resolve payloads for a work-item delivery.", innerException) | ||
| { | ||
| /// <summary> | ||
| /// Gets the failed delivery. Its payload fields may be partially resolved. | ||
| /// </summary> | ||
| public P.WorkItem WorkItem { get; } = workItem; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.