[Bundle] Include hardDelete and purge as part of TransactionScope#5366
Open
[Bundle] Include hardDelete and purge as part of TransactionScope#5366
Conversation
test/Microsoft.Health.Fhir.Shared.Tests.E2E/Rest/BundleTransactionTests.cs
Fixed
Show fixed
Hide fixed
test/Microsoft.Health.Fhir.Shared.Tests.E2E/Rest/BundleTransactionTests.cs
Fixed
Show fixed
Hide fixed
…supporter scenarios.
LTA-Thinking
reviewed
Feb 3, 2026
...ealth.Fhir.Shared.Api.UnitTests/Features/Resources/Bundle/TransactionBundleValidatorTests.cs
Show resolved
Hide resolved
test/Microsoft.Health.Fhir.Shared.Tests.E2E/Rest/BundleTransactionTests.cs
Dismissed
Show dismissed
Hide dismissed
test/Microsoft.Health.Fhir.Shared.Tests.E2E/Rest/BundleTransactionTests.cs
Dismissed
Show dismissed
Hide dismissed
LTA-Thinking
reviewed
Feb 4, 2026
test/Microsoft.Health.Fhir.Shared.Tests.E2E/Rest/BundleTransactionTests.cs
Show resolved
Hide resolved
LTA-Thinking
approved these changes
Feb 4, 2026
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
fhibf
commented
Feb 4, 2026
Contributor
Author
fhibf
left a comment
There was a problem hiding this comment.
Waiting for confirmation before merging these changes.
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
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.
Description
In this PR I'm adding Hard Delete and Purge history operations on the same scope of the C# Transactions executed by sequential bundles.
For parallel bundles, as these operations are not using the same stored procedure and C# Transactions, then more work needs to be done. I ended up adding back the validations to block Hard Deletes and Purge History from parallel bundles.
Related issues
Addresses AB#182156
Testing
Describe how this change was tested.
FHIR Team Checklist
Semver Change (docs)
Patch|Skip|Feature|Breaking (reason)