Skip to content

Add polyglot hosting integrations through ATS projection - #16110

Merged
David Fowler (davidfowl) merged 37 commits into
mainfrom
davidfowl/ts-integration
Oct 9, 2026
Merged

David Fowler (davidfowl) merged 37 commits into
mainfrom
davidfowl/ts-integration

Conversation

@davidfowl

@davidfowl David Fowler (davidfowl) commented Apr 13, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Part of #16220. Adds support for hosting integrations authored outside .NET through Aspire's ATS metadata, SDK generation, and runtime dispatch pipeline. A consuming AppHost gets normal generated builder methods, while the integration executes in its own runtime and configures the same .NET resource model as a managed integration.

Integration-host ownership belongs to the AppHost server rather than the CLI. The CLI and server share process execution, command resolution, containment, and owner-liveness primitives instead of maintaining independent launching and polling implementations.

The PR includes TypeScript-authored Kafka and Deno examples, plus a real, packable @aspire/nuxt preview integration. TypeScript integration hosting is implemented today. The metadata contract is intended to support other authoring languages without making the consumer depend on the integration's language.

Architecture

flowchart TB
    Config["aspire.config.json<br/>Managed packages + external integration entry points"]
    CLI["Aspire CLI<br/>Restore, bootstrap, session launch, diagnostics"]
    Guest["Guest AppHost<br/>Generated fluent SDK"]

    subgraph Server[".NET AppHost server process"]
        Session["Server session<br/>Integration discovery and supervision"]
        Managed["Managed integration assemblies<br/>AspireExport capabilities"]
        ATS["Merged ATS metadata<br/>Consumer SDK generation"]
        Dispatch["Capability dispatcher<br/>Shared handles and callback routing"]
        Model["Authoritative .NET resource model<br/>Resources, annotations, deferred configuration"]
    end

    subgraph External["External integration process scope"]
        Guardian["Server-owned guardian<br/>Parent liveness + OS containment"]
        Host["TypeScript integration host<br/>Generated runIntegrationHost runtime<br/>Author code + generated core SDK"]
    end

    subgraph Restore["Dependency-install process scope"]
        InstallGuardian["CLI-owned guardian<br/>Same shared supervisor and OS containment"]
        Npm["npm install<br/>Lifecycle scripts and workers"]
    end

    DCP["DCP / container runtime"]
    Workloads["Application workloads<br/>Nuxt, Deno, Kafka, backend services"]

    Config --> CLI
    CLI -.->|starts and owns| Session
    CLI -.->|starts guest runtime| Guest
    Session -.->|supervises| Guardian
    Guardian -.->|launches node --import tsx directly| Host
    CLI -.->|owns during integration restore| InstallGuardian
    InstallGuardian -.->|launches and contains| Npm
    Session -->|loads and scans| Managed
    Managed -->|capability metadata| ATS
    Host -->|getCapabilities| ATS
    ATS -->|generated SDK| Guest
    Guest -->|invokeCapability JSON-RPC| Dispatch
    Dispatch -->|in-process invocation| Managed
    Dispatch <-->|external invocation, core API calls, callbacks| Host
    Managed -->|configures| Model
    Model -->|workload orchestration| DCP
    DCP --> Workloads
Loading

Dashed arrows show process-launch and lifetime responsibility; solid arrows show metadata, invocation, or workload flow. The external host connects back to the server over authenticated JSON-RPC. The guardian is a separate supervisor process, not part of the integration's event loop. Application workloads created through the resource model belong to DCP/the container runtime, not to the integration host's descendant tree.

The important separation is:

  • CLI: resolves configuration, restores dependencies inside a CLI-owned guardian scope, launches the server and guest AppHost, and retains linked diagnostics. It does not directly launch or supervise runtime integration hosts.
  • AppHost server: owns the resource model, managed integrations, external-host discovery and supervision, the merged ATS contract, and capability/callback routing.
  • Integration host: advertises its exported methods and executes author code against its generated core SDK. Resource handles refer back to server-owned objects; this is not a second resource model.

The architecture document distinguishes this implementation from the future Native AOT direction. Today the single runtime representation is server-owned C# objects. The target is one ATS-native runtime model, backed by core C# primitives and consumed through language projections, not parallel CLR and ATS models. This PR does not implement that runtime or an AOT server.

Authoring and invocation model

Integration authors write ordinary TypeScript functions using generated hosting APIs. AspireExport(metadata, function) marks methods for projection, and defineIntegration(...) collects the package's capabilities. The generated SDK also emits runIntegrationHost, which handles connection setup, authentication, registration, metadata discovery, dispatch, and callback transport. Packages do not copy private RPC/bootstrap boilerplate.

Integration hosts reuse the normal AspireClient transport for marshalling, structured errors, cancellation, and fluent work. Each export and inbound callback gets its own async promise scope, so unawaited fluent continuations complete before the request returns without making concurrent exports or reentrant callbacks wait on each other. Deferred guest callback relays survive export return and belong to both participating connections. Void guest callbacks apply returned positional DTO properties to the integration's original argument objects according to the callback projection. Non-DTO arguments and ordinary return-value callbacks are unchanged.

For an exported integration, there is one delivery path regardless of the consumer's language:

  1. The server gathers managed exports and the external host's capability metadata into one ATS context.
  2. Codegen projects that context into the consumer's fluent SDK.
  3. A generated call such as builder.addNuxtApp(...) reaches the server dispatcher, which forwards it to the owning integration host.
  4. The integration uses its own generated core SDK to call managed hosting APIs and configure server-owned resources.

Plain same-language helper libraries can still be imported and called directly. That library pattern does not need an integration-host process, but it also does not contribute exported methods to another language's generated SDK.

Configuration and bootstrap

External integrations currently use explicit entry-point paths in aspire.config.json. For the installed Nuxt preview package:

{
  "packages": {
    "Aspire.Hosting.JavaScript": "",
    "@aspire/nuxt": {
      "source": "npm",
      "path": "./node_modules/@aspire/nuxt/dist/src/host.js"
    }
  }
}

Restore, run, and publish share a two-pass bootstrap:

  1. A temporary server skips external hosts, generates the managed SDK, and allows the required dependencies to be installed.
  2. That server is disposed before the final server starts the configured integration hosts, discovers their capabilities, and generates the combined SDK.

The final SDK is not generated until every configured host has registered and completed capability discovery. Registration and discovery have per-host bounds; missing hosts, early exits, invalid metadata, and duplicate capability IDs fail startup rather than silently freezing an incomplete SDK.

The server obtains launch commands through the language provider's optional, reflection-discovered JSON GetIntegrationHostSpec() hook. Launch metadata remains internal, without adding a new member or contract type to the shared ILanguageSupport interface. Paths resolve relative to the configuration file that declares them.

Server-session configuration is parsed and validated once by IntegrationHostConfiguration. IntegrationHostProcessLauncher resolves commands and owns contained process creation through an injectable factory; IntegrationHostLauncher coordinates readiness, recovery, and shutdown. Failed launches dispose their executions, and launch plus cleanup failures retain both causes. Accepted RPC connections are closed and logged if service activation or connection setup fails.

TypeScript hosts launch directly as node --import tsx <entryPoint>; there is no npx/tsx wrapper process. Command lookup fails with actionable installation guidance. Dependency installation uses the CLI's process factory, forwards both output streams, closes unused stdin, and verifies the complete guardian scope is gone before accepting npm's private completion status.

TypeScript-authored Nuxt integration

src/Aspire.Hosting.Nuxt contains @aspire/[email protected], a TypeScript-authored npm package, not a C# wrapper or a NuGet integration. It is packable but has not been published to npm. Consumers install the tarball and explicitly configure its host entry point; npm registry discovery through aspire add is not implemented yet.

const api = await builder.addJavaScriptApp('api', '../api', {
    runScriptName: 'start',
}).withHttpEndpoint({ env: 'PORT' });

const web = await builder.addNuxtApp('web', '../web')
    .withNuxtReference('apiBase', api.getEndpoint('http'))
    .waitFor(api);

addNuxtApp runs the development script locally and publishes Nitro's standalone .output with .output/server/index.mjs as the production entry point. withNuxtReference projects deferred endpoint references into Nuxt runtime configuration, so local endpoints become deployment-native addresses at publish time. Existing JavaScript hosting APIs remain available.

The package includes its compiled implementation and generated core SDK. CI packs it, installs it into a separate consumer, runs a real Nuxt dev server and backend, verifies server-rendered backend data, then publishes, builds, and runs the generated production images. The sample is in playground/NuxtApp. Current prerequisites are Node.js 22.12+, a TypeScript AppHost, and Docker for production-image validation; Nuxt 4 with the Node-server Nitro preset is the validated scenario.

The Deno example remains the deeper deferred-callback exercise: argument replacement, build tasks, Dockerfile generation/adoption, certificate trust, and executable debug metadata. Its state is stored as resource-attached annotations rather than in a process-local map of resource handles.

Process ownership and recovery

The current implementation launches each external runtime through a server-owned guardian. Unix containment uses a session/process group; Windows uses a kill-on-close job. The guardian watches the server's process identity independently of integration code, so a blocked Node event loop is not the only mechanism available for cleanup. Registration uses a fresh identity for each launch attempt.

Failure Current behavior
Startup, registration, or discovery failure Fail readiness, retain diagnostics, and clean up already-launched hosts.
Callback-free integration runtime or guardian failure Clean up the old scope before replacement; rediscover and validate the same capability IDs and projection signatures. Up to three retries with 1/2/4-second backoff.
External capability stalls or its request is canceled Bound the call, retire the connection, and clean up the old process scope before recovery. Never replay the call. Callback owners require session restart.
Deferred guest callback stalls Bound the relay, retire both connections, and require session restart to rebuild captured callbacks.
Integration host that has contributed callbacks fails Stop the AppHost session with explicit restart-required diagnostics. aspire start rebuilds the resource model and callbacks.
AppHost server or owning CLI dies End the session and reap the integration scope; recovery requires explicit restart.
CLI dies during integration dependency installation The independent guardian reaps npm, blocked lifecycle scripts, and descendants; the user explicitly reruns restore.
Recovery budget exhausted or old-scope cleanup fails Stop the session and surface the failure instead of starting another owner.

Metadata rediscovery is not callback recovery. Deferred callbacks capture the old connection and process-local callback IDs. A replacement host cannot reconstruct those closures merely by advertising the same methods. Callback admission is retired atomically with failure handling, and all admitted integration-owned delegates are conservatively treated as potentially persistent. Callback-free recovery preserves server-owned handles, not arbitrary integration-local state. In-flight calls fail and are never replayed because they may already have mutated the model.

External invocations and callbacks each default to an independent one-minute deadline. The server setting IntegrationHost:InvocationTimeout accepts a positive TimeSpan, also configurable through IntegrationHost__InvocationTimeout. Registration/discovery, callback, shutdown/output-drain, and recovery policy are also configurable and validated centrally. Outer callback budgets must exceed inner invocation budgets when callback-free integration recovery is desired. An injected TimeProvider drives deadlines and recovery. Server/runtime diagnostics and startup profiling activities correlate invocation IDs, capability, connection, runtime PID, elapsed time, deadlines, cancellation, callback lifecycle, and cleanup/recovery. Responsive runtimes report their active phase every ten seconds; a blocked event loop remains bounded by the server deadline. Hosts advertising protocol version 2 receive correlation IDs; older hosts retain the two-argument wire shape without changing capability signatures.

Guardian diagnostics use a structured ILogger bridge over inherited stderr, decoded by the owning process with the original severity preserved. Raw AppHost server stdout and stderr are retained at Debug in the CLI file log rather than printed during normal usage; collected startup failures are surfaced at Error. Expected launch cancellation is Debug, and malformed guardian records produce a warning while remaining available through ordinary stderr forwarding. Diagnostics do not add authentication tokens or invocation payloads.

The process plumbing is source-shared across the net11 CLI and net10 AppHost server. ChildProcess owns the common graceful-shutdown ladder, bounded force escalation, contained descendant-cleanup verification, output draining, and process-handle disposal. The CLI's ProcessExecution supplies its existing command-wide shutdown window and process-tree signaler rather than implementing another ladder. ProcessScope only retains ownership and the root-exit signal; it no longer implements OS termination or cleanup deadlines. Contained cleanup also works without that wrapper or after guardian death. Shutdown policy is evaluated when teardown begins, and cancellation plus termination failures retain both causes.

The guardian establishes Unix process-group or Windows kill-on-close-job containment and independently monitors owner liveness using the existing stable-identity parent monitor. Its runtime cleanup uses the same shared execution. Windows batch formatting is also shared with the net8/net472 MSBuild task. Cleanup failures are logged and prevent replacement; operation and cleanup errors are retained together.

Automatic full-session replay and transparent callback rebinding are not implemented. Intentionally escaping the guardian's process scope is unsupported. Persistent containers are an explicit workload policy, not proof of integration-process cleanup. Authoring providers beyond TypeScript and richer custom-resource/package-manager support are outside the scope of this PR.

Supporting hosting APIs

  • Resource-scoped annotations: stable annotation IDs and typed JSON payloads, with generated serialized-annotation capabilities and TypeScript helpers. Bare resource handles work in deferred callbacks, not only builder handles.
  • Deferred argument replacement: CommandLineArgsEditor.clear() lets a callback recompute final arguments after configuration is complete.
  • Certificate and debug projection: runtime-specific certificate environment variables and VS Code executable launch metadata without exposing the corresponding generic .NET APIs directly.
  • Callback and handle transport: integration-owned callback execution, uniquely identified connection-owned deferred guest callback relays, recursive handle wrapping, and shared server-owned handle resolution across integration connections.
  • AppHost-relative paths: builder.appHostDirectory() separates application paths from the integration package's own working directory.

Security considerations

External integration hosting executes project-configured packages and entry points, accepts authenticated integration registrations, and routes callbacks and shared resource handles. Opaque random handle IDs prevent sequential enumeration; passing a handle delegates access to its object. These mechanisms are not a sandbox for locally running integration code.

Configuration/package trust, command arguments, registration and callback ownership, annotation access, and process containment still require a threat model and security review before release.

Validation

Current head: 6d3a718b3e. Matching-head CI run 37637520546, attempt 2 completed successfully: 336 passing checks and six skips, with no pending or failed checks. Both Windows/Linux RemoteHost suites and all nine hostile lifetime E2Es passed. Guest callback relays now honor IntegrationHost:CallbackTimeout independently of external capability invocation deadlines, including their structured diagnostics and surfaced timeout errors.

Current CI retry caveat: the extension Windows producer failed restoring supports-color from the internal npm feed with HTTP 429, so downstream extension E2Es could not download the aspire-extension artifact. Separate hosting failures were MongoDB replica readiness, a Windows file-app marker read blocked by a file lock, and a Windows rebuild-command state assertion (expected 2, actual 3). The callback fix did not modify those tests or extension inputs. Both a failed-jobs rerun and a targeted extension-producer rerun were initially rejected by GitHub with HTTP 500; a later failed-jobs rerun was accepted and passed. No code or assertions changed for the retry, and its success does not establish the causes or prove those failures fixed.

The previous merge head 4c0e1a09d4, merging main at 809a672cc4, passed CI run 37575522858, attempt 3: 337 passing checks and six skips, with no pending or failed checks. The generated CLI resource conflict is reconciled with one accessor for each of the 59 resource keys, including the integration-feature message.

Merge-head retry caveat: the macOS CLI suite hit the ten-minute hang watchdog, with process escalation, a PowerShell telemetry hook, and a Git process test still running. The Windows Blazor release-configuration test failed twice deleting a locked temporary directory; that test is unchanged from main. Repository automatic retries passed on the same commit. No product code or assertions changed for these retries, and their success does not establish the causes or prove either failure fixed.

The previous head 05bf5e4915 passed CI run 37532173488, attempt 2: 337 passing checks and five skips, with no pending or failed checks. That head added runtime-only E2E routing for the generated TypeScript resources, with focused cases for all four current inputs.

Previous-head retry caveat: the first attempt's Windows Hosting-1 job lost communication with the hosted runner. The repository's automatic same-commit retry passed. No product code or test assertions changed, and the runner annotation does not establish the underlying cause.

The implementation head 6bf02c798e passed CI run 37524173726, attempt 2: 337 passing checks and five skips, with no pending or failed checks. Windows/Linux/macOS CLI suites, Windows/Linux RemoteHost suites, and all six native CLI archive builds passed.

All nine hostile lifetime E2Es executed and passed on 6d3a718b3e, with zero failures and zero skips, verified in the job log. These cover actual runtime, guardian, server, CLI, and dependency-installer crashes, deferred callback ownership, stalls, bounded recovery, diagnostics, descendant cleanup, and no side-effect replay.

Previous implementation-head retry caveat: 6bf02c798e attempt 1 reported two Linux tray-watch assertions (expected exit code 0, actual 7), a Windows registration/discovery test timeout, and an Azure Functions stop timeout. The repository's automatic retry passed on the same commit. No code or assertions changed for that retry, and its success does not establish the underlying causes or prove those intermittent failures fixed.

Current local validation:

Coverage Result
RemoteHost 634 passed, zero skips, on 6d3a718b3e, including configured callback deadlines and shared .NET 10 lifetime/shutdown-failure cases.
Callback/invocation deadlines Three regressions failed before the fix. All five focused deadline cases passed 20 repeated runs afterward: 100 executions, zero skips. These use an injected fake clock and real in-memory JSON-RPC connections, not wall-clock sleeps.
CLI 6,888 passed, 54 platform skips, on merge head 4c0e1a09d4 in a complete serial run using the repository's CI timeout budgets. Earlier default-parallel local runs encountered command/discovery timeouts and a stall; they are not claimed as passing.
Infrastructure Earlier implementation-head coverage: 1,477 passed in the full run; all eight initially failing summary-tool cases passed separately after excluding stale generated sources from child builds through the environment. This is not a full-suite result for the merge head.
Trigger-map selectors 304 passed, zero skips, on merge head 4c0e1a09d4, including the four generated-runtime routing regressions.
JavaScript Previous-head coverage: 197 passed across eight files, including actual callback-wrapper DTO round trips with serialized requests and responses. The RPC connection in these unit tests is mocked; this suite has not been rerun on the merge head locally.
TypeScript code generation 136 passed on merge head 4c0e1a09d4.
Local Linux lifetime E2Es Earlier local execution was blocked during Docker image preparation because the shared Docker VM disk was full; no current local E2E pass is claimed. All nine scenarios passed in matching-head CI as recorded above.

The new process cases cover cancellation and disposal through the same shared graceful budget, signalling failure diagnostics, cancellation/termination error preservation, and direct contained-execution cleanup without ProcessScope after guardian death. CLI cases also verify that shutdown policy is evaluated at teardown rather than construction.

Previously pushed head 50f202c19d passed CI run 37505069826, attempt 2: 337 passing checks and five skips, with all nine lifetime E2Es executed. Attempt 1 had Deno fixture startup failures with a DCP SQLite SQLITE_BUSY error; the same-code retry passed. That is historical evidence, not validation of the current shutdown changes. An earlier Windows starter FailedToStart also passed on retry without an established cause.

Earlier macOS diagnostics captured process-wait lock contention, and earlier process-tree termination investigation is tracked by dotnet/runtime#131944. Current results are not a claim that an upstream runtime issue was fixed. The removed playground script test used fake CLI/compiler permutations rather than exercising real restore/typecheck behavior; real playground and Nuxt validation remain the relevant evidence. No Markdown test documentation was added.

Focused TypeScript compilation of the changed runtime and integration-host tests passed in earlier validation with explicit test dependency resolution. The standalone project's broad typecheck had generated-playground-module/import-resolution and ESLint typing issues; it is not claimed as passing.

Earlier Redis/Kafka/Deno run and Docker Compose publish evidence is retained in the cross-platform validation report. Validation covers the stated run, publish, and process-recovery scenarios; complete dashboard coverage and cloud deployment validation are not claimed. Package publishing/discovery and trust productization are deliberately deferred.

Design details: docs/specs/polyglot-integrations.md and docs/specs/polyglot-apphost.md.

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No

The new public surface is exported ATS capabilities, generated language APIs, and the TypeScript integration-authoring/preview-package API. CLR hosting adapters remain internal; the shared Aspire.TypeSystem contract and generated CLR API baselines are unchanged. The triple-slash checklist is not applicable to the new TypeScript APIs.

@github-actions

github-actions Bot commented Apr 13, 2026 •

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 16110

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 16110"

@github-actions

Copy link
Copy Markdown
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.
GitHub was asked to rerun all failed jobs for that attempt, and the rerun is being tracked in the rerun attempt.
The job links below point to the failed attempt jobs that matched the retry-safe transient failure rules.

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

❌ CLI E2E Tests failed — 112 passed, 1 failed, 2 unknown (commit 2ebb333)

❌ Failed Tests

- Test Detail
❌ TypeScriptAppHostRunDoesNotDeadlockWhenLazyOptionsInvokeAsyncCallback Recording · Job · CLI logs
View all recordings
- Test Detail
✅ AddPackageInteractiveWhileAppHostRunningDetached Recording · Job · CLI logs
✅ AddPackageWhileAppHostRunningDetached Recording · Job · CLI logs
✅ AgentCommands_AllHelpOutputs_AreCorrect Recording · Job · CLI logs
✅ AgentInitCommand_DefaultSelection_InstallsDefaultSkills Recording · Job · CLI logs
✅ AgentInitCommand_MigratesDeprecatedConfig Recording · Job · CLI logs
✅ AgentInit_NonInteractive_BundleOnlySkillsNotInCatalog Recording · Job · CLI logs
✅ AgentMcpListStructuredLogsReturnsLogsFromStarterApp Recording · Job · CLI logs
✅ AgentMcpListStructuredLogsReturnsLogsFromStarterApp_DevLocalhost Recording · Job · CLI logs
✅ AgentMcpListStructuredLogsReturnsLogsFromStarterApp_Isolated Recording · Job · CLI logs
✅ AllPublishMethodsBuildDockerImages Recording · Job · CLI logs
✅ AspireAddAndStartWorkAgainstLegacyAppHostTs Recording · Job · CLI logs
✅ AspireAddPackageVersionToDirectoryPackagesProps Recording · Job · CLI logs
✅ AspireInitSingleFileAppHostRunsViaDotnetRunAppHost Recording · Job · CLI logs
✅ AspireInit_ExistingAppHostDir_RecreatesNuGetConfigKeepsFiles Recording · Job · CLI logs
❔ AspireInit_SolutionFile_BuildsAgainstChannelHive Recording · Job · CLI logs
✅ AspireStartUpdatesStaleTypeScriptAppHostPath Recording · Job · CLI logs
✅ AspireUpdateRemovesAppHostPackageVersionFromDirectoryPackagesProps Recording · Job · CLI logs
✅ AspireUpdateRemovesOrphanAppHostPackageVersionWhenSdkAlreadyCurrent Recording · Job · CLI logs
✅ Banner_DisplayedOnFirstRun Recording · Job · CLI logs
✅ Banner_DisplayedWithExplicitFlag Recording · Job · CLI logs
✅ Banner_NotDisplayedWithNoLogoFlag Recording · Job · CLI logs
✅ CertificatesClean_RemovesCertificates Recording · Job · CLI logs
✅ CertificatesTrust_WithNoCert_CreatesAndTrustsCertificate Recording · Job · CLI logs
✅ CertificatesTrust_WithUntrustedCert_TrustsCertificate Recording · Job · CLI logs
✅ ConfigSetGet_CreatesNestedJsonFormat Recording · Job · CLI logs
✅ CreateAndRunAspireStarterProject Recording · Job · CLI logs
✅ CreateAndRunAspireStarterProjectWithBundle Recording · Job · CLI logs
✅ CreateAndRunEmptyAppHostProject Recording · Job · CLI logs
✅ CreateAndRunJavaEmptyAppHostProject Recording · Job · CLI logs
✅ CreateAndRunJsReactProject Recording · Job · CLI logs
✅ CreateAndRunPolyglotAppHostWithDevLocalhostUrls Recording · Job · CLI logs
✅ CreateAndRunPythonReactProject Recording · Job · CLI logs
✅ CreateAndRunTypeScriptEmptyAppHostProject Recording · Job · CLI logs
✅ CreateAndRunTypeScriptStarterProject Recording · Job · CLI logs
✅ CreateJavaAppHostWithViteApp Recording · Job · CLI logs
✅ CreateTypeScriptAppHostWithViteApp_UsesConfiguredToolchain Recording · Job · CLI logs
✅ DashboardRunWithAgentMcpListTracesReturnsNoTraces Recording · Job · CLI logs
✅ DashboardRunWithAgentMcpListTracesReturnsNoTraces_DevLocalhost Recording · Job · CLI logs
✅ DashboardRunWithOtelTracesReturnsNoTraces Recording · Job · CLI logs
✅ DashboardRunWithOtelTracesReturnsNoTraces_DevLocalhost Recording · Job · CLI logs
✅ DeployK8sBasicApiService Recording · Job · CLI logs
✅ DeployK8sWithExternalHelmChart Recording · Job · CLI logs
✅ DeployK8sWithGarnet Recording · Job · CLI logs
✅ DeployK8sWithMongoDB Recording · Job · CLI logs
✅ DeployK8sWithMySql Recording · Job · CLI logs
✅ DeployK8sWithPostgres Recording · Job · CLI logs
✅ DeployK8sWithRabbitMQ Recording · Job · CLI logs
✅ DeployK8sWithRedis Recording · Job · CLI logs
✅ DeployK8sWithSqlServer Recording · Job · CLI logs
✅ DeployK8sWithValkey Recording · Job · CLI logs
✅ DeployTypeScriptAppToKubernetes Recording · Job · CLI logs
✅ DescribeCommandResolvesReplicaNames Recording · Job · CLI logs
✅ DescribeCommandShowsRunningResources Recording · Job · CLI logs
✅ DetachFormatJsonProducesValidJson Recording · Job · CLI logs
✅ DetachFormatJsonProducesValidJsonWhenRestartingExistingInstance Recording · Job · CLI logs
✅ DoPublishAndDeployListStepsWork Recording · Job · CLI logs
✅ DocsCommand_RendersInteractiveMarkdownFromLocalSource Recording · Job · CLI logs
✅ DoctorCommand_DetectsDeprecatedAgentConfig Recording · Job · CLI logs
✅ DoctorCommand_TypeScriptAppHostReportsMissingConfiguredToolchain Recording · Job · CLI logs
✅ DoctorCommand_WithSslCertDir_ShowsTrusted Recording · Job · CLI logs
✅ DoctorCommand_WithoutSslCertDir_ShowsPartiallyTrusted Recording · Job · CLI logs
✅ DotNetRunFileBasedAppHostUsesAspireCliBundle Recording · Job · CLI logs
✅ DotNetRunProjectAppHostUsesAspireCliBundle Recording · Job · CLI logs
✅ GatewayWithoutExternalEndpoint_FailsPublishWithGuidance Recording · Job · CLI logs
✅ GeneratedAspireDevScript_StartsWatchMode_WithConfiguredToolchain Recording · Job · CLI logs
✅ GlobalMigration_HandlesCommentsAndTrailingCommas Recording · Job · CLI logs
✅ GlobalMigration_HandlesMalformedLegacyJson Recording · Job · CLI logs
✅ GlobalMigration_PreservesAllValueTypes Recording · Job · CLI logs
✅ GlobalMigration_SkipsWhenNewConfigExists Recording · Job · CLI logs
✅ GlobalSettings_MigratedFromLegacyFormat Recording · Job · CLI logs
✅ IngressWithoutExternalEndpoint_FailsPublishWithGuidance Recording · Job · CLI logs
✅ InitTypeScriptAppHost_AugmentsExistingViteRepoInWorkspaceSubdirectory Recording · Job · CLI logs
✅ InteractiveCSharpInitCreatesExpectedFiles Recording · Job · CLI logs
✅ InvalidAppHostPathWithComments_IsHealedOnRun Recording · Job · CLI logs
✅ JavaScriptHostingApisRunFromTypeScriptAppHost Recording · Job · CLI logs
✅ LatestCliCanStartStableChannelAppHost Recording · Job · CLI logs
✅ LatestCliCanStartStableChannelTypeScriptAppHost Recording · Job · CLI logs
✅ LegacySettingsMigration_AdjustsRelativeAppHostPath Recording · Job · CLI logs
✅ LogsCommandShowsResourceLogs Recording · Job · CLI logs
✅ OtelLogsReturnsStructuredLogsFromStarterApp Recording · Job · CLI logs
✅ OtelLogsReturnsStructuredLogsFromStarterAppIsolated Recording · Job · CLI logs
✅ ProcessCommandCallbackReceivesCliArguments Recording · Job · CLI logs
✅ PsCommandListsRunningAppHost Recording · Job · CLI logs
✅ PsFormatJsonOutputsOnlyJsonToStdout Recording · Job · CLI logs
✅ PublishJavaScriptPatternsGeneratesExpectedDockerComposeArtifacts Recording · Job · CLI logs
✅ PublishWithConfigureEnvFileUpdatesEnvOutput Recording · Job · CLI logs
✅ PublishWithDockerComposeServiceCallbackSucceeds Recording · Job · CLI logs
✅ PublishWithoutOutputPathUsesAppHostDirectoryDefault Recording · Job · CLI logs
✅ ResourceCommand_FailedExec_ShowsLogPathAndLogHasEntries Recording · Job · CLI logs
✅ ResourceCommand_SetAndDeleteParameterUpdatesDescribeOutput Recording · Job · CLI logs
✅ RestoreGeneratesSdkFiles Recording · Job · CLI logs
✅ RestoreGeneratesSdkFiles_WithConfiguredToolchain Recording · Job · CLI logs
✅ RestoreRefreshesGeneratedSdkAfterAddingIntegration Recording · Job · CLI logs
✅ RestoreSupportsConfigOnlyHelperPackageAndCrossPackageTypes Recording · Job · CLI logs
✅ RunFromParentDirectory_UsesExistingConfigNearAppHost Recording · Job · CLI logs
✅ RunReportsSyntaxErrorsForDotNetAppHost Recording · Job · CLI logs
✅ RunReportsSyntaxErrorsForTypeScriptAppHost Recording · Job · CLI logs
✅ SecretCrudOnDotNetAppHost Recording · Job · CLI logs
✅ SecretCrudOnTypeScriptAppHost Recording · Job · CLI logs
✅ StagingChannel_ConfigureAndVerifySettings_ThenSwitchChannels Recording · Job · CLI logs
✅ StartAndWaitForTypeScriptSqlServerAppHostWithNativeAssets Recording · Job · CLI logs
✅ StartReportsSyntaxErrorsForDotNetAppHost Recording · Job · CLI logs
✅ StartReportsSyntaxErrorsForTypeScriptAppHost Recording · Job · CLI logs
✅ StopAllAppHostsFromAppHostDirectory Recording · Job · CLI logs
✅ StopJavaPolyglotAppHostUsingApphostDirectory Recording · Job · CLI logs
✅ StopNonInteractiveSingleAppHost Recording · Job · CLI logs
✅ StopTypeScriptPolyglotAppHostUsingApphostDirectory Recording · Job · CLI logs
✅ StopWithNoRunningAppHostExitsSuccessfully Recording · Job · CLI logs
❌ TypeScriptAppHostRunDoesNotDeadlockWhenLazyOptionsInvokeAsyncCallback Recording · Job · CLI logs
✅ TypeScriptAppHostWithVite_AllowsDifferentGuestPkgManager Recording · Job · CLI logs
✅ UnAwaitedChainsCompileWithAutoResolvePromises Recording · Job · CLI logs
❔ UpdateToStable_CSharpEmptyAppHost_KeepsConfigChannel Recording · Job · CLI logs
✅ UpdateToStable_CSharpSingleFileInit_KeepsConfigChannel Recording · Job · CLI logs
✅ UpdateToStable_TypeScriptSingleFileInit_KeepsConfigChannel Recording · Job · CLI logs
✅ UpdateToStable_TypeScript_PreviewsStablePkgsAndKeepsChannel Recording · Job · CLI logs

📹 Recordings uploaded automatically from CI run #27215414937

Copilot AI review requested due to automatic review settings June 17, 2026 06:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR is a large spike proving that non-.NET integrations (here, TypeScript-authored Deno) can participate in Aspire's ATS projection pipeline, enabling TypeScript AppHosts to consume external integrations through generated SDK methods. It introduces the AtsAnnotation cross-language resource state model, ExternalCapabilityRegistry for integration host capabilities, IntegrationHostLauncher for process lifecycle, two-pass npm codegen, certificate trust/debug metadata projections, and a playground Deno integration exercising the full run/build/deployment path.

Changes:

  • Adds ATS annotation infrastructure (AtsAnnotation, AnnotationDefinition<T>, serialized + typed accessors) enabling cross-language resource state that round-trips between C# and TypeScript via JSON serialization.
  • Introduces external integration host support: IntegrationHostLauncher (process lifecycle), ExternalCapabilityRegistry (capability + callback routing), polymorphic PackageEntry JSON for aspire.config.json, two-pass npm codegen in GuestAppHostProject, and AppHostServerAppSettingsWriter for integration host config.
  • Adds TypeScript integration authoring primitives (AspireExport, defineIntegration, callback relay, annotation helpers) and a full playground Deno integration covering permissions, tasks, Dockerfile generation, certificate trust, and debug metadata.
Show a summary per file
File Description
src/Aspire.Hosting/AtsAnnotation.cs New AtsAnnotation record implementing IResourceAnnotation for cross-language resource state
src/Aspire.Hosting/AnnotationDefinition.cs New generic AnnotationDefinition<TData> with stable annotation ID
src/Aspire.Hosting/ResourceBuilderExtensions.cs Annotation CRUD methods, WithArgsReplace, WithCertificateTrustEnvironment, WithExecutableDebugSupport
src/Aspire.Hosting.RemoteHost/Ats/ExternalCapabilityRegistry.cs Singleton registry for external integration host capabilities and callback ownership
src/Aspire.Hosting.RemoteHost/Language/IntegrationHostLauncher.cs IHostedService managing integration host process lifecycle
src/Aspire.Hosting.RemoteHost/Language/IntegrationHostSpec.cs New spec model for integration host process metadata
src/Aspire.Hosting.RemoteHost/Language/ILanguageSupport.cs New GetIntegrationHostSpec() method on language support interface
src/Aspire.Hosting.RemoteHost/RemoteHostServer.cs DI registration: HandleRegistry scoped→singleton, new integration services
src/Aspire.Hosting.RemoteHost/RemoteAppHostService.cs New invokeGuestCallback JSON-RPC method, external capability dispatch
src/Aspire.Hosting.RemoteHost/Ats/CapabilityDispatcher.cs External capability fallback via ExternalCapabilityRegistry.TryInvokeAsync
src/Aspire.Hosting.RemoteHost/CodeGeneration/CodeGenerationService.cs Async GenerateCode, integration host readiness await, external capability merging
src/Aspire.Hosting.RemoteHost/JsonRpcServer.cs SynchronizationContext = null for concurrent dispatch, trace listener
src/Aspire.Cli/Configuration/PackageEntry.cs Polymorphic JSON deserialization for string-or-object package entries
src/Aspire.Cli/Configuration/IntegrationReference.cs Refactored to use IntegrationSource enum, new FromNpm factory
src/Aspire.Cli/Configuration/AspireConfigFile.cs Package parsing updated for polymorphic entries and npm integrations
src/Aspire.Cli/Projects/GuestAppHostProject.cs npm integration host restore, two-pass codegen, appHostDirectory export
src/Aspire.Cli/Projects/AppHostServerAppSettingsWriter.cs Shared writer for appsettings.json with IntegrationHosts section
src/Aspire.Cli/Projects/DotNetBasedAppHostServerProject.cs Log level changes, integration host appsettings wiring
src/Aspire.Cli/Projects/PrebuiltAppHostServer.cs Integration host config for prebuilt server mode
src/Aspire.Hosting.CodeGeneration.TypeScript/Resources/base.mts AspireExport, defineIntegration, annotation helpers, callback relay
src/Aspire.Hosting.CodeGeneration.TypeScript/Resources/transport.mts Transport callback helper for integration host runtime
src/Aspire.Hosting.CodeGeneration.TypeScript/AtsTypeScriptCodeGenerator.cs Annotation capability codegen
src/Aspire.TypeSystem/api/Aspire.TypeSystem.cs API surface additions for IntegrationHostSpec
tests/Aspire.Hosting.Tests/AtsAnnotationTests.cs New annotation model tests
tests/Aspire.Hosting.RemoteHost.Tests/ServiceErrorMessageTests.cs Updated for new CodeGenerationService constructor
tests/Aspire.Hosting.RemoteHost.Tests/JsonRpcAuthenticationTests.cs Updated for new DI registrations
tests/Aspire.Cli.Tests/Configuration/*Tests.cs Tests for PackageEntry, IntegrationReference, AspireConfigFile
tests/Aspire.Cli.Tests/Projects/GuestAppHostProjectTests.cs Updated for npm integration restore
tests/Aspire.Hosting.CodeGeneration.TypeScript.Tests/** Updated snapshots for annotation codegen
playground/TsIntegrationSpike/** Deno integration spike: host, sample app, AppHost, configs
playground/TsKafkaLib/** Updated Kafka integration for callback relay
docs/specs/polyglot-*.md Spec updates for annotations and handle conversion rules

Copilot's findings

Files not reviewed (4)
  • playground/TsIntegrationSpike/kafka-integration/package-lock.json: Generated file
  • playground/TsIntegrationSpike/package-lock.json: Generated file
  • playground/TsKafkaLib/app/package-lock.json: Generated file
  • playground/TsKafkaLib/packages/aspire-kafka/package-lock.json: Generated file
  • Files reviewed: 72/77 changed files
  • Comments generated: 9

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

Copilot AI review requested due to automatic review settings June 17, 2026 13:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot's findings

Files not reviewed (4)
  • playground/TsIntegrationSpike/kafka-integration/package-lock.json: Generated file
  • playground/TsIntegrationSpike/package-lock.json: Generated file
  • playground/TsKafkaLib/app/package-lock.json: Generated file
  • playground/TsKafkaLib/packages/aspire-kafka/package-lock.json: Generated file
  • Files reviewed: 76/81 changed files
  • Comments generated: 2

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

David Fowler (davidfowl) and others added 3 commits June 21, 2026 21:00
Spike that projects the Aspire app model into TypeScript via the Aspire
Type System (ATS), enabling integrations to be authored in TypeScript and
to interoperate with C# integrations.

- Polyglot integration host support and ATS projection of the app model.
- TypeScript Deno integration spike (build-time + deploy/publish paths).
- Cross-language resource annotations: typed annotation state declared via
  AnnotationDefinition<TData>, stored as AtsAnnotation(id, json), set in C#
  and read in TypeScript (and vice versa).
- Annotation capabilities exported as resource-target so deferred run-time
  callbacks (which receive bare resource handles) can reach them.
- Specs updated: docs/specs/polyglot-integrations.md and
  docs/specs/polyglot-apphost.md document the annotation model and the
  builder -> resource one-way handle/dispatch rule.

Co-authored-by: Copilot <[email protected]>
- ExternalCapabilityRegistry: use ConcurrentBag for _integrationHosts so
  concurrent registration from connection-handler threads is thread-safe.
- RemoteHost DI: move HandleRegistry under the singleton section with a
  comment explaining the cross-connection lifetime; correct the stale
  "per-client" comment in JsonRpcServer.
- JsonRpcServer: gate wire-level Verbose tracing on Trace log level,
  defaulting to Warning, to avoid per-frame trace overhead in production.
- IntegrationHostLauncher and GuestAppHostProject: read stdout/stderr by
  looping on ReadLineAsync until null instead of gating on HasExited, so
  final buffered output is not dropped.
- AppHostServerAppSettingsWriter: escape ATS assembly names via JsonString.
- DotNetBasedAppHostServerProject: emit AppHost server stdout/stderr at
  Debug instead of Information/Warning to avoid noisy default CLI output.

Co-authored-by: Copilot <[email protected]>
…and as project ref

After the rebase onto main, the Go/Java/Python/Rust code-generation Verify
snapshots were stale (missing both the spike's annotation capabilities and
main's WithArgsReplace/WithCertificateTrustEnvironment/WithRequiredCommandValidation
capabilities). Regenerate all four.

Also fix a regression in PackageEntryConverter where a bare-string aspire.config.json
package value ending in .csproj was always treated as a NuGet version. This broke the
TypeScriptAppHostRunDoesNotDeadlockWhenLazyOptionsInvokeAsyncCallback E2E test, whose
extension is referenced as "DeadlockExtension/DeadlockExtension.csproj" and failed
restore with 'not a valid version string'. Restore the legacy shorthand (matching
AspireConfigFile.FromLegacy and AspireJsonConfiguration) so such values are parsed as
project references and routed to the SDK-based ProjectReference path.

Co-authored-by: Copilot <[email protected]>
@github-actions

This comment has been minimized.

Port external integration hosts to the current server-session lifecycle, scaffold caching, SDK export settings, and ATS projection. Migrate playgrounds to the current generated module layout and add compatibility regressions.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: f534a1fc-0aa1-47f3-8d3e-73aaf5088a66
@github-actions

This comment has been minimized.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

It introduces security-sensitive cross-process RPC, callback, and lifecycle infrastructure while the stated threat model and security review remain incomplete.

Review effort: Balanced
Findings: None

Resolved since last review (1)

@danegsta David Negstad (danegsta) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One regression-coverage request: exercise Windows batch-shim argument preservation through the actual ProcessSupervisor launch chain. I also followed up in the existing lifecycle thread to request a single generic child-lifetime ownership implementation; adopting ProcessSupervisor for other existing enforcement paths is an acceptable direction.

Select owned-tree policy through the shared ChildProcess implementation, preserve runtime completion status, and verify descendant cleanup after exit, cancellation, and disposal. Keep AppHost breakaway and detached launch policies distinct, and route guest launches through the injected factory.

Add real-process lifecycle, signal, and Windows argument regressions. Document shared process management separately from the polyglot integration protocol.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 73357635-b9b6-41bc-b3f9-b18cac70b36c
@github-actions

This comment has been minimized.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

It introduces a large cross-runtime execution and security boundary that still requires the stated threat-model and security review.

1 open finding

🧠 Review effort: Balanced

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

Host selection is driven by generated startup settings; external registration, capability discovery, and invocation still use authenticated JSON-RPC.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 73357635-b9b6-41bc-b3f9-b18cac70b36c
@github-actions

This comment has been minimized.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

External capability discovery accepts missing identifiers and methods, while malformed package fields bypass the intended configuration diagnostic path.

1 open finding
1 resolved since last review
Previously missed (1)

In code that hasn't changed since last review

Medium severity Reject non-string configuration fields as JSON errors

src/​Aspire.Cli/​Configuration/​PackageEntry.cs:162

A non-string value for any recognized field (for example, "source": 1) makes Utf8JsonReader.GetString() throw InvalidOperationException. AspireConfigFile.Load only wraps JsonException, so malformed package configuration bypasses the normal file/path diagnostic and surfaces an unexpected raw exception. Reject wrong token kinds as JsonException for all three fields.

🧠 Review effort: Balanced

Validate required capability fields before projection during startup discovery and host recovery. Cover omitted, null, empty, and whitespace fields over real JSON-RPC, atomic publication, retained failure diagnostics, and rejected recovery metadata.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 73357635-b9b6-41bc-b3f9-b18cac70b36c
@github-actions

This comment has been minimized.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

It introduces a large authenticated RPC and cross-platform process-containment boundary while the PR explicitly notes that required threat modeling and security review remain outstanding.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@danegsta David Negstad (danegsta) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One remaining AppHost lifecycle issue: timeout escalation can kill DCP before it finishes resource cleanup.

Comment thread src/Shared/ChildProcess.cs Resolved
Honor root-only escalation for Windows AppHost lifetimes while retaining full-tree termination for owned trees. Add real Windows cancel/dispose regression coverage and document the policy.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 73357635-b9b6-41bc-b3f9-b18cac70b36c
@github-actions

This comment has been minimized.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

It introduces security-sensitive execution, RPC, callback, and handle-sharing boundaries without the acknowledged threat-model review, and two correctness findings remain.

0 open findings

Previously missed (2)

In code that hasn't changed since last review

Medium severity Validate package entry token types before calling GetString

src/​Aspire.Cli/​Configuration/​PackageEntry.cs:167

A non-string source, version, or path value calls Utf8JsonReader.GetString() directly, which throws InvalidOperationException. AspireConfigFile.Load only catches JsonException, so malformed package entries bypass the normal config-file/path diagnostic. Validate token kinds and throw JsonException from the converter so invalid user configuration follows the existing error path.

Low severity Document or fix addNuxtApp options-object signature mismatch

src/​Aspire.Hosting.Nuxt/​README.md:85

The documented options-object call does not match the exported ATS projection: addNuxtApp exposes runScriptName and buildScriptName as separate optional positional parameters, so generated consumers cannot pass { runScriptName, buildScriptName } as the third argument. Document the actual generated signature (or change the projection and its generated-signature coverage if an options object is intended).

🧠 Review effort: Balanced

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 73357635-b9b6-41bc-b3f9-b18cac70b36c
@davidfowl

Copy link
Copy Markdown
Collaborator Author

Verified both “Previously missed” findings in the latest review overview against the actual runtime/generated SDK; neither requires the proposed production or README change.

  1. Package configuration diagnostics: Added real AspireConfigFile.Load coverage for all 15 non-string/non-null token cases across source, version, and path, plus the three invalid required-null cases. They already produce JsonException, with the config file path, $.packages.Test, and a wrapped JsonException, without changing PackageEntryConverter. System.Text.Json wraps these reader errors before the config loader receives them. Coverage also preserves omitted/null/blank NuGet-version defaults and unknown nested-field compatibility. The focused class passed 67 tests, with one Windows-only platform skip, on the unchanged converter.

  2. Nuxt documentation: The generated public API is addNuxtApp(name: string, appDirectory: string, options?: AddNuxtAppOptions), where AddNuxtAppOptions contains runScriptName? and buildScriptName?. Only _addNuxtAppInternal uses positional arguments. The documented options-object call type-checks against the actual generated SDK with strict TypeScript settings. Changing the README to positional arguments would introduce the mismatch rather than fix it.

The useful config regression coverage is committed in 4f46f00. No production converter or Nuxt README/API changes were made. Exact-new-head CI is still required before the completed-round Teams update.

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Tests selector

58 / 98 PR test projects · 7 PR jobs, from 214 changed files.

Selected PR test projects (58 / 98)

Aspire.Cli.EndToEnd.Tests, Aspire.Cli.Tests, Aspire.Dashboard.Components.Tests, Aspire.Dashboard.Tests, Aspire.Hosting.Analyzers.Tests, Aspire.Hosting.Azure.Kubernetes.Tests, Aspire.Hosting.Azure.Kusto.Tests, Aspire.Hosting.Azure.Provisioning.Tests, Aspire.Hosting.Azure.Tests, Aspire.Hosting.Blazor.Tests, Aspire.Hosting.Browsers.Tests, Aspire.Hosting.CodeGeneration.Go.Tests, Aspire.Hosting.CodeGeneration.Java.Tests, Aspire.Hosting.CodeGeneration.Python.Tests, Aspire.Hosting.CodeGeneration.Rust.Tests, Aspire.Hosting.CodeGeneration.TypeScript.Tests, Aspire.Hosting.Containers.Tests, Aspire.Hosting.DevTunnels.Tests, Aspire.Hosting.Docker.Tests, Aspire.Hosting.Dotnet.Tests, Aspire.Hosting.DotnetTool.Tests, Aspire.Hosting.EntityFrameworkCore.Tests, Aspire.Hosting.Foundry.Tests, Aspire.Hosting.Garnet.Tests, Aspire.Hosting.Go.Tests, Aspire.Hosting.Java.Tests, Aspire.Hosting.JavaScript.Tests, Aspire.Hosting.Kafka.Tests, Aspire.Hosting.Keycloak.Tests, Aspire.Hosting.Kubernetes.Tests, Aspire.Hosting.Maui.Tests, Aspire.Hosting.Milvus.Tests, Aspire.Hosting.MongoDB.Tests, Aspire.Hosting.MySql.Tests, Aspire.Hosting.Nats.Tests, Aspire.Hosting.OpenAI.Tests, Aspire.Hosting.Oracle.Tests, Aspire.Hosting.Orleans.Tests, Aspire.Hosting.PostgreSQL.Tests, Aspire.Hosting.Python.Tests, Aspire.Hosting.Qdrant.Tests, Aspire.Hosting.RabbitMQ.Tests, Aspire.Hosting.Radius.Tests, Aspire.Hosting.Redis.Tests, Aspire.Hosting.RemoteHost.Tests, Aspire.Hosting.Rust.Tests, Aspire.Hosting.Sdk.Tests, Aspire.Hosting.Seq.Tests, Aspire.Hosting.SqlServer.Tests, Aspire.Hosting.Testing.Tests, Aspire.Hosting.Tests, Aspire.Hosting.Valkey.Tests, Aspire.Hosting.Yarp.Tests, Aspire.Managed.Tests, Aspire.Playground.Tests, Aspire.Templates.Tests, Aspire.TerminalHost.Tests, Infrastructure.Tests

Selected PR jobs (7)

cli-starter-validation, extension-e2e, extension-unit, native-dashboard-validation, polyglot, typescript-api-compat, typescript-sdk


How these were chosen — grouped by what changed

⚠️ 23 of the 58 selected test projects come from a single change — src/Aspire.Hosting.Tasks/Aspire.Hosting.Tasks.csproj.

🔧 src/Aspire.Hosting.Tasks/Aspire.Hosting.Tasks.csproj (changed source)
→ 23 via the project graph

show 23

Aspire.Hosting.Analyzers.Tests (2 hops), Aspire.Hosting.Azure.Kusto.Tests (2 hops), Aspire.Hosting.Docker.Tests (2 hops), Aspire.Hosting.DotnetTool.Tests (2 hops), Aspire.Hosting.Foundry.Tests (2 hops), Aspire.Hosting.Garnet.Tests (2 hops), Aspire.Hosting.Go.Tests (2 hops), Aspire.Hosting.Java.Tests (2 hops), Aspire.Hosting.Kubernetes.Tests (2 hops), Aspire.Hosting.Milvus.Tests (2 hops), Aspire.Hosting.MySql.Tests (2 hops), Aspire.Hosting.Nats.Tests (2 hops), Aspire.Hosting.Oracle.Tests (2 hops), Aspire.Hosting.Orleans.Tests (2 hops), Aspire.Hosting.PostgreSQL.Tests (2 hops), Aspire.Hosting.Python.Tests (2 hops), Aspire.Hosting.Qdrant.Tests (2 hops), Aspire.Hosting.RabbitMQ.Tests (2 hops), Aspire.Hosting.Redis.Tests (2 hops), Aspire.Hosting.Rust.Tests (2 hops), Aspire.Hosting.Sdk.Tests, Aspire.Hosting.Seq.Tests (2 hops), Aspire.Hosting.Yarp.Tests (2 hops)

🔧 src/Aspire.Hosting/ApplicationModel/AnnotationDefinition.cs (changed source)
→ 12 via the project graph: Aspire.Hosting.Azure.Kubernetes.Tests (2 hops), Aspire.Hosting.Azure.Provisioning.Tests (3 hops), Aspire.Hosting.Azure.Tests, Aspire.Hosting.DevTunnels.Tests (2 hops), Aspire.Hosting.EntityFrameworkCore.Tests (2 hops), Aspire.Hosting.Kafka.Tests (2 hops), Aspire.Hosting.Keycloak.Tests (2 hops), Aspire.Hosting.Maui.Tests, Aspire.Hosting.MongoDB.Tests (2 hops), Aspire.Hosting.SqlServer.Tests (2 hops), Aspire.Hosting.Valkey.Tests (2 hops), Aspire.Playground.Tests

🔧 src/Shared/KnownConfigNames.cs (changed source)
→ 10 via the project graph: Aspire.Dashboard.Components.Tests, Aspire.Dashboard.Tests, Aspire.Hosting.Browsers.Tests, Aspire.Hosting.Containers.Tests, Aspire.Hosting.JavaScript.Tests, Aspire.Hosting.OpenAI.Tests, Aspire.Hosting.Testing.Tests, Aspire.Managed.Tests, Aspire.Templates.Tests, Aspire.TerminalHost.Tests

🧪 tests/Aspire.Hosting.Tests/AtsAnnotationTests.cs (changed test)
→ 1 directly: Aspire.Hosting.Tests
→ 3 via the project graph: Aspire.Hosting.Blazor.Tests, Aspire.Hosting.Dotnet.Tests, Aspire.Hosting.Radius.Tests

📄 playground/TsIntegrationSpike/kafka-integration/host-runtime.ts (changed)
→ 2 directly: Aspire.Cli.EndToEnd.Tests, Aspire.Playground.Tests

🔧 src/Aspire.Hosting.CodeGeneration.TypeScript/Resources/base.mts (changed source)
→ 2 directly: Aspire.Cli.EndToEnd.Tests, Aspire.Hosting.CodeGeneration.TypeScript.Tests

🔧 src/Aspire.Hosting.CodeGeneration.TypeScript/Resources/integration-host.mts (changed source)
→ 2 directly: Aspire.Cli.EndToEnd.Tests, Aspire.Hosting.CodeGeneration.TypeScript.Tests

🔧 src/Aspire.Hosting.CodeGeneration.TypeScript/Resources/transport.mts (changed source)
→ 2 directly: Aspire.Cli.EndToEnd.Tests, Aspire.Hosting.CodeGeneration.TypeScript.Tests

📦 affected project Aspire.Cli
→ 1 test: Aspire.Cli.EndToEnd.Tests

📦 affected project Aspire.Dashboard
→ 1 test: Aspire.Templates.Tests

📄 .github/workflows/polyglot-validation/Dockerfile.typescript (changed)
→ 1 directly: Infrastructure.Tests

📄 .github/workflows/polyglot-validation/test-nuxt-integration.sh (changed)
→ 1 directly: Infrastructure.Tests

📄 .github/workflows/polyglot-validation/test-typescript-integrations.sh (changed)
→ 1 directly: Infrastructure.Tests

📄 eng/github-ci/test-trigger-map.yml (changed)
→ 1 directly: Infrastructure.Tests

📄 playground/NuxtApp/api/package.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/NuxtApp/api/server.mjs (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/NuxtApp/apphost.mts (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/NuxtApp/aspire.config.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/NuxtApp/package.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/NuxtApp/tsconfig.apphost.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/NuxtApp/verify.mjs (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/NuxtApp/web/app/app.vue (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/NuxtApp/web/nuxt.config.ts (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/NuxtApp/web/package.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/NuxtApp/web/server/api/health.get.ts (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/NuxtApp/web/server/api/message.get.ts (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/apphost.mts (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/apphost.run.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/aspire.config.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/deno-api/deno.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/deno-api/main.ts (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/deno-integration/annotations.ts (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/deno-integration/host.ts (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/deno-integration/integration.ts (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/deno-integration/package.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/deno-integration/tsconfig.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/kafka-integration/host.ts (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/kafka-integration/integration.ts (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/kafka-integration/package-lock.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/kafka-integration/package.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/kafka-integration/tsconfig.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/package-lock.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/package.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/tsconfig.apphost.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsIntegrationSpike/tsconfig.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsKafkaLib/app/apphost.mts (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsKafkaLib/app/apphost.run.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsKafkaLib/app/aspire.config.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsKafkaLib/app/package-lock.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsKafkaLib/app/package.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsKafkaLib/app/tsconfig.apphost.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsKafkaLib/app/tsconfig.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsKafkaLib/packages/aspire-kafka/aspire.config.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsKafkaLib/packages/aspire-kafka/package-lock.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsKafkaLib/packages/aspire-kafka/package.json (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsKafkaLib/packages/aspire-kafka/src/index.ts (changed)
→ 1 directly: Aspire.Playground.Tests

📄 playground/TsKafkaLib/packages/aspire-kafka/tsconfig.json (changed)
→ 1 directly: Aspire.Playground.Tests

🔧 src/Aspire.Hosting.CodeGeneration.TypeScript/Aspire.Hosting.CodeGeneration.TypeScript.csproj (changed source)
→ 1 directly: Aspire.Hosting.CodeGeneration.TypeScript.Tests

🔧 src/Aspire.Hosting.CodeGeneration.TypeScript/AtsTypeScriptCodeGenerator.cs (changed source)
→ 1 directly: Aspire.Hosting.CodeGeneration.TypeScript.Tests

🔧 src/Aspire.Hosting.CodeGeneration.TypeScript/TypeScriptApiProjector.cs (changed source)
→ 1 directly: Aspire.Hosting.CodeGeneration.TypeScript.Tests

🔧 src/Aspire.Hosting.CodeGeneration.TypeScript/TypeScriptLanguageSupport.cs (changed source)
→ 1 directly: Aspire.Hosting.CodeGeneration.TypeScript.Tests

🔧 src/Aspire.Hosting.RemoteHost/Aspire.Hosting.RemoteHost.csproj (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/Ats/AtsCallbackProxyFactory.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/Ats/AtsMarshaller.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/Ats/CapabilityDispatcher.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/Ats/ExternalCapabilityRegistry.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/Ats/HandleRegistry.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/CodeGeneration/CodeGenerationService.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/Diagnostics/RemoteHostProfilingTelemetry.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/JsonRpcCallbackInvoker.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/JsonRpcServer.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/Language/IntegrationHostConfiguration.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/Language/IntegrationHostLauncher.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/Language/IntegrationHostProcessLauncher.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/Language/IntegrationHostSpec.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/Language/LanguageService.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/RemoteAppHostService.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🔧 src/Aspire.Hosting.RemoteHost/RemoteHostServer.cs (changed source)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Cli.EndToEnd.Tests/Helpers/IntegrationHostLifetimeTestHelper.cs (changed test)
→ 1 directly: Aspire.Cli.EndToEnd.Tests

🧪 tests/Aspire.Cli.EndToEnd.Tests/IntegrationHostLifetimeTests.cs (changed test)
→ 1 directly: Aspire.Cli.EndToEnd.Tests

🧪 tests/Aspire.Cli.Tests/Aspire.Cli.Tests.csproj (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Configuration/AspireConfigFileTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Configuration/IntegrationReferenceTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Configuration/KnownFeaturesTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/DotNet/OwnedProcessExecutionTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/DotNet/ProcessExecutionFactoryEnvironmentTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/DotNet/ProcessExecutionTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/DotNet/ProcessInvocationOptionsTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/DotNet/ProcessScopeTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Layout/LayoutProcessRunnerTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Npm/NpmRunnerTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Projects/AppHostServerSessionTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Projects/DotNetBasedAppHostServerScaffoldCacheTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Projects/GuestAppHostProjectTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Projects/GuestRuntimeTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Projects/ProcessGuestLauncherTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Scaffolding/ChannelReseedTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Snapshots/AppHostServerProject_AppSettingsJson.verified.json (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/TestServices/FakeAppHostServerSession.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/TestServices/FakeSucceedingAppHostServerProject.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/TestServices/ProcessTestHelpers.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/TestServices/TestProcessExecutionFactory.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Utils/CliTestHelper.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Utils/CommandPathResolverTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Hosting.CodeGeneration.Go.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.go (changed test)
→ 1 directly: Aspire.Hosting.CodeGeneration.Go.Tests

🧪 tests/Aspire.Hosting.CodeGeneration.Java.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.java (changed test)
→ 1 directly: Aspire.Hosting.CodeGeneration.Java.Tests

🧪 tests/Aspire.Hosting.CodeGeneration.Python.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.py (changed test)
→ 1 directly: Aspire.Hosting.CodeGeneration.Python.Tests

🧪 tests/Aspire.Hosting.CodeGeneration.Rust.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.rs (changed test)
→ 1 directly: Aspire.Hosting.CodeGeneration.Rust.Tests

🧪 tests/Aspire.Hosting.CodeGeneration.TypeScript.Tests/AtsTypeScriptCodeGeneratorTests.cs (changed test)
→ 1 directly: Aspire.Hosting.CodeGeneration.TypeScript.Tests

🧪 tests/Aspire.Hosting.CodeGeneration.TypeScript.Tests/Snapshots/HostingContainerResourceCapabilities.verified.txt (changed test)
→ 1 directly: Aspire.Hosting.CodeGeneration.TypeScript.Tests

🧪 tests/Aspire.Hosting.CodeGeneration.TypeScript.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.ts (changed test)
→ 1 directly: Aspire.Hosting.CodeGeneration.TypeScript.Tests

🧪 tests/Aspire.Hosting.CodeGeneration.TypeScript.Tests/TypeScriptLanguageSupportTests.cs (changed test)
→ 1 directly: Aspire.Hosting.CodeGeneration.TypeScript.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/Aspire.Hosting.RemoteHost.Tests.csproj (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/CallbackProxyTests.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/CapabilityDispatcherTests.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/CodeGeneration/ApiReferenceExportTests.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/CodeGenerationResolverTests.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/ExternalCapabilityRegistryTests.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/HandleRegistryTests.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/IntegrationHostConfigurationTests.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/IntegrationHostLauncherTests.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/IntegrationHostProcessLauncherTests.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/IntegrationHostProcessTests.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/JsonRpcAuthenticationTests.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/JsonRpcCallbackInvokerTests.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/RemoteHostProfilingTelemetryTests.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/RemoteHostServerTests.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/ServiceErrorMessageTests.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/TestServices/IntegrationHostProcessFixture.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/TestServices/IntegrationHostTestConnection.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/TestServices/IntegrationHostTestServices.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/TestServices/TestIntegrationHostProcessFactory.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.RemoteHost.Tests/TestServices/TestIntegrationLanguageSupport.cs (changed test)
→ 1 directly: Aspire.Hosting.RemoteHost.Tests

🧪 tests/Aspire.Hosting.Tests/Snapshots/AtsAnnotationTests.WithAnnotation_SerializesTimeSpanAsMilliseconds.verified.json (changed test)
→ 1 directly: Aspire.Hosting.Tests

🧪 tests/Infrastructure.Tests/TestTriggerMap/TestTriggerMapTests.cs (changed test)
→ 1 directly: Infrastructure.Tests

Job reasons

Job Triggered by
cli-starter-validation affected project Aspire.Cli
extension-e2e • extension/schemas/aspire-config.schema.json, extension/schemas/aspire-global-settings.schema.json, extension/schemas/aspire-settings.schema.json, extension/scripts/generate-schema.js, extension/src/test/generateSchema.test.ts, src/Aspire.Cli/Aspire.Cli.csproj, src/Aspire.Cli/Commands/Sdk/SdkDumpCommand.cs, src/Aspire.Cli/Configuration/AspireConfigFile.cs, src/Aspire.Cli/Configuration/IntegrationReference.cs, src/Aspire.Cli/Configuration/PackageEntry.cs, src/Aspire.Cli/DotNet/DotNetCliRunner.cs, src/Aspire.Cli/DotNet/IProcessExecution.cs, src/Aspire.Cli/DotNet/ProcessExecution.cs, src/Aspire.Cli/DotNet/ProcessExecutionFactory.cs, src/Aspire.Cli/JsonSourceGenerationContext.cs, src/Aspire.Cli/KnownFeatures.cs, src/Aspire.Cli/Layout/LayoutProcessRunner.cs, src/Aspire.Cli/Npm/NpmRunner.cs, src/Aspire.Cli/Program.cs, src/Aspire.Cli/Projects/AppHostServerAppSettingsWriter.cs, src/Aspire.Cli/Projects/AppHostServerSession.cs, src/Aspire.Cli/Projects/CSharpProjectFile.cs, src/Aspire.Cli/Projects/DotNetAppHostProject.cs, src/Aspire.Cli/Projects/DotNetBasedAppHostServerProject.cs, src/Aspire.Cli/Projects/ExtensionGuestLauncher.cs, src/Aspire.Cli/Projects/GuestAppHostProject.cs, src/Aspire.Cli/Projects/GuestRuntime.cs, src/Aspire.Cli/Projects/IAppHostServerProject.cs, src/Aspire.Cli/Projects/PrebuiltAppHostServer.cs, src/Aspire.Cli/Projects/ProcessGuestLauncher.cs, src/Aspire.Cli/Resources/ErrorStrings.Designer.cs, src/Aspire.Cli/Resources/ErrorStrings.resx, src/Aspire.Cli/Resources/xlf/ErrorStrings.cs.xlf, src/Aspire.Cli/Resources/xlf/ErrorStrings.de.xlf, src/Aspire.Cli/Resources/xlf/ErrorStrings.es.xlf, src/Aspire.Cli/Resources/xlf/ErrorStrings.fr.xlf, src/Aspire.Cli/Resources/xlf/ErrorStrings.it.xlf, src/Aspire.Cli/Resources/xlf/ErrorStrings.ja.xlf, src/Aspire.Cli/Resources/xlf/ErrorStrings.ko.xlf, src/Aspire.Cli/Resources/xlf/ErrorStrings.pl.xlf, src/Aspire.Cli/Resources/xlf/ErrorStrings.pt-BR.xlf, src/Aspire.Cli/Resources/xlf/ErrorStrings.ru.xlf, src/Aspire.Cli/Resources/xlf/ErrorStrings.tr.xlf, src/Aspire.Cli/Resources/xlf/ErrorStrings.zh-Hans.xlf, src/Aspire.Cli/Resources/xlf/ErrorStrings.zh-Hant.xlf, src/Aspire.Cli/Scaffolding/ScaffoldingService.cs, src/Aspire.Cli/Utils/CommandPathResolver.cs, src/Aspire.Cli/Utils/EnvironmentChecker/TypeScriptAppHostToolingCheck.cs, src/Aspire.Hosting.CodeGeneration.TypeScript/Aspire.Hosting.CodeGeneration.TypeScript.csproj, src/Aspire.Hosting.CodeGeneration.TypeScript/AtsTypeScriptCodeGenerator.cs, src/Aspire.Hosting.CodeGeneration.TypeScript/Resources/base.mts, src/Aspire.Hosting.CodeGeneration.TypeScript/Resources/integration-host.mts, src/Aspire.Hosting.CodeGeneration.TypeScript/Resources/transport.mts, src/Aspire.Hosting.CodeGeneration.TypeScript/TypeScriptApiProjector.cs, src/Aspire.Hosting.CodeGeneration.TypeScript/TypeScriptLanguageSupport.cs, src/Aspire.Hosting.RemoteHost/Aspire.Hosting.RemoteHost.csproj, src/Aspire.Hosting.RemoteHost/Ats/AtsCallbackProxyFactory.cs, src/Aspire.Hosting.RemoteHost/Ats/AtsMarshaller.cs, src/Aspire.Hosting.RemoteHost/Ats/CapabilityDispatcher.cs, src/Aspire.Hosting.RemoteHost/Ats/ExternalCapabilityRegistry.cs, src/Aspire.Hosting.RemoteHost/Ats/HandleRegistry.cs, src/Aspire.Hosting.RemoteHost/CodeGeneration/CodeGenerationService.cs, src/Aspire.Hosting.RemoteHost/Diagnostics/RemoteHostProfilingTelemetry.cs, src/Aspire.Hosting.RemoteHost/JsonRpcCallbackInvoker.cs, src/Aspire.Hosting.RemoteHost/JsonRpcServer.cs, src/Aspire.Hosting.RemoteHost/Language/IntegrationHostConfiguration.cs, src/Aspire.Hosting.RemoteHost/Language/IntegrationHostLauncher.cs, src/Aspire.Hosting.RemoteHost/Language/IntegrationHostProcessLauncher.cs, src/Aspire.Hosting.RemoteHost/Language/IntegrationHostSpec.cs, src/Aspire.Hosting.RemoteHost/Language/LanguageService.cs, src/Aspire.Hosting.RemoteHost/RemoteAppHostService.cs, src/Aspire.Hosting.RemoteHost/RemoteHostServer.cs, src/Aspire.Hosting/ApplicationModel/AnnotationDefinition.cs, src/Aspire.Hosting/ApplicationModel/AtsAnnotation.cs, src/Aspire.Hosting/ApplicationModel/CommandLineArgsEditor.cs, src/Aspire.Hosting/Aspire.Hosting.csproj, src/Aspire.Hosting/ResourceBuilderExtensions.cs
• affected project Aspire.Cli
extension-unit extension/schemas/aspire-config.schema.json, extension/schemas/aspire-global-settings.schema.json, extension/schemas/aspire-settings.schema.json, extension/scripts/generate-schema.js, extension/src/test/generateSchema.test.ts
native-dashboard-validation affected project Aspire.Dashboard
polyglot • .github/workflows/polyglot-validation/Dockerfile.typescript, .github/workflows/polyglot-validation/test-nuxt-integration.sh, .github/workflows/polyglot-validation/test-typescript-integrations.sh, playground/NuxtApp/api/package.json, playground/NuxtApp/api/server.mjs, playground/NuxtApp/apphost.mts, playground/NuxtApp/aspire.config.json, playground/NuxtApp/package.json, playground/NuxtApp/tsconfig.apphost.json, playground/NuxtApp/verify.mjs, playground/NuxtApp/web/app/app.vue, playground/NuxtApp/web/nuxt.config.ts, playground/NuxtApp/web/package.json, playground/NuxtApp/web/server/api/health.get.ts, playground/NuxtApp/web/server/api/message.get.ts, playground/TsIntegrationSpike/apphost.mts, playground/TsIntegrationSpike/apphost.run.json, playground/TsIntegrationSpike/aspire.config.json, playground/TsIntegrationSpike/deno-api/deno.json, playground/TsIntegrationSpike/deno-api/main.ts, playground/TsIntegrationSpike/deno-integration/annotations.ts, playground/TsIntegrationSpike/deno-integration/host.ts, playground/TsIntegrationSpike/deno-integration/integration.ts, playground/TsIntegrationSpike/deno-integration/package.json, playground/TsIntegrationSpike/deno-integration/tsconfig.json, playground/TsIntegrationSpike/kafka-integration/host-runtime.ts, playground/TsIntegrationSpike/kafka-integration/host.ts, playground/TsIntegrationSpike/kafka-integration/integration.ts, playground/TsIntegrationSpike/kafka-integration/package-lock.json, playground/TsIntegrationSpike/kafka-integration/package.json, playground/TsIntegrationSpike/kafka-integration/tsconfig.json, playground/TsIntegrationSpike/package-lock.json, playground/TsIntegrationSpike/package.json, playground/TsIntegrationSpike/tsconfig.apphost.json, playground/TsIntegrationSpike/tsconfig.json, playground/TsKafkaLib/app/apphost.mts, playground/TsKafkaLib/app/apphost.run.json, playground/TsKafkaLib/app/aspire.config.json, playground/TsKafkaLib/app/package-lock.json, playground/TsKafkaLib/app/package.json, playground/TsKafkaLib/app/tsconfig.apphost.json, playground/TsKafkaLib/app/tsconfig.json, playground/TsKafkaLib/packages/aspire-kafka/aspire.config.json, playground/TsKafkaLib/packages/aspire-kafka/package-lock.json, playground/TsKafkaLib/packages/aspire-kafka/package.json, playground/TsKafkaLib/packages/aspire-kafka/src/index.ts, playground/TsKafkaLib/packages/aspire-kafka/tsconfig.json, src/Aspire.Hosting.Nuxt/.gitignore, src/Aspire.Hosting.Nuxt/LICENSE.TXT, src/Aspire.Hosting.Nuxt/aspire.config.json, src/Aspire.Hosting.Nuxt/package.json, src/Aspire.Hosting.Nuxt/src/host.ts, src/Aspire.Hosting.Nuxt/src/integration.ts, src/Aspire.Hosting.Nuxt/tsconfig.json
• affected project Aspire.Cli
• affected project Aspire.Hosting.Azure.Provisioning.AppService
typescript-api-compat affected project Aspire.Cli
typescript-sdk • playground/NuxtApp/verify.mjs, playground/TsIntegrationSpike/deno-api/deno.json, playground/TsIntegrationSpike/deno-api/main.ts, playground/TsIntegrationSpike/deno-integration/annotations.ts, playground/TsIntegrationSpike/deno-integration/host.ts, playground/TsIntegrationSpike/deno-integration/integration.ts, playground/TsIntegrationSpike/deno-integration/package.json, playground/TsIntegrationSpike/deno-integration/tsconfig.json, playground/TsIntegrationSpike/kafka-integration/host-runtime.ts, playground/TsIntegrationSpike/kafka-integration/host.ts, playground/TsIntegrationSpike/kafka-integration/integration.ts, playground/TsIntegrationSpike/kafka-integration/package-lock.json, playground/TsIntegrationSpike/kafka-integration/package.json, playground/TsIntegrationSpike/kafka-integration/tsconfig.json, src/Aspire.Hosting.Nuxt/.gitignore, src/Aspire.Hosting.Nuxt/LICENSE.TXT, src/Aspire.Hosting.Nuxt/aspire.config.json, src/Aspire.Hosting.Nuxt/package.json, src/Aspire.Hosting.Nuxt/src/host.ts, src/Aspire.Hosting.Nuxt/src/integration.ts, src/Aspire.Hosting.Nuxt/tsconfig.json, tests/Aspire.Hosting.CodeGeneration.TypeScript.JsTests/tests/__snapshots__/nuxt-integration.test.ts.snap, tests/Aspire.Hosting.CodeGeneration.TypeScript.JsTests/tests/deno-integration.test.ts, tests/Aspire.Hosting.CodeGeneration.TypeScript.JsTests/tests/integration-host.test.ts, tests/Aspire.Hosting.CodeGeneration.TypeScript.JsTests/tests/nuxt-integration.test.ts, tests/Aspire.Hosting.CodeGeneration.TypeScript.JsTests/tests/nuxt-verification.test.ts, tests/Aspire.Hosting.CodeGeneration.TypeScript.JsTests/vitest.config.ts
• affected project Aspire.Hosting.CodeGeneration.TypeScript

Selection computed for commit 4f46f00.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

It introduces a large security-sensitive cross-process execution and capability boundary, while the PR explicitly notes that threat modeling and security review remain outstanding.

0 open findings

🧠 Review effort: Balanced

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants