Add --include-hidden support to aspire describe#16036
Draft
Conversation
1 task
Agent-Logs-Url: https://github.com/microsoft/aspire/sessions/96f31bec-f57d-4861-8792-cd1728fef918 Co-authored-by: davidfowl <95136+davidfowl@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/aspire/sessions/96f31bec-f57d-4861-8792-cd1728fef918 Co-authored-by: davidfowl <95136+davidfowl@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/aspire/sessions/96f31bec-f57d-4861-8792-cd1728fef918 Co-authored-by: davidfowl <95136+davidfowl@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/aspire/sessions/96f31bec-f57d-4861-8792-cd1728fef918 Co-authored-by: davidfowl <95136+davidfowl@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add --include-hidden option to aspire describe
Add Apr 10, 2026
--include-hidden support to aspire describe
davidfowl
reviewed
Apr 10, 2026
| /// <param name="cancellationToken">A cancellation token.</param> | ||
| /// <returns>An async enumerable of resource snapshots as they change.</returns> | ||
| public IAsyncEnumerable<ResourceSnapshot> WatchResourceSnapshotsAsync([EnumeratorCancellation] CancellationToken cancellationToken = default) | ||
| public IAsyncEnumerable<ResourceSnapshot> WatchResourceSnapshotsAsync(CancellationToken cancellationToken = default) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
aspire describeonly returned visible resources, so hidden resources such as the dashboard could not be listed from the CLI. This change adds an opt-in path that mirrors the dashboard’s “Show hidden resources” behavior.CLI surface
--include-hiddentoaspire describeBackchannel contract
IncludeHiddenflagdescribethrough the request-object-based v2 resource APIs instead of adding new positional backchannel methodsServer-side filtering
Coverage
--include-hiddenis specifiedExample:
Checklist
<remarks />and<code />elements on your triple slash comments?aspire.devissue:Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
centralus-2.in.applicationinsights.azure.com/home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Cli/Debug/net10.0/aspire /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Cli/Debug/net10.0/aspire new aspire-empty -n HiddenDescribeApp -o /tmp/aspire-include-hidden-verify --non-interactive --nologo(dns block)/home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Cli/Debug/net10.0/aspire /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Cli/Debug/net10.0/aspire run --non-interactive --apphost /tmp/aspire-include-hidden-verify/apphost.cs --log-file /home/REDACTED/.aspire/logs/cli_20260410T082119438_detach-child_1e19f98a5d0649f4b2ffad8dccb60aff.log ep/bin/linux-x64/rg(dns block)/home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Cli/Debug/net10.0/aspire /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Cli/Debug/net10.0/aspire start --apphost /tmp/aspire-include-hidden-verify/apphost.cs --format json --non-interactive --nologo(dns block)dnceng.pkgs.visualstudio.com/usr/share/dotnet/dotnet dotnet test tests/Aspire.Cli.Tests/Aspire.Cli.Tests.csproj -- --filter-method *.DescribeCommand_* --filter-not-trait quarantined=true --filter-not-trait outerloop=true(dns block)/home/REDACTED/work/aspire/aspire/.dotnet/dotnet /home/REDACTED/work/aspire/aspire/.dotnet/dotnet exec /home/REDACTED/work/aspire/aspire/.dotnet/sdk/10.0.201/NuGet.CommandLine.XPlat.dll package search Aspire.Cli --take:1000 --skip:0 --prerelease --format:json(dns block)/home/REDACTED/work/aspire/aspire/.dotnet/dotnet /home/REDACTED/work/aspire/aspire/.dotnet/dotnet exec /home/REDACTED/work/aspire/aspire/.dotnet/sdk/10.0.201/NuGet.CommandLine.XPlat.dll package search Aspire.ProjectTemplates --take:1000 --skip:0 --format:json(dns block)If you need me to access, download, or install something from one of these locations, you can either: