microsoft / microsoft/aspire

Re-introduce TypeScript starter + bundle-layout coverage in verify-cli-archive.ps1

Open
#17,349 1 comment 0 reactions 0 assignees View on GitHub
area-cli triage:bot-seen
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

#17346 removed two `verify-cli-archive.ps1` checks added by #17274 because they fail on the 1ES signed-build agent (full context in #17345). This tracks bringing them back.

cc @sebastienros

Removed: `Test-TypeScriptStarterProject` and `Test-ExtractedBundleLayout` (full source at commit `3c3f910f31`).

**`Test-ExtractedBundleLayout`** — `aspire-managed --help` returns exit 1 by design (top-level dispatch is `dashboard|server|nuget`; anything else → `ShowUsage()`):

```
❌ Verification failed: aspire-managed failed with exit code 1.
Output: Usage: aspire-managed [args...]
```

**`Test-TypeScriptStarterProject`** — `aspire new aspire-ts-starter`'s auto packager-managed AppHost bootstrap performs a NuGet restore whose transitive deps route to `api.nuget.org`; signed-build agent has no public-internet egress:

```
ERROR: Unable to load the service index for source https://api.nuget.org/v3/index.json.
Permission denied (api.nuget.org:443)
Permission denied

channel: daily
packages: Aspire.Hosting 13.4.0-preview.1.26270.9,
Aspire.Hosting.JavaScript 13.4.0-preview.1.26270.9,
Aspire.Hosting.CodeGeneration.TypeScript 13.4.0-preview.1.26270.9
❌ Failed to prepare AppHost server.
❌ Automatic 'aspire restore' failed for the new TypeScript starter project.
❌ 'aspire new aspire-ts-starter' failed with exit code 6
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.