Repository navigation
[8.0.0 Cherry-pick] Await enclave attestation in asynchronous command execution - #5066
Merged
Merged
Conversation
* Await enclave attestation during asynchronous command execution Integrate asynchronous enclave session preparation, creation, and invalidation with command cancellation and retry cleanup. Preserve synchronous behavior and shared metadata parsing; add deterministic and SQL-backed regression coverage. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 47a925b3-e0e6-43ed-9fb7-519060a206c2 * Retain describe connection ownership through reader registration Give asynchronous describe processing sole ownership of its captured connection reservation. Preserve original write faults and cancellation after connection closure, retain describe mode through reconnect, and test delayed reader registration and setup failures. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 47a925b3-e0e6-43ed-9fb7-519060a206c2 * Keep non-enclave command preparation inline and isolate test options Preserve null-task completion for parameterless Always Encrypted commands without an enclave workflow. Isolate simulated enclave fixtures by application name so cached attestation options cannot leak across reused server endpoints. Add deterministic regressions for both paths. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 47a925b3-e0e6-43ed-9fb7-519060a206c2 * Keep completed enclave batch preparation inline Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 47a925b3-e0e6-43ed-9fb7-519060a206c2 * Revalidate connection after asynchronous enclave preparation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 47a925b3-e0e6-43ed-9fb7-519060a206c2 * Release retained connection reservation when enclave retry aborts Fix Parser namespace imports after the stack rebase and cover provider faults and cancellation after successful session invalidation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 47a925b3-e0e6-43ed-9fb7-519060a206c2 * Test inline asynchronous enclave retry cleanup Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 47a925b3-e0e6-43ed-9fb7-519060a206c2 * Stabilize async command reservation fixture under coverage Gate the simulated response until overlap assertions finish and return metadata-free DONE for the fixture's negotiated encryption capabilities. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 47a925b3-e0e6-43ed-9fb7-519060a206c2 --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 47a925b3-e0e6-43ed-9fb7-519060a206c2
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
cheenamalhotra
approved these changes
Nov 13, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release/8.0 #5066 +/- ##
===============================================
+ Coverage 68.97% 72.50% +3.52%
===============================================
Files 314 314
Lines 45857 71133 +25276
===============================================
+ Hits 31629 51573 +19944
- Misses 14228 19560 +5332
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Cherry-pick of #4887 (5f74e8f) into
release/8.0.