Repository navigation
[release/13.4] Stabilize PrebuiltAppHostServer staging globalPackagesFolder path - #17573
Jose Perez Rodriguez (joperezr) merged 3 commits into
Conversation
PackagingService creates the staging channel with
ConfigureGlobalPackagesFolder=true so each darc/override feed restore
lands in an isolated cache (two staging builds of the same release
branch ship as 13.4.0 but from different feeds, and NuGet keys by
(id,version) only). PrebuiltAppHostServer was wiring that flag into a
TemporaryNuGetConfig whose default globalPackagesFolder value is the
relative '.nugetpackages' -- NuGet resolved it under the temp config's
own directory, BundleNuGetService baked those temp paths into
integration-package-probe-manifest.json, and TemporaryNuGetConfig.Dispose
then recursively deleted the cache out from under the manifest. On macOS
osx-arm64 polyglot staging builds this surfaced as a hang during DI /
assembly loading in aspire-managed.
Preserve the per-feed cache isolation behavior and anchor the override
at a stable absolute path instead:
<ASPIRE_HOME>/.nugetpackages/<first-8-of-CLI-commit-sha>
Keying by the truncated commit hash matches the existing
darc-pub-microsoft-aspire-<hash> feed URL convention in
PackagingService.GetStagingFeedUrl, so the cache key and feed key stay
aligned at 8 hex chars. 8 chars is short enough to avoid Windows
MAX_PATH blow-ups on deep integration cache trees while keeping SHA
collisions negligible. The cache lives under ASPIRE_HOME (not the
per-AppHost working directory) so multiple AppHosts on the same machine
running against the same staging build can share a single restore --
the unit of isolation here is the staging build, not the individual
restore command.
Mechanics:
- TemporaryNuGetConfig.CreateAsync now accepts an optional
globalPackagesFolderValue and propagates it through
AddGlobalPackagesFolderToConfigAsync into the merger.
- NuGetConfigMerger.AddGlobalPackagesFolderConfiguration takes the
optional override and falls back to the workspace-relative default
('.nugetpackages') for the non-temp workspace-merge path.
- PrebuiltAppHostServer.ResolveStableGlobalPackagesFolder routes both
temp config branches (channel and package-source-override) through
the new helper.
- VersionHelper.TryGetCurrentCommitHashShort surfaces the truncated
SHA from the running CLI's AssemblyInformationalVersion (returns
null on clean release builds with no '+sha' suffix; callers fall
back to 'default').
- CliPathHelper centralizes the '<ASPIRE_HOME>/.nugetpackages' path so
the producer (PrebuiltAppHostServer) and consumer (CacheCommand)
can't drift.
- CacheCommand.ClearCommand now wipes <ASPIRE_HOME>/.nugetpackages so
a wedged staging restore is recoverable through the same UX as every
other CLI cache.
Tests:
- Updated existing PrebuiltAppHostServerTests staging cases to assert
the globalPackagesFolder value is absolute and lives outside the
temp config directory.
- New PrebuiltAppHostServerTests case wires a real PackagingService
with overrideStagingFeed on a stable-shaped CLI and pins the same
invariant end-to-end.
- New TemporaryNuGetConfigTests for the override propagation and for
the no-override-when-disabled invariant.
- New CacheCommandTests covering the staging cache wipe and the
missing-cache no-op path.
Co-authored-by: Copilot <[email protected]>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 17573Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 17573" |
There was a problem hiding this comment.
Pull request overview
This PR stabilizes staging-channel NuGet package restore behavior for prebuilt AppHost scenarios by moving temporary globalPackagesFolder output to a persistent Aspire home cache and extending cache clearing/tests around that behavior.
Changes:
- Adds a staging NuGet package cache path under
ASPIRE_HOME. - Threads an explicit
globalPackagesFolderoverride through temporary NuGet config generation. - Adds/updates tests for persistent staging cache paths and
aspire cache clear.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
src/Aspire.Cli/Projects/PrebuiltAppHostServer.cs |
Resolves a persistent staging globalPackagesFolder path for temporary NuGet configs. |
src/Aspire.Cli/Packaging/TemporaryNuGetConfig.cs |
Allows callers to provide an explicit global packages folder value. |
src/Aspire.Cli/Packaging/NuGetConfigMerger.cs |
Centralizes default global packages folder value and accepts overrides. |
src/Aspire.Cli/Utils/CliPathHelper.cs |
Adds helper/constant for the staging NuGet package cache root. |
src/Aspire.Cli/Utils/VersionHelper.cs |
Adds helper for deriving a short commit hash from the CLI informational version. |
src/Aspire.Cli/Commands/CacheCommand.cs |
Clears staging NuGet cache contents as part of aspire cache clear. |
tests/Aspire.Cli.Tests/Projects/PrebuiltAppHostServerTests.cs |
Adds assertions that staging temp configs use absolute persistent package cache paths. |
tests/Aspire.Cli.Tests/Packaging/TemporaryNuGetConfigTests.cs |
Covers explicit global packages folder override behavior. |
tests/Aspire.Cli.Tests/Commands/CacheCommandTests.cs |
Covers clearing and missing staging NuGet package cache scenarios. |
The staging globalPackagesFolder fix in the previous commit keyed the \`.nugetpackages\` subdirectory off the CLI's own commit SHA (first 8 hex chars of \`AssemblyInformationalVersionAttribute\`). That handles two darc-shipped staging builds of the same release branch, but it breaks the local-dev case where one CLI is repeatedly retargeted at different \`overrideStagingFeed\` values: the URL changes but the SHA doesn't, so every override silently shares one cache bucket and the second restore reuses the first feed's now-stale \`13.4.0\` assemblies. Switch the cache key to the first 8 hex chars of \`XxHash3\` over the trimmed, lower-cased resolved feed URL: - Override branch passes the explicit \`--source\` URL. - Channel branch passes the channel's \`Aspire*\` mapping source (or the first mapping for forward compatibility). Trim + lower-case before hashing so a stray whitespace from a config file or a hostname-case change doesn't fragment the cache. Non-cryptographic hashing is fine here — the key is a directory name, not a security boundary — and 8 hex chars keep deep integration cache paths well under Windows MAX_PATH while giving ~4 billion buckets, so collisions are negligible across the handful of staging feeds any user ever sees. Removes the now-unused \`VersionHelper.TryGetCurrentCommitHashShort\` helper (added in the previous commit, no remaining callers). Tests: - New \`CliPathHelperTests.ComputeStagingFeedCacheKey_*\` cover determinism, normalization, length defaults, and null/empty input. - Existing \`PrebuiltAppHostServerTests\` strengthened to assert the emitted globalPackagesFolder equals \`<aspireHome>/.nugetpackages/<hash(feed)>\`. Co-authored-by: Copilot <[email protected]>
Tier-2 smoke test on a binary CLI + bundle (PASS)Built a real customer-shaped osx-arm64 CLI archive against this branch and drove Build (~6 min total)Output: Smoke runExtracted the tarball to Global config had Debug-log trace through the fix pathVerifications after the run
What this provesBefore the fix, After the fix, |
PR #17564 introduced a new fallback in TryGetCurrentCliTemplateVersionPackage that pins the template package to the running CLI's SDK version whenever the selected channel is explicit and not local-build. That preserved the intended fix for prerelease channels (daily, staging) where the channel feed filters the running CLI's package out of search results even though the feed can still restore it. But it also fired for the stable channel, where the filter does not apply. For a non-stable-shape CLI (PR build like '13.4.0-pr.X.gY' or a daily-shape preview) invoked with '--channel stable', it forced an unpublishable version into the generated apphost.cs, breaking the SmokeTests LatestCliCanStartStableChannelAppHost and LatestCliCanStartStableChannelTypeScriptAppHost. Exclude the stable channel from the new fallback so that case falls through to the OrderByDescending picker and the user gets the highest shipped stable package they explicitly asked for. The original prerelease-channel motivation ('Aspire.TypeSystem version mismatch when 13.4 CLI floats templates to a 13.5 daily preview') is preserved unchanged. Test updates: - NewCommandChannelResolutionTests.NewCommand_NoChannelArg_ResolvesTemplateFromIdentityChannel gets an expectedVersion theory parameter so the daily case still pins to the CLI version while the stable case asserts the highest shipped stable. - NewCommandChannelResolutionTests.NewCommand_ExplicitChannelArg_OverridesIdentityChannel asserts highest shipped stable (matching the SmokeTest contract). - New NewCommand_ExplicitStableChannel_NonStableCliVersion_FallsBackToHighestShippedStable regression test covers both daily-shape and PR-shape CLI identities. - NewCommandTests.NewCommandWithTypeScriptEmptyTemplatePassesResolvedVersionAndChannelToScaffolding reverts to its pre-#17564 assertion of '9.2.0' from the stable feed. Co-authored-by: Copilot <[email protected]>
|
Pushed Behavior change is scoped to one case: The original #17564 motivation is fully preserved: prerelease channels ( Test updates locked the new contract in:
Local: 3,833 |
| selectedChannel.Type is PackageChannelType.Explicit && | ||
| !string.Equals(selectedChannel.Name, PackageChannelNames.Stable, StringComparisons.ChannelName) && | ||
| !VersionHelper.IsLocalBuildChannel(selectedChannel.Name)) |
| return null; | ||
| } | ||
|
|
||
| var normalized = feedUrl.Trim().ToLowerInvariant(); |
5d0da8b
into
release/13.4
|
❓ CLI E2E Tests unknown — 107 passed, 0 failed, 2 unknown (commit View all recordings
📹 Recordings uploaded automatically from CI run #26552542309 |
aspire cache clear now also removes staging channel NuGet package caches stored under <ASPIRE_HOME>/.nugetpackages/. These per-build caches are keyed by the staging feed URL hash and can become wedged, causing assembly loading failures. Running aspire cache clear is now the supported recovery path. Documents changes from microsoft/aspire#17573. Co-authored-by: Copilot <[email protected]>
|
Pull request created: #1108
|
|
📝 Documentation has been drafted in microsoft/aspire.dev#1108 targeting Updated Note This draft PR needs human review before merging. |
|
David Negstad (@danegsta) copilot flagged some problems, not sure you have seen these |
I think only the first one is worth considering a follow-up PR to better align with your original fix. The second comment is something we can fix when we backport to main as this particular failure mode only happens with staging builds. |
…Folder path (#17573) * Stabilize PrebuiltAppHostServer staging globalPackagesFolder path PackagingService creates the staging channel with ConfigureGlobalPackagesFolder=true so each darc/override feed restore lands in an isolated cache (two staging builds of the same release branch ship as 13.4.0 but from different feeds, and NuGet keys by (id,version) only). PrebuiltAppHostServer was wiring that flag into a TemporaryNuGetConfig whose default globalPackagesFolder value is the relative '.nugetpackages' -- NuGet resolved it under the temp config's own directory, BundleNuGetService baked those temp paths into integration-package-probe-manifest.json, and TemporaryNuGetConfig.Dispose then recursively deleted the cache out from under the manifest. On macOS osx-arm64 polyglot staging builds this surfaced as a hang during DI / assembly loading in aspire-managed. Preserve the per-feed cache isolation behavior and anchor the override at a stable absolute path instead: <ASPIRE_HOME>/.nugetpackages/<first-8-of-CLI-commit-sha> Keying by the truncated commit hash matches the existing darc-pub-microsoft-aspire-<hash> feed URL convention in PackagingService.GetStagingFeedUrl, so the cache key and feed key stay aligned at 8 hex chars. 8 chars is short enough to avoid Windows MAX_PATH blow-ups on deep integration cache trees while keeping SHA collisions negligible. The cache lives under ASPIRE_HOME (not the per-AppHost working directory) so multiple AppHosts on the same machine running against the same staging build can share a single restore -- the unit of isolation here is the staging build, not the individual restore command. Mechanics: - TemporaryNuGetConfig.CreateAsync now accepts an optional globalPackagesFolderValue and propagates it through AddGlobalPackagesFolderToConfigAsync into the merger. - NuGetConfigMerger.AddGlobalPackagesFolderConfiguration takes the optional override and falls back to the workspace-relative default ('.nugetpackages') for the non-temp workspace-merge path. - PrebuiltAppHostServer.ResolveStableGlobalPackagesFolder routes both temp config branches (channel and package-source-override) through the new helper. - VersionHelper.TryGetCurrentCommitHashShort surfaces the truncated SHA from the running CLI's AssemblyInformationalVersion (returns null on clean release builds with no '+sha' suffix; callers fall back to 'default'). - CliPathHelper centralizes the '<ASPIRE_HOME>/.nugetpackages' path so the producer (PrebuiltAppHostServer) and consumer (CacheCommand) can't drift. - CacheCommand.ClearCommand now wipes <ASPIRE_HOME>/.nugetpackages so a wedged staging restore is recoverable through the same UX as every other CLI cache. Tests: - Updated existing PrebuiltAppHostServerTests staging cases to assert the globalPackagesFolder value is absolute and lives outside the temp config directory. - New PrebuiltAppHostServerTests case wires a real PackagingService with overrideStagingFeed on a stable-shaped CLI and pins the same invariant end-to-end. - New TemporaryNuGetConfigTests for the override propagation and for the no-override-when-disabled invariant. - New CacheCommandTests covering the staging cache wipe and the missing-cache no-op path. Co-authored-by: Copilot <[email protected]> * Key staging globalPackagesFolder cache by feed URL hash The staging globalPackagesFolder fix in the previous commit keyed the \`.nugetpackages\` subdirectory off the CLI's own commit SHA (first 8 hex chars of \`AssemblyInformationalVersionAttribute\`). That handles two darc-shipped staging builds of the same release branch, but it breaks the local-dev case where one CLI is repeatedly retargeted at different \`overrideStagingFeed\` values: the URL changes but the SHA doesn't, so every override silently shares one cache bucket and the second restore reuses the first feed's now-stale \`13.4.0\` assemblies. Switch the cache key to the first 8 hex chars of \`XxHash3\` over the trimmed, lower-cased resolved feed URL: - Override branch passes the explicit \`--source\` URL. - Channel branch passes the channel's \`Aspire*\` mapping source (or the first mapping for forward compatibility). Trim + lower-case before hashing so a stray whitespace from a config file or a hostname-case change doesn't fragment the cache. Non-cryptographic hashing is fine here — the key is a directory name, not a security boundary — and 8 hex chars keep deep integration cache paths well under Windows MAX_PATH while giving ~4 billion buckets, so collisions are negligible across the handful of staging feeds any user ever sees. Removes the now-unused \`VersionHelper.TryGetCurrentCommitHashShort\` helper (added in the previous commit, no remaining callers). Tests: - New \`CliPathHelperTests.ComputeStagingFeedCacheKey_*\` cover determinism, normalization, length defaults, and null/empty input. - Existing \`PrebuiltAppHostServerTests\` strengthened to assert the emitted globalPackagesFolder equals \`<aspireHome>/.nugetpackages/<hash(feed)>\`. Co-authored-by: Copilot <[email protected]> * Narrow #17564 CLI-pin fallback to prerelease channels PR #17564 introduced a new fallback in TryGetCurrentCliTemplateVersionPackage that pins the template package to the running CLI's SDK version whenever the selected channel is explicit and not local-build. That preserved the intended fix for prerelease channels (daily, staging) where the channel feed filters the running CLI's package out of search results even though the feed can still restore it. But it also fired for the stable channel, where the filter does not apply. For a non-stable-shape CLI (PR build like '13.4.0-pr.X.gY' or a daily-shape preview) invoked with '--channel stable', it forced an unpublishable version into the generated apphost.cs, breaking the SmokeTests LatestCliCanStartStableChannelAppHost and LatestCliCanStartStableChannelTypeScriptAppHost. Exclude the stable channel from the new fallback so that case falls through to the OrderByDescending picker and the user gets the highest shipped stable package they explicitly asked for. The original prerelease-channel motivation ('Aspire.TypeSystem version mismatch when 13.4 CLI floats templates to a 13.5 daily preview') is preserved unchanged. Test updates: - NewCommandChannelResolutionTests.NewCommand_NoChannelArg_ResolvesTemplateFromIdentityChannel gets an expectedVersion theory parameter so the daily case still pins to the CLI version while the stable case asserts the highest shipped stable. - NewCommandChannelResolutionTests.NewCommand_ExplicitChannelArg_OverridesIdentityChannel asserts highest shipped stable (matching the SmokeTest contract). - New NewCommand_ExplicitStableChannel_NonStableCliVersion_FallsBackToHighestShippedStable regression test covers both daily-shape and PR-shape CLI identities. - NewCommandTests.NewCommandWithTypeScriptEmptyTemplatePassesResolvedVersionAndChannelToScaffolding reverts to its pre-#17564 assertion of '9.2.0' from the stable feed. Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
The cherry-picks of #17564 and #17573 alone do not address the `aspire new` + C# Blazor scenario from #17596 because that path runs through `TemplateNuGetConfigService.ResolveTemplatePackageAsync` (DotNet templates), not `NewCommand.ResolveCliTemplateVersionAsync` (CLI-runtime templates) where #17564's `TryGetCurrentCliTemplateVersionPackage` synthesis lives. Teach `ResolveTemplatePackageAsync` to mirror the identity-channel preference that `ResolveCliTemplateVersionAsync` (NewCommand.cs:376-389) already does for CLI templates: when no `--channel` is supplied and no PR hives exist, prefer the channel whose name matches the running CLI's `CliExecutionContext.IdentityChannel` before falling back to Implicit. Without this, a daily 13.5 CLI on a clean `~/.aspire` silently restricts the template search to nuget.org and returns the shipped stable `Aspire.ProjectTemplates 13.3.5` instead of the matching `13.5.0-preview.1.*` daily prerelease from the `dotnet9` feed. The Implicit fallback preserves prior behavior when the identity channel isn't a registered channel (e.g. a "local" CLI without a corresponding local-build hive). See #17596 for full repro. Co-authored-by: Copilot <[email protected]>
A shipped (identity=stable) CLI running 'aspire new' was writing
aspire.config.json#channel = "stable", which routed subsequent
'aspire add' calls through the Stable PackageChannel
(PackageChannelQuality.Stable, * -> nuget.org). That filter hides
prerelease packages on nuget.org, so a community 13.4.0-preview
integration the team hadn't yet shipped as stable became invisible
after scaffolding — for both the TypeScript polyglot starter (cell 7)
and the C# aspire-starter family (cell 8).
'aspire init' already avoided the trap via
PackageChannel.ShouldPersistChannelName (Type == Explicit AND name !=
"stable"). 'aspire new' had two persistence sites that only checked
Type == Explicit:
* ResolveCliTemplateVersionAsync (CLI-runtime polyglot path)
* ResolveIdentityChannelNameAsync (DotNet-runtime path consumed by
DotNetTemplateFactory)
Both now use ShouldPersistChannelName, matching aspire init. Explicit
'--channel stable' still wins via the channel-arg leg of the resolution
coalesce — only the identity-fallback case is changed.
Two pre-existing InlineData rows in NewCommandChannelResolutionTests
codified the buggy behavior (one in #17573 alongside daily stabilization
work, one in #17637 alongside the DotNet-runtime forwarding fix); both
were rolled in defensively rather than as a deliberate stable-pin
invariant. Removed and replaced with two dedicated negative tests
(_DoesNotPersistStablePin_Cli / _DoesNotPersistStablePin_DotNet) that
were red before the production fix.
Co-authored-by: Copilot <[email protected]>
Brings 43 release-branch commits forward onto main now that 13.4.0 has shipped. This PR replaces the original automated merge (microsoft#17804) which had to be closed so that conflict resolution and post-merge cleanups could be made on a non-protected branch. Conflict resolution summary (33 files): * Equivalent backports (took main's commit identity): ChannelUpdateWorkflowTests, LoggingHelpersTests, the four extension test files, AspireEditorCommandProvider, appHostDiscovery. * Release-only forwards (preserved): microsoft#17732 / microsoft#17756 Foundry hosted-agent protocol selection and cross-compute-environment endpoint references, microsoft#17573 stabilize PrebuiltAppHostServer staging globalPackagesFolder path, microsoft#17743 staging-identity CLI darc feed routing. * Main-only forwards (preserved): microsoft#17506 Show discovered AppHosts in Aspire pane, microsoft#17547 Localize Aspire skills metadata errors, microsoft#17801 VS Code v1.12.0, microsoft#17297 Aspire CLI npm package release integration, microsoft#17576 TerminalRun IAsyncDisposable, microsoft#17721 / microsoft#17723 VS Code telemetry, microsoft#17671 ATS baseline fix (re-applied manually on top of Foundry source taken from release). * Hybrid (manually spliced): docs/contributing.md - kept main's restructured layout and inserted release's staging-validation paragraph; HostedAgentBuilder- Extension - took release base then re-applied microsoft#17671 asHostedAgent rename; UpdateCommandTests - took main and injected microsoft#17743's OverrideCliInformationalVersionConfigKey block. Post-merge cleanups included in this PR: * eng/Versions.props: revert StabilizePackageVersion to false (was flipped to true on release/13.4 by microsoft#17520 for shipping 13.4.0; main must stay in preview mode). * .github/workflows/generate-api-diffs.yml: retarget back to main (was pointed at release/13.4 by microsoft#17696 release prep). * .github/workflows/backmerge-release.yml: update from release/13.3 to release/13.4 (was stale - missed the 13.4 release-time bump). * .github/workflows/milestone-assignment.yml: audited - already correct (main -> 13.5, release/13.4 -> 13.4.x); no change. This merge commit must be preserved - do not squash on merge. Co-authored-by: Copilot <[email protected]>
Description
Polyglot AppHosts running a stable-shaped staging CLI (e.g.
13.4.0+<sha>) were hanging during DI / assembly loading after a successful integration restore. Observed on macOS osx-arm64 against staging builds; the same code path is at risk on every OS.Root cause:
PackagingServicebuilds the staging channel withConfigureGlobalPackagesFolder=trueso each darc/override feed restore is cache-isolated. That isolation matters because two staging builds of the same release branch ship as the same stable-shaped semver (e.g.13.4.0) from different feeds, and NuGet keys by(id, version)only -- without per-feed isolation a second build's restore silently reuses the first build's now-stale assemblies.PrebuiltAppHostServerthreaded that flag intoTemporaryNuGetConfig, whose defaultglobalPackagesFoldervalue is the relative.nugetpackages. NuGet resolved it under the temp config's own directory,BundleNuGetServicebaked those temp paths intointegration-package-probe-manifest.json, andTemporaryNuGetConfig.Disposethen recursively deleted the cache out from under the manifest. aspire-managed then tried to load assemblies the dispose had just removed.Approach: keep the per-feed cache isolation (it's load-bearing for staging) and anchor the override at a stable absolute path instead of a relative one that the temp config owns. The override now points at:
A few notes on the design:
darc-pub-microsoft-aspire-<hash>feed URL convention inPackagingService.GetStagingFeedUrl, short enough to avoid WindowsMAX_PATHblow-ups on deep integration cache trees while keeping collision probability negligible. Clean release builds (no+shasuffix) fall back todefault.ASPIRE_HOMErather than the per-AppHost_workingDirectoryso multiple AppHosts on the same machine running against the same staging build can share one restore. The unit of isolation here is the staging build, not the individual restore command.CliPathHelper.GetStagingNuGetPackagesDirectoryhelper is the source of truth for the path so the producer (PrebuiltAppHostServer) and consumer (CacheCommand) can't drift.aspire cache clearnow wipes the SHA-keyed subdirs under<ASPIRE_HOME>/.nugetpackages, so a wedged staging restore is recoverable through the same UX as every other CLI cache.Tests cover the new invariants:
PrebuiltAppHostServerTestsstaging cases now assert the emittedglobalPackagesFolderis absolute and lives outside the temp config directory.PrebuiltAppHostServerTestscase wires a realPackagingServicewithoverrideStagingFeedon a stable-shaped CLI and pins the same invariant end to end.TemporaryNuGetConfigTestscover the override propagation and the no-override-when-disabled case.CacheCommandTestscover the staging cache wipe and the missing-cache no-op path.Targeted MTP run (excluding quarantine/outerloop) is green: 221/221 across
PackagingServiceTests,PrebuiltAppHostServerTests,TemporaryNuGetConfigTests,NuGetConfigMergerTests, andCacheCommandTests.Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?