Fix staging Aspire CLI install command for polyglot apphost.ts support#1496
Fix staging Aspire CLI install command for polyglot apphost.ts support#1496
Conversation
Create TypeScript equivalents of C# AppHost.cs files using the Aspire polyglot apphost SDK for 14 samples. Each file uses the createBuilder pattern with camelCase method names and includes POLYGLOT GAP comments for features not yet available in the TypeScript SDK. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ap analysis Create apphost.ts files for 14 samples, converting C# AppHost.cs to TypeScript polyglot apphost SDK equivalents. Each file uses the Aspire polyglot SDK pattern (createBuilder/build/run) and documents all POLYGLOT GAP items where C# features are not available in the TypeScript SDK. Add comprehensive POLYGLOT_NOTES.md documenting per-sample gap analysis, cross-cutting issues, feature availability matrix, and recommendations. Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
|
Hey @copilot, while you did an okay job - I think you might need to adjust how you approached this problem slightly. When you create the TypeScript |
Address review feedback: each apphost.ts now includes setup comments listing which aspire add commands to run for integration packages. Previously commented-out code (marked as POLYGLOT GAP) is now active code that uses APIs available after running aspire add. Updated POLYGLOT_NOTES.md with per-sample setup instructions and revised feasibility matrix. Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
… fixes Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Updated in 781e1e0 and 8e2710f. Each Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
Related to dotnet/aspire#14069 |
…pphost.ts The stable Aspire CLI (13.1.2 from NuGet) does not include TypeScript polyglot apphost support. The native staging binary from aspire.dev is required to detect and run apphost.ts files. Updated POLYGLOT_NOTES.md to clearly document this, mark all feasibility ratings as expected rather than confirmed, add a validation checklist, and note the container runtime prerequisite. Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
…nfig Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
The polyglot
apphost.tsfiles require the staging Aspire CLI (native binary), not the NuGet-based tool. The install commands inPOLYGLOT_NOTES.mdused incorrect flags.Changes
curl -sSL https://aspire.dev/install.sh | bash -s -- -q staging.aspire/settings.jsonaccidentally committed from local testingStill pending
Running
aspire runfor eachapphost.tsto generate.modules/and validate the gap analysis requires the staging CLI, which needsaspire.devnetwork access. The gap analysis inPOLYGLOT_NOTES.mdis spec-based and explicitly marked as unvalidated — actual API availability will differ once.modules/aspire.tsis generated.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
80zvsblobprodcus35.vsblob.vsassets.io/tmp/aspire-src/.dotnet/dotnet /tmp/aspire-src/.dotnet/dotnet msbuild /m /nologo /clp:Summary /v:minimal /nr:true /warnaserror /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=false /tmp/aspire-src/artifacts/toolset/restore.proj /t:__WriteToolsetLocation /clp:ErrorsOnly;NoSummary /p:__ToolsetLocationOutputFile=/tmp/aspire-src/artifacts/toolset/10.0.0-beta.26123.2.txt(dns block)/tmp/aspire-src/.dotnet/dotnet dotnet build src/Aspire.Cli/Aspire.Cli.csproj -p:PublishAot=false --no-incremental .net9(dns block)aka.ms/usr/bin/curl curl -sSL --connect-timeout 10 -L REDACTED(dns block)/usr/bin/curl curl -sSI --connect-timeout 10 -L REDACTED(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)aspire.dev/usr/bin/curl curl -sSL REDACTED(dns block)/usr/bin/nslookup nslookup aspire.dev(dns block)/usr/bin/host host aspire.dev(dns block)aspiredev.netlify.app/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)dnceng.pkgs.visualstudio.com/tmp/aspire-src/.dotnet/dotnet /tmp/aspire-src/.dotnet/dotnet msbuild /m /nologo /clp:Summary /v:minimal /nr:true /warnaserror /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=false /tmp/aspire-src/artifacts/toolset/restore.proj /t:__WriteToolsetLocation /clp:ErrorsOnly;NoSummary /p:__ToolsetLocationOutputFile=/tmp/aspire-src/artifacts/toolset/10.0.0-beta.26123.2.txt(dns block)/tmp/aspire-src/.dotnet/dotnet dotnet build src/Aspire.Cli/Aspire.Cli.csproj -p:PublishAot=false --no-incremental .net9(dns block)dns.google/usr/bin/python3 python3(dns block)dotnetbuilds.azureedge.net/usr/bin/curl curl -sSI --connect-timeout 10 REDACTED(dns block)https://api.github.com/repos/dotnet/aspire/releases/usr/bin/curl curl -sSL --connect-timeout 10 REDACTED(http block)/usr/bin/curl curl -sSL --connect-timeout 10 REDACTED -H Accept: application/vnd.github.v3+json(http block)ievangelist.github.io/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.