Repository navigation
Quarantine intermittent async test list-write failure - #5129
Conversation
Co-authored-by: Copilot App <[email protected]>
Quarantine evidence and incomplete discovery checkpoint - 2026-11-23Supported category-only transitionExact unparameterized Fact: Add one method-level Verified failure and actual passing controlBoth executions are sqlclient-pr (definition 2281), main-targeted
Individual public result detail responses were HTTP 200 JSON and matched result Comparable configuration: Windows Server 2022, OS 10.0.20348, net462/native SNI, The test file blob is identical in both CI revisions and current main Unique run/job/task/log mappingRun metadata verified the expected build and definition plus:
Timeline identifier matches were unique and parentId links connected this chain.
The failing log confirms Task.WaitAll propagated two helper exceptions, both Concrete test-specific weaknessCurrent upstream source Generic Azure SQL/network unavailability is not the better explanation for two Outcome reconciliation and coverage boundaryDiscovered run/result identities were deduplicated by build/run/result ID, never
These match the server runStatistics entries (including all outcome counts, This establishes result-outcome enumeration for these two runs and full relevant Inspected interval, inventory and deduplicationInterval: 2026-11-09T14:02:42.897Z through 2026-11-23T14:02:42.897Z. All completed scoped builds, without a branch or result restriction, were
sqlclient-ci-stress (2250) was verified Disabled and excluded. Definitions were All open PR titles and relevant category/fix bodies were read for overlap, Unconfirmed candidates and branch-specific unfinished work
CI-SqlClient branch inventory, discovered from build metadata and checked against
No release branch has a verified same-branch DDAsync failure/pass pair from this Local validation commands and resultsCommands ran only in this automation's isolated worktree. Initial baseline dotnet test src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj --no-restore --framework net462 -p:ReferenceType=Project --list-tests --filter 'FullyQualifiedName=Microsoft.Data.SqlClient.ManualTesting.Tests.DDAsyncTest.ExecuteCommand_WithNewConnection_ShouldPerformAsyncByDefault' --verbosity quietMissing assets were restored using the existing configured feeds/accounts: dotnet restore src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj -p:ReferenceType=Project --verbosity quietPASSED. No dependency/version/source-feed changes. Subsequent exact command forms, each evaluated for $p = 'src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj'
$n = 'FullyQualifiedName=Microsoft.Data.SqlClient.ManualTesting.Tests.DDAsyncTest.ExecuteCommand_WithNewConnection_ShouldPerformAsyncByDefault'
dotnet test $p --no-restore --framework $f -p:ReferenceType=Project --list-tests --filter "$n&category=flaky" --verbosity quiet
dotnet test $p --no-restore --no-build --framework $f -p:ReferenceType=Project --list-tests --filter "$n&category!=failing&category!=flaky&category!=interactive" --verbosity quiet
dotnet test $p --no-restore --no-build --framework $f -p:ReferenceType=Project --filter "$n&category=flaky" --verbosity quietResults on each framework: compilation/discovery PASSED and selected exactly Sibling preservation, each framework: $n = 'FullyQualifiedName=Microsoft.Data.SqlClient.ManualTesting.Tests.DDAsyncTest.ExecuteCommand_WithSharedConnection_ShouldPerformAsyncByDefault'
dotnet test $p --no-restore --no-build --framework $f -p:ReferenceType=Project --list-tests --filter "$n&category!=failing&category!=flaky&category!=interactive" --verbosity quietPASSED, exactly one ordinary sibling selected per framework. Upstream build.proj ordinary defaults exclude Errors, publication metadata and checkpointTwo historical test-stage file lookups returned HTTP 404 because the guessed Latest canonical upstream main version: 8.1.0-preview1; matching existing CHECKPOINT NOT ADVANCED. The 481-build inventory is complete for the Fixes, probation, promotion, category removal, merging and auto-merge are outside |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the narrowly scoped quarantine of one intermittent manual test.
No open issues 🎉
What changed in this PR
Quarantines one intermittent SqlClient manual test without changing test logic or product behavior.
Changes:
- Adds a method-level
flakycategory toExecuteCommand_WithNewConnection_ShouldPerformAsyncByDefault, moving it out of ordinary test runs. - Adds a comment recording the observed
List<T>.Addexception; existing conditions, categories, and sibling tests remain unchanged.
Reported discovery checks verified routing on both target frameworks. Execution was skipped because SQL setup was unavailable; no stability claim is made.
| File | Description |
|---|---|
| src/Microsoft.Data.SqlClient/tests/ManualTests/DDBasics/DDAsyncTest/DDAsyncTest.cs | Adds the quarantine trait and observed-error comment to one test. |
Review effort: Balanced
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5129 +/- ##
==========================================
+ Coverage 68.99% 70.45% +1.46%
==========================================
Files 314 315 +1
Lines 45857 70150 +24293
==========================================
+ Hits 31638 49425 +17787
- Misses 14219 20725 +6506
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 the unparameterized Fact
Microsoft.Data.SqlClient.ManualTesting.Tests.DDAsyncTest.ExecuteCommand_WithNewConnection_ShouldPerformAsyncByDefaultwith one method-level[Trait("category", "flaky")]and an observed-error comment. One Fact per net462/net10.0 moves to quarantine; test bodies, conditions,Set=3, other categories and the shared-connection sibling remain unchanged. No product, API, documentation/localization or pipeline changes.Eligibility: two async helpers append to the same unsynchronized
List<string>. CI failed insideList<T>.Addin both helpers; the unchanged Fact passed in a separate comparable job. That concrete test-owned collection weakness, not a generic connection timeout or successful retry, supports quarantine.d8e6af882ca23889617013feBoth are main-targeted PR jobs: Windows Server 2022/net462/native SNI/Debug/Project, localhost Set 123, attempt 1, image 39.0.0. The test and matrix/job blobs are identical; intervening changes concern documentation validation and unrelated vector tests.
Complete collapsed evidence record, including exact identities, job/log mappings, outcome reconciliation, commands and unfinished branch coverage. Build interval: 2026-11-09T14:02:42.897Z–2026-11-23T14:02:42.897Z; 481 builds enumerated, but full-window per-test coverage remains incomplete and checkpoint is not advanced. Release/6.1, /7.0, /7.1 and /8.0 were included in inventory; no qualifying release pair supports Hotfix routing. Fixes and probation are outside scope.
Issues
Related discovery/context: #5128, #5127, #5125, #5118, #5095. No equivalent pending DDAsync quarantine was found; no unrelated PRs are modified.
Testing
For each
$finnet462,net10.0, these exact command forms were run:Results per framework: build/quarantine discovery passed (one Fact); ordinary exclusion passed (zero selected, not execution coverage); execution skipped 1 / passed 0 because SQL setup is not configured. The ordinary sibling remains selected on both frameworks. Initial NETSDK1004 was resolved by
dotnet restore $p -p:ReferenceType=Project --verbosity quiet(passed).git diff --checkpassed. No stability or repair claim; full commands, outcome reconciliation and limitations are in the evidence comment.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 (category metadata only)
Public API changes documented (none)
Verified against customer repro (not applicable; CI evidence)
Ensure no breaking changes introduced (test routing only)