Skip to content

Fix simulator transport initialization racing disposal - #5000

Merged
mdaigle merged 2 commits into
mainfrom
dev/mdaigle/quarantined-flaky-repairs
Nov 10, 2026
Merged

mdaigle merged 2 commits into
mainfrom
dev/mdaigle/quarantined-flaky-repairs

Conversation

@mdaigle

@mdaigle mdaigle commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

🤖 This pull request was created by a fully automated workflow.

Description

Fix the intermittent failure in Microsoft.Data.SqlClient.UnitTests.SimulatedServerTests.ServerLifecycleTests.Dispose_DrainsConnectionsAcrossRepeatedServerLifetimes (Fact; no arguments).

Suspected root cause: ServerEndPointConnection.RunConnectionHandler reads TcpClient.Client and calls GetStream() while disposal can concurrently close the client. On .NET Framework, closure can clear the socket during stream construction. The observed CI failure was ArgumentNullException("socket") in TcpClient.GetStream().

Fix: protect the stop check, stream acquisition and parser initialization with the same per-connection lock used by both socket-close paths. Keep the worker-drain wait outside that lock. Startup after a stop request skips initialization but still performs session cleanup. No sleeps, retries, weakened assertions or additional exception suppression are introduced.

Add a controlled regression, ServerEndPointConnectionTests.Dispose_StartupInProgress_WaitsBeforeClosingTransport, that pauses initialization and verifies disposal cannot close the transport until initialization is released. Document the transport ownership rule in TESTGUIDE.md. Production APIs and pipeline definitions are unchanged.

Keep the affected lifecycle test marked [Trait("category", "flaky")] and add [Trait("category", "probation")]. Probation starts only when a merge makes the repair and both markings effective upstream—not when this proposal is opened.

Issues

#4996 quarantined this same lifecycle test; its merged flaky marking is preserved.

Testing

The controlled regression failed on unrepaired source and passed after correction on both frameworks. Focused Debug and Release runs passed 15 net462 / 22 net10.0 cases each, with zero failures/skips, including the affected Fact, regression and existing sync/async lifecycle coverage. Final focused command:

dotnet test src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj --no-restore --filter "FullyQualifiedName~ServerEndPointConnectionTests|FullyQualifiedName~ServerLifecycleTests" -v:q

Passed: 15 net462 / 22 net10.0. Ordinary filters exclude the affected Fact; quarantine executes it on both frameworks. Completed integrated-SHA scoped CI has actual affected-Fact and regression passes on Windows net462 and net10.0 native/managed SNI. Same-tree Linux CI has an actual regression pass and 20 neighboring lifecycle passes. Linux quarantine publication failed, so its exact affected-Fact result remains unavailable. An unrelated native quarantine hang and manual SQL-schema deadlocks prevent claiming wholly green broader checks.

Detailed evidence, exact commands/results and merge handoff.

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 (not applicable: simulator-only correction).

  • Verified against customer repro (not applicable: controlled harness regression; exact CI framework-internal instruction interleaving not single-stepped).

  • Ensure no breaking changes introduced (no production driver/API or pipeline changes).

Retain lifecycle quarantine and add probation for the startup/close repair.

Co-authored-by: Copilot App <[email protected]>
Copilot AI balanced review requested due to automatic review settings November 4, 2026 18:27
@github-project-automation github-project-automation Bot moved this to To triage in SqlClient Board Nov 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Per-test CI evidence for the transport-lifecycle repair on Linux and managed Windows remains pending, leaving cross-platform regression and lifecycle behavior unverified.

No open issues 🎉

What changed in this PR

This draft PR addresses a transport startup/disposal race in the TDS test simulator, following the stabilization work in #4891. Production driver behavior and public APIs are unchanged.

Changes:

  • Serializes stream acquisition and parser initialization with socket closure, keeping worker-drain waits outside the lock.
  • Adds a gated regression test verifying that disposal waits for initialization before closing the transport.
  • Marks the existing repeated-lifecycle test as flaky and probation, and documents transport ownership.

The PR reports focused passes on both frameworks; cross-platform validation remains pending, and a broader .NET Framework run encountered a disclosed baseline hang.

File Description
TESTGUIDE.md Documents initialization/closure locking and worker-drain ordering.
src/​Microsoft.Data.SqlClient/​tests/​UnitTests/​SimulatedServerTests/​ServerLifecycleTests.cs Adds flaky/probation traits and test-section comments without changing assertions.
src/​Microsoft.Data.SqlClient/​tests/​UnitTests/​SimulatedServerTests/​ServerEndPointConnectionTests.cs Adds a gated startup/disposal regression test.
src/​Microsoft.Data.SqlClient/​tests/​tools/​TDS/​TDS.EndPoint/​TDSServerEndPointConnection.cs Synchronizes transport initialization and both socket-close paths.

Review effort: Balanced

Retain the merged flaky trait and additive probation marker.

Co-authored-by: Copilot App <[email protected]>
Copilot AI balanced review requested due to automatic review settings November 6, 2026 19:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The concurrency repair lacks verifiable current-head CI and reviewer-feedback status, while cross-platform simulator validation remains unconfirmed and the broader net462 run aborted.

No open issues 🎉

Review effort: Balanced

@mdaigle

mdaigle commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor Author

Flaky repair evidence and probation handoff

Status: defensible repair with proportional local and scoped CI validation;
ready for human review, with Linux quarantine publication and unrelated broad-suite limits below.
This comment is the single detailed evidence record and will be updated, not duplicated.
The existing PR was marked ready with gh pr ready 5000 --repo dotnet/SqlClient;
REST then verified draft=false, state=open, merged=false, and the exact
repair head 26071290da0277ac34a0cd09616a0e84b194899b.

Exact cases and source identity

  • Affected case: Microsoft.Data.SqlClient.UnitTests.SimulatedServerTests.ServerLifecycleTests.Dispose_DrainsConnectionsAcrossRepeatedServerLifetimes; non-parameterized Fact, 20 internal lifecycle iterations.
  • Controlled regression: Microsoft.Data.SqlClient.UnitTests.SimulatedServerTests.ServerEndPointConnectionTests.Dispose_StartupInProgress_WaitsBeforeClosingTransport; non-parameterized Fact.
  • Observed failing and passing upstream source: c4441400b963572f709909d7d04976a67642c195.
  • Original repair proposal: ef43d0b0bfff3f08ff97b880793566bcb8c6dba7.
  • Quarantine dependency: Quarantine intermittent simulator lifecycle disposal test #4996, merged 2026-11-04T19:16:34Z as 848448b8cb0115227d126cab686d795ab343cedf; tagging proposal SHA 58735e93bbfe8ca774a4718ab1e40e3e335f9012.
  • Main inspected/integrated this continuation: e3f84aecddeae369cc99cbb3892efbeeef58ac34.
  • Current repair/integration SHA: 26071290da0277ac34a0cd09616a0e84b194899b. Merge parents include the original repair and current upstream main. The sole manual merge conflict was the same test's probation trait; resolution retains exactly one flaky trait and one probation trait. Simulator correction/regression are unchanged.

Causal evidence

The worker obtains TcpClient.Client, calls GetStream(), and initializes its parser.
Previously, Dispose() could close the client concurrently. Framework's Close() can
clear the socket used by GetStream() while NetworkStream is constructed. Both explicit
disposal and worker-finally socket closure now share the initialization lock. A stop before
startup skips initialization but still closes the session in finally. The processor-drain
wait remains outside the lock, so cleanup can acquire it. No sleep, weakened assertion,
retry, or new exception suppression is part of the repair.

The original same-Fact failure and passing control were re-read as HTTP 200 JSON single-result
responses, with matching build/run/result/name/outcome identities and empty subResults:

Source/build Run/result Configuration / attempt Actual outcome and UTC
188948, CI-SqlClient 1879 3659998 / 102629 Windows 2022, SQL 2019 enclave; Release / Project / net462 / x64 / native SNI; attempt 1 Failed, 2026-11-04T01:21:24.037Z-01:21:24.070Z
Same source/build 3659895 / 102791 Windows 2025, SQL 2025 named instance; Release / Project / net462 / x64 / native SNI; attempt 1 Passed, 2026-11-04T01:20:26.687Z-01:20:26.740Z

Failure: AggregateException: TDS server failed, nested ArgumentNullException,
parameter socket, at NetworkStream..ctor(Socket, Boolean) / TcpClient.GetStream() /
ServerEndPointConnection.RunConnectionHandler. The Fact uses its own loopback simulator,
not the provisioned SQL Server/enclave. The image difference is disclosed, not treated as
an identical-machine control.

The original task mapping is preserved in #4996's same-test evidence:
failure job c7decddd-1319-5311-b00e-7d41fcdf32d9, task
0ddc9072-64d8-5929-44d7-ceeba2bcf749, log 2573;
passing job b52da86c-7b2e-5030-2a61-013d4346a0f2, task
7c8062ee-122e-50e5-fb30-9357359faacd, log 2475.

Controlled local regression and scoped checks

All commands ran only in this continuation's isolated Windows worktree. SDK 10.0.403.
The selected project is:
src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj.
Results directory:
C:\Users\mdaigle\.copilot\session-state\4ef22bc6-4a55-4ee7-9448-e2606db7952d\files\validation.

Controlled unrepaired comparison: temporarily remove only the repair from
TDSServerEndPointConnection.cs, leaving the new regression present. git diff origin/main
for that simulator file was empty, verifying the unrepaired comparison. Run:

dotnet test src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj --no-restore --filter "FullyQualifiedName~ServerEndPointConnectionTests.Dispose_StartupInProgress_WaitsBeforeClosingTransport" -v:q --logger "trx;LogFilePrefix=unrepaired-controlled" --results-directory C:\Users\mdaigle\.copilot\session-state\4ef22bc6-4a55-4ee7-9448-e2606db7952d\files\validation --blame-hang-timeout 2m

Expected failure confirmed on both net462 and net10.0: 1 failed, 0 passed, 0 skipped
per framework; both TRX messages are "Disposal closed the transport before initialization
completed." The regression gates the actual worker inside PrepareForProcessingData,
starts disposal, observes its blocking boundary, and asserts the stream remains readable.
This demonstrates the ownership/interleaving violation, not the exact Framework-internal
instruction sequence producing the original ArgumentNullException.

The final concise reviewer command also passed 15 net462 / 22 net10.0,
zero failures/skips
on the integrated repair:

dotnet test src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj --no-restore --filter "FullyQualifiedName~ServerEndPointConnectionTests|FullyQualifiedName~ServerLifecycleTests" -v:q

Restore the repair exactly, integrate main, then run:

dotnet test src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj --no-restore --filter "FullyQualifiedName~SimulatedServerTests.ServerEndPointConnectionTests|FullyQualifiedName~SimulatedServerTests.ServerLifecycleTests" -v:q --logger "trx;LogFilePrefix=integrated-focused" --results-directory C:\Users\mdaigle\.copilot\session-state\4ef22bc6-4a55-4ee7-9448-e2606db7952d\files\validation --blame-hang-timeout 2m

Passed on integrated SHA: net462 15 passed; net10.0 22 passed; zero failures/skips.
Actual TRX records include the affected Fact, controlled regression, synchronous/asynchronous
TLS setup cases, and unexpected-worker-failure cases. The same focused command with
LogFilePrefix=repair-focused also passed 15/22 on original proposal SHA.

Release validation also passed 15 net462 / 22 net10.0; zero failures/skips, including
the exact affected Fact and regression, using this command:

dotnet test src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj -p:Configuration=Release --filter "FullyQualifiedName~SimulatedServerTests.ServerEndPointConnectionTests|FullyQualifiedName~SimulatedServerTests.ServerLifecycleTests" -v:q --logger "trx;LogFilePrefix=integrated-release" --results-directory C:\Users\mdaigle\.copilot\session-state\4ef22bc6-4a55-4ee7-9448-e2606db7952d\files\validation --blame-hang-timeout 2m

Exact quarantine execution and ordinary-exclusion command:

$p='src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj'
foreach($f in 'net462','net10.0'){
    dotnet test $p -f $f --no-build --no-restore --filter 'FullyQualifiedName~ServerLifecycleTests&category=flaky' -v:q --logger "trx;LogFileName=quarantine-$f.trx" --results-directory C:\Users\mdaigle\.copilot\session-state\4ef22bc6-4a55-4ee7-9448-e2606db7952d\files\validation --blame-hang-timeout 2m
    if($LASTEXITCODE){exit $LASTEXITCODE}
    dotnet test $p -f $f --no-build --no-restore --list-tests --filter 'FullyQualifiedName~ServerLifecycleTests&category!=failing&category!=flaky&category!=interactive' -v:q
    if($LASTEXITCODE){exit $LASTEXITCODE}
}

Additional discovery (both frameworks, passed), including combined traits:

$p='src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj'
foreach($f in 'net462','net10.0'){
    dotnet test $p -f $f --no-build --no-restore --list-tests --filter 'FullyQualifiedName~ServerLifecycleTests&category=flaky' -v:q
    if($LASTEXITCODE){exit $LASTEXITCODE}
    dotnet test $p -f $f --no-build --no-restore --list-tests --filter 'FullyQualifiedName~ServerLifecycleTests&category!=failing&category!=flaky&category!=interactive' -v:q
    if($LASTEXITCODE){exit $LASTEXITCODE}
    dotnet test $p -f $f --no-build --no-restore --list-tests --filter 'FullyQualifiedName~ServerLifecycleTests&category=flaky&category=probation' -v:q
    if($LASTEXITCODE){exit $LASTEXITCODE}
}

Passed: quarantine executes the exact affected Fact once per framework, zero failures/skips.
Ordinary selection excludes it and preserves 13 neighboring net462 / 20 net10.0 cases.
The combined flaky+probation discovery selects exactly that Fact. Initial discovery with
--no-restore failed NETSDK1004 (missing assets); retrying discovery without --no-restore
restored the project and succeeded. No dependency version was changed by this repair.

Recorded CI build followed to actual results

PR-SqlClient-Project build 189280,
definition 2197 revision 12, exact original proposal SHA ef43d0b0bfff3f08ff97b880793566bcb8c6dba7,
completed 2026-11-04T19:12:26.031Z, PartiallySucceeded, not a wholly green build.
Debug / Project / AnyCPU, test set 1. The helper's empty Failed/Aborted list was not
interpreted as a pass. Authenticated per-run MCP pagination retrieved all three Windows
unit/functional runs, deduplicated by build/run/result, and reconciled their statistics.
Single-run and single-result REST enrichment verified HTTP 200 JSON identities/outcomes.
The pipeline run endpoint's "Succeeded" summary differs from the classic build's
PartiallySucceeded; test records/logs, not that summary, establish the following coverage.

All rows below map to stage Win22_Sql19, stage/phase/job attempt 1:

Framework / SNI Run and exact regression result Exact affected quarantine result Reconciled published results
net462 / native 3666499 / 102928, Passed 18:41:17.227Z-18:41:17.237Z 3666499 / 103633, Passed 18:42:06.660Z-18:42:06.717Z 3618 Passed + 22 NotExecuted = 3640
net10.0 / native 3666497 / 101802, Passed 18:41:17.147Z-18:41:17.160Z 3666497 / 103744, Passed 18:42:04.390Z-18:42:04.430Z 3734 Passed + 27 NotExecuted = 3761
net10.0 / managed 3666433 / 102043, Passed 18:41:32.843Z-18:41:32.860Z 3666433 / 103751, Passed 18:42:24.350Z-18:42:24.827Z 3744 Passed + 25 NotExecuted = 3769

UTC times in this table are all 2026-11-04. Exact results are ungrouped with empty
subResults and no error. NotExecuted results are not counted as passes.

Timeline parent chains uniquely map run phase names to jobs:
net462 4a2ec0b0-f4e2-5686-f3b1-9a2c684c31cc;
net10 native 60be819e-7917-5335-3704-1a12c8830045;
net10 managed 3d25593f-fac4-551a-561b-6e466546d9e9.
Ordinary unit logs 246/247/248 and quarantine logs 284/281/250 identify separate selections.
Publish-result logs 325/322/312 map the runs to these jobs.

The Windows net462/native-net10 quarantine jobs aborted after the affected Fact passed:
logs 284
and 281
report the 10-minute inactivity dump while
ConnectionPool.ChannelDbConnectionPoolTest.ConcurrentCallers_ShouldTimeoutIndependently
was active. This is not proof of that test's root cause; no unrelated pool correction is made.
It limits broad-suite coverage but does not erase the affected Fact's actual passing result.

Linux net10 managed job 48845e6b-12b6-523a-b81c-4552b3ca3335, stage Ubuntu24_Sql25,
attempt 1: quarantine log 245 reports 32 passed, zero failures/skips, but log 298 reports
XmlException: Data at the root level is invalid during result publication. Exact affected
case/regression records were not available in published runs. Two mapped MCP downloads of
artifact net10.0WinAz48845e6b-12b6-523a-b81c-4552b3ca3335 returned no inspectable content.
No exact Linux case pass is claimed from a job summary.

Latest integrated-SHA validation

Queued via authenticated MCP:
build 190033,
PR-SqlClient-Project 2197 revision 12, SHA 26071290da0277ac34a0cd09616a0e84b194899b,
queued 2026-11-06T19:18:53.220Z. Parameters:
testSets=[1], targetFrameworks=[net462, net10.0],
targetFrameworksUnix=[net10.0], useManagedSNI=[false, true],
buildConfiguration=Debug, buildPlatforms=[AnyCPU], testJobTimeout=60.
Only Win22_Sql19 and Ubuntu24_Sql25 test stages plus required package-build dependencies
are enabled. Skipped stages: Win25_Sql25, Win25_Sql25_Named_Instance, Win25_Sql25_x86,
Win25_Azure_Sql, Win11_Azure_Sql, Win11_Azure_Sql_ARM64, Win22_Sql19_x86,
Ubuntu24_Azure_Sql, Post_Test. Existing ordinary/quarantine selectors remain unchanged.
The pipeline exposes configuration/stage scope, not an individual-test selector.
Build 190033 finished PartiallySucceeded, 2026-11-06T20:24:46.635Z.
Its actual test jobs started 19:46-19:48 UTC after agent-queue delay.
The initial bounded 45-minute waiter expired while jobs were progressing; a second
bounded timeline wait followed them to completion. The wait expiry was not a test failure.

All three Windows published runs were fully paged through authenticated MCP and
reconciled against runStatistics. Single-result HTTP 200 JSON enrichment verified
all six selected passes, exact identities, empty subResults, and no error/flaky metadata.
All rows are Debug / Project / AnyCPU / set 1, stage Win22_Sql19, attempt 1.
UTC times below are all 2026-11-06:

Framework / SNI Exact ordinary regression Exact affected quarantine Fact Reconciled published results
net462 / native 3681298 / 101920, Passed 19:53:41.143Z-19:53:41.160Z 3681298 / 103667, Passed 19:54:36.137Z-19:54:36.187Z 3665 Passed + 22 NotExecuted = 3687
net10.0 / native 3681463 / 103363, Passed 19:53:40.523Z-19:53:40.533Z 3681463 / 103781, Passed 19:54:37.500Z-19:54:37.543Z 3780 Passed + 27 NotExecuted = 3807
net10.0 / managed 3681346 / 101948, Passed 19:53:43.623Z-19:53:43.637Z 3681346 / 103801, Passed 19:54:34.597Z-19:54:34.643Z 3790 Passed + 25 NotExecuted = 3815

Run phase names map uniquely to the same three job IDs recorded for 189280.
Ordinary unit logs net462 249, native 251, managed 250 select ordinary coverage;
quarantine logs 253, 295, 254 select category=flaky.
Publisher tasks net462 909115f0-64a1-521c-9998-3a020e986190 / log 315,
native 34eb5177-37e9-5ed3-f89c-dc883945a0bf / log 334,
managed ca738636-0c46-5786-fec6-bdfb6533f12f / log 325 explicitly identify
their runs and published totals. NotExecuted records are not passes.

Native net10.0 quarantine log 295 reports 31 passing tests followed by an
inactivity abort at 20:04:41 UTC while
Microsoft.Data.SqlClient.UnitTests.ConnectionPool.ChannelDbConnectionPoolTest.ConcurrentCallers_ShouldTimeoutIndependently
was active. The selected lifecycle Fact had already passed at 19:54:37 UTC.
That is the same unrelated active pool test seen on original-proposal build 189280;
its causal defect is not established or repaired here. Other Windows unit/quarantine
tasks completed successfully. This supports the simulator correction but not a wholly
green or completely executed broader suite.

Linux job 48845e6b-12b6-523a-b81c-4552b3ca3335, Ubuntu24_Sql25,
net10.0 / managed / attempt 1, completed at 20:08:35.720Z.
Ordinary unit log 248 and quarantine log 252 completed successfully; the latter
reports 32 passing cases. However, publisher
5432184d-526c-529c-7d42-c735c2b244be / log 304 again reports
XmlException: Data at the root level is invalid. Line 1, position 1 and publishes
no inspectable exact Linux case records. Mapped artifact
net10.0WinAz48845e6b-12b6-523a-b81c-4552b3ca3335 (ID 2532090, listed size
28278847 bytes) was discovered and requested through authenticated MCP; download
again returned no inspectable content. This repeats the bounded original-build
artifact alternatives, without credential extraction or unauthorized REST endpoints.
The exact affected Linux quarantine pass remains unavailable and is not counted.
The supplemental same-tree Linux ordinary regression and lifecycle passes below
provide actual cross-platform execution, not a substitute claim for missing quarantine data.

The enabled sqlclient-ci-unit 2309 preview fails because
/eng/pipelines/ci/unit/sqlclient-ci-unit-pipeline.yml does not exist at the proposal SHA.
No definition/YAML was recreated or edited; the existing permitted 2197 pipeline was used instead.

Supplemental same-tree Linux ordinary validation

The push automatically triggered sqlclient-pr 2281 build
190032,
on synthetic merge SHA b6a253d8660b7db9b1be4d4f3152c1d0f44541e3.
Fetching that exact PR merge ref and comparing it with repair SHA 26071290...
produced no tree diff; both trees are 19d406e74cddacfd2d49ac419895aea5809f4cf8.
This is supplementary same-tree evidence, not execution labeled as the branch-head SHA.
Build 190032 completed Failed, 2026-11-06T20:17:20.805Z.

Its Linux net10.0 managed-SNI ordinary unit run
3681054
was fully paged through authenticated MCP: 2278 unique results,
2263 Passed + 15 NotExecuted, matching runStatistics.
The exact controlled regression
101601
Passed, 2026-11-06T19:52:02.653Z-19:52:02.660Z.
Single-run/result HTTP 200 JSON enrichment verified build/run/result/case identity,
completed outcome, and empty subResults. Twenty neighboring lifecycle cases also
passed, including explicit sync/async TLS cases. The affected flaky Fact is absent
from this ordinary run, as intended; this run does not prove its Linux quarantine pass.

Run phase test_linux_net10_sqlclient_unit, stage test_linux_net10,
maps uniquely to job 1bfca7c7-fffa-530b-4cd0-688df90d1033, attempt 1.
Mapped ordinary task f5561c22-86d2-5e27-f2ac-3dc412a98510, log 381,
executes dotnet build build.proj -t:TestSqlClientUnit -p:Configuration=Debug -p:BuildNumber=31016 -p:BuildSuffix=pr -p:TestFramework=net10.0
with its job-specific results directory. Publisher
ffca5a30-141e-5863-82ea-5c9358840bd3, log 384, identifies run 3681054
and all 2278 published records.

The build-wide Failed helper returned four unrelated manual vector-schema results
in runs 3681175 and 3681184, reporting SQL Server deadlock victims in
VectorColumnMetadataTests.SchemaCollectionIncludesVectorType,
SchemaCollectionOmitsVectorTypeWhenItIsNotNegotiated, and
V2CreationFormatIncludesBaseType(baseType: "float32").
These execute against SQL Server, not the corrected loopback simulator.
Their failures are disclosed, not fixed or treated as passing broader-suite coverage.
Only the selected Linux ordinary run is fully processed here.

The other automatic same-tree PR-SqlClient-Project build
190031
was followed until authenticated MCP's build report returned Canceled,
finished 2026-11-06T20:29:54Z, with the expected definition, branch and synthetic SHA.
The final public timeline read and one bounded retry returned HTTP 204 with no
JSON; these were rejected. Build-ID listing subsequently omitted it, so the mapped
authenticated get_status report supplied its terminal state. No pass is inferred,
no test-level completion is claimed for this broad automatic build, and this
continuation did not request its cancellation.

Ownership, windows, limits, and independent reviewer contract

Paginated all open/closed PR records were checked for exact current/predecessor automation IDs
and kind: fix. #5000 is the sole positively attributed owned fix, open/unmerged; it blocks
new candidates but permits this continuation. #4980 remains open tagging, not a fix blocker;
#4996 is merged tagging. Same-day prior session 0e1cf23a-7dd4-41ff-a1bd-3cb0ceb7bb74
confirmed it is not editing, validating, pushing, or writing evidence for #5000. No new
candidate, second fix PR, stack, account/repository fallback, automation configuration,
pipeline definition modification, or probation category transition was made.
An evidence-update guard initially miscompared PowerShell's parsed timestamp;
a DateKind retry was unsupported by the installed shell. Reading the raw timestamp
through gh --jq established that the live comment had not changed, and the guarded
update then succeeded. Neither failed attempt wrote or overwrote content.

Initial selected-candidate evidence window is 2026-10-23T19:08:24Z through
2026-11-06T19:08:24Z
, completed-build finish time, across the seven specified enabled
definitions. Bounded authenticated MCP pages enumerated 609 distinct completed builds:
148 Succeeded, 221 PartiallySucceeded, 228 Failed, 12 Canceled.
By definition: 2281=185; 2300=28; 2309=0; 1879=126; 1917=71; 2197=188; 2198=11.
An initially formatted continuation timestamp lost fractional seconds; rereading the exact
JSON cursor and repeating that page recovered build 188636. Deduplication includes that
recovered ID and inclusive-boundary overlap; the final page exhausted the window.

Test-level window coverage is incomplete. This run reverified the decisive original
failure/control from 188948, fully paged/reconciled the three selected Windows runs from
189280, and read the latest scoped main build 190000's nine failed results (none matched
the selected lifecycle/connection tests). That is not a passing claim for the selected
case on 190000, or a full result scan of the other enumerated builds.
The selected integrated-SHA validation 190033 is outside the initial finished-build window.
Enumerated builds are not processed test coverage.
The original proposal had no separate fully processed checkpoint, so this continuation does
not advance one, quarantine discovery, or probation-review coverage.

All requested definition identities were rechecked live: 2281 sqlclient-pr,
2300 sqlclient-ci-package, 2309 sqlclient-ci-unit, 1879 CI-SqlClient,
1917 CI-SqlClient-Package, 2197 PR-SqlClient-Project, 2198 PR-SqlClient-Package:
Enabled. 2250 sqlclient-ci-stress: Disabled, excluded.

Probation has not begun. The proposed repair retains
[Trait("category", "flaky")] and adds [Trait("category", "probation")] to only the
affected Fact. The convention proposed in pending tagging #4980 is reused without duplicate
convention documentation or selector changes. The independent probation reviewer must
observe the eventual upstream merge SHA/time and verify that the transport correction,
regression, and both traits are effective together on main. The merge, not proposal creation,
push time, or these passing runs, establishes the earliest probation start. No promotion
or demotion is authorized by this evidence.

2026-11-07 continuation recheck (no new candidate)

Rechecked the existing ready/open/unmerged proposal at repair SHA
26071290da0277ac34a0cd09616a0e84b194899b; no code, branch, body, category,
pipeline or automation changes, new candidate, new PR, or new validation build.
Paginated open AND closed PR records again identify #5000 as the sole positively
attributed owned fix. It blocks NEW repairs; this recheck continues the same repair.
#4980 remains open tagging; #4996 is merged tagging. No probation transition was performed.
Recent-session lookup returned no matching same-day durable summaries; it is not
proof of exhaustive overlap discovery. No new daily candidate slot was consumed.

Authenticated MCP re-read builds 189280, 190032 and 190033 to terminal states.
190033 remains Completed/PartiallySucceeded on the exact repair SHA. HTTP 200 JSON
single-run/result rechecks verified all six prior selected passes, matching run/build,
fully qualified Fact names (no case arguments), completed outcomes, empty subResults,
and no errors/resultMetadata: net462 run 3681298 results 101920/103667;
net10 native run 3681463 results 103363/103781; net10 managed run 3681346
results 101948/103801. The first result of each pair is the ordinary controlled
regression; the second is the affected quarantine Fact. MCP additionally re-read
run 3681298 skip=1900/top=30 and verified result 101920. Run statistics still match
the previously fully processed totals recorded above (3665/22, 3780/27, 3790/25
Passed/NotExecuted); this is a recheck, not a newly exhaustive per-run scan.
The 190033 timeline uniquely confirms Win22_Sql19 / the named framework-SNI
phases / attempt 1 and ordinary/quarantine task mappings recorded above.

Newer existing builds 190040
and 190041
finished 2026-11-06T21:35:34.757Z (PartiallySucceeded) and 21:17:09.736Z (Succeeded).
Both use synthetic merge SHA b6a253d8660b7db9b1be4d4f3152c1d0f44541e3;
git diff --stat 26071290da0277ac34a0cd09616a0e84b194899b b6a253d8660b7db9b1be4d4f3152c1d0f44541e3
returned no tree differences (exit 0). These aggregate states do not establish
new selected-case passes. The 190040 Passed helper failed with Transport closed;
a bounded Failed helper succeeded and returned ten unrelated manual SQL cases,
none matching the affected simulator Fact/regression. Those results and the rest
of these builds are not fully processed selected-case coverage.

Safe bounded alternative: uniquely mapped 190040 Ubuntu24_Sql25 managed net10.0
set-1 job 48845e6b-12b6-523a-b81c-4552b3ca3335, attempt 1. MCP log 1568
(lines 1-110), task ad95ba19-efcf-5ddb-8fd2-d04c44dfd38f, confirms unchanged
TestFilters=category=flaky and 32 reported passes, zero failures/skips.
Publisher 5432184d-526c-529c-7d42-c735c2b244be, MCP log 2251 (lines 1-100),
again reports XmlException: Data at the root level is invalid. Line 1, position 1.
Thus no exact Linux quarantine pass is newly claimed. The earlier same-tree Linux
ordinary regression and neighboring sync/async lifecycle passes remain the actual
cross-platform evidence. The initial timeline match found three Linux sets and
was explicitly rejected as ambiguous; selecting the unique set-1 identifier
resolved it. No pipeline rewrite or unrelated repair is warranted.

The existing causal comparison/local Debug and Release/filter results above are
reused, not relabeled as execution in this run. No additional local test command
was run; no new repair was introduced. Reasonable initial validation is already
established, so do not invent extra work or a second proposal to escape the gate.

Publication disclosure was verified live; draft=false. Human feedback about the
probation meaning is already answered by the maintainer. The remaining milestone
check explicitly fails because 8.0.0 differs from SqlClientNextVersion
8.0.0-preview1 (run 42300234286).
Timeline shows the human assigned 8.0.0 at 2026-11-06T21:46:42Z; that decision
is preserved rather than altering the release version, pipeline or milestone.

Agent Merge setup incomplete: loaded the agent-merge skill and searched the
live tool catalog for exact manage_agent_merge; discovery returned 0 matching
tools
. No supported capability exists here to enable or verify the owning PR
session plus both review-feedback/CI-failure actions. No app-storage, HTTP, GitHub
auto-merge or account-switch workaround was attempted. Enabling cannot be claimed.

Inspected interval: this continuation rechecks the durable 2026-10-23T19:08:24Z-
2026-11-06T19:08:24Z investigation and selected completed validation through
2026-11-06T21:35:34.757Z; it does not advance a fully processed discovery/evidence
checkpoint or imply a new exhaustive 14-day test-result scan. The original
incomplete window coverage, unrelated broader-suite limits and missing exact
Linux quarantine record remain explicit. No live validation build remains queued
by this continuation. The worktree stayed clean and primary checkouts were untouched.

Independent reviewer handoff unchanged: repair SHA 26071290da0277ac34a0cd09616a0e84b194899b,
the exact affected/regression Facts above, flaky retained + probation additive.
Probation has NOT begun. Only an eventual upstream merge making the repair and
both traits effective together establishes the merge SHA/time and probation start.

Recheck recorded UTC: 2026-11-07T14:08:02.5392170Z

2026-11-08 maintenance recheck (no new candidate)

Originating continuation: app/CLI session e3281942-7b5e-41fe-b918-561bebe5e8dc,
project session 9f61346f-89da-4736-8e2b-545a1b1a94de; automation
d7153253-dc29-41e0-b42b-8ab380de5546, kind: fix.

Paginated all open/closed upstream PRs again. #5000 remains the sole positively
attributed current/predecessor fix: open, unmerged, already ready (draft=false),
head 26071290da0277ac34a0cd09616a0e84b194899b. No new daily candidate was
attempted on local date 2026-11-08; the unmerged-fix gate blocks new repairs, not
continuing this one. Prior durable investigation and proportional validation are
already complete enough for human review; no new code or duplicate PR is justified.
#4980 remains open tagging; #4996 is merged tagging, not an owned fix blocker.
Live session status found no other active fix-maintenance session; the separate
quarantine run is not this repair. Upstream main read as
5aaa9ef090135a9a462f31d2e7945d97baa9e65b (commit UTC 2026-11-06T23:24:45Z).
The live PR diff still retains exactly flaky plus additive probation on the affected
Fact, the initialization/closure lock, and its controlled regression.

Authenticated ADO definition discovery reconfirmed all seven specified names/IDs
Enabled, and stress 2250 Disabled/excluded. Bounded scoped PR-branch discovery and
build-ID reads reconfirmed 190033 Completed/PartiallySucceeded on the exact repair
SHA; 190040 Completed/PartiallySucceeded and 190041 Completed/Succeeded on the
previously recorded same-tree synthetic merge SHA. No new build was queued.
Build-wide status is not new test-level coverage.

Re-read HTTP 200 JSON run 3681298 and exact results 101920 and 103667 through the
allowed single-run/single-result public endpoints. Verified build 190033,
definition 2197, Win22_Sql19/net462_AnyCPU_1, stage/phase/job attempt 1, Completed
run; 3665 Passed + 22 NotExecuted statistics. Both exact non-parameterized Facts
listed above passed with unchanged recorded UTC times, null errors, empty
subResults. This is a recheck of actual regression and affected quarantine passes,
not a rerun or a claim that NotExecuted cases passed. Prior local failing-before /
passing-after Debug/Release and ordinary-exclusion/quarantine-selection evidence
is retained without relabeling it as local execution in this continuation.

Inspected prior evidence window 2026-10-23T19:08:24Z through
2026-11-06T19:08:24Z and recorded scoped completions through
2026-11-06T21:35:34.757Z. This continuation does not advance a fully processed
checkpoint or claim an exhaustive new 14-day result scan. Missing exact Linux
quarantine results, publisher XML/artifact limitations, and unrelated broader-suite
abort/failures remain as documented above; no summary substitutes for missing cases.

Live GitHub check outcomes still include the milestone-version failure. Preserve
human-assigned milestone 8.0.0; do not change release policy/version as a workaround.
The live body already begins with the required fully automated disclosure.
Agent Merge remains incomplete: loaded the agent-merge skill and searched the
exact manage_agent_merge capability across every exposed MCP server; discovery
returned 0 matching tools. No supported app capability can configure/verify the
owning PR session and both feedback/CI actions in this environment. No storage,
HTTP-write, GitHub auto-merge, account-switch or automation-configuration workaround
was used.

Reviewer handoff unchanged: repair SHA 26071290da0277ac34a0cd09616a0e84b194899b,
exact affected/regression Facts above, flaky retained and probation additive.
Probation has NOT started: only the eventual upstream merge making repair and both
traits effective together supplies its start SHA/time. This is a review-ready repair
with disclosed execution limits, not a merge-ready claim or probation transition.

Recheck observed UTC: 2026-11-08T14:05:22.3242384Z

2026-11-09 maintenance recheck (no new candidate)

Continuation app/CLI session 310060f7-0302-44c2-91f9-df794e4a52af, project session
bf2e2895-e9dd-4749-bcef-6d2efa649b20; automation
d7153253-dc29-41e0-b42b-8ab380de5546, kind: fix.

Paginated all open/closed upstream PRs for exact current/predecessor attribution.
#5000 remains the sole positively attributed fix: open, unmerged, ready for review,
head 26071290da0277ac34a0cd09616a0e84b194899b. This blocks NEW repairs, not this
continuation. No new local-calendar-day candidate, code change, duplicate proposal,
validation build, pipeline edit, automation configuration, or category transition.
Live app status identifies only this fix run plus separate quarantine/probation runs
as active; the earlier repair-maintenance session is inactive. Local same-day history
returned no rows; that result alone is not exhaustive overlap proof. All open proposals
were inspected for equivalent simulator/category changes. #4980 is still open tagging;
#4996 is merged tagging. Upstream main remains 5aaa9ef090135a9a462f31d2e7945d97baa9e65b.

Authenticated MCP reconfirmed enabled identities 2281/2300/2309/1879/1917/2197/2198;
2250 is disabled and excluded. Repair-branch build pagination exhausted its two records:
189280 and 190033, both terminal PartiallySucceeded. Existing same-tree 190032,
190040 and 190041 are also terminal (Failed, PartiallySucceeded, Succeeded respectively).
These aggregate states are not substituted for individual-case evidence.

HTTP 200 JSON rechecks verified all six exact non-parameterized selected passes in
build 190033: net462 run 3681298 results 101920/103667; native net10.0 run 3681463
103363/103781; managed net10.0 run 3681346 101948/103801. First result in each pair
is the controlled regression; second is the affected quarantine Fact. Names, build/run/
result identities, original UTC execution times, empty subResults and null error/metadata
were checked. Run statistics still total 3665/22, 3780/27, 3790/25 Passed/NotExecuted.
MCP skip=1900/top=25 independently re-read regression 101920. Timeline uniquely verifies
Win22_Sql19, each matching framework/SNI phase and job, attempt 1. This is a recheck,
not new execution or a new exhaustive per-run scan. Recorded controlled failing-before /
passing-after local Debug/Release and filter evidence remain valid and are not relabeled
as tests executed here. The live diff retains the initialization/closure lock, regression,
flaky plus additive probation; ordinary-exclusion/quarantine-selection evidence is unchanged.

Both inline review threads are resolved (complete first page, hasNextPage=false).
Required visible fully automated disclosure is already the body's first line;
no body/human edits were overwritten. The milestone mismatch remains the recorded
8.0.0 versus 8.0.0-preview1; the human milestone choice is preserved.
Agent Merge setup remains incomplete: the agent-merge skill was loaded and exact
manage_agent_merge discovery across every exposed MCP catalog returned 0 matching tools.
No supported tool can enable/verify the owning PR session and both review-feedback/CI
settings. No storage/HTTP-write, GitHub auto-merge, account or repository workaround.

Reviewed the durable investigation interval 2026-10-23T19:08:24Z through
2026-11-06T19:08:24Z and recorded scoped completions through 2026-11-06T21:35:34.757Z.
No fully processed checkpoint advances. Exact Linux quarantine publication/artifact gaps,
unrelated broad-suite hang/deadlocks, and incomplete test-level window coverage remain
as documented above; no fresh broad scan or missing-result pass is claimed.

Independent reviewer handoff: repair SHA 26071290da0277ac34a0cd09616a0e84b194899b,
exact affected/regression Facts above, flaky retained and probation additive. Probation
has NOT begun.
Only eventual upstream merge making the repair and both traits effective
together supplies its start SHA/time. This is review-ready, not a merge-ready claim.
The isolated worktree stayed clean; primary checkouts were untouched.

Observed recheck UTC: 2026-11-09T14:05:17.2954714Z

2026-11-10 maintenance recheck (no new candidate)

Continuation app/CLI session 0598ac8a-327a-4cd1-aed9-447593a8e6ac, project session
3f95e520-189c-4eb5-b98f-7c88d6139616; automation
d7153253-dc29-41e0-b42b-8ab380de5546, kind: fix.

Paginated open AND closed upstream PRs again: #5000 is the sole positively
attributed current/predecessor fix, open/unmerged and already ready for review at
26071290da0277ac34a0cd09616a0e84b194899b. Its existing controlled regression,
local Debug/Release and scoped CI evidence above support human review; no new
repair, duplicate PR or additional build is justified. No new daily candidate was
attempted. Live session status showed only this repair run and separate quarantine
work active; same-day local history returned no rows, not exhaustive overlap proof.
#4980 is now merged (2026-11-10T01:06:24Z), as is same-test tagging #4996.
Fetched upstream main is 930db485009f0664cbdcec8a1e6382c61ee13df6.
The repair diff still contains the transport initialization/closure lock, controlled
regression, retained flaky trait and additive probation. No source or category edits.

Authenticated MCP reconfirmed all seven permitted definition identities Enabled,
2250 Disabled/excluded, and exhausted the repair-branch build page (189280 and
190033, both terminal PartiallySucceeded). Builds 190040/190041 are terminal
PartiallySucceeded/Succeeded on the previously recorded same-tree synthetic SHA.
No queued validation remains from this repair's recorded work.

HTTP 200 JSON single-run/result rechecks verified all six exact selected passes
in build 190033: net462 run 3681298 results 101920/103667; native net10.0 run
3681463 results 103363/103781; managed net10.0 run 3681346 results 101948/103801.
The first in each pair is the controlled regression; the second is the affected
quarantine Fact. Fully qualified identities, original execution timestamps, build,
Completed/Passed, empty subResults and null errors/metadata matched. Run statistics
remain 3665/22, 3780/27 and 3790/25 Passed/NotExecuted. Authenticated MCP additionally
re-read result 101920 with skip=1900/top=25. Timeline job IDs and framework/SNI
phase names match the recorded attempt-1 mappings. This is result revalidation,
not new execution or a newly exhaustive result scan. No local tests were rerun.

Both inline threads remain resolved (hasNextPage=false). The required automated
disclosure is already the live body's first line; body/human edits are preserved.
The existing milestone-version check still reports failure; no milestone, version
or pipeline workaround was applied. Agent Merge setup remains incomplete:
loaded agent-merge and searched exact manage_agent_merge across all exposed MCP
catalogs; discovery returned 0 tools. No supported capability can configure or
verify the owning PR session and both review-feedback/CI actions. No app storage,
HTTP-write, GitHub auto-merge, account/repository switching or automation workaround.

Inspected the durable 2026-10-23T19:08:24Z through 2026-11-06T19:08:24Z investigation
and selected completed validation through 2026-11-06T21:35:34.757Z. No fully processed
checkpoint advances and no new exhaustive 14-day coverage is claimed. Missing exact
Linux quarantine publication/artifacts, unrelated broad-suite hang/deadlocks, and
incomplete test-level window coverage remain explicit above, not counted as passes.

Independent reviewer handoff is unchanged: repair SHA
26071290da0277ac34a0cd09616a0e84b194899b, the exact affected/regression Facts above,
flaky retained plus additive probation. Probation has NOT begun. Only eventual
upstream merge making the repair and both traits effective together establishes
its start SHA/time. This is review-ready, not a merge-ready claim. Primary checkouts
were untouched; this run made no repository file changes.

Observed recheck UTC: 2026-11-10T14:05:23.5088417Z

@mdaigle
mdaigle marked this pull request as ready for review November 6, 2026 20:28
@mdaigle
mdaigle requested a review from a team as a code owner November 6, 2026 20:28
@codecov

codecov Bot commented Nov 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.17%. Comparing base (b87ca6e) to head (2607129).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5000      +/-   ##
==========================================
- Coverage   68.71%   67.17%   -1.55%     
==========================================
  Files         313      307       -6     
  Lines       45726    68934   +23208     
==========================================
+ Hits        31422    46308   +14886     
- Misses      14304    22626    +8322     
Flag Coverage Δ
CI-SqlClient ?
PR-SqlClient-Project 67.17% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mdaigle mdaigle added this to the 8.0.0 milestone Nov 6, 2026
@mdaigle mdaigle modified the milestone: 8.0.0 Nov 10, 2026
@mdaigle
mdaigle merged commit 9940aa2 into main Nov 10, 2026
137 of 144 checks passed
@mdaigle

mdaigle commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Probation review: unchanged; coverage incomplete

No promotion/demotion PR or category changes. Historical review is incomplete, not a clean-interval certification. Main remained 2bda3c9edb53ce59589cdd401f10ae4415f331a5.

Current inventory (all are method-level category=flaky plus category=probation):

  • Microsoft.Data.SqlClient.UnitTests.SimulatedServerTests.ServerLifecycleTests.Dispose_DrainsConnectionsAcrossRepeatedServerLifetimes (Fact, no arguments): effective start 2026-11-10T16:35:00Z, Fix simulator transport initialization racing disposal #5000 merge 9940aa28bdfbfd29ecde97bb1c4810c57aa7f149; repair proposal 26071290da0277ac34a0cd09616a0e84b194899b, quarantine Quarantine intermittent simulator lifecycle disposal test #4996. Required interval through the observation cutoff above remains incomplete. Confirmed subset: 1 pass / 0 confirmed failures / 0 observed skips, Windows net10.0 native SNI, Release/Project, attempt 1. Earliest seven-day age gate: November 17 at 16:35Z.
  • Microsoft.Data.SqlClient.UnitTests.ConnectionPool.DbConnectionPoolInstrumentationTest.ConcurrentCheckoutAndReturn_SettlesAllGaugesToZero(implementation: WaitHandle) and the same method (implementation: Channel): effective start 2026-11-16T16:13:57Z, Fix pool instrumentation checkout test wait budget #5039 merge 1a9f312407a14fb6f72b24e64abe17daea73e4fb; repair proposal 43af4017ab3b5994863f2a455d092386c69e0060, quarantine Quarantine intermittent pool instrumentation checkout theory #5020. Each required interval through the cutoff remains incomplete; 0 verified current-interval observations per case. Earlier passes are excluded, not borrowed. Earliest seven-day age gate: November 23 at 16:13:57Z.

Both repairs and initial probation markings were verified together in merged diffs and as ancestors of main. No subsequent upstream edit to either affected method or the simulator's repaired endpoint file was found. #4891 does not start the current interval. Open human proposals #5051 and #4995 were read, including relevant lifecycle/endpoint diffs; neither is merged or an upstream category transition. All 55 open PRs were inventoried; no duplicate category-removal proposal was found.

Evidence: build 192284 / run 3721895 / simulator result 105241, pipeline 1879, source 5f74e8f13e38de44e0a1f184aabf4dad8b0bfbb5. Observed pass 2026-11-16T01:22:57.383Z-01:22:57.430Z, no subresults. Run stage Win25_Sql25_Named_Instance, phase net10_0_AnyCPU_NativeSNI_3, job/phase/stage attempt 1. Timeline uniquely maps the job ed14d222-73d8-5c85-cdd5-a9fcfa3b8a9f and quarantine task f734eebf-e596-5af7-a0b1-00468f06abae. Execution log 2760 confirms TestFilters=category=flaky; mapped publication log 3433 discovers the run. All 5,247 distinct result IDs were paged with authenticated MCP (six pages) and reconciled to server statistics: 5,113 Passed + 134 NotExecuted. The Passed sum includes both statistics entries, including two flagged flaky. These totals describe this run only. Pool passes 105216/105217 are pre-#5039 and do not count toward pool probation.

Coverage blocker: authenticated build-result discovery returned Transport closed for build 191623 with multiple outcomes and for build 192284 with Passed. Failed-only queries worked but were not exhaustive. Mapped-log/per-run fallback recovered the single run above, not the complete historical matrix. Initial continued build discovery returned 207 completed builds since the simulator start (including success, partial success, failure and cancellation); refresh additionally found 192472, and in-progress builds were queried separately. Revision applicability, remaining runs/configurations/attempts, publication gaps and skipped/aborted results are unresolved. Do not interpret absence of a matching failure in retrieved lists as a zero-failure interval. No fully inspected per-test interval/checkpoint exists, and no checkpoint was advanced. Future review must resume from each effective start, not this cutoff.

All seven requested pipeline identities were rechecked Enabled: 2281, 2300, 2309, 1879, 1917, 2197, 2198. Disabled 2250 was excluded. Only permitted public REST timeline/run/single-result endpoints supplemented authenticated MCP. No account/repository switching, builds queued, source/pipeline edits or other automation changes.

Selection/local validation: source inspection confirms ordinary exclusion (category!=failing&category!=flaky&category!=interactive) and quarantine inclusion (category=flaky); selection is unchanged. No local tests/discovery were run because no transition was made; no local pass is claimed. Isolated worktree remained clean; primary checkouts were untouched.

Milestone: fresh canonical version 8.1.0-preview1, exact OPEN milestone #108. The named preview exception no longer applies. No category PR was created/reused, so no milestone assignment, label or PR-body/disclosure update was necessary. This comment records incomplete evidence only; it does not edit the fix proposal or certify promotion readiness.

@mdaigle

mdaigle commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Probation review: unchanged; historical coverage remains incomplete

No category PR, promotion, probation removal, repair or new quarantine marking.
This is an incomplete-evidence handoff, not certification of a failure-free interval.
The configured ID above was verified against the app's enabled saved
SqlClient probation review automation, whose prompt matches this run.

Upstream inventory and effective starts

Observation-source main: ce73774d14b2d192391f00ad4859b085f4b802f1.
Final refreshed main: e207bf1a46b12f7a45b2f89eef1712a9e802d83c.
All four method-level markings retain additive category=flaky and
category=probation. The theory affects both cases; no case is treated as a
substitute for the other.

Fully qualified identity and arguments Current effective start: merge SHA / UTC time Repair proposal SHA; related PRs Decision
Microsoft.Data.SqlClient.UnitTests.SimulatedServerTests.ServerLifecycleTests.Dispose_DrainsConnectionsAcrossRepeatedServerLifetimes (Fact; no arguments) 9940aa28bdfbfd29ecde97bb1c4810c57aa7f149 / 2026-11-10T16:35:00Z 26071290da0277ac34a0cd09616a0e84b194899b; repair #5000, quarantine #4996 Unchanged: age gate met, complete coverage unavailable
Microsoft.Data.SqlClient.UnitTests.ConnectionPool.DbConnectionPoolInstrumentationTest.ConcurrentCheckoutAndReturn_SettlesAllGaugesToZero(implementation: WaitHandle) 1a9f312407a14fb6f72b24e64abe17daea73e4fb / 2026-11-16T16:13:57Z 43af4017ab3b5994863f2a455d092386c69e0060; repair #5039, quarantine #5020 Unchanged: seven-day gate is 2026-11-23T16:13:57Z; coverage also incomplete
Microsoft.Data.SqlClient.UnitTests.ConnectionPool.DbConnectionPoolInstrumentationTest.ConcurrentCheckoutAndReturn_SettlesAllGaugesToZero(implementation: Channel) 1a9f312407a14fb6f72b24e64abe17daea73e4fb / 2026-11-16T16:13:57Z 43af4017ab3b5994863f2a455d092386c69e0060; repair #5039, quarantine #5020 Unchanged: same gates; both cases must qualify before removing the method traits
Microsoft.Data.SqlClient.UnitTests.ConnectionPool.ChannelDbConnectionPoolTest.ConcurrentCallers_ShouldTimeoutIndependently (Fact; no arguments) 0304c75eb048c6a309cccfc50629b38aca82d53b / 2026-11-16T22:01:42Z 9ccc6937d0f19a921b67ee7d20ac22033540d69d; repair #5072, initial flaky marking #4510 Unchanged: seven-day gate is 2026-11-23T22:01:42Z; coverage also incomplete
Microsoft.Data.SqlClient.UnitTests.ConnectionPool.WaitHandleDbConnectionPoolTransactionTest.TwoThreads_SharedTransaction_AccessSameTransactedEntry (Fact; no arguments) f078a5eb175b81b7598b204193fd8f02b1ed32bf / 2026-11-18T22:12:46Z 786dd8eb613b09435b31953af95f5db553dfebe5; repair #5094, initial flaky marking #4510 Unchanged: seven-day gate is 2026-11-25T22:12:46Z; coverage also incomplete

Each start is the actual merged PR timestamp, not its slightly earlier commit
timestamp. Merged diffs establish that each repair and its probation marking became
effective together, and git merge-base --is-ancestor confirmed all four merges
are ancestors of current main. Subsequent relevant source history was reviewed.
#5051 changes TLS setup and neighboring certificate tests, not the simulator's
repaired startup/disposal lock or the affected disposal Fact; it does not restart
that repair's probation. #4891 is not the start. No merged retry/re-fix of these
four repaired methods was identified.

The required interval for each case is its start above through
2026-11-23T14:01:53.649Z. None of those complete intervals is certified.
No prior checkpoint supplies the missing coverage: the previous probation record
on this PR explicitly had no fully processed checkpoint.

Newly verified individual observations

One run was fully paged through authenticated MCP:
build 194313 / run 3754070.
Pipeline 1879 / CI-SqlClient, main source
ce73774d14b2d192391f00ad4859b085f4b802f1, Windows SQL25 named instance,
net10.0 / native SNI / x64 / Release / Project / set 3.
Stage Win25_Sql25_Named_Instance, phase net10_0_AnyCPU_NativeSNI_3,
job ed14d222-73d8-5c85-cdd5-a9fcfa3b8a9f; stage, phase, job and relevant tasks
are attempt 1. Run interval:
2026-11-23T01:21:20.353Z-2026-11-23T01:36:03.340Z.

Case (fully qualified identities above) Result UTC execution interval
Instrumentation / Channel 105468: Passed 01:23:33.880-01:23:35.753
Instrumentation / WaitHandle 105498: Passed 01:23:33.887-01:23:33.897
Independent caller timeouts 105476: Passed 01:24:07.043-01:24:07.057
Shared transaction 105482: Passed 01:23:32.000-01:23:32.143
Simulator disposal 105489: Passed 01:24:07.027-01:24:07.073

All observation times in that table are 2026-11-23 UTC.
For this comparable configuration, the newly reconciled observations are
1 pass / 0 failures / 0 skips per case, five individual passes total.
Single-result REST enrichment confirmed each result ID, build, run, outcome and
complete case name; none has subresults. These are not whole-interval counts.

The run's 5,501 distinct result IDs were retrieved in six MCP pages and
reconciled to server statistics: 5,367 Passed + 134 NotExecuted.
The pass total correctly sums both statistics entries:
5,365 ordinary-metadata passes plus two resultMetadata=flaky passes.
Metadata is retained separately from source quarantine routing.

Execution log 2757
explicitly uses TestFilters=category=flaky, disables coverage, and reports
34 quarantine unit passes. The five individual observation times fall within
that quarantine task, rather than the ordinary task.
Publication log 3579
discovered run 3754070; the canonical mapped log is build 194313/log 3579.

Coverage gaps and failed retrievals

  • Authenticated MCP discovery exhausted five continued pages for all seven scoped
    definitions, over the complete oldest-start-to-cutoff interval, without filtering
    to failed builds: 447 distinct completed builds, comprising 182 Succeeded,
    184 Failed, 65 PartiallySucceeded and 16 Canceled. Seventy-one are main-branch
    builds. These counts include release/PR revisions whose applicability still
    requires reconciliation; they are not counts of passing probation executions.
    Pipeline 2309 returned no completed builds in that discovery.
  • A separate live in-progress query found PR build 194439, whose execution started
    2026-11-23T14:04:00.9565496Z, after this run's observation cutoff. The not-started
    query was empty. No build was queued by this review.
  • The full-results helper for 194313, and then its Passed-only variant, repeatedly
    returned Transport closed. Failed-only retrieval succeeded for builds
    194325, 194211, 194086, 193818, 193488, 192646, 194313, 193095, 191736 and 191623;
    no matching probation failure was established in those retrieved lists.
    This is neither exhaustive failure discovery nor proof of a zero-failure interval.
  • Build 194313's other-outcome helper returned 7,710 NotExecuted records across
    100 discovered run IDs
    , with no exact probation-case match. These build-wide
    records were not globally reconciled to all run statistics and do not establish
    complete coverage. Skips are not passes.
  • Build/log MCP calls transiently returned HTTP 503 Service Unavailable.
    One bounded retry recovered build continuation and mapped logs; the earlier
    transport failures were not converted to empty results.
  • A concrete unresolved Linux gap remains in build 194313,
    Ubuntu24_Sql25 / net10_0_AnyCPU_ManagedSNI_3, job
    6508bd8f-d520-59d4-755e-5da509b08a9b, attempt 1.
    Quarantine log 2573
    reports 34 aggregate unit passes, but
    publisher log 3479
    reports System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1. at 2026-11-23T01:35:48.0079572Z, despite a successful task status.
    Artifact discovery matched job source ID to
    net10.0WinAz6508bd8f-d520-59d4-755e-5da509b08a9b (26,874,490 bytes).
    Its authenticated MCP download returned no inspectable content.
    No individual Linux probation pass is claimed from the aggregate log.
  • Earlier and other configurations, attempts, ordinary/quarantine runs, source
    applicability, grouped results and publication/retention gaps remain unresolved.
    In particular, the simulator's long interval before the newly verified November
    23 observation is not fully covered. This run does not satisfy the request
    for exhaustive available-execution reconciliation and cannot authorize promotion.
  • GitHub's separate automation-service lookup returned 404; the app's exact saved
    configuration supplied attribution instead. No account or repository was switched.
    A local timeline traversal initially failed on the root's null parent and a
    gh pr diff path argument was rejected; corrected read-only commands succeeded.

Overlap, category selection and publication state

All open PR file lists were checked against affected tests and shared fixture
paths. Relevant human-created source proposals #5014, #4995, #4590 and #4589
were read, including the overlapping patches. None is a merged re-fix or a
duplicate upstream category-removal proposal. #4590 would change an assertion
in the independent-timeout Fact; it remains unmerged and supplies no upstream
repair start. Open repair #5119 and tagging proposals #5095, #5118, #5125,
#5127 and #5128 were read; they do not add tests to this upstream probation
inventory. During the final refresh, #5095 and #5118 merged as unrelated
flaky-only markings, not probation. No open kind: probation-review proposal
was found on the final refresh.

The seven requested pipeline identities were rechecked Enabled:
2281 sqlclient-pr, 2300 sqlclient-ci-package, 2309 sqlclient-ci-unit,
1879 CI-SqlClient, 1917 CI-SqlClient-Package, 2197 PR-SqlClient-Project and
2198 PR-SqlClient-Package. Definition 2250 sqlclient-ci-stress is Disabled
and was excluded. Only the permitted public REST timeline, run and single-result
endpoint forms supplemented authenticated MCP.

Source inspection confirmed all four method traits and both theory arguments,
the net462;net10.0 unit-test targets, ordinary exclusion
category!=failing&category!=flaky&category!=interactive, and quarantine selection
category=flaky. No traits changed, so no before/after selection transition exists.
No local test execution or runtime discovery was run; no local pass is claimed.
git diff --check passed and git status --porcelain=v1 was empty.
The primary checkouts were untouched; generated evidence stayed in session scratch.

Final upstream refresh advanced main through #5095
(b758e5fa7f79a2ce8a78c823f153d7fd2360ee2b) and #5118
(e207bf1a46b12f7a45b2f89eef1712a9e802d83c). The resulting four-line diff
only adds flaky markings in unrelated manual tests; the four probation methods,
repair surfaces and starts are unchanged. The observation cutoff is not advanced
and no post-cutoff execution is credited. Canonical
SqlClientNextVersion is 8.1.0-preview1, with exact OPEN milestone
#108. The one-time exclusion of 8.0.0-preview1/#101 no longer applies.
No category PR was created or reused, so there is no milestone/label/disclosure
assignment to perform. This appended evidence comment does not edit the fix PR's
body, labels, milestone, code or human comments.

Checkpoint: none; not advanced for any case. Future review must resume from
each effective start above, not from this observation cutoff or another
automation's checkpoint. Missing evidence and a successful build/job are not
passing test observations. No verified current-interval probation failure was
established, so demotion is also unsupported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants