Repository navigation
Sync Aspire 17 release branch with main and release metadata - #20570
Maddy Montaquila (maddymontaquila) wants to merge 59 commits into
Conversation
## Summary - update the Blazor hosted and standalone playgrounds to OpenTelemetry exporter/hosting 1.19.1 and HTTP instrumentation 1.19.0 - remove the browser `BackgroundExportHandler` workaround and its resilience dependency - configure logging through `OpenTelemetryBuilder.WithLogging`, matching the OpenTelemetry 1.19 API The package updates are scoped to the two playground solution graphs so this change is independent of the broader repository-wide OpenTelemetry update in #20042. ## Testing - `dotnet build playground\BlazorHosted\BlazorHosted.slnx --no-restore` - `dotnet build playground\BlazorStandalone\BlazorStandalone.slnx --no-restore` - `dotnet test --project tests\Aspire.Playground.Tests\Aspire.Playground.Tests.csproj --no-launch-profile -- --filter-method "*.HostedBlazorWasm_ServesAppAndWeatherApi" --filter-method "*.StandaloneBlazorWasm_GatewayServesAppAndWeatherApi" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true" --hangdump --hangdump-timeout 10m` - launched both AppHosts with `aspire start --isolated` and verified in a real browser that the weather page rendered and traces, logs, and metrics each exported through the OTLP proxy with HTTP 200 Copilot-Session: 1fb0cde9-afea-4acd-924d-2d5ebcb29be4
Preserve the 14.0 integration history and retain main's post-sync changes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: fb09ae10-9023-489a-af37-4e754495bea3
## Description With `release/13.6` snapped from `main`, return the advance `release/14.0` changes to `main` so ongoing development builds 14.0 while 13.6 stabilizes independently. **Merge this PR using a merge commit. Do not squash or rebase.** The branch contains a real merge of `release/14.0` into the current `main`, preserving the release branch's ancestry and all prior forward integrations, including #20364. - Verified `release/13.6` and `main` both pointed to `43ec6c82c7a6807ca80e1f69706d97902d0a2802` before preparing the merge. This PR does not change `release/13.6`. - Integrates `release/14.0` at `55867ce9d33c8800e6c7278f7edc5e88e0f6b839`, including the 14.0.0-preview.1 version bump and existing Docker/Kubernetes dashboard-image override and tests from #20037. - Preserves the newer Blazor playground changes already on `main` (#20339). - Retains the existing `13.6` dashboard-image pin until the matching 14.0 image is published; no additional implementation changes or conflict resolutions were needed. ### Release coordination The temporary **Sync Main to Release 14.0** workflow has been disabled in GitHub Actions before reverse integration. There are no outstanding sync PRs or active sync runs. After this PR lands, remove the temporary workflow and its watchdog configuration entry as documented in `.github/workflows/README.md`. ### Validation The forward-integration CI run [35817778340](https://github.com/microsoft/aspire/actions/runs/35817778340) completed successfully. Locally verified that the reverse integration is conflict-free, that both branch tips are ancestors of this PR head, and that its tree exactly matches Git's computed merge result. The diff against `main` contains only the six existing release-specific files. No new code was authored; this PR's CI will validate the combined tree. Fixes # (issue) ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] 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 - [x] No Co-authored-by: Copilot App <[email protected]> Copilot-Session: fb09ae10-9023-489a-af37-4e754495bea3
## Description Bundled Aspire CLI operations no longer need to start `aspire-managed` to search for, restore, or inspect NuGet packages. The Native AOT `aspire.exe` now calls NuGet.Client APIs in-process, reducing process boundaries while preserving the existing CLI behavior. Non-bundled package search continues to use `dotnet package search`. This adds an in-process `NuGetClient`, rewires the bundle NuGet service and cache, and removes the superseded `aspire-managed nuget` implementations. Package source mapping, signature verification, dependency resolution, extraction, and manifest generation remain supported. The CLI consumes the official NuGet.Client `7.12.0-rc.25` packages from the `dotnet11` feed, pinned through the `NuGetPackageVersionForCli` property in `eng/Versions.props`. The temporary locally-built packages and the repository-local `dist` package source have been removed. The upstream Native AOT work is tracked by [NuGet/Home#14913](NuGet/Home#14913), with the downstream-visible suppression fix in [NuGet/NuGet.Client#7404](NuGet/NuGet.Client#7404). `dotnet11` carries only prerelease `NuGet.*` versions while `dotnet-public` carries only the stable ones the rest of the repository uses, so `NuGet.config` maps `NuGet.*` to both sources at equal specificity. Giving exact patterns to just one source makes it beat the other's wildcard and breaks that consumer with `NU1103`. ### Intentional behavior change: NuGet credential providers The `aspire-managed` helper never set up NuGet's credential service, so bundled search and restore could only authenticate with credentials stored in `nuget.config`; feeds that rely on a credential provider plugin, such as Azure Artifacts, returned 401. The in-process client now initializes the credential service in non-interactive mode, so installed credential providers are used. This is the only intended behavior change. Credential provider diagnostics go only to the debug log, so they cannot change the failure messages described below. ### Behavior parity This change is meant to move the logic between processes, not change it, so the in-process client was compared line by line against the helper and brought back in line wherever it had diverged: - **Restore:** the package spec, restore arguments, settings loading, and source resolution are identical to the helper's. - **Search:** one page per source, deduplicated to one entry per package ID by the highest version *string*, sorted with the default comparer, and capped at the requested count. Failed sources are reported and skipped rather than failing the search. A `--nuget-config` path that does not exist falls back to normal discovery. - **Exact-match lookups** (`GetPackageVersionsAsync`) are an ordinary search whose result with an ordinally matching ID supplies the versions, rather than a package-metadata query merged across sources. - **Failure messages** keep the helper-era text: `Package restore failed: …`, `Manifest creation failed: …`, and the localized search failure message. The embedded detail is the helper's stderr, reconstructed with the same prefixes, verbose filtering, and trailing error lines. - **Logging:** NuGet's output is logged at Debug, as the helper's stderr was. - **`DOTNET_NUGET_SIGNATURE_VERIFICATION`** is set only for the duration of a restore, as the helper only ever received it itself, instead of leaking into every child process the CLI starts afterwards. - **Trust store:** an initialization failure is reported and the restore continues. - **Process state:** NuGet keeps process-wide state between operations: the credential service with its cached credentials, credential provider plugin processes, the HTTP throttle, and other caches. The helper discarded it by exiting after every operation, so the client raises NuGet's own end-of-build reset when the last overlapping operation ends. - **Restore cache key:** sources are sorted, so their order does not force a new restore, and the key fingerprints the binary that performs the restore. A settings fingerprint added earlier in this PR was removed: it hashed the per-invocation temporary config path, so the cache never hit. - **Bundle extraction for `aspire doctor`:** on `main`, bundled NuGet search extracted the bundle before launching `aspire-managed`, and the background CLI update check runs that search on startup, so the bundle was on disk by the time `aspire doctor` looked for DCP. In-process NuGet no longer extracts it, so the DCP health check now does: it asks layout discovery first, exactly as on `main`, so an `ASPIRE_DCP_PATH` override or an already extracted bundle still wins, and extracts the bundle only when discovery finds nothing. This was the only code relying on NuGet search having extracted the bundle. A few differences are inherent to running in-process under Native AOT: NuGet moves from `7.9.0` to `7.12.0-rc.25`; NuGet's System.Text.Json deserialization is enabled and Newtonsoft's serialization, component-model, and dynamic features are disabled (see below); the Linux trust store is initialized through `X509TrustStore.InitializeForDotNetSdk` instead of `DispatchProxy`, using the same embedded SDK certificate bundles; and NuGet operations no longer require an extracted bundle layout or hold a bundle lease. Per-source search failures log the exception type rather than its message, because NuGet formats feed URLs, including credentials, into those messages. ### Native AOT and Newtonsoft.Json `7.12.0-rc.25` still reaches Newtonsoft.Json in places, so `Aspire.Cli.csproj` disables Newtonsoft's serialization, component-model, and dynamic feature switches. The dynamic-dispatch warnings that remain surface from `Microsoft.CSharp` and `System.Linq.Expressions`, which are collapsed to one warning per assembly. Both can be removed once NuGet drops Newtonsoft.Json entirely ([NuGet/NuGet.Client#7601](NuGet/NuGet.Client#7601)). ### User-facing usage Existing commands continue to work without starting `aspire-managed` for bundled NuGet operations: ```text aspire integration list ``` Validation: - Repository restore completed successfully, with the CLI resolving `7.12.0-rc.25` from `dotnet11` and `Aspire.RuntimeIdentifier.Tool` resolving stable `7.9.0` from `dotnet-public` on a cold package cache. - NuGet client, bundle service, package-cache, signature-verification, DCP health check, and `PrebuiltAppHostServerTests` passed: 246 succeeded. - The tests that run real restores, manifests, and searches also passed (170 succeeded) with the CLI's exact runtime switches applied, confirming none of the disabled Newtonsoft paths are reached at runtime. - Native AOT `win-x64` publish completed with no ILC diagnostics, using the feature switches and per-assembly warning collapsing described above. - A dogfood build of an earlier commit created and ran TypeScript AppHosts end to end: `aspire new`, `aspire add`, and `aspire run` for both `aspire-ts-empty` and `aspire-ts-starter`, including a cold-cache restore that produced byte-identical generated modules. Fixes # (issue) ## Checklist - Is this feature complete? - [ ] Yes. Ready to ship. - [x] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] 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 - [x] No --------- Co-authored-by: Copilot App <[email protected]> Copilot-Session: baa86aab-4a9f-44c7-a92e-34f6498c9e4e
## Description Pull requests merged to `main` are still assigned the `13.6` milestone, which causes the documentation workflow to derive `release/13.6` as its target. This change: - Updates `.github/policies/milestoneAssignment.prClosed.yml` to assign the existing `14.0` milestone to PRs merged to `main`, and moves the release-branch rule from `release/13.5` to `release/13.6` (`13.6` milestone). - Removes `.github/workflows/milestone-assignment.yml`. It was added in #16167 as a temporary replacement for the policy bot, which broke during the `dotnet/aspire` → `microsoft/aspire` migration. The policy bot has been working again since early May 2026 (e.g., it milestoned #19438, #19424, and #19418 when the workflow run failed, and it milestones PRs closed without merging, which the workflow never handles). With both active they raced on every merge, and on release branches they conflicted: the workflow failed looking up a nonexistent `X.Y.x` milestone before ship, and after ship the bot stripped the workflow's `X.Y.x` milestone (e.g., #20119, #20110, #20094, #19853 were left with no milestone). Follow-up at 13.6 ship: create the `13.6.x` milestone and change the policy's `release/13.6` rule to `13.6.x`. The bot cannot assign a closed milestone. The documentation workflow already prioritizes the source PR milestone when resolving its target branch, so no docs-workflow override is needed. `microsoft/aspire.dev` does not expose `release/14.0` yet. Until that branch exists, the docs workflow will continue using its existing latest-release fallback. Validation: - Parsed the policy file as YAML - Confirmed the open `14.0` and `13.6` milestones exist in `microsoft/aspire` - Verified from PR timelines that the policy bot assigns milestones on its own, including when the workflow run failed Fixes # (issue) ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [ ] Yes - [x] 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 - [x] 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 - [x] No --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: eerhardt <[email protected]> Co-authored-by: Eric Erhardt <[email protected]>
## Description Startup failures currently hide useful context in two common scenarios: - Container runtime dependency checks report only that the runtime is unhealthy, while the actionable DCP reason (for example, an unsupported Docker CLI version) is available only at Debug level. - Executable process-start failures show the command and operating-system error but omit the resolved working directory, making an invalid working-directory path look like an invalid executable path. This change surfaces the DCP dependency-check reason in the warning and thrown exception when one is available. It also allows system-log callers to append contextual fields and uses that support to include a non-empty executable working directory in process logs. No DCP changes or new dependencies are required. ### User-facing behavior Container runtime startup failures now include the specific DCP-provided reason at the default warning and exception surfaces. Executable system logs now include `WorkingDirectory = <resolved path>` when the executable has a working directory. Validation: ```powershell dotnet test --project tests\Aspire.Hosting.Tests\Aspire.Hosting.Tests.csproj --no-launch-profile -- --filter-class "*.DcpDependencyCheckTests" --filter-class "*.DcpLogParserTests" --filter-class "*.ExecutableResourceFailureLoggingTests" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true" ``` All 41 targeted tests passed. Fixes #19593 Fixes #18652 ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] 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 - [x] No --------- Co-authored-by: Copilot App <[email protected]>
## Description Prepare the Aspire CLI integration for the approval-first `aspire-project-v2-migration` skill described in #19818. The official attested `microsoft/aspire-skills` v0.0.3 release is now embedded and validated through the production fallback path. ### Dependencies - #19997 — Project v2 publishing support. **Merged.** - #20157 — Project v2 polyglot options support. **Merged.** - microsoft/aspire-skills#65 — canonical migration skill, routing, fixtures, and evaluations. **Merged.** - microsoft/aspire-skills v0.0.3 — official attested release containing the migration skill. **Published and embedded.** ### Changes included - Embed the official attestation-verified v0.0.3 skills archive and update its metadata, installer version, project resource, and canonical telemetry hooks. - Extend the shared test bundle with the migration skill and its reference files. - Verify default and explicit-name installation, complete reference-file contents, exclusion of evaluation assets, and supported project/user skill locations. - Validate the real embedded archive through `EmbeddedAspireSkillsBundleProvider` and the production installer fallback, including recognizable content from `SKILL.md` and both migration references. - Cover skill selection in interactive and chained agent-init flows. - Cover the migration skill and both reference paths in the Bash and PowerShell telemetry-hook behavior tests. - Allow a complete generated bundle refresh to carry synchronized hook changes outside the dedicated synchronization branch; hook-only and incomplete refreshes remain blocked, and canonical content is still verified independently. - Add focused workflow tests for synchronization-branch, complete-refresh, hook-only, and incomplete-refresh behavior. - Link the migration skill from the .NET hosting integration README. - Rebase the PR onto the current `main` branch and address the Copilot review findings. The product API changes belong to #20157, and the skill implementation belongs to microsoft/aspire-skills#65. Neither is duplicated here. ### Required before merging - [x] Land the product prerequisites and canonical skill changes. - [x] Publish the official attested microsoft/aspire-skills v0.0.3 release. - [x] Run `eng/scripts/update-aspire-skills-bundle.ps1 -Version 0.0.3` and review the generated archive, metadata, installer/project, and hook updates. - [x] Verify the artifact with `eng/scripts/verify-aspire-skills-bundle.ps1`. - [x] Validate installation from the actual embedded bundle, not only the injected test fixture. - [x] Rebase onto the current `main` branch. - [ ] Complete final integration review and CI. ### Validation - `./restore.sh` - `dotnet test --project tests/Aspire.Cli.Tests/Aspire.Cli.Tests.csproj --no-launch-profile -- --filter-class "*.AspireSkillsInstallerTests" --filter-class "*.AspireSkillsBundleTests" --filter-class "*.AgentInitCommandTests" --filter-class "*.TelemetryHookInstallerTests" --filter-class "*.TelemetryHookScriptTests" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true"` - **175 passed**, 0 failed, 1 platform-specific skip. - `dotnet test --project tests/Infrastructure.Tests/Infrastructure.Tests.csproj --no-launch-profile -- --filter-class "*.SelectTestsWorkflowTests" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true"` - **11 passed**, 0 failed, 0 skipped. - `dotnet test --project tests/Infrastructure.Tests/Infrastructure.Tests.csproj --no-launch-profile -- --filter-class "*.VerifyTelemetryHookChangesWorkflowTests" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true"` - **8 passed**, 0 failed, 0 skipped. - `eng/scripts/verify-aspire-skills-bundle.ps1` - Verified `aspire-skills-v0.0.3.tgz` against its GitHub artifact attestation. - Verified both embedded telemetry hooks against `microsoft/aspire-skills` commit `a83ca78b9d35b8238f9c4fdba72cb779defe2a90`. - `dotnet run --project tools/SelectTests -- --changed-files <full PR file list> --explain` - All changed files were attributed; selected `Aspire.Cli.Tests`, `Aspire.Cli.EndToEnd.Tests`, `Infrastructure.Tests`, and the expected CLI-dependent jobs. - `git diff --check` No container validation is required for this bundle integration. Part of #19818. ## Checklist - Is this feature complete? - [x] Yes. Ready to ship after final review and CI. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] 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 - [x] No --------- Co-authored-by: Copilot App <[email protected]>
## Description Make the Aspire CLI easier to discover and use through shell tab completion, and configure completion during installation where the installer has a suitable user-shell integration mechanism. Adds `aspire completions script [bash|fish|pwsh|zsh]`. Generated hooks query the live command model for commands, subcommands, options, and completion-enabled values without requiring `dotnet-suggest`. Requests avoid normal command execution, hosted services, telemetry, package prefetching, config migration, first-use notices, and log/cache creation. Loaded settings are normalized in memory, preserving the original file bytes and existing collision precedence. - Release shell/PowerShell installers generate and register completions idempotently, preserve profiles, and offer `--skip-completions` / `-SkipCompletions`. - Archive dogfood and SkipPath installs generate manual-activation artifacts under the selected CLI directory, including outside-home installations. Profile registration and persistent user completion files remain home-confined. Redirect checks and atomic replacement remain in place. - Homebrew generates Bash/Zsh/Fish completions natively and installs PowerShell as a managed loader. WinGet provides installation notes; npm and .NET tools document manual setup rather than editing profiles during package installation. - Bash and Zsh handle the current command after separators and quoted partial arguments. They send decoded argument tokens without evaluating input; suggestions are inserted as literal arguments. PowerShell supports both native executables and npm's `aspire.ps1` launcher. - Extension-only debug switches are recognized during completion startup without connecting to the extension or exposing the switch on ordinary non-extension commands. - Documents activation, persistence, removal, install-route limitations, and the distinction between bare `aspire` and local-tool/`npx` invocations. Fixes #20000 ### User-facing usage ```bash aspire completions script bash aspire completions script zsh aspire completions script fish aspire completions script pwsh ``` Enable completion in the current PowerShell session: ```powershell aspire completions script pwsh | Out-String | Invoke-Expression ``` Command-specific help from `aspire completions script --help` (excerpt): ```text Description: Write a shell completion script to standard output Usage: aspire completions script [<shell>] [options] Arguments: <bash|fish|pwsh|zsh> Shell to generate a script for (bash, fish, pwsh, zsh). Defaults to SHELL, or pwsh on Windows. ``` ### Security considerations This change generates executable shell code and adds user-profile registration. The installer assumes the user authorizes installation into the chosen CLI directory; nonpersistent artifacts are confined to that boundary rather than the home directory. Automatic profile edits remain home-confined and are not performed from elevated sessions. Signed profiles, PowerShell signing policy, path/redirection checks, and safe replacement of generated files are preserved. No execution policies or machine-wide profiles are changed. Typed shell words are decoded without `eval` or substitution execution. Generated hooks preserve candidate values as literal arguments, including spaces, quotes, backslashes, `$()` and backticks. Callbacks resolve the active `aspire` command on PATH rather than pinning a versioned package-manager cache. Loading a generated script trusts that selected CLI installation. A focused automated security assessment of the installer boundaries and generated Bash/Zsh escaping reported no vulnerabilities. This is not a completed formal product threat model or security sign-off. ### Validation Current review-fix validation: - Windows: 152 focused CLI/configuration/root-command tests and 45 acquisition/Homebrew-loader tests passed. - Linux container: 96 completion/configuration tests and 62 installer artifact/profile-boundary tests passed. - Real PTY interaction: 72 quoted/separator Tab-insertion cases passed for each of Bash and Zsh, including literal command-substitution text. Zsh's first-invocation autoload path was exercised. - Added/expanded packaged CLI E2E coverage for unchanged configuration files and real quoted/separator insertion; the E2E project compiles. Execution of the expanded packaged scenarios is pending CI on the latest revision. - Earlier CI exercised macOS cask installation successfully, including the managed PowerShell artifact. Full release-path upgrade/uninstall validation and upstream cask rollout are still separate release tasks; this PR remains a draft. ## Checklist - Is this feature complete? - [ ] Yes. Ready to ship. - [x] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] No - Does the change make any security assumptions or guarantees? - [x] Yes - If yes, have you done a threat model and had a security review? - [ ] Yes - [x] No - [ ] No --------- Co-authored-by: Copilot App <[email protected]> Co-authored-by: Damian Edwards <[email protected]> Co-authored-by: Mitch Denny <[email protected]> Copilot-Session: d900e7a0-ba55-42da-bce0-23220d3dc2c3 Copilot-Session: 626588e5-9040-435f-928e-4b94b5a0d7cd
## Description
Make it possible to query local databases and caches directly from the
Aspire dashboard without installing clients or copying credentials into
a separate terminal.
Adds an explicitly opt-in **REPL** resource command for PostgreSQL,
Redis, Valkey, MongoDB, MySQL, and SQL Server. Each integration exposes
a typed `WithRepl()` extension. The command opens the bundled client
(`psql`, `redis-cli`, `valkey-cli`, `mongosh`, `mysql`, or `sqlcmd`) in
the dashboard terminal dock, already authenticated to the running
container. Sessions remain available after the command returns.
Shared internal source resolves the current container ID, respects
Docker/Podman runtime selection, and disables the command until the
container is running and its ID is available. Commands are run-mode-only
and are not registered unless explicitly enabled. Adds all six resources
to the terminal playground and documents the experience in each
integration README. No shared public REPL interface or terminal
lifecycle API is introduced.
### User-facing usage
Enable the command only for resources whose authenticated client access
is appropriate for everyone who can access the dashboard:
```csharp
builder.AddPostgres("postgres").WithRepl();
builder.AddRedis("redis").WithRepl();
builder.AddValkey("valkey").WithRepl();
builder.AddMongoDB("mongo").WithRepl();
builder.AddMySql("mysql").WithRepl();
builder.AddSqlServer("sqlserver").WithRepl();
```
The same opt-in is available to TypeScript AppHosts:
```typescript
await builder.addPostgres("postgres").withRepl();
await builder.addRedis("redis").withRepl();
await builder.addValkey("valkey").withRepl();
await builder.addMongoDB("mongo").withRepl();
await builder.addMySql("mysql").withRepl();
await builder.addSqlServer("sqlserver").withRepl();
```
Run the AppHost and select **REPL** on a running resource. PostgreSQL
starts in `postgres`; SQL Server starts in `master`. MongoDB supports
direct replica-member connections and uses the configured CA bundle
without disabling TLS validation. SQL Server supports current and legacy
bundled `sqlcmd` locations. PostgreSQL and MySQL respect customized
container target ports.
Quit the client before closing its terminal tab. Closing the tab alone
may leave the client running inside the container; stopping the
container ends remaining clients.
### Validation
- All 135 focused REPL tests passed locally across the six integrations,
including authenticated queries or commands through real docked
terminals.
- Coverage includes default-off and run/publish behavior, null
validation, command state and cancellation, credential forwarding,
custom target ports, MongoDB TLS/replica-set behavior, Redis TLS
loopback routing, and SQL Server interactive `GO` batches.
- Readiness and terminal interactions have independent timeout budgets,
with terminal-screen diagnostics on interaction timeout.
- Terminal playground builds with all six integrations, with
dashboard/terminal-host project builds and native compilation skipped.
- Generated TypeScript APIs were checked for all six `withRepl()`
exports.
- Published-artifact testing at `392e1d1877` passed on macOS
ARM64/Docker using five freshly generated AppHosts: C# and TypeScript
default-off/opt-in behavior, all six authenticated dashboard clients,
normal exit/reopen, custom ports, Redis/MongoDB variants,
stopped-command disabling, container replacement, stale-credential
failure, and publish-mode exclusion. Captured 21 screenshots and
CLI/browser logs.
- CI run https://github.com/microsoft/aspire/actions/runs/35421647744
completed successfully. Podman runtime behavior has not been
independently validated.
### Security considerations
REPL commands are disabled by default. Enabling one grants dashboard
users access to a privileged, authenticated database/cache client,
potentially including server-side operating-system commands. Only enable
this for trusted dashboard users; consider tunnels, Codespaces, and VS
Code remoting when deciding who can access it. SQL Server uses the `sa`
account.
Passwords are forwarded through environment variables rather than
command-line arguments. MongoDB retains certificate validation; SQL
Server trusts the local server certificate for its in-container loopback
connection. Redis uses its existing non-TLS loopback port when TLS is
enabled. Review should consider credential exposure through process
environments, shell/client launch handling, and access to authenticated
terminal sessions. No formal threat model or security review has been
completed.
## Checklist
- Is this feature complete?
- [x] Yes. Ready to ship.
- [ ] No. Follow-up changes expected.
- Are you including unit tests for the changes and scenario tests if
relevant?
- [x] Yes
- [ ] No
- Did you add public API?
- [x] Yes
- If yes, did you have an API Review for it?
- [ ] Yes
- [x] No
- Did you add `<remarks />` and `<code />` elements on your triple slash
comments?
- [x] Yes
- [ ] No
- [ ] No
- Does the change make any security assumptions or guarantees?
- [x] Yes
- If yes, have you done a threat model and had a security review?
- [ ] Yes
- [x] No
- [ ] No
---------
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: b4c5fc2e-7805-44de-b46c-7d59e732ccf7
## Description
The Aspire Team App now harvests `coreai/sisyphus` by default for
Proxima (`msft.ghe.com`) accounts, so its review, issue, shipping, and
health views include the Sisyphus repository without requiring per-user
setup.
The public GitHub default repository list remains unchanged, and
existing account-specific repository preferences continue to take
precedence over these defaults.
Validation:
```text
node --test state.test.mjs
13 passing
```
Fixes # (issue)
## Checklist
- Is this feature complete?
- [x] Yes. Ready to ship.
- [ ] No. Follow-up changes expected.
- Are you including unit tests for the changes and scenario tests if
relevant?
- [x] 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
- [x] 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
- [x] No
---------
Copilot-Session: 5760030b-6bcb-4611-86f2-732389e5d3fd
) ## Description Use a shared helper to set directory permissions before binding backchannel, DCP, and terminal sockets, and endpoint permissions before listening. Configure the Hex1b PTY socket directory through its existing environment variable. Adds platform-specific coverage and documentation. Windows runtime validation and replacing the Hex1b environment-variable workaround remain follow-ups. Fixes # (issue) ## Checklist - Is this feature complete? - [ ] Yes. Ready to ship. - [x] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] No - Does the change make any security assumptions or guarantees? - [x] Yes - If yes, have you done a threat model and had a security review? - [ ] Yes - [x] No - [ ] No --------- Co-authored-by: Copilot App <[email protected]> Copilot-Session: 1aa4cc4c-c8da-4e89-8075-35885a2fc3fd
## Description Long resource names in dashboard selectors were hard-cut before the chevron, with no indication that the selected value continued. Selected values now remain on one line and truncate with an ellipsis across dashboard dropdowns. The expanded options still show the full resource name. The shared dropdown button is constrained so its selected text cannot enlarge a FluentField grid track beyond the control's width. Editable combobox inputs are unchanged. ### User-facing usage Select a resource with a long name on the Console or Metrics page: the selected name ends in an ellipsis, and opening the dropdown shows the full name. ### Screenshots / Recordings > **This PR includes UI changes.** Before recreates the original styling by temporarily disabling the new CSS rule in the browser; After shows the committed styling. Both screenshots use the same long TestShop resource name. | Before: clipped without ellipsis | After: truncated with ellipsis | | --- | --- | |  |  | Validation: manually verified in TestShop on the Console and Metrics resource selectors with long resource names, and ran `git diff --check`. No unit tests were added for this visual-only CSS change. Fixes # (issue) ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [ ] Yes - [x] 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 - [x] 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 - [x] No Co-authored-by: Copilot <[email protected]>
## Description The trace details Events grid showed scrollbars inside multiline cells when span events contained nested attribute grids. The resize handles inside those grids extended the cells' scrollable area beyond their visible content. Multiline property-grid cells now clip overflow instead of creating scroll panes. Event names and attributes remain visible, with the existing text visualizer available for truncated values. ### Screenshots / Recordings | Before: scrollbars in the Events cells | After: no cell scrollbars | | --- | --- | |  |  | ### User-facing usage Open a trace, select a span with attributed events, and expand **Events**. For example, the Stress playground's **Gen AI evaluations** command produces five events with nested attributes. Validation: `dotnet build src\Aspire.Dashboard\Aspire.Dashboard.csproj --no-restore /p:SkipNativeBuild=true` passed. Verified in the browser that all five events and their attributes are present and none of the ten multiline Events cells are scrollable. Fixes # (issue) ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [ ] Yes - [x] 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 - [x] 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 - [x] No Co-authored-by: Copilot <[email protected]>
## Description
After refreshing the dashboard, the terminal dock currently appears
immediately on its first open instead of sliding up. Opening it from the
header button or keyboard shortcut now slides it into view on the first
open, while subsequent open and close transitions remain unchanged.
### User-facing usage
Refresh the dashboard, then open the terminal dock with the terminal
button or the backtick shortcut. The dock slides up from the bottom of
the viewport on its first appearance.
The dock is mounted only when first opened, already in its visible
state. A CSS `@starting-style` supplies the off-screen transform needed
for the existing transition to run on insertion.
Validation: `dotnet build src\Aspire.Dashboard\Aspire.Dashboard.csproj
--no-restore` passed; the generated scoped CSS includes the starting
style.
Fixes # (issue)
## Checklist
- Is this feature complete?
- [x] Yes. Ready to ship.
- [ ] No. Follow-up changes expected.
- Are you including unit tests for the changes and scenario tests if
relevant?
- [ ] Yes
- [x] 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
- [x] 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
- [x] No
Co-authored-by: Copilot <[email protected]>
## Description In standalone dashboard configurations without the resource service, the help dialog advertised shortcuts to unavailable Resources and Console Logs pages, and those keys still attempted navigation. The help dialog now lists only available page and terminal shortcuts, and the layout ignores resource-page shortcuts when the resource service is disabled. Contextual panel shortcuts remain listed even when no panel is active. Availability follows the registered dashboard shortcuts so the help dialog stays consistent with the running configuration. No new dependencies are required. ### User-facing usage Press `?` to open dashboard help. Without a resource service, `r` (Resources) and `c` (Console Logs) are no longer listed or actionable. Panel controls (`+`, `-`, `Shift+R`, `Shift+T`, `Shift+X`) remain listed on every page. The terminal dock shortcut is listed only when the terminal dock is available. ### Screenshots / Recordings Both screenshots show the help dialog from this branch's local dashboard build. The right-hand dashboard was launched by a connected local AppHost. | Without resource service | With resource service | | --- | --- | |  |  | Validation: Focused dashboard component shortcut tests passed (5/5); `git diff --check` passed. Visually verified both help dialogs in the browser. Fixes # (issue) ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] 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 - [x] No Co-authored-by: Copilot <[email protected]>
…0322) ## Description This PR tightens PR test selection for inputs that were unnecessarily selecting the full regular PR-CI matrix. The audit used `select-tests-selection-Linux` artifacts so fork PRs and PRs without selector comments were included. The rule of thumb stays conservative: if an input can affect broad build/test behavior, or if the consumer boundary is unclear, it still selects `ALL`. ### What changed | Class | New behavior | |---|---| | Artifact producer workflows | `.github/workflows/build-packages.yml` selects NuGet artifact consumers; `build-cli-native-archives.yml` selects native CLI archive consumers. Native dashboard validation is only on the CLI-archive route. | | Dev/AzDO/scheduled-only inputs | `.config/dotnet-tools.json`, `eng/Version.Details.xml`, and scheduled/deployment-only local actions are skipped by the regular GitHub PR-CI prefilter. | | `eng/common` | All `eng/common/**` changes select `ALL` because this is shared Arcade/build infrastructure. | | Regular PR-CI local actions | `enumerate-tests` selects all managed .NET test projects only; `check-changed-files` and `select-tests` select `Infrastructure.Tests`; `setup-deno` selects Hosting.JavaScript and extension E2E; macOS keychain setup remains `ALL`. | | Broad/safety-sensitive inputs | `Aspire.slnx`, `.gitattributes`, shared MSBuild/build inputs, shared test fixtures, and matrix/runner infrastructure still select `ALL`. | ### Safety checks added - Artifact-consuming test projects and selector-gated jobs are derived from the evaluated graph and `tests.yml` wiring. - `DOTNET_TESTS` is pinned to managed test projects only and does not trigger non-.NET derived jobs. - Regular PR-CI local actions are tested against their explicit consumer routes. - `eng/common/**`, `.gitattributes`, and `Aspire.slnx` full-matrix behavior is pinned. - New skip-entirely paths have focused prefilter assertions. ### Notes for reviewers - `src/Shared/Utf8JsonWriterExtensions.cs` was identified as an orphan shared-source file that can hit the run-all fallback when touched. This PR does not remove or enforce orphan shared files; that should be investigated separately if needed. - The catch-all `ALL` rules are split by rationale so future changes can narrow one class without re-auditing unrelated inputs. ### Verification ```bash dotnet test --project tests/Infrastructure.Tests/Infrastructure.Tests.csproj --no-launch-profile -- --filter-namespace "*.TestTriggerMap" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true" ``` Result: `273/273` passed. Fixes # (issue) ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] 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 - [x] No --------- Co-authored-by: Copilot App <[email protected]>
## Description Project Resource V2 makes the dashboard available earlier, but coordinated project builds can delay full application readiness. .NET SDK 11 RC1 introduces the `-mt` MSBuild switch, which allows supported project builds to use multithreaded task execution. This change: - Detects the `dotnet` SDK selected for each build context, including `global.json` selection and prerelease versions. - Enables `-mt` for coordinated traversal builds and project rebuild commands when the selected SDK supports the target: - Project and generated traversal builds use `11.0.100-rc.1` or newer. - File-based `.cs` builds use `11.0.100-rtm.26473.104` or newer; stable `11.0.100` and later are included. - Uses the stricter file-based build floor because earlier .NET 11 prereleases lack both safe `-mt` argument forwarding and the compiler-client mutex mitigation. The required fixes landed in dotnet/sdk#56207, dotnet/roslyn#85675, and dotnet/dotnet#9565. - Caches version probes by SDK-selection context and refreshes the result when `global.json` changes. - Reuses the same provider for existing file-based app and .NET tool SDK validation. - Omits `-mt` when version detection fails, preserving the existing build behavior. Validation: - `.\restore.cmd` - `./restore.sh` - Affected `Aspire.Hosting` and `Aspire.Hosting.Dotnet` build completed with zero warnings and errors. - 47 focused provider, version-policy, coordinated-build, rebuild, file-app, and .NET-tool tests passed. - 15 focused `Aspire.Hosting.Tests` file-app SDK policy and environment-aware provider cases passed. - 6 focused `Aspire.Hosting.Dotnet.Tests` file-only build, rebuild, mixed-model coordination, and configured rebuild argument cases passed. - A repository-local .NET 11 RC1 `.csproj` build completed successfully with `-mt`. - A full `Aspire.Hosting.Tests` run encountered two unrelated `MSBuildTests` timeouts in `dotnet build --disable-build-servers`; both timeouts reproduced when retried in isolation. Fixes #19944 ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] 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 - [x] No --------- Co-authored-by: Copilot App <[email protected]>
This pull request updates the following dependencies [marker]: <> (Begin:ca933625-6bed-4cef-95d3-a9cff8f51c9d) ## From https://github.com/microsoft/dcp - **Subscription**: [ca933625-6bed-4cef-95d3-a9cff8f51c9d](https://maestro.dot.net/subscriptions?search=ca933625-6bed-4cef-95d3-a9cff8f51c9d) - **Build**: [0.26.4](https://dev.azure.com/dnceng/internal/_build/results?buildId=3086807) ([333808](https://maestro.dot.net/channel/1648/github:microsoft:dcp/build/333808)) - **Date Produced**: September 24, 2026 9:06:40 PM UTC - **Commit**: [182c961ce6b2f6b23e785d2963a500d1ed65291d](microsoft/dcp@182c961) - **Branch**: [refs/tags/v0.26.4](https://github.com/microsoft/dcp/tree/refs/tags/v0.26.4) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [0.26.3 to 0.26.4][1] - Microsoft.DeveloperControlPlane.darwin-amd64 - Microsoft.DeveloperControlPlane.darwin-arm64 - Microsoft.DeveloperControlPlane.linux-amd64 - Microsoft.DeveloperControlPlane.linux-arm64 - Microsoft.DeveloperControlPlane.linux-musl-amd64 - Microsoft.DeveloperControlPlane.windows-amd64 - Microsoft.DeveloperControlPlane.windows-arm64 [1]: microsoft/dcp@9dbd5dd...182c961 [DependencyUpdate]: <> (End) [marker]: <> (End:ca933625-6bed-4cef-95d3-a9cff8f51c9d) Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
…0312) ## Description Make the Blazor browser-debugger E2E fixtures independent and ensure their debugger prerequisite is installed before starting the application. - Give each managed proof a unique browser profile under the runner-owned temporary root, so a lock left by an earlier scenario cannot block a later one. The runner removes profiles after VS Code exits; tests do not delete live browser locks or dismiss the old-session warning. - Await C# activation and check its WebAssembly bridge DLL without waiting for unrelated language-server project import. If the component is missing, reload the isolated extension host to let C#'s installer reacquire it, bounded to three activations. Other errors fail explicitly; actual proof cases are never retried. - Preserve the original eight-test Chrome/Edge shard and its breakpoint, source/line, shutdown, and command-reset assertions. Add profile ownership/uniqueness checks and permanent regression coverage for locked prior profiles, component readiness, retry bounds, and error propagation. The contributing guide documents setup and profile ownership. Production browser behavior, workflows, manifests, and matrix selection are unchanged. Related to #20184, which remains open. The separate Windows native-attach failure in #20117 is not claimed fixed. ### What the evidence supports—and what it does not **Bridge readiness:** In the [original Linux failure](https://github.com/microsoft/aspire/actions/runs/35132956836), C# logged a failed `VSWebAssemblyBridge` download before the legacy `/_framework/debug/ws-proxy` launch failed with error 9240. This supports checking the prerequisite and attempting bounded reacquisition before starting the tests, rather than proceeding with a missing bridge. The regression tests verify that setup behavior and explicit failure when acquisition remains unsuccessful. They do not reproduce error 9240 or establish that this change eliminates the original flake. **Profile isolation:** [Later Linux failures](https://github.com/microsoft/aspire/actions/runs/35683878838) completed the standalone breakpoint and stop, then showed an old-debug-session warning and hosted root-session timeouts. [Baseline proof artifacts](https://github.com/microsoft/aspire/actions/runs/35763423514/artifacts/10712072300) confirmed that the scenarios shared one workspace browser profile. The deterministic regression leaves the first profile locked and verifies that a subsequent proof gets a different profile. This supports eliminating cross-scenario profile interference, but does not establish whether the historical warning came from a stale lock or a still-running browser, or that profile sharing caused the original 9240 failure. **Resolution of the original Linux flake remains unverified.** Two fresh Linux baseline executions and a ten-round state-reuse stress run passed before these changes. Post-change green CI therefore confirms the new behavior works; it does not demonstrate reduced flakiness or prove a root-cause fix for #20184. These are evidence-backed test-hardening changes with narrower, tested guarantees. ### Validation [Full x64 CI passed](https://github.com/microsoft/aspire/actions/runs/35791752092) for head `c7eea0bcf83a989b8a6707899ddfda7a722e3589`. | Coverage | Result | | --- | --- | | [Windows x64 extension unit tests](https://github.com/microsoft/aspire/actions/runs/35791752092/job/106964539495) | 3,025 passed, eight unrelated pending; all 207 focused checks, including 17 new regressions, passed | | [Linux / Chrome browser E2E](https://github.com/microsoft/aspire/actions/runs/35791752092/job/106969723605) | 8/8 passed; no skips or retries; all three managed-breakpoint proofs verified | | [Windows / Edge browser E2E](https://github.com/microsoft/aspire/actions/runs/35791752092/job/106969723619) | 8/8 passed; no skips or retries; all three managed-breakpoint proofs verified | Both browser artifacts confirm three distinct run-owned `blazor-browser-profile-*` paths, actual `monovsdbg_wasm` breakpoint stops at the expected source lines, and the debug command re-enabled after shutdown. C# bridge download, integrity validation, and installation succeeded before AppHost startup on both platforms. The missing-component reload path is covered by unit tests; these E2E runs did not need a setup retry. Evidence: [Linux artifact](https://github.com/microsoft/aspire/actions/runs/35791752092/artifacts/10723562355) · [Windows artifact](https://github.com/microsoft/aspire/actions/runs/35791752092/artifacts/10723143207). The installed VSIX/source checkout in both browser jobs was merge revision `759d941aca01748ae6f3f0e10874ff845117e8bd`. Runtime verification ran in x64 CI, not on the ARM64 development machine. Local validation after the requested cutoff was limited to static compilation/lint. ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] 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 - [x] No --- Prepared using the repository's [fix-flaky-test skill](https://github.com/microsoft/aspire/blob/main/.agents/skills/fix-flaky-test/SKILL.md). --------- Co-authored-by: Copilot App <[email protected]>
## Description Fixes #20335 ExTester can recycle a tree row between lookup and `getLabel()`, causing the AppHost discovery test to read `Deploy AppHost` instead of `AspireE2E.AppHost.csproj`. Capture labels and parent/child relationships in one snapshot for read-only assertions, revalidate handle-based lookups, and add deterministic regression coverage. Production extension behavior is unchanged. ### Validation - [Full CI passed](https://github.com/microsoft/aspire/actions/runs/35920971401), including all 36 Windows/Linux `apphost-tree` and `tree-actions` tests without retries. - Deterministic tests reproduced the exact mismatch before the fix and passed afterward. TypeScript compilation, lint, and focused unit tests passed. The natural race was not reproduced in two pre-fix Windows CI runs; post-fix Windows `apphost-tree` passed once. *Used the [fix-flaky-test skill](https://github.com/microsoft/aspire/blob/main/.agents/skills/fix-flaky-test/SKILL.md), adapted for ExTester.* ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] 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 - [x] No --------- Co-authored-by: Copilot App <[email protected]>
## Description Preserves wildcard agent-hook coverage and all currently eligible Aspire telemetry while removing shell startup and synchronous upload waits. - Both hook and uploader modes run through `AgentTelemetryCommand` and normal command dispatch. `InitializeTelemetryOnStartup` defaults to true; the agent command defers provider creation and enrichment until an eligible event exists. Existing first-run and generic invocation-span rules are preserved. - Skill names and reference paths come from the embedded bundle's `skill-manifest.json`, read in memory with the existing manifest types and source-generated serializer. The shipped inventory preserves all 7 skills and 33 references. MCP tool names still come from the embedded canonical hook because the manifest does not contain a tool inventory. - Hook environment-variable reads use injected `IEnvironment`; hook tests run in-process without changing global environment state. A documented setting bounds input before parsing. - Eligible telemetry is persisted through Azure Monitor Exporter's existing disk-backed storage. An independent CLI uploader keeps its existing batching/retry machinery alive until the backlog drains. - Legacy Aspire registrations migrate idempotently without removing unrelated user hooks. The latest main merge preserves shell completions and the v0.0.3 skills bundle. Fixes #20329 Closes #20042 ### Coordinated OpenTelemetry upgrade The committed upgrade supersedes closed draft #20042 and consistently uses the newest releases published at least seven days before September 23, 2026: | Packages | Version | NuGet publication date (UTC) | | --- | --- | --- | | Console, InMemory, OTLP exporters; Extensions.Hosting | 1.18.0 | August 21 | | AspNetCore, Http, Runtime, SqlClient instrumentation | 1.18.0 | August 21 | | GrpcNetClient instrumentation | 1.18.0-beta.1 | August 21 | | Azure Monitor Exporter | 1.9.0 | September 5 | The 1.19.x releases were too recent for that age requirement and are not the target. The GrpcNetClient approved-feed import [succeeded in run 3085688](https://dev.azure.com/dnceng/internal/_build/results?buildId=3085688), and full solution restore succeeded against configured feeds. No quarantine was bypassed. Existing Blazor playground-specific overrides from #20339 are unchanged. Seq's generated configuration schema was refreshed for the added OTLP properties. ### Breaking changes OpenTelemetry 1.18 reduces the default maximum serialized OTLP request from 128 MiB to 64 MiB. Oversized batches are dropped. Consumers relying on the previous limit can configure: ```csharp builder.Services.Configure<OpenTelemetry.Exporter.OtlpExporterOptions>(options => { options.MaxRequestSizeBytes = 128 * 1024 * 1024; }); ``` The default maximum OTLP response size is 4 MiB. Generated ServiceDefaults inherit updated versions; existing customer projects are not rewritten. Ordinary CLI shutdown behavior is explicitly preserved despite the Azure Monitor upgrade. ### User-facing usage After installing the updated CLI, refresh agent configuration: ```shell aspire agent init ``` Claude retains `matcher: "*"`; Copilot retains unfiltered `postToolUse`. Both directly execute `aspire agent telemetry --hook` without PowerShell/Bash. Compatibility scripts are taken unchanged from the canonical bundle. `ASPIRE_AGENT_TELEMETRY_MAX_PAYLOAD_CHARACTERS` configures the native input bound: default 65,536 UTF-16 characters, range 1–1,048,576. Oversized input is drained without retention; invalid values produce a diagnostic without breaking the agent. ### Validation - Review refactor: 370 tests passed, one Linux-only skip, covering startup/completions, normal command routing, deferred provider/enrichment initialization, opt-out, all three event categories, and existing telemetry behavior. - Manifest change: 137 focused tests passed, including archive/JSON validation, canonical reporting-set parity, hook classification, and skills bundle regressions. - Final Windows x64 Native AOT publish passed after the manifest change. - The real cross-process lease-expiry recovery test is now marked `[OuterloopTest]`; fast persistence and uploader-lifecycle coverage remains in regular CI. The real recovery scenario passed before this scheduling-only change. - Coordinated dependency upgrade: full solution restore, Hosting/template builds, generated ServiceDefaults/MAUI version verification, and 21 Seq tests across .NET 8/9/10 passed. Seq stabilization packaging passed. Restore reported existing unrelated vulnerability advisories. - Real Copilot CLI 1.0.87-0, isolated COPILOT_HOME: `postToolUse` with `exec`/`args` ran its recorder after a `view` call. - Performance trade-off: normal command dispatch measured 145.4 ms median and 210.7 ms p95 for unrelated native hooks over 25 local Windows launches; the old PowerShell sample was approximately 337–460 ms. The earlier pre-host shortcut measured 52.3 ms median but was removed in response to review. These are direct-process samples, not a zero-cost guarantee. - Linux/macOS runtime performance was not tested locally. ### Security considerations The hook processes bounded untrusted JSON and launches an independent uploader. Catalog inputs come from embedded release-verified resources, not mutable user-installed skills/scripts. Only manifest-listed `references/` files are reference events; evals and scripts are excluded. No new listener, ingestion endpoint, raw-payload storage, or telemetry category is introduced. Direct argument vectors avoid shell interpretation. Existing exporter storage and process-isolation helpers are reused. Security review should cover classification parity, configuration ownership, and detached-process lifetime. Delivery remains subject to disk failures, exporter limits, retention, and permanent ingestion errors. Interrupted uploads may stay leased for several minutes; at-least-once delivery permits duplicates. Environment opt-out applies at process launch, not retroactively to running processes. ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] No - Does the change make any security assumptions or guarantees? - [x] Yes - If yes, have you done a threat model and had a security review? - [ ] Yes - [x] No - [ ] No --------- Co-authored-by: David Pine <[email protected]> Co-authored-by: Copilot App <[email protected]> Co-authored-by: James Newton-King <[email protected]>
## Summary Fixes a race condition in `Aspire.Hosting.Tests.ContainerTunnelTests` that made `ContainerTunnelWorksWithYarp` and `ProxylessEndpointWorksWithContainerTunnel` potentially flaky. ## The problem Both tests waited only for the `"Application started."` log line before immediately issuing an HTTP request through the YARP tunnel. That log line only indicates the AppHost process is up — it says nothing about whether the YARP container (which may still be building/starting the tunnel proxy image) is actually ready to accept connections. The tests only passed because the standard resilience handler on the test `HttpClient` silently retried the first few failed connection attempts while the container finished starting. That's a race between "how long the container takes to become ready" and "how many retries/how much time the resilience handler allows" — on a slower or more loaded CI runner, or if the container takes a bit longer to start, the retries can be exhausted before the tunnel is ready, and the test fails with something like `HttpRequestException: The response ended prematurely`. This is exactly the kind of latent, timing-dependent flakiness that shouldn't depend on a client-side retry policy to paper over. This surfaced concretely in #18963, an experiment that disables the resilience handler in test builders — with retries removed, both tests failed reliably, confirming they had no real readiness guarantee to begin with. The other two tests in this file, `WaitingContainersCanUseTunnel` and `HostResourceCanWaitForTunnelDependentContainers`, already avoid this problem by waiting for `KnownResourceStates.Running` before proceeding. ## Fix Replace the race with a deterministic readiness check. Yarp resources don't come with a built-in health check, so this adds one scoped to these tests: - `.WithHttpHealthCheck("/servicea/")` on the `yarp` resource builder (checking the same route the test exercises) - `await app.ResourceNotifications.WaitForResourceHealthyAsync(yarp.Resource.Name)` before making the real assertion request Now the test only proceeds once the tunnel has actually proven it can route a request through to `servicea`, regardless of how long that takes or whether a resilience handler is configured. ## Test plan - [x] `dotnet build tests/Aspire.Hosting.Tests/Aspire.Hosting.Tests.csproj` succeeds - [ ] CI run of `Aspire.Hosting.Tests` (these tests require `TestFeature.ContainerRuntime`/`ContainerImageBuild`, not exercisable in this sandbox without Docker) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Sonnet 5 <[email protected]>
## Description
Project-local `aspire config set` interpreted the colon in experimental
polyglot feature names as a configuration separator, writing an invalid
nested `features` object. Give all four experimental AppHost languages
consistent flat feature names so ordinary configuration commands write
loadable settings without changes to the configuration service. Update
checked-in polyglot fixtures, validation scripts, documentation, and
generated VS Code schemas to use the new names. No new dependencies are
required.
### User-facing usage
Enable the language you need from its AppHost directory:
```console
aspire config set features.experimentalPolyglotJava true
aspire config set features.experimentalPolyglotGo true
aspire config set features.experimentalPolyglotPython true
aspire config set features.experimentalPolyglotRust true
```
For example, the Java command writes this loadable `aspire.config.json`:
```json
{
"features": {
"experimentalPolyglotJava": "true"
}
}
```
The CLI writes `"true"` as it does for other `config set` values; the
feature reader also accepts JSON `true`. Focused CLI configuration and
language-discovery tests passed (175 tests), a source-built CLI wrote
and read all four settings, and all 159 feature-enabled polyglot
fixtures and three generated schemas were checked for the new keys.
### Breaking changes
Existing project or global feature settings named
`experimentalPolyglot:java`, `experimentalPolyglot:go`,
`experimentalPolyglot:python`, or `experimentalPolyglot:rust` no longer
enable those languages. Rename each key to `experimentalPolyglotJava`,
`experimentalPolyglotGo`, `experimentalPolyglotPython`, or
`experimentalPolyglotRust`, respectively.
Fixes # (issue)
## Checklist
- Is this feature complete?
- [x] Yes. Ready to ship.
- [ ] No. Follow-up changes expected.
- Are you including unit tests for the changes and scenario tests if
relevant?
- [x] 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
- [x] 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
- [x] No
---------
Co-authored-by: Sébastien Ros <[email protected]>
Co-authored-by: Copilot App <[email protected]>
## Description Reduce dashboard navigation clutter by removing the top-right Terminals button and the mobile Terminal menu entry. The backtick shortcut remains the manual entry point for opening the dock on both layouts. Terminal lifecycle and automatic opening behavior are unchanged. Removes unused navigation callbacks, component references, and localizers; updates terminal access documentation and layout regression coverage. ### User-facing usage On desktop and mobile layouts, press the backtick (`) key to open, collapse, or reopen the terminal dock. Shortcut suppression while typing in a terminal or text input is unchanged; press F6 to move focus to terminal footer controls first. Neither the desktop header nor the mobile navigation menu contains a terminal entry point. ### Validation Passed all 128 focused `MainLayoutTests`, `TerminalDockTests`, and `MobileNavMenuTests`, including shortcut open/collapse/reopen on both layouts, absence of the navigation entry points, resource-service gating, and live/historical run selection. Also launched the branch-built dashboard with the CustomResources playground AppHost and verified in Chromium that the desktop header has no terminal control and the backtick shortcut opens and closes the live terminal dock. ### Screenshots / Recordings Desktop Resources page with a live AppHost, showing the top-right header cluster without the terminal icon:  Fixes # (issue) ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] 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 - [x] No --------- Co-authored-by: Copilot App <[email protected]> Copilot-Session: e3a279f5-bf3d-4d19-8eb9-2ffec231cce2
## Description Browser debugger E2E attachment and session-lifecycle timeouts currently block otherwise unrelated CI while the platform-specific debugger failures remain unresolved. ```text Timed out waiting for pwa-msedge child session Timed out waiting for Blazor WASM root session ``` These attachment and session-lifecycle timeouts are completed Mocha failures that become advisory with this change. This makes the Linux and Windows `browser-debugger` matrix rows advisory under their respective tracking issues. The full browser debugger spec still runs on both platforms and diagnostics are still uploaded. The existing runner boundary remains unchanged: only completed Mocha test failures are advisory; setup, spawn, signal, harness-timeout, and cleanup failures remain blocking. The shard-matrix unit test now records both advisory rows explicitly and verifies their platform-specific issue URLs. ### Validation - `corepack yarn compile-tests` - `ASPIRE_EXTENSION_E2E_CACHE_ROOT=<absolute path> corepack yarn unit-test --run out/test/e2eShardMatrix.test.js --run out/test/e2eLaunchProfile.test.js` (108 passing) - `corepack yarn eslint src/test/e2eShardMatrix.test.ts` - `git diff --check` Addresses #20117 Addresses #20184 ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] 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 - [x] No Co-authored-by: Copilot App <[email protected]>
## Description Fixes the recurring Linux outerloop failure in `RadiusDeployTests.DeployRadiusRedisRabbitMqAndMongoBackingResourcesToKind`. This is a deterministic test defect, not a flaky failure: the MongoDB resource follows Radius's legacy recipe path and labels its Deployment and pods with `resource=docs`. The test used the Radius v2 selector, `radapp.io/resource=docs`, which can never match the legacy MongoDB workload. The mismatch was introduced in [PR #19555](#19555) ([commit `51c8f93`](51c8f93)), which added this outerloop scenario and both incompatible selectors. The first affected scheduled run failed on September 15; the same failure was subsequently reported in nine outerloop runs. Two verified examples from the scheduled `main` Outerloop workflow: [September 15, run 34920255358 (attempt 4)](https://github.com/microsoft/aspire/actions/runs/34920255358/attempts/4) and [September 23, run 35809367842 (attempt 4)](https://github.com/microsoft/aspire/actions/runs/35809367842/attempts/4). In each, the Linux `Cli.EndToEnd` job failed at `RadiusDeployTests.cs:709` with `Command failed with non-zero exit code (detected ERR prompt at sequence 44)`. This change uses `resource=docs` for both MongoDB Deployment readiness and pod discovery. Validation: ```bash dotnet build tests/Aspire.Cli.EndToEnd.Tests/Aspire.Cli.EndToEnd.Tests.csproj --no-restore -v:q /p:RunOuterloopTests=true ``` The targeted build passed. The full outerloop workflow is running: [run 35935019961](https://github.com/microsoft/aspire/actions/runs/35935019961). ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] 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 - [x] No Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: radical <[email protected]>
## Description Newer Aspire CLIs can run AppHosts pinned to older SDKs without a misleading version-skew warning. The warning now appears only when the CLI has lower SemVer precedence than the SDK; metadata-only differences remain ignored, and unparseable versions retain the existing case-insensitive comparison fallback. During `aspire update`, the warning compares against the target SDK instead of the stale on-disk config. This also prevents missing a warning when an update moves the SDK ahead of the CLI. Warning guidance now recommends updating the CLI rather than changing the AppHost SDK, with the corresponding localization files regenerated. Fixes #20389 ### Examples | CLI | SDK used for code generation | Warning | | --- | --- | --- | | `13.6.0-pr.19847.g8be64f3a` | `13.5.4` | No | | `13.6.0-pr.19847.g8be64f3a` | `13.6.0` | Yes | | `13.1.0-preview.1.26218.1` | `13.1.0-preview.1.26227.1` | Yes | | `13.5.4` | `13.5.4+abc123` | No | For example, with CLI `13.5.0`, an update from SDK `13.4.0` to `13.6.0` warns about the target `13.6.0`, not the old `13.4.0`. ### Validation - Both affected CLI test classes passed: **94 passed, 0 failed, 0 skipped**. Coverage includes version ordering, prereleases, build metadata, unparseable versions, and the fake-backed package-update flow with explicit CLI identities. - `dotnet build /t:UpdateXlf src/Aspire.Cli/Aspire.Cli.csproj --no-restore` succeeded. - Rubber-duck critique identified the stale-config update gap; the implementation and regression tests address it. The subsequent GPT-5.6 Terra code-review pass reported no significant issues. ```bash dotnet test --project tests/Aspire.Cli.Tests/Aspire.Cli.Tests.csproj \ --no-restore --no-launch-profile -- \ --filter-class "*.GuestAppHostProjectSkewTests" \ --filter-class "*.GuestAppHostProjectTests" \ --filter-not-trait "quarantined=true" \ --filter-not-trait "outerloop=true" ``` No new dependencies or public APIs. ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] 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 - [x] No Copilot-Session: e9b58819-1030-4a10-b494-48379b8c0353
## Description ### What broke Deployment tests can be dynamically skipped—for example, when Azure regional capacity is unavailable. MTP represents a run containing only skipped tests with exit code `8`. The workflow already passed `--ignore-exit-code 8`. That option normalizes the **test module's** result so an expected skip does not fail the job. ### Why it started failing The .NET 11 RC1 SDK has a bug in how `dotnet test` combines results from all test modules ([dotnet/sdk#56214](dotnet/sdk#56214), originally reported as [microsoft/testfx#11145](microsoft/testfx#11145)). The test module accepts `--ignore-exit-code 8` and exits `0`. The SDK then recalculates the overall result, treats an all-skipped run as "zero tests," and returns `8`. ```text Test module → exit 8 → --ignore-exit-code 8 → success ↓ .NET 11 RC1 dotnet test aggregate → zero tests → exit 8 → workflow failure ``` The Deployment E2E history confirms the timing: - [September 10](https://github.com/microsoft/aspire/actions/runs/34432356786), using .NET 10.0.401: `AzureConnectorNamespaceDeploymentTests` skipped its only test, reported `Zero tests ran`, and the job succeeded. - #19999 then updated the repository to .NET 11 RC1. - [September 11](https://github.com/microsoft/aspire/actions/runs/34557498536), using .NET 11 RC1: the same test was skipped, but `dotnet test` returned exit code `8` and the job failed. The SDK fix merged in [dotnet/sdk#56219](dotnet/sdk#56219) and was backported to the .NET 11 RC1 branch in [dotnet/sdk#56296](dotnet/sdk#56296). Aspire's pinned `11.0.100-rc.1.26425.128` SDK predates that backport. ### The fix The affected workflows capture the aggregate exit code and pass it through checked-in Bash or PowerShell normalizers. Exit code `8` becomes success; actual test failures and host errors remain failures. - **Deployment E2E and non-NuGet shared tests** use `dotnet test`, so they normalize the aggregate result. - **NuGet-dependent tests** execute the test assembly directly, where the existing module-level option still returns success. The regression tests execute the checked-in scripts directly for exit codes `0`, `8`, `2`, and `7` instead of extracting and rewriting script fragments from YAML. Conditional test selection also routes changes to the shared runner and Deployment E2E consumers. **This is a temporary workaround.** Remove the aggregate `dotnet test` exit-code normalization after Aspire upgrades to a .NET 11 SDK build containing the upstream fix. ### Surprises and call-outs This fix also updates the non-NuGet paths in the shared `run-tests.yml` workflow. Those paths have the same aggregate exit-code behavior and are used by regular, quarantine, and outerloop test lanes. ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] 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 - [x] 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 - [x] No <!-- START COPILOT CODING AGENT SUFFIX --> - Fixes #18629 --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: radical <[email protected]> Co-authored-by: Ankit Jain <[email protected]> Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]> Copilot-Session: fa808d77-153d-47ce-8548-317c2017238b
Co-authored-by: Copilot App <[email protected]>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20570Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20570" |
Tests selectorSelects the full PR test matrix + all PR-gated jobs (ALL) — run-all fallback: '.devcontainer/devcontainer.json' is neither Layer-1-owned nor matched by a Layer 2 rule Selection computed for commit |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The official Azure Pipelines timeout change lacks the required documented validation in internal pipeline definition 1602.
Review effort: Balanced
Findings: 1
What changed in this PR
Synchronizes release/17.0 with the current main snapshot while preserving merge ancestry and applying Aspire 17 release metadata.
Changes:
- Imports 57 upstream commits spanning CLI, Dashboard, hosting integrations, tests, and infrastructure.
- Sets
17.0.0-preview.1metadata and milestone routing. - Removes obsolete release-14 synchronization automation.
| Files | Description |
|---|---|
.agents/**, .devcontainer/**, AGENTS.md |
Aligns agent and development guidance with current tooling. |
.github/aw/**, .github/extensions/** |
Updates agentic workflow and extension infrastructure. |
.github/policies/** |
Routes closed PRs to milestone 17.0. |
.github/workflows/** |
Updates CI actions, test execution, deployment workflows, and removes release-14 synchronization. |
Directory.Packages.props, NuGet.config, global.json |
Updates SDK, dependencies, and approved package-feed mappings. |
benchmarks/** |
Aligns benchmark dependencies. |
docs/** |
Updates CI, CLI, telemetry, polyglot, and terminal documentation. |
eng/Testing.*, eng/github-ci/** |
Updates MTP diagnostics and test selection. |
eng/Version.Details.xml, eng/Versions.props |
Applies Aspire 17 release metadata. |
eng/clipack/**, eng/homebrew/**, eng/winget/** |
Updates CLI packaging and distribution. |
eng/common/**, eng/pipelines/** |
Updates Helix infrastructure and official pipeline timeouts. |
eng/scripts/** |
Adds completion installation and updates CLI packaging scripts. |
extension/** |
Updates schemas, debugger preparation, E2E infrastructure, and tests. |
playground/** |
Refreshes samples for current SDKs, telemetry, and hosting behavior. |
src/Aspire.Cli/** |
Adds completions, telemetry persistence, and consolidated NuGet support. |
src/Aspire.Dashboard/** |
Updates menus, filtering, storage, authentication, localization, and terminal UI. |
src/Aspire.Hosting/** |
Updates DCP, terminal, SDK discovery, lifecycle, and resource behavior. |
src/Aspire.Hosting.Azure*/** |
Aligns Azure hosting integrations and documentation. |
src/Aspire.Hosting.CodeGeneration.*/** |
Updates polyglot documentation. |
src/Aspire.Hosting.{Dotnet,Kafka,Kubernetes,Milvus,MongoDB,MySql,PostgreSQL,Qdrant,RabbitMQ,Redis,RemoteHost,SqlServer,Valkey}/** |
Adds endpoint, relationship, REPL, storage, and hosting improvements. |
src/Aspire.Managed/** |
Removes NuGet commands migrated into the CLI. |
src/Aspire.TerminalHost/**, src/Shared/** |
Updates terminal transport, socket handling, REPL, relationships, and YAML serialization. |
src/Components/** |
Updates component package metadata and Seq configuration. |
tests/Aspire.Acquisition.Tests/** |
Covers acquisition and completion scripts. |
tests/Aspire.Cli.EndToEnd.Tests/** |
Expands completion, installation, deployment, and channel testing. |
tests/Aspire.Cli.Tests/** |
Covers CLI completions, telemetry, NuGet, configuration, and project behavior. |
tests/Aspire.Dashboard.Components.Tests/** |
Migrates component tests and covers updated Dashboard controls. |
tests/Aspire.Dashboard.Tests/** |
Covers storage, authentication, resources, and browser interactions. |
tests/Aspire.Deployment.EndToEnd.Tests/** |
Updates Azure and persistent-volume deployment coverage. |
tests/Aspire.Hosting.*.Tests/** |
Covers hosting endpoints, REPL commands, Kubernetes, DCP, and SDK behavior. |
tests/Aspire.Managed.Tests/**, tests/Aspire.TerminalHost.Tests/** |
Removes migrated NuGet tests and updates terminal-host coverage. |
tests/Aspire.Templates.Tests/** |
Updates template timeout behavior and documentation. |
tests/Infrastructure.Tests/** |
Covers CI routing, workflow scripts, MTP normalization, and process helpers. |
tests/PolyglotAppHosts/**/aspire.config.json |
Migrates fixtures to flat polyglot feature names. |
tests/Shared/** |
Adds shared CLI, REPL, and polyglot test infrastructure. |
tools/CreateLayout/**, tools/SelectTests/** |
Updates bundle documentation and test selection logic. |
| - job: TemplateTests | ||
| displayName: Template Tests | ||
| timeoutInMinutes: 30 | ||
| timeoutInMinutes: 45 |
Sébastien Ros (sebastienros)
left a comment
There was a problem hiding this comment.
This PR isn't ready to merge. There are 4 issues: 2 blocking, 1 high and 1 medium. Three are inline; the merge-method blocker is below because it has no diff line.
The merge commit's tree is identical to cb6d7044b4, and all 57 upstream commits are already on main, so the only change unique to this PR is that 7-file metadata commit.
Blocking: the required merge commit is disabled on this repo
The description relies on "a regular two-parent merge commit", but the repo reports mergeCommitAllowed: false and squashMergeAllowed: true. The ruleset on refs/heads/release/* allows merge, but the repo setting still blocks it.
If this is squashed, 55867ce9d3 stays the merge base with main. I simulated the next sync against current main with git merge-tree: a squash gives 230 conflicting files, while a real merge commit gives 2.
Fix: have a repo admin enable merge commits for this one merge, and record that in the PR. Don't merge until that is arranged.
Not verified
- I checked no run of internal pipeline definition 1602, and ran no local build or tests. The GitHub checks on this head are from 2026-09-28.
- I couldn't confirm whether the policy service reads rules from non-default branches.
- I didn't confirm what the official build triggered by merging to
release/*would publish. - I didn't re-review the 57 upstream commits, since they came through PRs merged to
main.
| action: Closed | ||
| - targetsBranch: | ||
| branch: release/13.5 | ||
| branch: release/17.0 |
There was a problem hiding this comment.
Blocking: maintainers already rejected preparing this branch.
The description says #20569 proposes the same metadata commit on main, which is out of date. On #20569, joperezr wrote "We shouldn't have any PRs targeting the release/17.0 branch" and added that the branch technically shouldn't exist yet. #20569 merged on 2026-10-05 with this rule removed, and it states that it does not prepare an advance release branch. main has carried version 17.0 since #20592.
Merging this creates a second 17.0.0-preview.1 line that nobody maintains, with no sync workflow.
Fix: get an explicit decision from the release owner. Close this PR if there is no advance branch; otherwise rebuild it from current main and correct the description.
| - if: | ||
| - payloadType: Pull_Request | ||
| - isAction: | ||
| action: Closed |
There was a problem hiding this comment.
Medium: this rule and the main rule (line 14) fire on any close, not just merges.
Both rules match Closed with no isMerged check, although their descriptions say "merged". #20569 fixed this on main in fa18ddbd49, then removed the release/17.0 rule in 714182a737.
If the service evaluates these rules, a PR closed without merging gets milestone 17.0, and on release/17.0 its existing milestone is removed first. This file also merges with current main without conflict and keeps the release/17.0 rule without isMerged, so a later backmerge would silently undo the #20569 review outcome.
Fix: take this file from main unchanged, and add a release/17.0 rule with isMerged only at the official branch cut.
| <!-- The 17.0 version precedes its dashboard image. Remove this override once the 17.0 tag is published. --> | ||
| <AspireDashboardImageTag>13.6</AspireDashboardImageTag> | ||
| <DefaultTargetFramework>net8.0</DefaultTargetFramework> | ||
| <AllTargetFrameworks>$(DefaultTargetFramework);net9.0;net10.0</AllTargetFrameworks> |
There was a problem hiding this comment.
High: this snapshot is 327 commits behind main and is missing security fixes.
The stated goal is "the current main snapshot", but this head dates from 2026-09-28:
- It lacks Fix critical and high dependency vulnerabilities #20703, "Fix critical and high dependency vulnerabilities".
- It targets
net8.0;net9.0;net10.0, whilemaintargetsnet10.0;net11.0. - It pins the dashboard image to 13.6, and the comment here says to remove the pin once the 17.0 tag is published. Use the 17.0 dashboard image for generated deployments #21119 removed the pin on
main, andmcr.microsoft.com/aspire/nightly/dashboardlists a17tag.
Merging as is ships a "17.0" branch with known vulnerable dependencies and a different set of target frameworks, and its Docker Compose and Kubernetes publishing still uses the 13.6 dashboard. The next sync also conflicts on this file and .github/workflows/README.md.
Fix: if the branch is wanted, re-create the sync from current main without the metadata commit, since main already has the version bump and the workflow removal. Then rerun CI.
|
Closing this. Snap of this branch will be a fast forward from main instead. |

Description
release/17.0was renamed from the advance 14.0 branch while still 57 commits behind main. Bring it up to the current main snapshot and carry the Aspire 17 release metadata forward without rewriting ancestry or pushing directly to the protected release branch.This merges
maddy/version-17-release-metadataatcb6d7044b4(based on mainffebe72282) intorelease/17.0at55867ce9d3with a regular two-parent merge commit. The branch now uses version17.0.0-preview.1, assigns milestone 17.0 to PRs closed against main and release/17.0, and removes the already-disabled release-14 sync workflow, its watchdog entry, tests, and obsolete documentation. The dashboard image remains pinned to 13.6 until a 17.0 image is published.The release-branch diff includes the 57 upstream main commits plus the metadata commit (889 files, +24,351/-8,559 lines). The same metadata commit is also proposed against main in #20569; this PR includes it directly and does not depend on that PR being merged first. No new tests were authored solely for this merge.
Validation
dotnet test --project tests\Infrastructure.Tests\Infrastructure.Tests.csproj --no-launch-profile -- --filter-class "*.MonitorScheduledWorkflowsTests" --filter-class "*.MonitorScheduledWorkflowsIntegrationTests" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true"— passed, 36 tests.git diff --check origin/main..HEAD— passed for the metadata-only delta. The full release-branch diff flags three trailing-whitespace lines imported unchanged from main.disabled_manuallyon the default branch and absent from this branch.Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?