Skip to content

Bump Microsoft.Data.SqlClient from 7.1.2 to 8.0.0 - #9869

Merged
erikdarlingdata merged 8 commits into
devfrom
dependabot/nuget/Darling/PerformanceMonitor.Darling.Storage/dev/Microsoft.Data.SqlClient-8.0.0
Nov 27, 2026
Merged

erikdarlingdata merged 8 commits into
devfrom
dependabot/nuget/Darling/PerformanceMonitor.Darling.Storage/dev/Microsoft.Data.SqlClient-8.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Updated Microsoft.Data.SqlClient from 7.1.2 to 8.0.0.

Release notes

Sourced from Microsoft.Data.SqlClient's releases.

8.0.0

The driver and its four companion packages are version-aligned at 8.0.0. Use matching versions of all installed family packages. The family AssemblyVersion is 8.0.0.0; .NET Framework applications upgrading from 7.x should review strong-name binding redirects. Native SNI and Microsoft.SqlServer.Server remain independently versioned.

Companion package release notes

Changes Since 8.0.0-preview1

Changed

Breaking default change: pool waits share the connection timeout budget

What Changed:

  • Switch.Microsoft.Data.SqlClient.UseOverallConnectTimeoutForPoolWait now defaults to true. SqlConnection.Open and OpenAsync carry the remaining Connect Timeout budget through pool acquisition and login with either pool implementation. (#​4642, #​5030, #​5046)

Who Benefits:

  • Applications under pool contention no longer grant login a fresh full timeout after waiting.

Impact:

  • Opens may time out sooner. Set the switch to false before using SqlClient to restore the prior separate budgets; the switch is cached on first use. Connect Timeout=0 stays infinite. This does not claim that every remaining in-open round trip has been converted. See networking migration guidance.

Lower destination-metadata cost for name-mapped bulk copies

What Changed:

  • SqlBulkCopy restores fast SET FMTONLY ON; SELECT * discovery for destination-name mappings, with one catalog fallback if a name is missing. Destination-ordinal mappings, implicit/default mappings, and SQL Graph aliases use catalog discovery directly. (#​4985, #​4988, #​5036)

Who Benefits:

  • Repeated name-mapped bulk loads avoid unnecessary catalog-query work on the server.

Impact:

  • Automatic mode preserves hidden-column positions and graph-alias support. Fallback happens before rows are sent; it does not retry the write.
  • Switch.Microsoft.Data.SqlClient.UseBulkCopyCatalogMetadataDiscovery=true always uses catalog discovery and avoids fallback for hidden-name workloads. Explicit false never uses catalogs and uses visible-column positions, without hidden-column or graph-alias discovery. Leaving the switch unset selects automatic mode.

Asynchronous command execution awaits enclave attestation

What Changed:

  • Asynchronous command execution now awaits enclave-session lookup, attestation preparation, session creation, and retry-time invalidation, including the shared reader, nonquery, scalar, XML, APM, and batch paths. Caller cancellation reaches enclave-provider operations. (#​3672, #​4887, #​5066)

Who Benefits:

... (truncated)

8.0.0-preview1

This first 8.0 preview includes changes since the release/7.1 branch point, 92f220956b07328054701a869f452cade51830c1 (2026-09-15), through b87ca6e7643611ddc3273324de346d09e8ff2c43. Changes already shipped in 7.1.1 are identified below because the branch-cut baseline predates that release.

The driver and its four companion packages use package version 8.0.0-preview1. The family AssemblyVersion changes from 7.0.0.0 to 8.0.0.0; .NET Framework applications should review strong-name binding redirects when upgrading. Native SNI and Microsoft.SqlServer.Server remain independently versioned.

Companion package release notes

Added

Vector float16 support and per-connection version negotiation

What Changed:

  • Added support for SQL Server vector(N, float16), including reader values, parameters, output parameters, column schema, and bulk copy. On modern .NET, use SqlVector<Half>; the existing SqlVector<float> API remains supported. (#​4501)
  • Added the Vector Type Support connection-string keyword and SqlConnectionStringBuilder.VectorTypeSupport, of type SqlVectorTypeSupport. Values are Off, V1, and V2; the default is V2.

Who Benefits:

  • Applications storing embeddings can use float16 vectors with smaller element payloads, while choosing the result-type contract independently for each connection.

Impact:

  • Result-type change: when the server negotiates V2, modern .NET returns native SqlVector<Half> values for float16 columns instead of JSON strings. Set Vector Type Support=v1 to preserve float16 JSON-string results, or off to receive all vector columns as text. Different settings use separate connection pools.
  • .NET Framework has no System.Half. Float16 columns remain available as JSON strings or through GetSqlVector<float>, which widens their elements exactly. Prefer the latter when reading many values, to avoid the additional JSON serialization.
  • GetColumnSchema() exposes VectorBaseType and VectorDimensions through the column indexer when native vector metadata is negotiated.
  • SQL Server performs cross-base conversion for native vector parameters and bulk-copy inputs. Typed vectors are not automatically serialized for text destinations; supply JSON strings or an explicit SQL cast instead. Vector TVPs are not added by this change.
  • Float16 requires a server that supports it; enable PREVIEW_FEATURES while the server feature is in preview. See the float16 sample.
var builder = new SqlConnectionStringBuilder(connectionString)
{
    VectorTypeSupport = SqlVectorTypeSupport.V1
};

Opt-in reset of pooled transaction isolation levels

What Changed:

  • Added Switch.Microsoft.Data.SqlClient.EnableTransactionIsolationLevelReset, default false. When enabled, a SqlClient-tracked isolation-level change is reset to READ COMMITTED before pooled reuse when no existing enlistment or active delegated transaction root remains. (#​96, #​4330)

Who Benefits:

  • Applications that otherwise inherit an isolation level left by a previous user of a pooled connection.

Impact:
... (truncated)

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Claude posting for Erik Darling.

Locked-mode restore was failing (NU1004), and once the lock files were regenerated three more things turned up. All of it is now on this branch.

What I changed on the Dependabot branch

  1. Merged origin/dev (dev moved after the 3.14.0 cut).
  2. Removed the Microsoft.Data.SqlClient reference Dependabot added to PerformanceMonitor.Darling.Storage.csproj. Storage has no SqlClient type in its code (no using Microsoft.Data.SqlClient anywhere in the project), and the version is central, so the line was not needed. The project file now matches dev.
  3. Moved Microsoft.Data.SqlClient.Extensions.Azure to 8.0.0 in Directory.Packages.props. This is the change Bump Microsoft.Data.SqlClient.Extensions.Azure from 7.1.2 to 8.0.0 #9870 proposes. With Extensions.Azure left at 7.1.2 the restore fails with NU1608 (7.1.2 requires SqlClient below 8, and the build treats it as an error). Bump Microsoft.Data.SqlClient.Extensions.Azure from 7.1.2 to 8.0.0 #9870 stays open with a note "Included in Bump Microsoft.Data.SqlClient from 7.1.2 to 8.0.0 #9869".
  4. Regenerated the lock files (dotnet restore PerformanceMonitor.sln --force-evaluate plus dotnet restore tools/ui-smoke-wpf/UiSmokeWpf.csproj --force-evaluate): seven files. Besides the SqlClient family moves, they carry the project-reference lines [3.13.0, ) to [3.14.0, ), which every restore on a Dependabot branch writes right now (dev's lock files still say 3.13.0 while Directory.Build.props says 3.14.0).
  5. Two Lite test files looked for Azure types in the wrong assembly (Lite.Tests/EntraCredentialSelectionTests.cs, Lite.Tests/EntraDefaultCredentialTests.cs). SqlClient 8.0.0 stops depending on the Azure.Identity package: the credential types and the Azure-Identity event source now ship inside Azure.Core 1.65.0, still in the Azure.Identity namespace. The lookups Azure.Identity.AzureIdentityEventSource, Azure.Identity and Azure.Identity.DefaultAzureCredential, Azure.Identity, and the Azure.Identity.dll file check, found nothing, so 13 tests failed. They now look in Azure.Core (type and file). No production code changed.

Breaking changes checked

Source: the SqlClient v8.0.0 release notes (cumulative since 7.1.2) and the networking-defaults migration guide in dotnet/SqlClient.

  • .NET 10 required for the modern driver. Every project here targets net10.0 or net10.0-windows. Not hit.
  • MultiSubnetFailover now defaults to true for eligible TCP connections. Every connection string we build for a monitored server sets it explicitly from the server setting (Darling/PerformanceMonitor.Darling.Service/MonitoredServerConnection.cs lines 47 and 209, Darling/PerformanceMonitor.Darling.Remediation/RemediationConnection.cs line 53, Lite/Models/ServerConnection.cs line 626), so an omitted value never occurs and explicit values win. The other builders (plan fetchers, XE session code, connect policy) copy one of those strings. The new default is also off for a configured Failover Partner. We never set one and already ignore a server-supplied one (ServerHostSetting.cs, Host rule follow-ups: local named instances via SQL Browser, and mirroring failover partners, outside the TCP rule #6365). Not hit.
  • Pool wait now shares the Connect Timeout budget (UseOverallConnectTimeoutForPoolWait defaults to true). Not a code break. Monitored-server connections use ConnectTimeout = 15 (MonitoredServerConnection.cs lines 42 and 200, Remediation line 46, and the Lite builder in Lite/Models/ServerConnection.cs) with the default pool, so under pool exhaustion an open can now time out in 15 seconds total instead of 15 seconds after the wait. Worth watching on a busy collector. The switch can restore the old behavior if it shows up, and I did not add it.
  • Azure authentication moves to Azure.Core and Azure Attestation needs the Azure extension. We reference Microsoft.Data.SqlClient.Extensions.Azure directly where Entra sign-in is used (Lite, Darling.Analysis, Darling.Service) and use no enclave attestation. The Exporter pins Azure.Identity 1.21.0, which the notes name as the minimum. This is the one that bit: item 5 above. Broker behavior is unchanged: Azure.Core 1.65.0 carries the same probe string Azure.Identity.Broker.DevelopmentBrokerOptions, Azure.Identity.Broker and the same "Must reference the Azure.Identity.Broker package" messages, and Azure.Identity.Broker is still absent from the graph. The DefaultAzureCredential failed to retrieve a token and authentication failed due to an unhandled exception message markers that EntraAmbientCredentialFailure matches are still in Azure.Core. The review note in .github/dependabot.yml about the Azure.Identity pins is the part that is now out of date (it names Azure.Identity the package). I did not edit it.
  • Authentication diagnostic message text can change (config and registration messages). We match on credential-chain markers (confirmed above) and on SqlException.Number, not on those messages.
  • API removals and changes: SqlParameterCollection.RemoveAt(int) throwing ArgumentOutOfRangeException, character SqlMetaData needing an LCID, SqlBatchCommand.CanCreateParameter, SQL Server 2005 type system version, SqlVector<Half>/float16 vector negotiation default. Searched the non-test code for SqlMetaData, Type System Version, SqlVector, Vector Type Support and Parameters.RemoveAt: no hits.
  • Windows pool identity includes the logon session, bulk copy metadata discovery, transaction isolation reset (opt-in), SQLCLIENT001 version-mismatch warning. No use of the opt-in, no SqlBulkCopy and none of the removed or changed APIs anywhere in the tree, and both build with 0 warnings.
  • SqlException.Number and text: the notes list no change to either.

Verified

  • Release builds of Darling/Darling.Tests, Lite.Tests and Exporter/PerformanceMonitor.Exporter.Tests: 0 Warning(s), 0 Error(s) (before the Lite test fix, and Lite.Tests again after it).
  • Every test class whose file uses Microsoft.Data.SqlClient (found with git grep -l, 87 files): Darling 826 run, 0 failed, 337 skipped. Lite 443 run, 0 failed, 39 skipped (13 failed before the item 5 fix, 0 after).
  • bash .github/scripts/pre-push.sh: [guard-darling] Darling.Tests Total: 5056, Errors: 0, Failed: 0, Skipped: 0 and [guard-lite] Lite.Tests Total: 1257, Errors: 0, Failed: 0, Skipped: 0. classes: darling 0, lite 1. The gate then printed GATE STOP (a Directory.Packages.props change selects the whole suite), so CI decides the rest.
  • python .github/scripts/ci-select.py local-classes --base origin/dev found no class naming a symbol this change declares.
  • Not run: an end-to-end Entra sign-in against a tenant, and a monitored SQL Server connection. Nothing here touches a monitored server.

Broker guarantee checked

Verdict: Lite's broker-free guarantee for EntraDefaultCredential still holds under the new packaging. The probed assembly and type did not move, so no test changed. Item 5 above said Azure.Core "carries the same broker probe string". That was a string match. The mechanism was not read then. It is read now, by decompiling the net10.0 build of Azure.Core 1.65.0 (ilspycmd) and by running it.

1. How the broker link finds its options, and whether it gives up when they are absent.

  • Azure.Identity.DefaultAzureCredentialFactory.TryCreateDevelopmentBrokerOptions calls Type.GetType("Azure.Identity.Broker.DevelopmentBrokerOptions, Azure.Identity.Broker", throwOnError: false). The assembly name is Azure.Identity.Broker and the type is Azure.Identity.Broker.DevelopmentBrokerOptions. It returns false when the type is null, and also when there is no parameterless constructor or the object is not an InteractiveBrowserCredentialOptions.
  • That method is the only broker probe in Azure.Core. The other Type.GetType call there is for key attestation. No WithBroker call exists anywhere in Azure.Core.
  • Its callers are CredentialOptionsMapper.GetBrokerOptions (used by the BrokerCredential constructor and both VisualStudioCodeCredential constructors), ChainedTokenCredentialFactory.CreateBrokerCredential, and CreateInteractiveBrowserCredential (only when UseDefaultBrokerAccount is set, which defaults to false).
  • When the probe fails, BrokerCredential builds plain interactive-browser fallback options, and GetTokenImpl throws CredentialUnavailableException("The BrokerCredential requires the Azure.Identity.Broker package to be referenced...") before any MSAL call. VisualStudioCodeCredential gives up the same way.
  • Run against Microsoft.Data.SqlClient.Extensions.Azure 8.0.0 on net10.0 in a throwaway console project: DefaultAzureCredential lives in Azure.Core 1.65.0.0, the probe returns null, and the only Azure assembly loaded is Azure.Core. A chain holding only the broker link throws CredentialUnavailableException: The BrokerCredential requires the Azure.Identity.Broker package to be referenced. A chain holding only the VS Code link throws CredentialUnavailableException: VisualStudioCodeCredential requires the Azure.Identity.Broker package to be referenced from the project. No token and no window.

2. The exclusion defaults.

  • DefaultAzureCredentialOptions.ExcludeBrokerCredential is a plain auto-property with no initializer, so it still defaults to false, and the chain adds the broker link whenever it is false. ExcludeInteractiveBrowserCredential still defaults to true. The throwaway project printed both.
  • SqlClient 8.0.0 (tag v8.0.0, ActiveDirectoryAuthenticationProvider.CreateTokenCredentialInstance) sets AuthorityHost, TenantId and ExcludeInteractiveBrowserCredential = true, plus ManagedIdentityClientId and WorkloadIdentityClientId when a client id is present. It never sets ExcludeBrokerCredential. The same method at v7.1.2 sets the same four things, and the _useWamBroker rule and the WithBroker call on the MSAL path are line for line the same in both tags. That path is not the default-credential path.

3. Does anything in the resolved graph carry the broker options type?

  • No. A System.Reflection.Metadata scan of every managed DLL in every package resolved by all 7 packages.lock.json files (154 distinct id and version pairs, 1186 assemblies) found no assembly named Azure.Identity.Broker and no type in the namespace Azure.Identity.Broker.
  • The scan's only DevelopmentBrokerOptions hits are the internal Azure.Identity.DevelopmentBrokerOptions inside Azure.Core (1.65.0 for Lite, the Viewer, the test projects and the smoke harness, and 1.60.0 for the Exporter). Different namespace, different assembly, and not what the probe loads. It is the base class the broker package derives from, which is why Azure.Core grants InternalsVisibleTo to Azure.Identity.Broker. That hit also works as the scan's positive control.
  • Microsoft.Identity.Client.Broker 4.92.0 (4.84.2 on dev) is MSAL's broker package, a different package. It was already in the graph on dev through Microsoft.Data.SqlClient.Extensions.Azure and is not what the probe resolves.

Tests. Nothing the pins assert on changed, so no test was edited. Both pins use the exact string Azure.Core probes, and the positive control Azure.Identity.DefaultAzureCredential, Azure.Core resolves. I did not do a red-against-a-fake run, because the condition for it (the probe moving) was not met. EntraDefaultCredentialTests, EntraCredentialSelectionTests, BystanderEventSource, PayloadNameListener and RecordingListener (the classes ci-select.py local-classes --base origin/dev names) ran together: Total 92, 0 failed, 0 errors, built with 0 Warning(s) and 0 Error(s).

Considered, not added. A test that reads Azure.Core's probe literal out of its metadata and compares it with the pins' string. The concrete trigger would be a future Azure.Core renaming the probed assembly. It would read a third-party binary's spelling, and the comment block in dependabot.yml now tells the person approving the bump to read the probe themselves. Left as prose.

Review notes and Dependabot ignore

Only .github/dependabot.yml changed.

  • The "Reviewing a Microsoft.Data.SqlClient bump" comment block is rewritten for the new packaging, at about the same length. It now says that Azure.Core carries the credential types and AzureIdentityEventSource, the transitive path (Microsoft.Data.SqlClient, then Microsoft.Data.SqlClient.Extensions.Azure, then Azure.Core), the exact probe call, and three things to check on a bump: the probe, the ExcludeBrokerCredential default and SqlClient's exclusions, and any package that carries Azure.Identity.Broker or its options type (naming the two look-alikes that are expected).
  • New ignore entries for Microsoft.Extensions.* and Microsoft.AspNetCore.* skip version-update:semver-major, with a comment: the projects target net10.0, whose shared framework carries the 10.x set, and Bump Microsoft.Extensions.Hosting and Microsoft.Extensions.Hosting.Systemd #9871 showed an 11.0 bump changing the service's exit code on a hosted-service failure and failing ViewerSettingsMemberRecoveryTests. The comment says to lift both when the projects move target framework. Microsoft.Extensions.Logging.Abstractions is already 11.0.0 on dev. It is left alone and the comment says so. The file still parses as YAML and lists the three ignore entries.
  • The branch also merged origin/dev again. Seven packages.lock.json files each had one conflict, the Microsoft.Data.SqlClient project reference line ([8.0.0, ) here, [7.1.2, ) on dev). I kept 8.0.0 in all seven. Dev's other change in that merge, AWSSDK.S3 4.1.2.1, merged cleanly.
  • Gate, run on the merged head before this push: [guard-darling] Darling.Tests Total: 5056, Errors: 0, Failed: 0, Skipped: 0 and [guard-lite] Lite.Tests Total: 1257, Errors: 0, Failed: 0, Skipped: 0. It ended in GATE STOP (the changed lock files select the whole suite), so CI decides the rest. The classes named above were run by hand on top of that.

Recommendation

Merge after CI is green. The two fixes above are on the branch. Watch Connect Timeout behavior under pool pressure in the first release that carries it.

Release note: SqlClient is updated to 8.0.0. Connection timeouts now include time spent waiting for a pooled connection.

---
updated-dependencies:
- dependency-name: Microsoft.Data.SqlClient
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Nov 27, 2026
claude[bot]
claude Bot previously requested changes Nov 27, 2026

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Verdict: CHANGES REQUESTED

Claims

  • VERIFIED — Bumps Microsoft.Data.SqlClient 7.1.2 → 8.0.0 — Directory.Packages.props hunk bumps Microsoft.Data.SqlClient and Microsoft.Data.SqlClient.Extensions.Azure to 8.0.0. The seven packages.lock.json files are regenerated to match.
  • UNVERIFIED — The 8.0.0 release notes list breaking defaults: pool waits share the connect-timeout budget, and the new Vector Type Support default. Neither was checked against Lite/Darling connection behaviour. That needs a build and a live SQL Server and Entra run.
  • UNVERIFIED — Dependabot's compatibility score is only a badge. It says nothing about the Entra paths below.

Riskiest lines

  1. Lite/packages.lock.json and Darling/PerformanceMonitor.Darling.Viewer/packages.lock.json (the Microsoft.Data.SqlClient.Extensions.Azure entry) — 8.0.0 no longer depends on Azure.Identity (removed from the Lite, Darling.Tests, Viewer, Lite.Tests and ui-smoke lockfiles; only the Exporter pins it directly). PerformanceMonitor.Common/Helpers/EntraAmbientCredentialFailure.cs:77-83 matches the literal "DefaultAzureCredential failed to retrieve a token" text. Lite/Helpers/EntraCredentialSelection.cs listens for the Azure-Identity EventSource. Both depend on that package being present. — covered by UNCOVERED. Lite.Tests/EntraDefaultCredentialTests.cs uses hand-built messages, so it cannot fail when the real driver stops producing them.
  2. Directory.Packages.props:23-24 — a major version bump, with the AssemblyVersion going from 7.0.0.0 to 8.0.0.0, and Microsoft.Identity.Client/Broker moving 4.84.2 → 4.92.0. This affects EntraBrokerFailure text matching and the Entra login flows. — UNCOVERED, since no behaviour test exercises the real driver.
  3. Lite/packages.lock.json — the UseOverallConnectTimeoutForPoolWait default flips to true. Collectors that wait on the pool may now time out on Open sooner than before. — UNCOVERED.

Traps near this diff

  • "A key in the graph is not a key in the data; grep the collector that emits it" (the dormant-arm shape) — applies — the Entra classifier's markers (EntraAmbientCredentialFailure.cs:77-83) and the Azure-Identity event listener (Lite/Helpers/EntraCredentialSelection.cs) are keyed on a package this bump removes from the Lite and Darling graphs. Their tests pass against fixtures while production silently classifies None.
  • "Lite and Darling ship in parity" — does not apply — both SKUs' lockfiles change the same way.

Divergence (blind read vs PR body)

The body is Dependabot's generated release notes. It does not mention that Azure.Identity and Azure.Core drop out of the transitive graph, or that Microsoft.Bcl.Cryptography is added. Both follow from the lockfile hunks. It also does not say that the Entra failure classifier and credential-selection listener depend on Azure.Identity 1.18.0 text and events.

Reviewer checklist

  • Decide how the Entra code responds to Azure.Identity leaving the graph. Options: add an explicit Azure.Identity reference (as the Exporter does at its csproj:22), or re-derive the markers against what 8.0.0's Extensions.Azure actually emits.
  • Run a real Entra "default credential" sign-in failure on Lite. Check that the classifier still returns the ambient-credential kind and that the credential-selection note still appears.
  • Build and run the Lite and Darling suites. Smoke-test connections under pool contention, given the connect-timeout default change.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Verdict: LGTM

Claims

  • VERIFIED — The test probes now look in Azure.Core, since SqlClient 8.0.0 moved the credential types and event source there — diff of Lite.Tests/EntraCredentialSelectionTests.cs (EventSourceTypeName) and Lite.Tests/EntraDefaultCredentialTests.cs (positive control plus the Azure.Core.dll file check). Only test constants and comments changed.
  • UNVERIFIED — Azure.Core 1.65.0 carries the same DevelopmentBrokerOptions probe string, and Azure.Identity.DefaultAzureCredential resolves from Azure.Core — this needs a restore and a test run, which a read-only tree can't do.

Riskiest lines

  1. Lite.Tests/EntraDefaultCredentialTests.cs:470 — The positive control must resolve in Azure.Core, or the test fails — covered by that test itself, which fails if the type is not found.
  2. Lite.Tests/EntraDefaultCredentialTests.cs:492 — Azure.Core.dll must sit beside the test assembly — covered by the same test's Assert.NotEmpty.
  3. Lite.Tests/EntraCredentialSelectionTests.cs:98 — Type.GetType on the event source, resolved by reflection — covered by the EntraCredentialSelectionTests event-raising tests, which fail if the type is not found.

Traps near this diff

  • "A test that encodes the lie… Ask what defect a test would fail ON." — does not apply — the changes at EntraDefaultCredentialTests.cs:467-492 are positive controls that still assert real resolution. The Azure.Identity.Broker* absence check is unchanged.
  • "Never add a source-text pin" — does not apply — the diff adds no new test, only retargets existing assembly names.

Divergence (blind read vs PR body)

None found in this follow-up range. The production code (Lite/Helpers/EntraCredentialSelection.cs:69) uses the event source by name only, so it is unaffected. I did not re-grade the PR body's claims about earlier commits.

Reviewer checklist

  • Run Lite.Tests on the SqlClient 8.0.0 restore and confirm the Entra credential and selection tests pass.

…ging, and hold Microsoft.Extensions and AspNetCore majors (#9869)

SqlClient 8.0.0 moved the Azure credential types into Azure.Core. The broker link still resolves its options with Type.GetType on Azure.Identity.Broker.DevelopmentBrokerOptions in the assembly Azure.Identity.Broker, so the two pins keep asserting what is probed. The review notes now say that, and say what a reviewer checks.

The NuGet updater now skips semver-major for Microsoft.Extensions.* and Microsoft.AspNetCore.*: the projects target net10.0, and an 11.0 bump changed the service's exit code on a hosted-service failure (#9871).
@erikdarlingdata
erikdarlingdata merged commit a0bf995 into dev Nov 27, 2026
42 checks passed
@erikdarlingdata
erikdarlingdata deleted the dependabot/nuget/Darling/PerformanceMonitor.Darling.Storage/dev/Microsoft.Data.SqlClient-8.0.0 branch November 27, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant