Repository navigation
Document orchestration deduplication statuses and singleton usage - #836
Open
Bernd Verst (berndverst) wants to merge 1 commit into
Open
Bernd Verst (berndverst) wants to merge 1 commit into
Bernd Verst (berndverst) wants to merge 1 commit into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for this documentation-only update clarifying orchestration deduplication and singleton configuration.
No open issues 🎉
What changed in this PR
This documentation-only PR addresses #768 by explaining orchestration deduplication in the SDK’s API comments and README. It makes singleton configuration more discoverable without changing public APIs or runtime behavior.
Changes:
- Clarifies supported statuses, null versus empty lists, duplicate exceptions, and instance ID reuse.
- Adds a singleton scheduling example that protects active instances from replacement.
- Documents replacement risks, configuration restrictions, and backend support caveats.
| File | Description |
|---|---|
src/Client/Core/StartOrchestrationOptionsExtensions.cs |
Expands WithDedupeStatuses XML documentation and adds a singleton configuration example. |
src/Abstractions/TaskOptions.cs |
Documents DedupeStatuses semantics, defaults, supported values, and restrictions. |
README.md |
Adds singleton scheduling guidance, exception handling, and backend caveats. |
Review effort: Balanced
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
What changed?
StartOrchestrationOptions.DedupeStatusesandWithDedupeStatuses.Why is this change needed?
Issues / work items
Project checklist
release_notes.mdAI-assisted code disclosure (required)
Was an AI tool used? (select one)
If AI was used:
README.md,src/Abstractions/TaskOptions.cs,src/Client/Core/StartOrchestrationOptionsExtensions.csAI verification (required if AI was used):
Testing
Automated tests
git diff --check— passed before commit.dotnet build Microsoft.DurableTask.sln --configuration Releaseordotnet test Microsoft.DurableTask.sln --configuration Release --no-build --verbosity normalbecause the change is documentation-only.Manual validation (only if runtime/behavior changed)
Notes for reviewers