Skip to content

Conversation

peterwald
Copy link
Member

@peterwald peterwald commented Apr 15, 2025

Fixes #6242

The azure-devops-extensions-api package uses AMD packaging which modern web frameworks do not support well (or sometimes at all). This was causing issues with the SDK being loaded multiple times into the page, confusing the REST api client. This PR updates the packaging to use only ES modules. Since azure-devops-extensions-api does not support ES modules, this PR includes a pruned version of the package with only the parts we need.

This will greatly simplify packaging and make it more reliable. Tthe old solution was using a babel converter to get around the problem, which in the end only made things worse.

Microsoft Reviewers: Open in CodeFlow

@peterwald peterwald added the area-ai-eval Microsoft.Extensions.AI.Evaluation and related label Apr 15, 2025
@peterwald peterwald self-assigned this Apr 15, 2025
@peterwald peterwald requested a review from a team as a code owner April 15, 2025 15:37
@peterwald peterwald requested a review from a team as a code owner April 15, 2025 20:21
@peterwald peterwald removed the request for review from a team April 15, 2025 20:44
@peterwald peterwald enabled auto-merge (squash) April 15, 2025 20:55
@peterwald peterwald merged commit 3c5bd61 into dotnet:main Apr 15, 2025
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-ai-eval Microsoft.Extensions.AI.Evaluation and related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[AI Evaluation] Fix broken report loading in Azure DevOps extension
2 participants