Skip to content

Show configuration source repositories and Git acquisition progress - #21982

Merged
James Newton-King (JamesNK) merged 6 commits into
mainfrom
config-source-git-fetch-ux
Nov 10, 2026
Merged

James Newton-King (JamesNK) merged 6 commits into
mainfrom
config-source-git-fetch-ux

Conversation

@JamesNK

Copy link
Copy Markdown
Member

Description

Git configuration-source acquisition currently shows a generic fetching notice without identifying the repository or displaying progress. This makes it harder to tell which repository the CLI is contacting or whether acquisition is still running.

This change:

  • Identifies the configuration repository in the fetch notice, matching Git template acquisition.
  • Shows the existing status UI while acquiring and validating the configuration source, without repeating it for in-memory cache hits or adding output to background version checks.
  • Moves the shared from {1} wording into the parent fetch messages, using separate content and repository arguments instead of nested resource formatting.
  • Updates localized resources, console snapshots, regression tests, and the configuration-source specification.

User-facing usage

When a Git configuration source is configured, users can accept it with:

aspire new --use-config-source

The relevant message text now identifies the repository before acquisition:

Fetching configuration source from https://git.example/configuration using Git. Git may prompt you to authenticate.

The acquisition status reads Fetching configuration source using Git.... The fetch notice retains its blue styling and stderr routing, and the existing display redaction and markup escaping are reused.

Screenshots / Recordings

This PR includes UI changes. Please add screenshots or screen recordings so reviewers can evaluate the visual changes without running locally.

  • For before/after comparisons, place them side-by-side or label them clearly.
  • For interactive changes (animations, transitions, new flows), prefer a short screen recording (GIF or video).
  • If you cannot capture visuals now, note what scenario to test and mark this section as TODO.

TODO: Add a terminal recording of aspire new --use-config-source with a configured Git source, showing the repository notice and acquisition spinner. No live terminal recording was captured on this Windows host; the message text is covered by console snapshots.

Validation

Localization regeneration:

.\dotnet.cmd build src\Aspire.Cli\Aspire.Cli.csproj --configuration Release --no-restore -t:UpdateXlf -p:SkipNativeBuild=true

Passed: 0 warnings, 0 errors.

Focused CLI regression tests:

.\dotnet.cmd test --project tests\Aspire.Cli.Tests\Aspire.Cli.Tests.csproj --configuration Release --no-restore --no-launch-profile -p:SkipNativeBuild=true -- --filter-class '*.ConfigSourceServiceTests' --filter-class '*.ConsoleInteractionServiceTests' --filter-class '*.TemplateEngineFactoryGitTests' --filter-class '*.NewCommandLocalTemplateTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true'

Passed: 937 tests passed, 2 skipped, 0 failed. Both commands were run with MSBUILDTERMINALLOGGER=false. The test build reported an existing NU1903 advisory for Microsoft.DotNet.ILCompiler; dependencies are unchanged.

Fixes # (issue)

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • 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
    • 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
    • No

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 21982

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 21982"

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.

🔵 Needs a closer look

Only unit tests were reported, leaving the live spinner’s effect on Git prompt visibility and credential input unverified by the existing New_GitAuthenticationPromptReceivesTerminalInput E2E test.

No open issues 🎉

7 files not reviewed
  • src/Aspire.Cli/Resources/DoctorCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/SecretCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/SharedCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/TrayCommandStrings.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/ControlsStrings.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/Layout.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file
What changed in this PR

This PR makes Git configuration-source acquisition more visible in the Aspire CLI by identifying the repository and showing a status indicator, while preserving quiet cache hits and background version checks.

Changes:

  • Adds redacted repository URLs to configuration-source fetch notices and wraps acquisition in the existing status UI.
  • Consolidates shared fetch-message formatting and updates localization resources.
  • Updates regression tests, console snapshots, and the configuration-source specification.
File Description
tests/​Aspire.Cli.Tests/​Snapshots/​ConsoleInteractionServiceTests.ConfigSource_RendersFetchNotice_interactive=True.verified.txt Records interactive repository notice and status text.
tests/​Aspire.Cli.Tests/​Snapshots/​ConsoleInteractionServiceTests.ConfigSource_RendersFetchNotice_interactive=False.verified.txt Records non-interactive repository notice and status text.
tests/​Aspire.Cli.Tests/​Interaction/​ConsoleInteractionServiceTests.cs Updates expected template fetch-message formatting.
tests/​Aspire.Cli.Tests/​Configuration/​ConfigSourceServiceTests.cs Covers repository notices, status ordering, escaping, and quiet cache hits.
tests/​Aspire.Cli.Tests/​Commands/​NewCommandLocalTemplateTests.cs Updates expected repository-template notices.
tests/​Aspire.Cli.Tests/​Commands/​NewCommandLocalTemplateTests.ConfiguredGitSources.cs Aligns configured-source assertions with shared formatting.
src/​Aspire.Dashboard/​Resources/​ControlsStrings.Designer.cs Incidental regeneration changes formatting, comments, and constructor accessibility.
src/​Aspire.Cli/​Utils/​ConsoleHelpers.cs Formats fetch notices with separate content and repository arguments.
src/​Aspire.Cli/​Resources/​xlf/​SharedCommandStrings.zh-Hant.xlf Synchronizes Traditional Chinese localization entries.
src/​Aspire.Cli/​Resources/​xlf/​SharedCommandStrings.zh-Hans.xlf Synchronizes Simplified Chinese localization entries.
src/​Aspire.Cli/​Resources/​xlf/​SharedCommandStrings.tr.xlf Synchronizes Turkish localization entries.
src/​Aspire.Cli/​Resources/​xlf/​SharedCommandStrings.ru.xlf Synchronizes Russian localization entries.
src/​Aspire.Cli/​Resources/​xlf/​SharedCommandStrings.pt-BR.xlf Synchronizes Brazilian Portuguese localization entries.
src/​Aspire.Cli/​Resources/​xlf/​SharedCommandStrings.pl.xlf Synchronizes Polish localization entries.
src/​Aspire.Cli/​Resources/​xlf/​SharedCommandStrings.ko.xlf Synchronizes Korean localization entries.
src/​Aspire.Cli/​Resources/​xlf/​SharedCommandStrings.ja.xlf Synchronizes Japanese localization entries.
src/​Aspire.Cli/​Resources/​xlf/​SharedCommandStrings.it.xlf Synchronizes Italian localization entries.
src/​Aspire.Cli/​Resources/​xlf/​SharedCommandStrings.fr.xlf Synchronizes French localization entries.
src/​Aspire.Cli/​Resources/​xlf/​SharedCommandStrings.es.xlf Synchronizes Spanish localization entries.
src/​Aspire.Cli/​Resources/​xlf/​SharedCommandStrings.de.xlf Synchronizes German localization entries.
src/​Aspire.Cli/​Resources/​xlf/​SharedCommandStrings.cs.xlf Synchronizes Czech localization entries.
src/​Aspire.Cli/​Resources/​TrayCommandStrings.Designer.cs Refreshes generated comments, ordering, and whitespace; lookup behavior is unchanged.
src/​Aspire.Cli/​Resources/​SharedCommandStrings.resx Adds repository placeholders and a separate acquisition-status message.
src/​Aspire.Cli/​Resources/​SharedCommandStrings.Designer.cs Synchronizes accessors with the revised shared resources.
src/​Aspire.Cli/​Resources/​SecretCommandStrings.Designer.cs Refreshes generated documentation and whitespace.
src/​Aspire.Cli/​Resources/​NewCommandStrings.Designer.cs Contains incidental generated whitespace changes.
src/​Aspire.Cli/​Resources/​InitCommandStrings.Designer.cs Contains incidental generated whitespace changes.
src/​Aspire.Cli/​Resources/​DoctorCommandStrings.Designer.cs Refreshes generated comment formatting and whitespace.
src/​Aspire.Cli/​Resources/​ConfigSourceStrings.Designer.cs Contains incidental generated whitespace changes.
src/​Aspire.Cli/​Resources/​AgentCommandStrings.Designer.cs Contains incidental generated whitespace changes.
src/​Aspire.Cli/​Resources/​AddCommandStrings.Designer.cs Contains an incidental generated whitespace change.
src/​Aspire.Cli/​Configuration/​ConfigSourceService.cs Displays the redacted repository and acquisition status.
docs/​specs/​cli-config-sources.md Documents repository notices, status display, redaction, and quiet paths.

Review effort: Balanced

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

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.

🟡 Changes recommended

The spinner can erase Git or SSH authentication prompts in interactive terminals, leaving the subprocess waiting for input without a visible prompt.

1 open issue
7 files not reviewed
  • src/Aspire.Cli/Resources/DoctorCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/SecretCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/SharedCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/TrayCommandStrings.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/ControlsStrings.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/Layout.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file

Review effort: Balanced

@github-actions

This comment has been minimized.

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.

🔵 Needs a closer look

Interactive validation is needed to confirm that the live spinner preserves Git authentication-prompt visibility and terminal input, which fake-based tests and non-ANSI snapshots do not establish.

1 open issue
7 files not reviewed
  • src/Aspire.Cli/Resources/DoctorCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/SecretCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/SharedCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/TrayCommandStrings.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/ControlsStrings.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/Layout.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file

Review effort: Balanced

@github-actions

This comment has been minimized.

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.

🟡 Changes recommended

The PR title, description, and recording TODO still promise acquisition progress spinners, contradicting the intentional no-spinner behavior needed to keep authentication prompts visible.

1 open issue
1 resolved since last review
8 files not reviewed
  • src/Aspire.Cli/Resources/DoctorCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/NewCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/SecretCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/SharedCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/TrayCommandStrings.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/ControlsStrings.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/Layout.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file

Review effort: Balanced

@github-actions

This comment has been minimized.

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.

🔵 Needs a closer look

The advertised Git acquisition spinner conflicts with the implementation and tests, which intentionally show no status indicators, leaving the PR claims and behavior misaligned.

1 open issue
8 files not reviewed
  • src/Aspire.Cli/Resources/DoctorCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/NewCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/SecretCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/SharedCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/TrayCommandStrings.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/ControlsStrings.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/Layout.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file

Review effort: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

Tests selector

16 / 101 PR test projects · 5 PR jobs, from 63 changed files.

Selected PR test projects (16 / 101)

Aspire.Cli.EndToEnd.Tests, Aspire.Cli.Tests, Aspire.Dashboard.Components.Tests, Aspire.Dashboard.Tests, Aspire.Hosting.Azure.Kubernetes.Tests, Aspire.Hosting.Azure.Tests, Aspire.Hosting.Blazor.Tests, Aspire.Hosting.Dotnet.Tests, Aspire.Hosting.DotnetTool.Tests, Aspire.Hosting.JavaScript.Tests, Aspire.Hosting.Radius.Tests, Aspire.Hosting.Testing.Tests, Aspire.Hosting.Tests, Aspire.Playground.Tests, Aspire.Templates.Tests, Infrastructure.Tests

Selected PR jobs (5)

cli-starter-validation, extension-e2e, native-dashboard-validation, polyglot, typescript-api-compat


How these were chosen — grouped by what changed

⚠️ 12 of the 16 selected test projects come from a single change — src/Aspire.Dashboard/Resources/ControlsStrings.Designer.cs.

🔧 src/Aspire.Dashboard/Resources/ControlsStrings.Designer.cs (changed source)
→ 12 via the project graph: Aspire.Dashboard.Components.Tests, Aspire.Dashboard.Tests, Aspire.Hosting.Azure.Kubernetes.Tests (3 hops), Aspire.Hosting.Azure.Tests (2 hops), Aspire.Hosting.Blazor.Tests (2 hops), Aspire.Hosting.Dotnet.Tests (2 hops), Aspire.Hosting.DotnetTool.Tests (2 hops), Aspire.Hosting.JavaScript.Tests, Aspire.Hosting.Radius.Tests (2 hops), Aspire.Hosting.Testing.Tests, Aspire.Hosting.Tests, Aspire.Playground.Tests (2 hops)

📦 affected project Aspire.Cli
→ 1 test: Aspire.Cli.EndToEnd.Tests

📦 affected project Aspire.Dashboard
→ 1 test: Aspire.Templates.Tests

🔧 src/Aspire.Cli/Resources/AddCommandStrings.Designer.cs (changed source)
→ 1 via the project graph: Aspire.Cli.EndToEnd.Tests

🔧 src/Aspire.Cli/Resources/NewCommandStrings.resx (changed source)
→ 1 directly: Infrastructure.Tests

🔧 src/Aspire.Cli/Resources/SharedCommandStrings.resx (changed source)
→ 1 directly: Infrastructure.Tests

🧪 tests/Aspire.Cli.Tests/Commands/AddCommandTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Commands/AgentInitCommandTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Commands/ConfigSourceCommandTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Commands/NewCommandLocalTemplateTests.ConfiguredGitSources.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Commands/NewCommandLocalTemplateTests.SourceListGit.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Commands/NewCommandLocalTemplateTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Configuration/ConfigSourceServiceTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Interaction/ConsoleInteractionServiceTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.ConfigSource_RendersFetchNotice_interactive=False.verified.txt (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.ConfigSource_RendersFetchNotice_interactive=True.verified.txt (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Snapshots/NewCommandLocalTemplateTests.ConfiguredGitSources_MixedSearchSelectsGitTemplateAndShowsAcquisitionStages.verified.txt (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Snapshots/NewCommandLocalTemplateTests.ConfiguredGitSources_MixedSearchSelectsGitTemplateWithoutAcquisitionStatus.verified.txt (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Templating/TemplateEngineFactoryGitTests.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

🧪 tests/Aspire.Cli.Tests/Utils/CliTestHelper.cs (changed test)
→ 1 directly: Aspire.Cli.Tests

Job reasons

Job Triggered by
cli-starter-validation affected project Aspire.Cli
extension-e2e • src/Aspire.Cli/Commands/AddCommand.cs, src/Aspire.Cli/Commands/AgentInitCommand.cs, src/Aspire.Cli/Commands/NewCommand.cs, src/Aspire.Cli/Configuration/ConfigSourceService.cs, src/Aspire.Cli/Resources/AddCommandStrings.Designer.cs, src/Aspire.Cli/Resources/AgentCommandStrings.Designer.cs, src/Aspire.Cli/Resources/ConfigSourceStrings.Designer.cs, src/Aspire.Cli/Resources/DoctorCommandStrings.Designer.cs, src/Aspire.Cli/Resources/InitCommandStrings.Designer.cs, src/Aspire.Cli/Resources/NewCommandStrings.Designer.cs, src/Aspire.Cli/Resources/NewCommandStrings.resx, src/Aspire.Cli/Resources/SecretCommandStrings.Designer.cs, src/Aspire.Cli/Resources/SharedCommandStrings.Designer.cs, src/Aspire.Cli/Resources/SharedCommandStrings.resx, src/Aspire.Cli/Resources/TrayCommandStrings.Designer.cs, src/Aspire.Cli/Resources/xlf/NewCommandStrings.cs.xlf, src/Aspire.Cli/Resources/xlf/NewCommandStrings.de.xlf, src/Aspire.Cli/Resources/xlf/NewCommandStrings.es.xlf, src/Aspire.Cli/Resources/xlf/NewCommandStrings.fr.xlf, src/Aspire.Cli/Resources/xlf/NewCommandStrings.it.xlf, src/Aspire.Cli/Resources/xlf/NewCommandStrings.ja.xlf, src/Aspire.Cli/Resources/xlf/NewCommandStrings.ko.xlf, src/Aspire.Cli/Resources/xlf/NewCommandStrings.pl.xlf, src/Aspire.Cli/Resources/xlf/NewCommandStrings.pt-BR.xlf, src/Aspire.Cli/Resources/xlf/NewCommandStrings.ru.xlf, src/Aspire.Cli/Resources/xlf/NewCommandStrings.tr.xlf, src/Aspire.Cli/Resources/xlf/NewCommandStrings.zh-Hans.xlf, src/Aspire.Cli/Resources/xlf/NewCommandStrings.zh-Hant.xlf, src/Aspire.Cli/Resources/xlf/SharedCommandStrings.cs.xlf, src/Aspire.Cli/Resources/xlf/SharedCommandStrings.de.xlf, src/Aspire.Cli/Resources/xlf/SharedCommandStrings.es.xlf, src/Aspire.Cli/Resources/xlf/SharedCommandStrings.fr.xlf, src/Aspire.Cli/Resources/xlf/SharedCommandStrings.it.xlf, src/Aspire.Cli/Resources/xlf/SharedCommandStrings.ja.xlf, src/Aspire.Cli/Resources/xlf/SharedCommandStrings.ko.xlf, src/Aspire.Cli/Resources/xlf/SharedCommandStrings.pl.xlf, src/Aspire.Cli/Resources/xlf/SharedCommandStrings.pt-BR.xlf, src/Aspire.Cli/Resources/xlf/SharedCommandStrings.ru.xlf, src/Aspire.Cli/Resources/xlf/SharedCommandStrings.tr.xlf, src/Aspire.Cli/Resources/xlf/SharedCommandStrings.zh-Hans.xlf, src/Aspire.Cli/Resources/xlf/SharedCommandStrings.zh-Hant.xlf, src/Aspire.Cli/Templating/TemplateEngineFactory.cs, src/Aspire.Cli/Utils/ConsoleHelpers.cs, src/Aspire.Dashboard/Resources/ControlsStrings.Designer.cs, src/Aspire.Dashboard/Resources/Dialogs.Designer.cs, src/Aspire.Dashboard/Resources/Layout.Designer.cs, src/Aspire.Dashboard/Resources/Resources.Designer.cs
• affected project Aspire.Cli
native-dashboard-validation affected project Aspire.Dashboard
polyglot affected project Aspire.Cli
typescript-api-compat affected project Aspire.Cli

Selection computed for commit 64005e8.

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.

🔵 Needs a closer look

The PR description promises a Git acquisition spinner, but the implementation and tests intentionally omit status UI, so the description and recording instructions need to match the delivered behavior.

No open issues 🎉

1 resolved since last review
8 files not reviewed
  • src/Aspire.Cli/Resources/DoctorCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/NewCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/SecretCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/SharedCommandStrings.Designer.cs: Generated file
  • src/Aspire.Cli/Resources/TrayCommandStrings.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/ControlsStrings.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/Layout.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file

Review effort: Balanced

@JamesNK
James Newton-King (JamesNK) merged commit 7f897ad into main Nov 10, 2026
288 checks passed
@microsoft-github-policy-service microsoft-github-policy-service Bot added this to the 17.1 milestone Nov 10, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Pull request created: #2097

Generated by PR Documentation Check · copilot · auto · 30.1 AIC · ⌖ 1.16 AIC · ⊞ 7.4K

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

📝 Documentation has been drafted in microsoft/aspire.dev#2097 targeting release/17.0.

Added --use-config-source and the Git configuration-source fetch notice (now naming the repository) to aspire-new.mdx. Signals: cli_command_file_changed (NewCommand.cs), cli_resource_strings_changed (SharedCommandStrings.resx), pr_body_has_cli_flag_mention, pr_body_has_user_facing_section, diff_scan_skipped_due_to_missing_patch. The option wasn't documented anywhere in the docs.

Note

This draft PR needs human review before merging.

Jose Perez Rodriguez (joperezr) pushed a commit that referenced this pull request Nov 11, 2026
## Description

Backport five merged CLI changes to `release/17.0` so users can identify
configured content sources, understand agent setup results, and see
acquisition progress without routine Git output clutter.

Cherry-picked in order:

1. #21831 (`db62c35564`) - Show repository and ref in template picker
group headings.
2. #21883 (`2fefac5abe`) - Clarify source and skill summaries in `aspire
agent init`.
3. #21855 (`4954c76a62`) - Unify CLI source onboarding, presentation,
and selection.
4. #21852 (`575c3bc76b`) - Quiet routine Git acquisition output.
5. #21982 (`7f897adec4`) - Show configuration source repositories and
Git acquisition progress.

The first four cherry-picks applied cleanly. The fifth conflicted in
four dashboard resource designer files; those changes were excluded by
retaining the release branch's versions. This PR contains no dashboard
changes and no additional prerequisite commits.

### User-facing usage

With configuration and template sources configured, run:

```shell
aspire new --use-config-source
```

The CLI identifies source repositories, shows acquisition progress, and
includes repository/ref information in template-source headings.

```shell
aspire agent init
```

The setup summary separates configured remote sources from installed
skills and identifies their agent-specific locations.

### Screenshots / Recordings

> **This PR includes UI changes.** Please add screenshots or screen
recordings so reviewers can evaluate the visual changes without running
locally.
>
> - For before/after comparisons, place them side-by-side or label them
clearly.
> - For interactive changes (animations, transitions, new flows), prefer
a short screen recording (GIF or video).
> - If you cannot capture visuals now, note what scenario to test and
mark this section as TODO.

TODO: Capture the template-source picker, configuration-source
acquisition progress, and `aspire agent init` source/skill summaries. No
screenshots or recordings were captured for this backport.

<!-- Add screenshots/recordings here -->

### Validation

Focused CLI tests using the repository's existing .NET SDK
(`11.0.100-rc.2.26504.105`):

```powershell
dotnet test --project tests\Aspire.Cli.Tests\Aspire.Cli.Tests.csproj --no-launch-profile -- --filter-class '*.ConfigSourceServiceGitTests' --filter-class '*.ConfigSourceServiceTests' --filter-class '*.ConfigSourceCommandTests' --filter-class '*.AgentInitCommandTests' --filter-class '*.AgentInitClientSelectionTests' --filter-class '*.GitClientTests' --filter-class '*.GitCommandRunnerTests' --filter-class '*.ConsoleInteractionServiceTests' --filter-class '*.NewCommandLocalTemplateTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true'
```

**Passed:** 1,453 succeeded, 2 skipped, 0 failed.

The build emitted the existing NU1903 advisory for the pinned
`Microsoft.DotNet.ILCompiler` package. This PR does not change
dependency versions.

Verified that the branch contains exactly five commits on top of
`release/17.0`, that the cherry-picked patches match the originals apart
from the excluded dashboard files, and that the backport worktree is
clean. CLI E2E tests and live interactive scenarios were not run.

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: Mitch Denny <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Ella Hathaway <[email protected]>
Copilot-Session: a47a61ad-c59b-4674-8e74-e493bff49b02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants