Skip to content

Upgrade all samples to Aspire 13.6.0 - #1980

Merged
David Pine (IEvangelist) merged 24 commits into
mainfrom
ievangelist-aspire-13-6-upgrade
Oct 2, 2026
Merged

David Pine (IEvangelist) merged 24 commits into
mainfrom
ievangelist-aspire-13-6-upgrade

Conversation

@IEvangelist

@IEvangelist David Pine (IEvangelist) commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Upgrade the repository's Aspire SDK, integrations, and CLI to the released Aspire 13.6.0 build (56f3e9c0d216c0c7069dabb49dd0464e4827744f). The Java hosting integration uses its accompanying published preview, 13.6.0-preview.1.26479.8, from the same source commit.
  • Restore the root nuget.config to its unchanged main configuration: NuGet.org only. Remove staging channel/feed overrides from AppHosts and the redundant terminal-sample NuGet configurations.
  • Retire the temporary staging installer. GitHub CI, Dev Containers, and contributor instructions now use the standard Aspire installers pinned to 13.6.0.
  • Preserve the internal Azure pipeline's Azure-only package policy and CLI source override; released packages come from the approved dotnet-public mirror.
  • Merge current main without rewriting the shared branch. Resolve the BasketService conflict by keeping both main's gRPC 2.84.0 updates and the Aspire 13.6.0 upgrade.
  • Preserve the upgrade's compatibility dependency increases: EF Core 10.0.12, Npgsql EF provider 10.0.3, and OpenTelemetry hosting 1.17.0, plus aggregate coverage for four standalone service projects.
  • Include the four terminal samples from Add terminal basics, automation, and custom SQL REPL samples #1983, the Spring Petclinic Java/Angular sample and API tests from Add Spring Petclinic Java sample with TypeScript AppHost #1974, and refreshed dashboard screenshots. Update their setup documentation for the released build and remove obsolete terminal CLI feature flags.
  • Address review feedback by simplifying the root README, removing the unnecessary Petclinic proxy TLS-verification bypass, and documenting the trusted local-demo boundaries in the new samples' code and READMEs.

No optional Project v2 migration, unrelated dependency upgrades, or global local-machine toolchain changes.

Validation

Review follow-up bf4d1b1f944f054fb0ea74a016a0494a48b4b316: Proxy configuration checks pass for HTTP and HTTPS targets and missing/empty endpoint handling. The other eight source-file changes are comments only; launch profiles and dependencies are unchanged. CI run 36948878306 is in progress.

Previous head 3a9e30f3296e00fd16b73e7a13644d3c93ab5811: CI run 36936290681 passed. Both Build & Test Samples jobs (Ubuntu and Windows), CI Gate, and license/cla passed for that revision. The branch includes the latest origin/main and is conflict-free.

The release-upgrade validation used fresh, isolated NuGet caches to avoid reusing staging packages with the same 13.6.0 version:

  • The official Windows installer produced CLI identity 13.6.0+56f3e9c0d216c0c7069dabb49dd0464e4827744f.
  • BasketService and the three terminal C# AppHosts built successfully; 11 Notes API tests passed.
  • Spring Petclinic and terminal TypeScript AppHosts restored and compiled against the released CLI/packages. Package metadata confirms NuGet.org restore provenance.
  • All 19 Aspire configurations parse without staging overrides, and root nuget.config exactly matches main.
  • Aspire.Cli 13.6.0 is available on the internal Azure mirror.

The initial merge-only CI run 36934621640 failed because the previous build-specific staging feed no longer contained the Aspire packages (HTTP 404). Migrating to the published release removes that dependency rather than bypassing restore checks.

Align SDK, hosting, client, testing, CLI and TypeScript pins with 13.6.0-preview.1.26474.10. Add the public Aspire feed, update required compatibility dependencies, and cover standalone service projects in the aggregate build.

Co-authored-by: Copilot App <[email protected]>
@IEvangelist
David Pine (IEvangelist) marked this pull request as ready for review September 25, 2026 21:02
Copilot AI lite review requested due to automatic review settings September 25, 2026 21:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The NuGet source mapping can allow Aspire packages to restore from NuGet.org instead of the required prerelease feed.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
What changed in this PR

Upgrades repository samples and tooling to Aspire 13.6.0-preview.1.26474.10.

Changes:

  • Updates Aspire SDK, package, CLI, and TypeScript versions.
  • Adds prerelease feed configuration and documentation.
  • Expands aggregate builds to validate standalone services.
File Summary
tests/​SamplesIntegrationTests/​SamplesIntegrationTests.csproj Updates integration-test dependencies.
samples/​volume-mount/​VolumeMount.MigrationService/​VolumeMount.MigrationService.csproj Updates SQL Server integration.
samples/​volume-mount/​VolumeMount.BlazorWeb/​VolumeMount.BlazorWeb.csproj Updates Azure and EF integrations.
samples/​volume-mount/​VolumeMount.AppHost/​VolumeMount.AppHost.csproj Updates AppHost dependencies.
samples/​vite-yarp-static/​aspire.config.json Updates TypeScript AppHost packages.
samples/​vite-react-fastapi/​aspire.config.json Updates TypeScript AppHost packages.
samples/​vite-csharp-postgres/​aspire.config.json Updates TypeScript AppHost packages.
samples/​vite-csharp-postgres/​api/​Api.csproj Updates Aspire and compatibility dependencies.
samples/​standalone-dashboard/​README.md Pins the 13.6 dashboard image.
samples/​rag-document-qa-svelte/​aspire.config.json Updates AppHost packages.
samples/​python-script/​aspire.config.json Updates Python AppHost packages.
samples/​python-openai-agent/​aspire.config.json Updates Python AppHost packages.
samples/​python-fastapi-postgres/​aspire.config.json Updates Python/PostgreSQL packages.
samples/​polyglot-task-queue/​worker-csharp/​worker-csharp.csproj Updates worker dependencies.
samples/​polyglot-task-queue/​aspire.config.json Updates AppHost packages.
samples/​orleans-voting/​OrleansVoting.Service/​OrleansVoting.Service.csproj Updates Redis integration.
samples/​orleans-voting/​OrleansVoting.AppHost/​OrleansVoting.AppHost.csproj Updates AppHost dependencies.
samples/​node-express-redis/​aspire.config.json Updates Node AppHost packages.
samples/​Metrics/​MetricsApp.AppHost/​MetricsApp.AppHost.csproj Updates AppHost dependencies.
samples/​maildev-mailkit/​README.md Documents the prerelease CLI.
samples/​maildev-mailkit/​MailDev.Hosting/​MailDev.Hosting.csproj Updates hosting dependencies.
samples/​maildev-mailkit/​CSharpAppHost/​CSharpAppHost.csproj Updates hosting dependencies.
samples/​maildev-mailkit/​aspire.config.json Updates TypeScript AppHost version.
samples/​image-gallery/​worker/​worker.csproj Updates Aspire and compatibility dependencies.
samples/​image-gallery/​apphost.cs Updates file-based AppHost packages.
samples/​image-gallery/​api/​api.csproj Updates Aspire and compatibility dependencies.
samples/​health-checks-ui/​HealthChecksUI.Web/​HealthChecksUI.Web.csproj Updates Redis integration.
samples/​health-checks-ui/​HealthChecksUI.AppHost/​HealthChecksUI.AppHost.csproj Updates AppHost dependencies.
samples/​golang-api/​aspire.config.json Updates Docker AppHost package.
samples/​database-migrations/​DatabaseMigrations.MigrationService/​DatabaseMigrations.MigrationService.csproj Updates SQL Server integration.
samples/​database-migrations/​DatabaseMigrations.AppHost/​DatabaseMigrations.AppHost.csproj Updates AppHost dependencies.
samples/​database-migrations/​DatabaseMigrations.ApiService/​DatabaseMigrations.ApiService.csproj Updates SQL Server integration.
samples/​database-containers/​DatabaseContainers.AppHost/​DatabaseContainers.AppHost.csproj Updates AppHost dependencies.
samples/​database-containers/​DatabaseContainers.ApiService/​DatabaseContainers.ApiService.csproj Updates database integrations.
samples/​custom-resources/​CustomResources.AppHost/​CustomResources.AppHost.csproj Updates AppHost dependencies.
samples/​container-build/​apphost.cs Updates the file-based AppHost SDK.
samples/​client-apps-integration/​ClientAppsIntegration.AppHost/​ClientAppsIntegration.AppHost.csproj Updates AppHost dependencies.
samples/​aspire-with-python/​apphost.cs Updates file-based AppHost packages.
samples/​aspire-with-node/​aspire.config.json Updates Node AppHost packages.
samples/​aspire-with-javascript/​AspireJavaScript.AppHost/​AspireJavaScript.AppHost.csproj Updates JavaScript hosting packages.
samples/​aspire-with-azure-functions/​ImageGallery.AppHost/​ImageGallery.AppHost.csproj Updates the AppHost SDK.
samples/​aspire-with-azure-functions/​Directory.Packages.props Updates centrally managed packages.
samples/​aspire-shop/​AspireShop.CatalogDbManager/​AspireShop.CatalogDbManager.csproj Updates PostgreSQL integration.
samples/​aspire-shop/​AspireShop.CatalogDb/​AspireShop.CatalogDb.csproj Updates PostgreSQL integration.
samples/​aspire-shop/​AspireShop.BasketService/​AspireShop.BasketService.csproj Updates Redis integration.
samples/​aspire-shop/​AspireShop.AppHost/​AspireShop.AppHost.csproj Updates AppHost dependencies.
README.md Documents the prerelease setup.
nuget.config Adds prerelease feed mapping; the wildcard mapping requires correction.
build/​Build.proj Adds standalone services to aggregate builds.
.github/​workflows/​ci.yml Pins the CI CLI version.
.devcontainer/​devcontainer.json Pins the Dev Container CLI version.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread nuget.config Resolved
Use 13.6.0 packages from the commit-specific DARC feed and verify the matching immutable CLI archives across contributor, CI, and devcontainer installs.

Co-authored-by: Copilot App <[email protected]>
Retry curl partial-transfer failures with bounded network timeouts. Verified recovery using a local HTTP response truncated before its declared Content-Length.

Co-authored-by: Copilot App <[email protected]>
* Add C# and TypeScript terminal basics samples with Slumber

Demonstrate interactive REST requests and authenticated Redis REPL sessions with standalone notes APIs, Vim-enabled Slumber containers, and walkthroughs.

Co-authored-by: Copilot App <[email protected]>

* Add terminal automation and custom docked SQL REPL samples

Co-authored-by: Copilot App <[email protected]>

* Confirm terminal automation restart and report completion

Highlight the walkthrough action to avoid stale console overflow menu state in the pinned dashboard.

Co-authored-by: Copilot App <[email protected]>

* Rebase terminal samples onto 13.6 upgrade and document compatibility blocker

Isolate sample NuGet source mappings from the new parent configuration and clarify the Node.js prerequisite. Preserve working terminal pins because the published 13.6 build lacks Redis REPL APIs.

Co-authored-by: Copilot App <[email protected]>

* Align terminal samples with the staged Aspire 13.6 build

Pin the build-specific DARC feed for NuGet and CLI restores, retain Redis REPL support, and use the repository's matching staged installer.

Co-authored-by: Copilot App <[email protected]>

---------

Co-authored-by: Copilot App <[email protected]>
* Add Spring Petclinic Java sample

Add a TypeScript AppHost sample that orchestrates an Angular frontend, Spring Boot REST API, and PostgreSQL using the official Aspire Java integration. Extend CI to install Java 21 and validate the Maven project.

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

Copilot-Session: 55618b2d-c097-401c-912c-7066bd177cc7

* Add Spring Petclinic screenshot

Show the running Angular frontend at the top of the sample README.

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

Copilot-Session: 55618b2d-c097-401c-912c-7066bd177cc7

* Update Petclinic preview package feed

Pin the CLI, SDK, and integrations to the current coherent preview build and route daily CLI restores through the live staging aggregate feed.

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

Copilot-Session: 55618b2d-c097-401c-912c-7066bd177cc7

* Add Scalar and OpenTelemetry to Spring Petclinic

Preserve the Angular and Petclinic features while adding generated API documentation, a dashboard reference link, and a Maven-provisioned Java agent. Cover the existing API contracts and documentation with regression tests.

Co-authored-by: Copilot App <[email protected]>

---------

Co-authored-by: David Pine <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 55618b2d-c097-401c-912c-7066bd177cc7
Keep the contributor NuGet mapping unchanged. Align the incoming internal build with the pinned Aspire 13.6 staging CLI and route Aspire packages through its Azure DARC feed while retaining the approved mirror for other dependencies.

Co-authored-by: Copilot App <[email protected]>
Set the pinned CLI's NuGet service-index override only for internal builds. Verified a fresh TypeScript SDK restore downloaded all 97 packages from the Azure staging feed or mirror, with no NuGet.org package fallback.

Co-authored-by: Copilot App <[email protected]>
Bumps Grpc.AspNetCore from 2.83.0 to 2.84.0
Bumps Grpc.AspNetCore.HealthChecks from 2.83.0 to 2.84.0
Bumps Grpc.HealthCheck from 2.83.0 to 2.84.0
Bumps Grpc.Net.ClientFactory from 2.83.0 to 2.84.0

---
updated-dependencies:
- dependency-name: Grpc.AspNetCore
  dependency-version: 2.84.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: grpc
- dependency-name: Grpc.AspNetCore.HealthChecks
  dependency-version: 2.84.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: grpc
- dependency-name: Grpc.HealthCheck
  dependency-version: 2.84.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: grpc
- dependency-name: Grpc.Net.ClientFactory
  dependency-version: 2.84.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: grpc
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Mitch Denny (mitchdenny) added a commit to microsoft/aspire.dev that referenced this pull request Sep 29, 2026
## Summary

<!-- Describe what this pull request changes and why. -->

Related to #1663. Targets `release/13.6`.

- Add an overview and focused guides for resource terminals, ephemeral
terminals, terminal interactions, programmatic automation, and tape
playback. Keep them in Dashboard navigation under **Terminal features
(Preview)**, preserving the existing resource-terminal URL and
redirecting moved guides.
- Explain terminal authoring with focused sample excerpts and link to
complete terminal samples. Keep the tape walkthrough Bash-only, explain
text recordings and `Source`, and clarify ownership and Docker exec
cleanup.
- Consolidate the six integration REPL sections into one TypeScript/C#
example per guide, retaining both sets of anchors and
integration-specific connection and safety guidance.
- Reconcile the latest release branch, retaining both terminal-security
and cookie-scoping sections. Remove obsolete CLI feature-flag
instructions, duplicated Redis/TUI walkthroughs, and unused screenshots.

### Publication dependencies

This remains a draft for Aspire 13.6.

- The sample links use their intended `main` paths as requested. On
September 29, microsoft/aspire-samples#1980 was still open and
`samples/terminals` was not on `main`. Merge that sample PR before
publishing these docs. Sample excerpts were checked against PR head
`749fed3693d397081753c2ec2539c155dd88155f`.
- `https://aka.ms/aspire/dashboard-terminals` still redirects to Bing;
authorized provisioning is needed before release.
- Refresh generated API metadata as part of the release checklist. REPL
snippets deliberately omit `twoslash` while the catalog lacks the
complete surface; this does not block the editorial merge.

## Third-party links and affiliations

<!--
List any third-party links added or changed by this pull request and
disclose any
material affiliation with the linked organizations, such as employment,
sponsorship, or ownership. Write "None" if this pull request doesn't add
or
change third-party links.
-->

Links to the Charmbracelet VHS syntax reference, `mitchdenny/hex1b`
compatibility documentation, and a Docker/Moby issue. The Hex1b
repository is hosted under the PR author's GitHub account. No
affiliation with Charmbracelet or Docker/Moby has been declared. Source
and sample links point to `microsoft/aspire` and
`microsoft/aspire-samples`.

## Validation

<!-- List the checks you ran or explain why validation isn't needed. -->

September 29 release reconciliation (`ff7839b6`):

- Merged `release/13.6` at `5589ce6d`, resolved the security-doc
conflict, and consolidated six auto-merged duplicate REPL sections.
- Rendered all six integration guides: exactly one REPL section each,
both fragment IDs retained, and TypeScript/C# tabs working.
- Rendered nine terminal, security, and CLI routes. Confirmed both
security sections remain, repeated walkthroughs are gone, and current
guides no longer require the obsolete feature flag. Tape playback fits a
390px viewport without page overflow.
- Verified unconditional terminal/tape command registration against
current Aspire release source.
- Two-slash block gate: 1 file / 2 tests passed. `git diff --check`
passed.
- Used a separate preview because the pre-existing dev server returned
HTTP 500 after the release merge; did not restart the user's shared
server.

Earlier editorial/source review confirmed the rqlite excerpts, all six
`WithRepl` methods and TypeScript exports, Dashboard topic continuity,
and the section-level Preview badge. This was not a fresh runtime
execution of every example.

Earlier matching-staging runtime validation used isolated Aspire CLI
`13.6.0+34db30a7d3733229da64a403dfc4e4e4d7a1a43b` and matching packages:

- C# and TypeScript Redis REPLs returned `PONG`; C# clean exit and
reopening passed.
- Shell smoke tape returned `ASPIRE_TAPE_ready`; headless automation
returned `Received:hello`; number guessing completed with `Found 7 in 6
guesses.`
- Other database clients, Podman, Windows, and live authentication were
not runtime-tested.
- Owned test AppHosts were stopped. Pre-existing generated icon-cache
changes are excluded from commits.

No local production build; CI covers production build and broader site
checks.

Fixes: #1663

---------

Co-authored-by: Mitch Denny <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Mitch Denny <[email protected]>
dependabot Bot and others added 13 commits September 29, 2026 17:26
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 8.0.3 to 8.3.0.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/main/CHANGELOG.md)
- [Commits](webpack/webpack-dev-middleware@v8.0.3...v8.3.0)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-version: 8.3.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…tes (#1969)

Bumps the react-core group with 2 updates in the /samples/aspire-with-javascript/AspireJavaScript.React directory: [react](https://github.com/react/react/tree/HEAD/packages/react) and [react-dom](https://github.com/react/react/tree/HEAD/packages/react-dom).


Updates `react` from 19.2.8 to 19.3.0
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.3.0/packages/react)

Updates `react-dom` from 19.2.8 to 19.3.0
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.3.0/packages/react-dom)

---
updated-dependencies:
- dependency-name: react
  dependency-version: 19.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: react-core
- dependency-name: react-dom
  dependency-version: 19.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: react-core
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Upgrade gRPC-Go to v1.83.2 and refresh required transitive dependencies and module checksums.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ef2c3723-005d-41b3-9a76-38d81a242d4d
Bumps the vite-tooling group in /samples/aspire-with-javascript/AspireJavaScript.Vite with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [eslint](https://github.com/eslint/eslint).


Updates `@types/node` from 26.6.1 to 26.6.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 10.10.0 to 10.11.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v10.10.0...v10.11.0)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.6.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vite-tooling
- dependency-name: eslint
  dependency-version: 10.11.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vite-tooling
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1995)

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.9 to 5.0.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v5.0.9...v5.0.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.9 to 5.0.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v5.0.9...v5.0.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.9 to 5.0.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v5.0.9...v5.0.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…2001)

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.9 to 5.0.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v5.0.9...v5.0.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…nd (#2002)

Bumps  and [brace-expansion](https://github.com/juliangruber/brace-expansion). These dependencies needed to be updated together.

Updates `brace-expansion` from 1.1.18 to 1.1.21
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v1.1.18...v1.1.21)

Updates `brace-expansion` from 2.1.4 to 2.1.7
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v1.1.18...v1.1.21)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.21
  dependency-type: indirect
- dependency-name: brace-expansion
  dependency-version: 2.1.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…2003)

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 2.1.4 to 2.1.7.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v2.1.4...v2.1.7)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 2.1.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.9 to 5.0.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v5.0.9...v5.0.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.9 to 5.0.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v5.0.9...v5.0.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Preserve main's gRPC 2.84.0 updates alongside the Aspire 13.6.0 staging upgrade.

Co-authored-by: Copilot App <[email protected]>
Replace the retired staging feed and installer with the official release setup. Preserve the internal Azure mirror, update the Java integration to its accompanying published preview, and remove obsolete terminal flags and staging documentation.

Co-authored-by: Copilot App <[email protected]>
@DamianEdwards Damian Edwards (DamianEdwards) changed the title Upgrade all samples to Aspire 13.6 prerelease Upgrade all samples to Aspire 13.6.0 Oct 1, 2026
Comment thread README.md Resolved
Comment thread README.md Resolved
@DamianEdwards

Copy link
Copy Markdown
Member

Security review: suggested changes for the new samples

I reviewed the five new samples at 3a9e30f3296e00fd16b73e7a13644d3c93ab5811: Spring Petclinic and the four terminal samples. These are trusted local-development examples, not production templates. No high-confidence exploitable vulnerabilities were identified in that intended use. The main recommendations are to remove one unnecessary unsafe setting and make deliberate security simplifications explicit in both the relevant code comments and each sample's README.

# Severity File Lines Vulnerability Confidence
— — — — No high-confidence exploitable vulnerabilities identified in the reviewed scope —

Suggested changes

  1. Remove the unnecessary TLS-verification bypass. In samples/spring-petclinic/frontend/proxy.conf.cjs:7–12, remove secure: false. The current AppHost supplies an HTTP target, so the setting has no effect today, but it would disable upstream certificate verification if the target changed to HTTPS. There is no reason to teach that unsafe default here.

  2. Petclinic: explain the demo boundary in code and complete the README. Add concise comments near the resource/endpoint declarations in samples/spring-petclinic/apphost.mts:6–21,28–34 and the public routes in api/src/main/java/com/microsoft/aspire/samples/petclinic/PetclinicController.java:19–20,39–75. Extend the README's security notes to cover HTTP, the Angular development server's 0.0.0.0 listener, disposable database storage, and automatic Hibernate schema updates, in addition to the existing authentication warning. Suggested wording:

    Trusted local demo only: these HTTP endpoints have no application authentication or transport encryption. Anyone who can reach the API can read all owner records and create owners. Do not publicly expose or forward these endpoints; the Angular development server listens on all interfaces. Use synthetic data only. The sample database is disposable and Hibernate automatically updates its schema.

  3. Both basic terminal samples: add the missing inline counterparts to the existing README warnings. Add comments beside the resources/routes in samples/terminals/basics-csharp/apphost.cs:8–18, api/Program.cs:28–61, and samples/terminals/basics-typescript/apphost.mts:5–18, api/src/app.ts:27–76. Both READMEs already explain the unauthenticated HTTP APIs, privileged Redis REPL, disposable storage, and scoped cleanup. The corresponding code should make the same boundary apparent when copied independently:

    Local demonstration only: the HTTP notes API has no authentication and permits reading, replacing, and deleting every demo note. Use disposable, non-sensitive data. Keep the dashboard restricted to trusted users: its Redis REPL provides authenticated datastore access. Redis intentionally has no persistent volume.

  4. C# basics: distinguish the optional HTTP control-plane profile from the sample API's HTTP traffic. samples/terminals/basics-csharp/apphost.run.json:16–26 also enables unencrypted local dashboard, telemetry, and resource-service connections. Explain this in the README and an adjacent AppHost comment:

    The optional HTTP profile also uses unencrypted local dashboard, telemetry, and resource-service connections. Keep these loopback endpoints private; do not expose or forward this profile to untrusted networks.

    This is not a finding that dashboard authentication is disabled.

  5. Automation: document its inherited HTTP and Redis REPL risks locally. Add a comment near samples/terminals/automation-csharp/apphost.cs:14–23 and extend that sample's own README, rather than relying only on its sibling's documentation:

    This sample uses an unauthenticated HTTP API and disposable Redis data. Keep its endpoints and dashboard private to trusted users; the Redis REPL grants authenticated database access.

    The restart/reset behavior is already appropriately constrained and documented: interactive use confirms first, cancellation is handled, deletion targets only the reserved automation note, and the README explains the explicit noninteractive confirmation bypass. No broader reset change is suggested.

  6. Docked rqlite: add an inline warning and clarify the separate HTTP API boundary. Add concise comments near samples/terminals/docked-repl-csharp/apphost.cs:23–28,38–56. Its README already covers missing authentication/TLS, disposable storage, and SQL privileges; clarify that protecting the dashboard does not protect the database API:

    Demo-only database: authentication, TLS, and persistent storage are intentionally omitted. Anyone reaching its HTTP API can execute database operations; dashboard authentication does not protect that API. The SQL REPL grants database-modification privileges. Keep both interfaces private to trusted users and use disposable data only.

The disclosure items above are documentation gaps, not demonstrated exploits. They do not call for adding production authentication, deployment infrastructure, or blanket hardening to these samples. Comments can be split and shortened at the relevant code locations rather than repeating a large warning everywhere.

Existing safeguards and review limits

The review found appropriate safeguards: JPA repository operations rather than concatenated SQL, escaped Angular interpolation, fixed-key typed Redis operations, orchestration-provided URLs and container IDs, separate process arguments rather than shell-string construction, checksum-verified Slumber downloads with a non-root runtime, and a read-only automation request mount.

This was a static review with limited non-destructive in-memory checks, not live penetration testing. No files were changed and no builds, containers, or external probes were run as part of this review. The PR's green CI is separate evidence, not proof of terminal-security coverage. The root test solution does not include the C# Notes tests, and JavaScript validation builds but does not run the TypeScript Notes tests.

Remove the unnecessary Petclinic proxy TLS bypass, clarify local-demo boundaries in code and READMEs, and trim staging and internal-feed details from the root README.

Co-authored-by: Copilot App <[email protected]>
@IEvangelist

Copy link
Copy Markdown
Member Author

Addressed all six suggestions from the sample-safety feedback in bf4d1b1:

  • Removed secure: false from the Petclinic proxy so HTTPS targets retain default certificate verification.
  • Added Petclinic resource/route comments and README guidance covering unauthenticated HTTP, the all-interface Angular listener, synthetic owner data, disposable storage, and Hibernate schema updates.
  • Added inline safety comments to both basic terminal AppHosts and notes APIs, with matching README wording about note access, disposable data, and privileged Redis REPL access.
  • Documented the optional C# HTTP profile's unencrypted dashboard, telemetry, and resource-service connections, explicitly distinguishing that from disabling dashboard authentication.
  • Made the automation sample's inherited unauthenticated HTTP and Redis REPL risks explicit in its own AppHost and README.
  • Added rqlite resource/REPL comments and clarified that dashboard authentication does not protect the separate database HTTP API.

The only executable-code change is removing the proxy's TLS bypass; the other source changes are comments. Dependency pins, launch profiles, and automation restart/reset behavior are unchanged. The two root README comments are also addressed in this commit.

@IEvangelist
David Pine (IEvangelist) enabled auto-merge (squash) October 2, 2026 01:06
@IEvangelist
David Pine (IEvangelist) merged commit f48a266 into main Oct 2, 2026
4 checks passed
@IEvangelist
David Pine (IEvangelist) deleted the ievangelist-aspire-13-6-upgrade branch October 2, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants