Repository navigation
[8.0.0 Cherry-pick] Return retry task from async XML enclave execution - #5136
Merged
Merged
Conversation
* Return retry task from async XML enclave execution BeginExecuteXmlReader returned localCompletion, so the user's End ran on the first attempt while the internal End and enclave retry were still using the same state object. That desynced the TDS stream (Internal connection fatal error, state 15). Return globalCompletion, like Reader and NonQuery. Co-authored-by: Copilot App <[email protected]> * Test internal-End enclave retry for BeginExecuteXmlReader Use a server 33195 response to trigger the internal End retry path and gate the retry so the test fails if the result completes before the retry. Co-authored-by: Copilot App <[email protected]> * Await XML retry task before checking End error The retry skips the internal End, so its task completes successfully and End reports the error. Co-authored-by: Copilot App <[email protected]> * Handle describe RPC in simulated enclave XML retry test The CE enclave command sends sp_describe_parameter_encryption as an RPC, which the TDS test server could not parse. Add minimal RPC routing and answer it with an empty response in the retry test engine. Co-authored-by: Copilot App <[email protected]> * Release original async reservation after successful internal retry Co-authored-by: Copilot App <[email protected]> --------- Co-authored-by: Copilot App <[email protected]>
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
saurabh500
approved these changes
Nov 24, 2026
saurabh500
enabled auto-merge (squash)
November 24, 2026 00:51
benrr101
approved these changes
Nov 24, 2026
Contributor
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). 2 pipeline(s) were filtered out due to trigger conditions. |
saurabh500
disabled auto-merge
November 24, 2026 01:45
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/8.0 #5136 +/- ##
===============================================
- Coverage 74.60% 69.96% -4.64%
===============================================
Files 313 313
Lines 45804 69738 +23934
===============================================
+ Hits 34170 48793 +14623
- Misses 11634 20945 +9311
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 #5117 (329df05) into
release/8.0.