Spike polyglot integrations through ATS projection#16110
Draft
Spike polyglot integrations through ATS projection#16110
Conversation
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 16110Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 16110" |
Contributor
|
Re-running the failed jobs in the CI workflow for this pull request because 1 job was identified as retry-safe transient failures in the CI run attempt.
|
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
6a91b0e to
bb3cd12
Compare
Contributor
|
🎬 CLI E2E Test Recordings — 70 recordings uploaded (commit View recordings
📹 Recordings uploaded automatically from CI run #24464471957 |
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
This spike lets external integration hosts participate in the same ATS projection pipeline used by CLR-scanned integrations. A TypeScript integration host can now emit ATS-shaped capability metadata that the AppHost server normalizes into synthetic capabilities, which means the generated TypeScript AppHost SDK can expose
builder.addKafka(...)instead of relying on internal_client.invokeCapability(...)escape hatches.The change also rounds out the demo path for the TypeScript spike:
--no-incrementalso temp hosts do not go staleaspire run/aspire startlifecycle with generatedaddKafka(...)docs/specs/polyglot-integrations.mdThis is intentionally a spike, not a finished product. It proves the direction that external integrations can stay as code while still projecting into the same generated guest-language surface as .NET integrations.
Validation:
restore.cmddotnet build src\Aspire.Cli\Aspire.Cli.csproj /p:SkipNativeBuild=trueplayground\TsIntegrationSpike\kafka-integration\node_modules\.bin\tsc.cmd --noEmitplayground\TsIntegrationSpike\node_modules\.bin\tsc.cmd --noEmit -p tsconfig.apphost.jsondotnet artifacts\bin\Aspire.Cli\Debug\net10.0\aspire.dll run -d --isolatedartifacts\bin\Aspire.Cli\Debug\net10.0\aspire.exe startFixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?aspire.devissue: