Skip to content

Deployment test: TypeScriptJavaScriptHostingDeploymentTests fails early with ERR exit code (sequence 10) #17437

@mitchdenny

Description

@mitchdenny

Test

Aspire.Deployment.EndToEnd.Tests.TypeScriptJavaScriptHostingDeploymentTests

Symptom

CLI exits with a non-zero exit code very early in the TypeScript apphost flow:

Xunit.MicrosoftTestingPlatform.XunitException: System.InvalidOperationException : Command failed with non-zero exit code (detected ERR prompt at sequence 10). Check the terminal recording for details.

The total runtime before failure is ~52 seconds, and the failure occurs at hex1b sequence 10 — before any Azure resource group has been created (cleanup logs Resource group 'e2e-ts-js-hosting-26348648275-1' could not be found).

Root cause analysis

The TS apphost flow fails very early (sequence 10), suggesting a problem in template hydration, npm install, or one of the first aspire invocations against an apphost.ts. The recorded terminal capture from the failing run will show which command produced the ERR prompt — needs investigation.

Reproduction

Sibling failures pointing at TS apphost infra:

Priority

High — blocks TS JavaScript hosting E2E coverage every nightly run.

/cc @mitchdenny

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions