Skip to content

[BUG] Ship AOT/Trimmed HTTP Docker image (tracking Identity AOT bug) #1051

@anuchandy

Description

@anuchandy

Describe the bug

Currently, the HTTP transport - supported only in the Docker image distribution - uses the untrimmed build of Azure MCP Server. The reason the trimmed build isn’t used is that the HTTP transport implementation depends on the Microsoft.Identity.Web package, which is not trim-safe.

This issue tracks the work to vendor a trimmed build once the Identity partner team enables trim-compatible APIs.

Related identity work item: AzureAD/microsoft-identity-web#3576

Expected behavior

Supports trim build in Docker image distribution

Actual behavior

uses untrimmed build in Docker image distribution

Reproduction Steps

N/A

Environment

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In Progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions