Repository navigation
Quarantine intermittent pooled-reset budget theory - #5127
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Verified isolation-budget quarantine evidence and incomplete discovery checkpoint - 2026-11-21Confirmed identity, executions and configurationThe confirmed case is: All three CI executions below used revision
The Unique mapped jobs/tasks, verified by run
The same-x86 control run was discovered from the uniquely mapped Concrete test-specific eligibilityThe test This is a source-backed test-harness synchronization weakness, not just Category-only effect and exact case matrixAdd only the observed-error All entries below share the fully qualified method name above; columns are
These are actual Passed parent records, with constant InlineData identities; Validation commands and resultsBaseline at upstream main, before adding the category: dotnet test src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj --no-build --no-restore -f net10.0 --filter 'FullyQualifiedName~IsolationLevelResetTests.PooledReset_UsesRemainingOpenBudget' -v:q --blame-hang-timeout 2mPassed: 12, failed: 0, skipped: 0. This is a current-source control, not After the category change: dotnet test src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj --no-restore --list-tests --filter 'FullyQualifiedName~IsolationLevelResetTests.PooledReset_UsesRemainingOpenBudget&category=flaky' -v:q
dotnet test src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj --no-build --no-restore --filter 'FullyQualifiedName~IsolationLevelResetTests.PooledReset_UsesRemainingOpenBudget&category=flaky' -v:q --blame-hang-timeout 2m
dotnet test src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj --no-build --no-restore --list-tests --filter 'FullyQualifiedName~IsolationLevelResetTests&category!=failing&category!=flaky&category!=interactive' -v:q
git diff --checkResults: quarantine discovery lists all 12 exact cases per framework; Deduplication, release branches and milestoneLive open tagging proposals #5125, Release branches discovered from scoped metadata and upstream refs: Fresh upstream main declares Inventory, reconciliation, unfinished evidence and checkpointNo reliable fully processed tagging checkpoint was found in prior tagging All seven requested definition identities were rechecked with enabled status: Authenticated build discovery paginated to exhaustion, without an outcome Three relevant runs were authenticated-paginated and reconciled against
Failure-run pages used skip/top 0/500, 500/500, 1000/1000, 2000/1000, Additional failure discovery used builds 190251, 190265, 190269, 190277, Unconfirmed/excluded follow-ups, not tagged:
Explicit errors/limitations: Azure DevOps MCP passing build-helper Checkpoint NOT ADVANCED. No continuously complete per-test interval is Fixes, retries, probation changes/promotion, pipeline changes, queued |
There was a problem hiding this comment.
🔵 Needs a closer look
Missing target PR identification and a trusted immutable source for required supplemental review policies prevent verification of existing feedback and completion of the repository review protocol.
No open issues 🎉
What changed in this PR
This PR quarantines the intermittent pooled isolation-reset timeout-budget theory introduced in #4330, without changing driver behavior or test logic.
Changes:
- Adds a method-level
flakytrait to route all 12 theory cases to quarantine. - Adds a comment documenting the observed timeout assertion failure.
- Leaves neighboring tests, other categories, and pipelines unchanged.
| File | Description |
|---|---|
src/Microsoft.Data.SqlClient/tests/UnitTests/SimulatedServerTests/IsolationLevelResetTests.cs |
Quarantines PooledReset_UsesRemainingOpenBudget and records the observed failure. |
Review effort: Balanced
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5127 +/- ##
==========================================
+ Coverage 68.99% 70.51% +1.52%
==========================================
Files 314 315 +1
Lines 45857 70150 +24293
==========================================
+ Hits 31638 49467 +17829
- Misses 14219 20683 +6464
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 pull request was created by a fully automated workflow.
Description
Quarantine
Microsoft.Data.SqlClient.UnitTests.SimulatedServerTests.IsolationLevelResetTests.PooledReset_UsesRemainingOpenBudgetwith a method-level[Trait("category", "flaky")]and the required observed-error comment. All 12 InlineData cases move to quarantine on net462/net10.0; test bodies, other categories and neighboring tests are unchanged. No product, API, documentation/localization or pipeline changes.Eligibility: the simulator callback calls a mutating timeout accessor on the client's live state without synchronization. That invasive sample can race the driver's timeout consumption. CI observed 0 ms where the assertion expected 1–1250 ms, after a successful checkout/reset batch; the exact case passed in another same-revision/configuration job. This is a concrete test-harness weakness, not generic Azure SQL connectivity or a repair claim.
Confirmed arguments:
(poolV2: True, async: False, overallTimeout: True, waitForConnection: False).a3454b678be1ee645972ba576a1649fa980174f7; Windows/x86/net10.0/native SNI/Debug/ProjectThese are main-derived PR jobs; the affected source is unchanged on current main. Complete collapsed evidence record, including exact case matrix, source-backed eligibility, configurations and coverage gaps. Full-window per-test discovery remains incomplete; checkpoint not advanced. Release/6.1, /7.0, /7.1 and /8.0 were included in discovery, but no qualifying release pair supports hotfix routing.
Issues
Related: #4330 introduced the isolation-reset coverage. Pending #5125, #5118 and #5095 quarantine unrelated tests; #5119 and #5117 are separate repair context. No issue is closed. Fixes and probation are outside this automation's scope.
Testing
Passed: quarantine discovery selects 12 cases per framework; execution passes 12 net462 + 12 net10.0, zero skipped. Ordinary discovery excludes the affected method while retaining neighboring tests. Diff check passed. No manual SQL Server test, local x86/Linux run or stability soak is claimed; category validation is not a fix or stability claim. Passing build-helper retrieval was interrupted; the linked record distinguishes recovered controls from incomplete full-window coverage.
Guidelines
Please review the contribution guidelines before submitting a pull request:
Contributing
Code of Conduct
Best Practices
Coding Style
Review Process
Tests added or updated
Public API changes documented (none; category-only)
Verified against customer repro (not applicable)
Ensure no breaking changes introduced