You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Backport AOT-safe auth provider to release/7.0 branch #4349
Not applicable — this task tracks the fix/backport, not a new regression
Analysis
This is a well-scoped backport task to cherry-pick/port the AOT-safe authentication provider changes from PR #4348 (targeting main) into the release/7.0 branch for the 7.0.2 hotfix milestone. The underlying regression (#4193) is high severity (P1) — Entra ID authentication silently fails under NativeAOT in v7.0 due to reflection-based provider discovery, breaking Azure SQL connectivity for AOT-published apps. The fix involves making SqlAuthenticationProviderManager public, adding a trimmer feature switch, splitting ILLink substitution files per platform, updating ref assemblies, and adding AOT compatibility tests.
Next Steps
Assign this task to the Copilot coding agent to perform the backport.
Before cherry-picking, compare the TFM set in release/7.0 against main — the 7.0 branch likely targets net8.0/net9.0 but not net10.0, so any net10.0-specific code (e.g., [FeatureSwitchDefinition] usage gating) may need adjustment.
Verify that ILLink.Substitutions.Windows.xml split applies cleanly to the 7.0 branch structure.
Run the full unit test suite on release/7.0 after the port and confirm the AotCompatibility test app publishes without errors.
Note: This triage summary is auto-generated by an AI agent. The analysis and suggestions above have not been verified by a human maintainer. Please treat as preliminary guidance only.
Activity
github-actions commentedon Jun 9, 2026
🔍 Triage Summary
Area\Azure ConnectivityAnalysis
This is a well-scoped backport task to cherry-pick/port the AOT-safe authentication provider changes from PR #4348 (targeting
main) into therelease/7.0branch for the 7.0.2 hotfix milestone. The underlying regression (#4193) is high severity (P1) — Entra ID authentication silently fails under NativeAOT in v7.0 due to reflection-based provider discovery, breaking Azure SQL connectivity for AOT-published apps. The fix involves makingSqlAuthenticationProviderManagerpublic, adding a trimmer feature switch, splitting ILLink substitution files per platform, updating ref assemblies, and adding AOT compatibility tests.Next Steps
release/7.0againstmain— the 7.0 branch likely targetsnet8.0/net9.0but notnet10.0, so anynet10.0-specific code (e.g.,[FeatureSwitchDefinition]usage gating) may need adjustment.ILLink.Substitutions.Windows.xmlsplit applies cleanly to the 7.0 branch structure.release/7.0after the port and confirm the AotCompatibility test app publishes without errors.main, create a follow-up PR targetingrelease/7.0using branch prefixdev/automation/backport-aot-auth-provider-7.0.