Add polyglot exports for Aspire.Hosting.Azure.Redis#14889
Merged
sebastienros merged 2 commits intorelease/13.2from Mar 3, 2026
Merged
Add polyglot exports for Aspire.Hosting.Azure.Redis#14889sebastienros merged 2 commits intorelease/13.2from
sebastienros merged 2 commits intorelease/13.2from
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 14889Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 14889" |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds ATS/polyglot export coverage for Aspire.Hosting.Azure.Redis so TypeScript AppHosts can consume the Azure Managed Redis integration, and introduces a TypeScript ValidationAppHost to compile-check the generated SDK surface.
Changes:
- Added
[AspireExport]attributes to Azure Managed Redis extension methods to expose them as ATS capabilities. - Added a new TypeScript polyglot
ValidationAppHostfor Aspire.Hosting.Azure.Redis (config, apphost sample, and generated.modulesSDK snapshot). - Included npm project scaffolding (
package.json+package-lock.json) for the new validation app.
Reviewed changes
Copilot reviewed 9 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/Aspire.Hosting.Azure.Redis/AzureManagedRedisExtensions.cs | Exposes Azure Managed Redis integration entrypoints to ATS via [AspireExport]. |
| playground/polyglot/TypeScript/Aspire.Hosting.Azure.Redis/ValidationAppHost/tsconfig.json | TypeScript compiler configuration for the Redis validation AppHost. |
| playground/polyglot/TypeScript/Aspire.Hosting.Azure.Redis/ValidationAppHost/package.json | npm configuration for the validation AppHost. |
| playground/polyglot/TypeScript/Aspire.Hosting.Azure.Redis/ValidationAppHost/package-lock.json | Locked npm dependency graph for repeatable validation builds. |
| playground/polyglot/TypeScript/Aspire.Hosting.Azure.Redis/ValidationAppHost/apphost.ts | TypeScript AppHost exercising the exported Azure Managed Redis APIs. |
| playground/polyglot/TypeScript/Aspire.Hosting.Azure.Redis/ValidationAppHost/apphost.run.json | Run profile/environment variables for the validation AppHost. |
| playground/polyglot/TypeScript/Aspire.Hosting.Azure.Redis/ValidationAppHost/.modules/transport.ts | Generated ATS transport layer snapshot used by the validation AppHost. |
| playground/polyglot/TypeScript/Aspire.Hosting.Azure.Redis/ValidationAppHost/.modules/base.ts | Generated core SDK primitives snapshot used by the validation AppHost. |
| playground/polyglot/TypeScript/Aspire.Hosting.Azure.Redis/ValidationAppHost/.modules/.codegen-hash | Codegen hash marker for the generated .modules snapshot. |
| playground/polyglot/TypeScript/Aspire.Hosting.Azure.Redis/ValidationAppHost/.aspire/settings.json | Aspire polyglot settings referencing packages and apphost entrypoint. |
Files not reviewed (1)
- playground/polyglot/TypeScript/Aspire.Hosting.Azure.Redis/ValidationAppHost/package-lock.json: Language not supported
playground/polyglot/TypeScript/Aspire.Hosting.Azure.Redis/ValidationAppHost/tsconfig.json
Outdated
Show resolved
Hide resolved
…dationAppHost/tsconfig.json Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
76 tasks
Contributor
🎬 CLI E2E Test RecordingsThe following terminal recordings are available for commit
📹 Recordings uploaded automatically from CI run #22636743134 |
IEvangelist
reviewed
Mar 3, 2026
davidfowl
approved these changes
Mar 3, 2026
Copilot AI
pushed a commit
that referenced
this pull request
Mar 10, 2026
* Add AspireExport coverage for Azure Redis Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Update playground/polyglot/TypeScript/Aspire.Hosting.Azure.Redis/ValidationAppHost/tsconfig.json Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot <175728472+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.
Description
Add polyglot AspireExport coverage for Aspire.Hosting.Azure.Redis.
Related to #14069.
Validation:
Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?aspire.devissue: