Skip to content

[7.0.4 Cherry-pick] Improve WAM authentication diagnostics for windowless hosts - #4917

Merged
paulmedynski merged 2 commits into
release/7.0from
dev/automation/pr-4858-to-7.0.4
Oct 28, 2026
Merged

paulmedynski merged 2 commits into
release/7.0from
dev/automation/pr-4858-to-7.0.4

Conversation

@github-actions

Copy link
Copy Markdown

Cherry-pick of #4858 (a62aad4) into release/7.0.

* Improve WAM missing-window authentication diagnostics

Preserve broker requirements while explaining supported authentication alternatives for windowless hosts. Add exception translation regression tests, sync/async integration coverage, and documentation.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: ec369fd4-31ce-48fd-94fe-dc893a47a803

* Isolate shared MSAL client cache in windowless interactive test

Clear the cached public client applications before and after the windowless test so its zero-window callback is neither bypassed by an earlier cached client nor leaked into later interactive tests. Serialize ActiveDirectoryInteractiveTests with the other provider-mutating tests.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ec369fd4-31ce-48fd-94fe-dc893a47a803

* Address review feedback on WAM missing-window diagnostics

- Revert sample to the constructor available in the referenced Extensions.Azure package.
- Add SqlAuthenticationProviderCollection.Name and use it in Azure tests.
- Make s_pcaMap internal and remove reflection from WamBrokerErrorTests.
- Add localization TODO (#4904) and a note on the Windows-only filter.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ec369fd4-31ce-48fd-94fe-dc893a47a803

---------

Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Malcolm Daigle <[email protected]>
Copilot-Session: ec369fd4-31ce-48fd-94fe-dc893a47a803
@github-actions
github-actions Bot requested a review from a team as a code owner October 26, 2026 09:13
@github-actions github-actions Bot added this to the 7.0.4 milestone Oct 26, 2026
@github-project-automation github-project-automation Bot moved this to To triage in SqlClient Board Oct 26, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

apoorvdeshmukh
apoorvdeshmukh previously approved these changes Oct 26, 2026
@paulmedynski
paulmedynski enabled auto-merge (squash) October 26, 2026 10:32

@paulmedynski paulmedynski 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.

Compile errors, and missing a milestone.

@github-project-automation github-project-automation Bot moved this from To triage to Waiting for customer in SqlClient Board Oct 26, 2026
@paulmedynski

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.

@codecov

codecov Bot commented Oct 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.26%. Comparing base (bfb4ba5) to head (c7ff10a).
⚠️ Report is 4 commits behind head on release/7.0.

❗ There is a different number of reports uploaded between BASE (bfb4ba5) and HEAD (c7ff10a). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (bfb4ba5) HEAD (c7ff10a)
CI-SqlClient 1 0
Additional details and impacted files
@@               Coverage Diff               @@
##           release/7.0    #4917      +/-   ##
===============================================
- Coverage        73.09%   66.26%   -6.84%     
===============================================
  Files              280      276       -4     
  Lines            43419    66327   +22908     
===============================================
+ Hits             31738    43949   +12211     
- Misses           11681    22378   +10697     
Flag Coverage Δ
CI-SqlClient ?
PR-SqlClient-Project 66.26% <ø> (?)

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.

@paulmedynski
paulmedynski merged commit 4745f32 into release/7.0 Oct 28, 2026
283 checks passed
@paulmedynski
paulmedynski deleted the dev/automation/pr-4858-to-7.0.4 branch October 28, 2026 14:31
@github-project-automation github-project-automation Bot moved this from Waiting for customer to Done in SqlClient Board Oct 28, 2026
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.

3 participants