Skip to content

Fix Service Fabric HTTPAdapter subclass compatibility - #964

Merged
Nilesh Choudhary (4gust) merged 1 commit into
devfrom
4gust-service-fabric-adapter-compatibility
Sep 17, 2026
Merged

Nilesh Choudhary (4gust) merged 1 commit into
devfrom
4gust-service-fabric-adapter-compatibility

Conversation

@4gust

@4gust Nilesh Choudhary (4gust) commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Accept HTTPAdapter subclasses for Service Fabric while preserving certificate pinning.

Adds regression tests for subclass support, certificate rejection, and transport isolation. All 60 managed-identity tests pass.

This PR covers adapter compatibility only; the Azure Identity wrapper integration is separate.

Related to #963.

Accept HTTPAdapter subclasses as configuration sources while retaining MSAL's isolated certificate-pinned transport. Add regression coverage for pin validation, supported adapter types, and caller transport isolation.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 17, 2026 09:45
@4gust
Nilesh Choudhary (4gust) requested a review from a team as a code owner September 17, 2026 09:45

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.

🟢 Approval recommended

No unresolved blocking issues were identified.

Pull request overview

Fixes Service Fabric managed identity compatibility with HTTPAdapter subclasses while preserving isolated certificate-pinned transport behavior.

Changes:

  • Accepts adapter subclasses and copies retry/pool settings.
  • Preserves transport isolation and adapter validation.
  • Expands TLS, configuration, and subclass test coverage.
File summaries
File Summary
tests/test_mi.py Adds subclass, isolation, and validation coverage.
msal/managed_identity.py Supports adapter subclasses with pinned transport isolation.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@4gust Nilesh Choudhary (4gust) added this to the 1.39.0 milestone Sep 17, 2026
@4gust
Nilesh Choudhary (4gust) merged commit 05f5b5c into dev Sep 17, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants