Hybrid client/server PATCH execution - #5196
Merged
Fabian Meiswinkel (FabianMeiswinkel) merged 49 commits intoSep 2, 2026
Merged
Conversation
## Summary - Adds bounded duplicate suppression for non-idempotent client-side PATCH operations by atomically storing `_azsdkPatchTracking` markers with the inner Replace. - Supports caller-provided tracking IDs across application and process retries, 15-minute service-time retention, configurable capacity, conservative replay-safety classification, and fail-closed behavior. - Exposes tracking through the Rust preview API and additive native v2 request/submit APIs while preserving the v1 ABI. - Adds post-service response-timeout fault injection and end-to-end coverage proving a committed PATCH is not applied twice when its response is lost. Cooperating full-document writers must preserve the reserved property.
Add Default for both public PatchTrackingId models so all-target Clippy remains clean. Complete the unreleased API inventories with PatchInstructions::is_retry_safe and the SDK fault-injection addition.
…to users/fabianm/Patch_B2
Keep verification-only reads independent of _ts while centralizing insertion-time validation beside the timestamp lookup.
…to users/fabianm/Patch_C
…to users/fabianm/Patch_C
Fabian Meiswinkel (FabianMeiswinkel)
requested a review
from a team
as a code owner
August 31, 2026 18:46
|
Azure Pipelines: Successfully started running 1 pipeline(s). 3 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Member
Author
|
/azp run rust - cosmos - weekly |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Heath Stewart (heaths)
approved these changes
Sep 1, 2026
Heath Stewart (heaths)
left a comment
Member
There was a problem hiding this comment.
Signed off on ci.tests.yml change only.
Member
Author
|
/azp run rust - cosmos - weekly |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
Member
Author
|
/azp run rust - cosmos - weekly |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Member
Author
|
/azp run rust - cosmos - weekly |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Ashley Stanton-Nurse (analogrelay)
approved these changes
Sep 1, 2026
Member
Author
|
/azp run rust - cosmos - weekly |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Fabian Meiswinkel (FabianMeiswinkel)
enabled auto-merge (squash)
September 1, 2026 23:52
Fabian Meiswinkel (FabianMeiswinkel)
disabled auto-merge
September 1, 2026 23:52
Member
Author
|
/azp run rust - cosmos - weekly |
Fabian Meiswinkel (FabianMeiswinkel)
enabled auto-merge (squash)
September 1, 2026 23:58
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Ashley Stanton-Nurse (analogrelay)
approved these changes
Sep 2, 2026
Fabian Meiswinkel (FabianMeiswinkel)
merged commit Sep 2, 2026
7c672c4
into
main
40 of 43 checks passed
Fabian Meiswinkel (FabianMeiswinkel)
deleted the
users/fabianm/Patch_C
branch
September 2, 2026 01:22
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds configurable PATCH execution through
Auto,ClientSide, andServerSidestrategies.