Repository navigation
Enable Azure C# emitters in the Azure TypeSpec playground - #5968
Closed
JoshLove-msft wants to merge 8 commits into
Closed
JoshLove-msft wants to merge 8 commits into
JoshLove-msft wants to merge 8 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
JoshLove-msft
requested review from
Mark Cowlishaw (markcowl),
Timothee Guerin (timotheeguerin) and
Jeff Fisher (xirzec)
as code owners
November 4, 2026 23:53
Merged
5 of 9 tasks
Contributor
|
No changes needing a change description found. |
Contributor
📦 Package size report4 packages changed size, +22.59 KB (+0.1%) packed overall.
10 package(s) with no notable change
Packed = gzipped |
Contributor
|
You can try these changes here
|
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep externally supplied deferred emitters out of local library bundling while retaining the runtime library list. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Jorge Rangel (jorgerangel-msft)
approved these changes
Nov 5, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 9, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Deferred emitters are published separately from the Azure library index, so both Azure playgrounds now merge each emitter's latest.json import map, matching the TypeSpec website. Emitters without a published map are skipped. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enable the Azure C# data-plane, management-plane, and provisioning emitters in the Azure standalone and website playgrounds using the shared
libraries/deferredEmittersconfiguration, following the TypeSpec playground approach.Both playgrounds load each emitter's published
latest.jsonbrowser import map from TypeSpec package storage. The standalone playground registers emitters whose maps load successfully. The website merges these additional maps only for the latest compiler selection, not historical versions. Browser emitter modules remain deferred until selected.Keep the C# emitters out of npm dependencies and Vite's locally bundled libraries. Convert the locally generated native import map to
importmap-shimso existing local libraries remain resolvable after adding remote shim maps. No/generatorscatalog loader or custom C# mock tests are included.Relates to Azure/azure-sdk-for-net#64101.
Prerequisites
Azure/azure-sdk-for-net#64544 and microsoft/typespec#12497 have merged the browser artifact publication and hosted Azure generator deployment implementations. Actual publication of the three emitter import maps and deployment of the hosted generators remain rollout prerequisites; their completion and end-to-end Azure C# generation have not been verified here. This PR does not publish artifacts or deploy the service. The loading review thread remains open pending end-to-end evidence.
Validation
Current head:
3b3959635899615792a1a53e1539359a00580d7a.eng/feeds/test/init-templates.e2e.ts: both standalone template validation tests fail duringnpm installwithERESOLVE. The generated projects request@typespec/rest@^0.88.0, while published@azure-tools/typespec-azure-core@0.73.0requires@typespec/rest@^0.87.0. Those feed templates, tests, and package versions are unchanged by this PR. No peer-dependency bypass or unrelated template change was made.These are current-head CI results, not the removed catalog-loader tests or validation from earlier revisions.