Skip to content

Address deferred review feedback for the modern dashboard - #21766

Merged
Sébastien Ros (sebastienros) merged 20 commits into
mainfrom
sebros/dashboard-review-tracking-issue-f03a30
Nov 10, 2026
Merged

Sébastien Ros (sebastienros) merged 20 commits into
mainfrom
sebros/dashboard-review-tracking-issue-f03a30

Conversation

@sebastienros

@sebastienros Sébastien Ros (sebastienros) commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Description

Addresses the review feedback from #21412 (Modernize the dashboard experience) that was deferred to the tracking issue #21421. Each item was checked against the current code first. Item 17 was already fixed, and every other item is addressed here. The design questions are answered in a comment below.

Fixes #21421

Items Change
1, 3, 6 Replaces WithDashboardPosition with WithDisplayOrder, backed by its own DisplayOrderAnnotation and transported as resource.displayOrder. Like ResourceUrlAnnotation.DisplayOrder, it's a relative sort key: higher values appear first and resources without one count as 0. The API isn't in a release yet. Polyglot snapshots and AppHosts are updated.
2 Keeps traits as resource properties, as decided in the review, and corrects the comment that described them.
4 Moves tag validation out of the TraitAnnotation constructor into WithTrait, which WithTags goes through. An int parameter covers display order validation.
5 Replaces unresolved_parameter_names with a generic related_resource_names on the notification message, keeping field number 5. The dashboard offers to show the related resources in place of the primary button, and the parameter form still accepts the notification.
7 Restores the CircularBuffer removal checks under #if DEBUG, for buffers up to 1,024 items, so large console log buffers don't bring back the CPU cost.
8, 20 Recordings don't mount a live terminal. The missing-parameters form is read-only for recordings and doesn't accept the live AppHost's prompt.
9 ParameterOverview and MissingParametersPanel edit their own copy of the shared command inputs.
10 Keeps generated input names when a prompt has a dynamically loaded input, because callbacks can read AllInputs regardless of DependsOnInputs. Names that aren't unique are still renamed, because the prompt can't be shown otherwise, and every other input keeps its name. Each prompt input also carries the parameter it is for (InteractionInput.related_resource_name), and the parameter form matches inputs by that field rather than by name. A generated name can then match another, already resolved parameter without the form editing the wrong input.
11, 19 The inline form forwards UpdateStateOnChange. Without an active interaction, its file button runs the set-parameter command.
12 Sums delta counter observations per bucket. Repeated delta numbers are no longer merged at ingestion, because that lost their times, and the SQLite rollup now sums them by observation time instead of keeping the largest, without overflowing. Delta numbers are selected by their end, so one that arrives out of order isn't lost. Rollups and chart totals stay finite without depending on the order of the values, so a sum too large for a double no longer stops the chart from rendering, and chart intervals compare times in nanoseconds like the rollup query. Cloning metric values keeps their count, and delta counter cards show the latest change.
13 Preserves negative levels. The main metrics chart shares this calculation, so it's corrected too.
14, 15 A recording's activity window ends at its last request, or its last error log if it has no requests, and has its own labels. In the summary layout, the live window now refreshes every 30 seconds.
16 Scopes the overview's pending refresh flag to the selection, and queues a refresh after console filter changes cancel one. Adds an internal TelemetryRefreshDelayAsync seam so a test can hold a refresh open.
18 Ctrl-click after "select all" no longer adds a resource kind that's switched off.
21, 22 Display orders come from the requesting run rather than the store, and moves use the displayed tie-break.
23 Localizes the trace back button. main has since localized the activity and insights strings, so this PR only adds the recording-specific ones.

Validation

  • Aspire.Dashboard.Tests: 2,655 passed
  • Aspire.Dashboard.Components.Tests: 1,384 passed, after merging main
  • Aspire.Hosting.Tests, limited to the trait, parameter processor, dashboard service and interaction service test classes: 257 passed
  • Code generation tests for TypeScript, Python, Go, Java and Rust: 412 passed, before the last review fixes, which didn't change exported API
  • TestShop.AppHost builds

The regression tests for items 14, 15 and 16 were checked by temporarily undoing each fix and confirming they failed.

Not covered: the polyglot AppHosts were renamed but not run, and nothing was checked in a browser.

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. Not needed for WithDisplayOrder and DisplayOrderAnnotation, as decided in the review.
      • 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

Fixes the review feedback on the modern dashboard experience that was
deferred to the tracking issue.

Recordings: don't mount a live terminal, keep the missing-parameters form
read-only and away from the live AppHost's prompt, and end the activity
window at the recording's last request.

Parameters: give each editor its own copy of the shared command inputs,
forward UpdateStateOnChange from the inline form, set files through the
set-parameter command when there's no interaction, and keep generated input
names when a prompt has a dynamically loaded input.

Metrics: sum delta counter observations per bucket, retain them through the
SQLite rollup, and preserve negative levels.

Dashboard: scope default positions to the requesting run, use the displayed
tie-break when moving resources, respect enabled resource kinds when
toggling from "select all", refresh the moving activity window, scope the
overview's pending refresh to the selection, and localize hardcoded strings.

Hosting: replace WithDashboardPosition with WithDisplayPosition and its own
annotation, and move tag validation to WithTags.

Also restores the CircularBuffer removal checks in Debug for small buffers.
@sebastienros

Sébastien Ros (sebastienros) commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor Author

Open questions (resolved)

All questions are answered, so nothing on this PR is waiting for a decision.

1. Should traits keep using resource properties? (item 2)
Yes. Traits stay as resource.trait.<name> properties. The inaccurate backwards-compatibility comment is corrected.

2. What should replace unresolved_parameter_names? (item 5)
A generic related_resource_names field, in 7642d1f. It names the resources the notification is about and keeps field number 5, and the field hadn't shipped in a release. The dashboard offers to show the related resources in place of the primary button, and showing them doesn't answer the notification. The parameter form still accepts it once it shows every parameter (proto).

3. Is keeping generated names acceptable for item 10?
Yes. Generated names are kept when a prompt has a dynamically loaded input, and only names that aren't unique are renamed.

4. Is a capacity limit the right compromise for CircularBuffer? (item 7)
Yes. The removal checks run in Debug for buffers up to 1,024 items.

5. Is it fine for the display position to be hidden by default? (item 6)
Yes. It appears under "show all" in resource details.

6. Does WithDisplayPosition need an API review?
No.

@github-actions

github-actions Bot commented Nov 4, 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 -- 21766

Or

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

@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

Chart calculations undercount recent activity when start timestamps are omitted and produce artificial bucket dips and spikes from floating-point rounding, with targeted regression coverage still missing.

4 open issues
2 files not reviewed
  • src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/TraceDetail.Designer.cs: Generated file
What changed in this PR

Addresses deferred feedback from #21412, improving correctness and isolation in the modern dashboard while leaving the two design questions in #21421 open.

Changes:

  • Replaces dashboard-specific positioning with WithDisplayPosition and run-scoped defaults.
  • Fixes recording isolation, parameter editing, telemetry calculations, refresh scheduling, and resource selection.
  • Adds regression tests, updates polyglot consumers and snapshots, and expands localization resources.
File Description
tests/​PolyglotAppHosts/​Aspire.Hosting/​TypeScript/​apphost.mts Uses the renamed display-position API.
tests/​PolyglotAppHosts/​Aspire.Hosting/​Python/​apphost.py Uses the renamed display-position API.
tests/​PolyglotAppHosts/​Aspire.Hosting/​Java/​AppHost.java Uses the renamed display-position API.
tests/​PolyglotAppHosts/​Aspire.Hosting/​Go/​apphost.go Uses the renamed display-position API.
tests/​Aspire.Hosting.Tests/​ResourceTraitBuilderTests.cs Tests tag validation and position annotations.
tests/​Aspire.Hosting.Tests/​Orchestrator/​ParameterProcessorTests.cs Checks dynamic-input name preservation.
tests/​Aspire.Hosting.CodeGeneration.TypeScript.Tests/​Snapshots/​HostingContainerResourceCapabilities.verified.txt Updates exported capability names.
tests/​Aspire.Hosting.CodeGeneration.Python.Tests/​Snapshots/​TwoPassScanningGeneratedAspire.verified.py Updates generated positioning methods and options.
tests/​Aspire.Hosting.CodeGeneration.Java.Tests/​Snapshots/​TwoPassScanningGeneratedAspire.verified.java Updates generated positioning methods.
tests/​Aspire.Dashboard.Tests/​TelemetryRepositoryTests/​MetricsTests.cs Checks delta observations survive rollup.
tests/​Aspire.Dashboard.Tests/​Model/​ResourceOrderStoreTests.cs Tests run-specific defaults and reorder tie-breaking.
tests/​Aspire.Dashboard.Tests/​ChartDataCalculatorTests.cs Tests delta totals and negative levels.
tests/​Aspire.Dashboard.Components.Tests/​Pages/​ResourceOverviewTerminalTests.cs Checks recordings do not mount terminals.
tests/​Aspire.Dashboard.Components.Tests/​Layout/​ResourcesLayoutTests.cs Tests selection respects disabled resource kinds.
tests/​Aspire.Dashboard.Components.Tests/​Controls/​ResourceDetailsTests.cs Removes the obsolete position-trait expectation.
tests/​Aspire.Dashboard.Components.Tests/​Controls/​MissingParametersPanelTests.cs Tests editor isolation, read-only state, and callbacks.
src/​Shared/​Model/​KnownProperties.cs Defines the display-position property.
src/​Shared/​CircularBuffer.cs Restores bounded Debug removal checks.
src/​Aspire.Hosting/​ResourceTraitBuilderExtensions.cs Moves tag validation and replaces the positioning API.
src/​Aspire.Hosting/​Orchestrator/​ParameterProcessor.cs Preserves names when inputs load dynamically.
src/​Aspire.Hosting/​ApplicationModel/​TraitAnnotation.cs Removes dashboard-specific validation.
src/​Aspire.Hosting/​ApplicationModel/​ResourceTraitSnapshotProperties.cs Emits display position separately from traits.
src/​Aspire.Hosting/​ApplicationModel/​DisplayPositionAnnotation.cs Adds the dedicated position annotation.
src/​Aspire.Dashboard/​Resources/​xlf/​TraceDetail.zh-Hant.xlf Adds trace-navigation localization entries.
src/​Aspire.Dashboard/​Resources/​xlf/​TraceDetail.zh-Hans.xlf Adds trace-navigation localization entries.
src/​Aspire.Dashboard/​Resources/​xlf/​TraceDetail.tr.xlf Adds trace-navigation localization entries.
src/​Aspire.Dashboard/​Resources/​xlf/​TraceDetail.ru.xlf Adds trace-navigation localization entries.
src/​Aspire.Dashboard/​Resources/​xlf/​TraceDetail.pt-BR.xlf Adds trace-navigation localization entries.
src/​Aspire.Dashboard/​Resources/​xlf/​TraceDetail.pl.xlf Adds trace-navigation localization entries.
src/​Aspire.Dashboard/​Resources/​xlf/​TraceDetail.ko.xlf Adds trace-navigation localization entries.
src/​Aspire.Dashboard/​Resources/​xlf/​TraceDetail.ja.xlf Adds trace-navigation localization entries.
src/​Aspire.Dashboard/​Resources/​xlf/​TraceDetail.it.xlf Adds trace-navigation localization entries.
src/​Aspire.Dashboard/​Resources/​xlf/​TraceDetail.fr.xlf Adds trace-navigation localization entries.
src/​Aspire.Dashboard/​Resources/​xlf/​TraceDetail.es.xlf Adds trace-navigation localization entries.
src/​Aspire.Dashboard/​Resources/​xlf/​TraceDetail.de.xlf Adds trace-navigation localization entries.
src/​Aspire.Dashboard/​Resources/​xlf/​TraceDetail.cs.xlf Adds trace-navigation localization entries.
src/​Aspire.Dashboard/​Resources/​xlf/​Resources.zh-Hant.xlf Adds activity, insights, and position entries.
src/​Aspire.Dashboard/​Resources/​xlf/​Resources.zh-Hans.xlf Adds activity, insights, and position entries.
src/​Aspire.Dashboard/​Resources/​xlf/​Resources.tr.xlf Adds activity, insights, and position entries.
src/​Aspire.Dashboard/​Resources/​xlf/​Resources.ru.xlf Adds activity, insights, and position entries.
src/​Aspire.Dashboard/​Resources/​xlf/​Resources.pt-BR.xlf Adds activity, insights, and position entries.
src/​Aspire.Dashboard/​Resources/​xlf/​Resources.pl.xlf Adds activity, insights, and position entries.
src/​Aspire.Dashboard/​Resources/​xlf/​Resources.ko.xlf Adds activity, insights, and position entries.
src/​Aspire.Dashboard/​Resources/​xlf/​Resources.ja.xlf Adds activity, insights, and position entries.
src/​Aspire.Dashboard/​Resources/​xlf/​Resources.it.xlf Adds activity, insights, and position entries.
src/​Aspire.Dashboard/​Resources/​xlf/​Resources.fr.xlf Adds activity, insights, and position entries.
src/​Aspire.Dashboard/​Resources/​xlf/​Resources.es.xlf Adds activity, insights, and position entries.
src/​Aspire.Dashboard/​Resources/​xlf/​Resources.de.xlf Adds activity, insights, and position entries.
src/​Aspire.Dashboard/​Resources/​xlf/​Resources.cs.xlf Adds activity, insights, and position entries.
src/​Aspire.Dashboard/​Resources/​TraceDetail.resx Defines trace-navigation strings.
src/​Aspire.Dashboard/​Resources/​TraceDetail.Designer.cs Exposes trace-navigation resource accessors.
src/​Aspire.Dashboard/​Resources/​Resources.resx Defines activity, insights, and position strings.
src/​Aspire.Dashboard/​Otlp/​Storage/​SqliteTelemetryRepository.Metrics.Reads.cs Retains delta numbers and maps their exemplars.
src/​Aspire.Dashboard/​Model/​ResourceViewModel.cs Reads and labels display positions.
src/​Aspire.Dashboard/​Model/​ResourceOrderStore.cs Scopes defaults to callers and aligns reorder tie-breaking.
src/​Aspire.Dashboard/​Components/​Pages/​TraceDetail.razor Localizes the back-to-traces button.
src/​Aspire.Dashboard/​Components/​Pages/​ResourceOverview.razor.cs Guards terminals and scopes pending refresh state.
src/​Aspire.Dashboard/​Components/​Pages/​ResourceOverview.razor Applies recording-aware terminal visibility.
src/​Aspire.Dashboard/​Components/​Layout/​ResourcesLayout.razor.cs Supplies run defaults and respects kind toggles.
src/​Aspire.Dashboard/​Components/​Controls/​ParameterOverview.razor.cs Clones shared command inputs for editing.
src/​Aspire.Dashboard/​Components/​Controls/​MissingParametersPanel.razor.cs Isolates editors and handles read-only runs and input updates.
src/​Aspire.Dashboard/​Components/​Controls/​MissingParametersPanel.razor Wires change callbacks and file-command buttons.
src/​Aspire.Dashboard/​Components/​Controls/​Chart/​ChartDataCalculator.cs Sums delta observations and preserves negative levels.
src/​Aspire.Dashboard/​Components/​Controls/​ApplicationSummary.razor.cs Anchors recorded activity and refreshes live windows.
playground/​TestShop/​TestShop.AppHost/​AppHost.cs Uses the renamed display-position API.
docs/​specs/​dashboard-persistence.md Documents the new positioning model.

Review effort: Balanced

Metrics: keep Count when cloning metric values so repeated delta exports
survive chart refreshes, sum delta numbers within a rollup rather than
retaining every row so long windows stay bounded, and show a delta counter
card's latest change rather than its largest export.

Parameters: rename generated input names that aren't unique even when the
prompt has a dynamically loaded input, because the prompt can't be shown
otherwise. Don't let a failed in-progress update take down the circuit.
Validate reserved dashboard tags in WithTrait as well as WithTags.

Activity: anchor a recording without requests on its last error log, exclude
error logs after the window, hide the axis when a recording has no requests,
and only refresh the moving window in the layout that shows it.
@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 parameter-name collision fallback can rename unrelated unique inputs, causing dynamic callbacks to fail and blocking parameter resolution.

7 open issues
1 previously missed issue

In code that hasn't changed since last review

Low severity Test live activity expiry and refresh shutdown on disposal

src/​Aspire.Dashboard/​Components/​Controls/​ApplicationSummary.razor.cs:905

The added activity tests only cover recordings; neither exercises this live periodic refresh. Please add a component regression test that stops telemetry, advances a controllable TimeProvider beyond the activity window, and verifies that the request count, error rate and latency expire without another telemetry event. Also verify that disposing the component stops refreshes. Otherwise the stale “last 15 min” behavior can return while all the new tests still pass.

2 files not reviewed
  • src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/TraceDetail.Designer.cs: Generated file

Review effort: Balanced

Stop merging repeated delta numbers at ingestion. Each one is a separate
change at its own time, and a merged value only kept the last time, so
exports without a start time were placed in the distant past and bucket
interpolation could round into artificial dips and spikes. Chart intervals
now attribute each export to the time it was observed, and a rollup always
sums its delta numbers.

Add regression tests for the activity window aging out, skipping periodic
refreshes in other layouts and after disposal, a quiet replacement resource
loading while the previous refresh is held, and console filter changes.
@github-actions

This comment has been minimized.

When a prompt with a dynamically loaded input has duplicate generated names,
rename only those inputs and give them a free name if their parameter's name
is taken, so load callbacks can still read every other input.

Filter the activity window's error logs by time in the query, before the
limit, so errors after a recording's last request can't use up the limit and
hide the ones in the window.

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

Unresolved defects can misbucket delta metrics or fail on large values, omit in-window error logs, and break callbacks by renaming unique input keys.

1 open issue
3 previously missed issues

In code that hasn't changed since last review

Medium severity Apply the activity window before limiting error logs

src/​Aspire.Dashboard/​Components/​Controls/​ApplicationSummary.razor.cs:474

The query selects the latest 500 error logs from the entire recording before applying the activity window. If 500 errors occur after the window ending near the last request, they are all discarded here and earlier in-window errors never reach Error hotspots. Apply timestamp filters before paging, and select the latest matching logs within that window.

Medium severity Delta rollups misattribute observations across chart bucket boundaries

src/​Aspire.Dashboard/​Otlp/​Storage/​SqliteTelemetryRepository.Metrics.Reads.cs:84

Numeric delta rollups combine observations by interval start, then TryCalculateDeltaPoint assigns their entire sum to the latest end time. For example, exports of 4 over (9.5s, 9.9s] and 6 over (9.9s, 10.1s] share a 1-second rollup, so adjacent 10-second chart buckets show null and 10 instead of 4 and 6. Preserve individual observation times or aggregate against the actual chart boundaries, and add a repository-to-calculator regression spanning a boundary.

Medium severity Collision fallback renames unique callback-visible inputs

src/​Aspire.Hosting/​Orchestrator/​ParameterProcessor.cs:548

The collision fallback renames unrelated unique inputs, so dynamic callbacks can still lose their lookup keys. With parameter/input pairs regionParam/Region, Zone/Value, otherParam/Value, and zoneParam/Zone, resolving the duplicate Value names triggers this fallback and renames Region, breaking a callback reading AllInputs["Region"]. Assign collision-free names only to conflicting inputs while preserving unique callback-visible names, and add a regression that executes the callback.

7 resolved since last review
2 files not reviewed
  • src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/TraceDetail.Designer.cs: Generated file

Review effort: Balanced

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 integer SUM can overflow on valid metric observations, causing GetInstrumentAsync to fail instead of returning chart data even when the total is representable as a finite double.

1 open issue
2 files not reviewed
  • src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/TraceDetail.Designer.cs: Generated file

Review effort: Balanced

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

…ew-tracking-issue-f03a30

# Conflicts:
#	src/Aspire.Dashboard/Components/Controls/ApplicationSummary.razor
#	src/Aspire.Dashboard/Components/Controls/ApplicationSummary.razor.cs
#	src/Aspire.Dashboard/Resources/xlf/Resources.cs.xlf
#	src/Aspire.Dashboard/Resources/xlf/Resources.de.xlf
#	src/Aspire.Dashboard/Resources/xlf/Resources.es.xlf
#	src/Aspire.Dashboard/Resources/xlf/Resources.fr.xlf
#	src/Aspire.Dashboard/Resources/xlf/Resources.it.xlf
#	src/Aspire.Dashboard/Resources/xlf/Resources.ja.xlf
#	src/Aspire.Dashboard/Resources/xlf/Resources.ko.xlf
#	src/Aspire.Dashboard/Resources/xlf/Resources.pl.xlf
#	src/Aspire.Dashboard/Resources/xlf/Resources.pt-BR.xlf
#	src/Aspire.Dashboard/Resources/xlf/Resources.ru.xlf
#	src/Aspire.Dashboard/Resources/xlf/Resources.tr.xlf
#	src/Aspire.Dashboard/Resources/xlf/Resources.zh-Hans.xlf
#	src/Aspire.Dashboard/Resources/xlf/Resources.zh-Hant.xlf
#	tests/Aspire.Dashboard.Components.Tests/Controls/ApplicationSummaryTests.cs
SQLite's integer SUM throws when integers overflow, which stopped an
instrument's charts and cards loading if the delta values in one rollup were
large enough. Only run it when the magnitudes can't reach the integer range,
and return a larger sum as a double point. Sums in range stay exact.

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

Numeric delta rollups can make observations disappear from paused windows and move sparse exports into incorrect chart buckets.

2 open issues
1 resolved since last review
2 files not reviewed
  • src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/TraceDetail.Designer.cs: Generated file

Review effort: Balanced

@github-actions

This comment has been minimized.

@aspire-repo-bot
aspire-repo-bot Bot requested a balanced review from Copilot November 4, 2026 23:22
…ew-tracking-issue-f03a30

# Conflicts:
#	tests/Aspire.Hosting.CodeGeneration.Go.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.go
@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 reported checks did not exercise recording read-only terminal/parameter behavior or inline file/dynamic-input workflows in a browser, leaving those paths unverified.

No open issues 🎉

2 files not reviewed
  • src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/TraceDetail.Designer.cs: Generated file

Review effort: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@github-actions

Copy link
Copy Markdown
Contributor

Tests selector

56 / 101 PR test projects · 5 PR jobs, from 87 changed files.

Selected PR test projects (56 / 101)

Aspire.Cli.EndToEnd.Tests, Aspire.Cli.Tests, Aspire.Dashboard.Components.Tests, Aspire.Dashboard.Tests, Aspire.Hosting.Analyzers.Tests, Aspire.Hosting.Azure.EntraId.Tests, Aspire.Hosting.Azure.Kubernetes.Tests, Aspire.Hosting.Azure.Kusto.Tests, Aspire.Hosting.Azure.Provisioning.Tests, Aspire.Hosting.Azure.Tests, Aspire.Hosting.Blazor.Tests, Aspire.Hosting.Browsers.Tests, Aspire.Hosting.CodeGeneration.Go.Tests, Aspire.Hosting.CodeGeneration.Java.Tests, Aspire.Hosting.CodeGeneration.Python.Tests, Aspire.Hosting.CodeGeneration.Rust.Tests, Aspire.Hosting.CodeGeneration.TypeScript.Tests, Aspire.Hosting.Containers.Tests, Aspire.Hosting.DevTunnels.Tests, Aspire.Hosting.Docker.Tests, Aspire.Hosting.Dotnet.Tests, Aspire.Hosting.DotnetTool.Tests, Aspire.Hosting.EntityFrameworkCore.Tests, Aspire.Hosting.Foundry.Tests, Aspire.Hosting.Garnet.Tests, Aspire.Hosting.Go.Tests, Aspire.Hosting.Java.Tests, Aspire.Hosting.JavaScript.Tests, Aspire.Hosting.Kafka.Tests, Aspire.Hosting.Keycloak.Tests, Aspire.Hosting.Kubernetes.Tests, Aspire.Hosting.Maui.Tests, Aspire.Hosting.Milvus.Tests, Aspire.Hosting.MongoDB.Tests, Aspire.Hosting.MySql.Tests, Aspire.Hosting.Nats.Tests, Aspire.Hosting.OpenAI.Tests, Aspire.Hosting.Oracle.Tests, Aspire.Hosting.Orleans.Tests, Aspire.Hosting.PostgreSQL.Tests, Aspire.Hosting.Python.Tests, Aspire.Hosting.Qdrant.Tests, Aspire.Hosting.RabbitMQ.Tests, Aspire.Hosting.Radius.Tests, Aspire.Hosting.Redis.Tests, Aspire.Hosting.RemoteHost.Tests, Aspire.Hosting.Rust.Tests, Aspire.Hosting.Seq.Tests, Aspire.Hosting.SqlServer.Tests, Aspire.Hosting.Testing.Tests, Aspire.Hosting.Tests, Aspire.Hosting.Valkey.Tests, Aspire.Hosting.Yarp.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

⚠️ 35 of the 56 selected test projects come from a single change — src/Aspire.Hosting/ApplicationModel/DisplayOrderAnnotation.cs.

🔧 src/Aspire.Hosting/ApplicationModel/DisplayOrderAnnotation.cs (changed source)
→ 35 via the project graph

show 35

Aspire.Hosting.Analyzers.Tests (2 hops), Aspire.Hosting.Azure.EntraId.Tests (2 hops), Aspire.Hosting.Azure.Kusto.Tests (2 hops), Aspire.Hosting.Azure.Provisioning.Tests (3 hops), Aspire.Hosting.Browsers.Tests (2 hops), Aspire.Hosting.Containers.Tests (2 hops), Aspire.Hosting.DevTunnels.Tests (2 hops), Aspire.Hosting.Docker.Tests (2 hops), Aspire.Hosting.EntityFrameworkCore.Tests (2 hops), Aspire.Hosting.Foundry.Tests (2 hops), Aspire.Hosting.Garnet.Tests (2 hops), Aspire.Hosting.Go.Tests (2 hops), Aspire.Hosting.Java.Tests (2 hops), Aspire.Hosting.Kafka.Tests (2 hops), Aspire.Hosting.Keycloak.Tests (2 hops), Aspire.Hosting.Kubernetes.Tests (2 hops), Aspire.Hosting.Maui.Tests, Aspire.Hosting.Milvus.Tests (2 hops), Aspire.Hosting.MongoDB.Tests (2 hops), Aspire.Hosting.MySql.Tests (2 hops), Aspire.Hosting.Nats.Tests (2 hops), Aspire.Hosting.OpenAI.Tests (2 hops), Aspire.Hosting.Oracle.Tests (2 hops), Aspire.Hosting.Orleans.Tests (2 hops), Aspire.Hosting.PostgreSQL.Tests (2 hops), Aspire.Hosting.Python.Tests (2 hops), Aspire.Hosting.Qdrant.Tests (2 hops), Aspire.Hosting.RabbitMQ.Tests (2 hops), Aspire.Hosting.Redis.Tests (2 hops), Aspire.Hosting.RemoteHost.Tests, Aspire.Hosting.Rust.Tests (2 hops), Aspire.Hosting.Seq.Tests (2 hops), Aspire.Hosting.SqlServer.Tests (2 hops), Aspire.Hosting.Valkey.Tests (2 hops), Aspire.Hosting.Yarp.Tests (2 hops)

🧪 tests/Aspire.Hosting.Tests/Dashboard/DashboardServiceTests.cs (changed test)
→ 1 directly: Aspire.Hosting.Tests
→ 3 via the project graph: Aspire.Hosting.Blazor.Tests, Aspire.Hosting.Dotnet.Tests, Aspire.Hosting.Radius.Tests

🔧 src/Aspire.Dashboard/Components/Controls/ApplicationSummary.razor (changed source)
→ 3 via the project graph: Aspire.Hosting.DotnetTool.Tests (2 hops), Aspire.Hosting.JavaScript.Tests, Aspire.Hosting.Testing.Tests

📦 affected project Aspire.Hosting.Dotnet
→ 2 tests: Aspire.Cli.EndToEnd.Tests, Aspire.Templates.Tests

🔧 src/Shared/Model/KnownProperties.cs (changed source)
→ 2 via the project graph: Aspire.Hosting.Azure.Kubernetes.Tests, Aspire.Hosting.Azure.Tests

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

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

📄 playground/TestShop/TestShop.AppHost/AppHost.cs (changed)
→ 1 directly: Aspire.Playground.Tests

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

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

🔧 src/Shared/CircularBuffer.cs (changed source)
→ 1 via the project graph: Aspire.Cli.Tests

🧪 tests/Aspire.Dashboard.Components.Tests/Controls/ApplicationSummaryTests.cs (changed test)
→ 1 directly: Aspire.Dashboard.Components.Tests

🧪 tests/Aspire.Dashboard.Components.Tests/Controls/MissingParametersPanelTests.cs (changed test)
→ 1 directly: Aspire.Dashboard.Components.Tests

🧪 tests/Aspire.Dashboard.Components.Tests/Controls/ResourceDetailsTests.cs (changed test)
→ 1 directly: Aspire.Dashboard.Components.Tests

🧪 tests/Aspire.Dashboard.Components.Tests/Interactions/InteractionsProviderTests.cs (changed test)
→ 1 directly: Aspire.Dashboard.Components.Tests

🧪 tests/Aspire.Dashboard.Components.Tests/Layout/ResourcesLayoutTests.cs (changed test)
→ 1 directly: Aspire.Dashboard.Components.Tests

🧪 tests/Aspire.Dashboard.Components.Tests/Pages/MetricsTests.cs (changed test)
→ 1 directly: Aspire.Dashboard.Components.Tests

🧪 tests/Aspire.Dashboard.Components.Tests/Pages/ResourceOverviewConsoleTests.cs (changed test)
→ 1 directly: Aspire.Dashboard.Components.Tests

🧪 tests/Aspire.Dashboard.Components.Tests/Pages/ResourceOverviewTerminalTests.cs (changed test)
→ 1 directly: Aspire.Dashboard.Components.Tests

🧪 tests/Aspire.Dashboard.Components.Tests/Shared/FluentUISetupHelpers.cs (changed test)
→ 1 directly: Aspire.Dashboard.Components.Tests

🧪 tests/Aspire.Dashboard.Tests/ChartDataCalculatorTests.cs (changed test)
→ 1 directly: Aspire.Dashboard.Tests

🧪 tests/Aspire.Dashboard.Tests/Model/ParameterInteractionStateTests.cs (changed test)
→ 1 directly: Aspire.Dashboard.Tests

🧪 tests/Aspire.Dashboard.Tests/Model/ResourceOrderStoreTests.cs (changed test)
→ 1 directly: Aspire.Dashboard.Tests

🧪 tests/Aspire.Dashboard.Tests/TelemetryRepositoryTests/MetricsTests.cs (changed test)
→ 1 directly: Aspire.Dashboard.Tests

🧪 tests/Aspire.Hosting.CodeGeneration.Go.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.go (changed test)
→ 1 directly: Aspire.Hosting.CodeGeneration.Go.Tests

🧪 tests/Aspire.Hosting.CodeGeneration.Java.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.java (changed test)
→ 1 directly: Aspire.Hosting.CodeGeneration.Java.Tests

🧪 tests/Aspire.Hosting.CodeGeneration.Python.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.py (changed test)
→ 1 directly: Aspire.Hosting.CodeGeneration.Python.Tests

🧪 tests/Aspire.Hosting.CodeGeneration.Rust.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.rs (changed test)
→ 1 directly: Aspire.Hosting.CodeGeneration.Rust.Tests

🧪 tests/Aspire.Hosting.CodeGeneration.TypeScript.Tests/Snapshots/HostingContainerResourceCapabilities.verified.txt (changed test)
→ 1 directly: Aspire.Hosting.CodeGeneration.TypeScript.Tests

🧪 tests/Aspire.Hosting.CodeGeneration.TypeScript.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.ts (changed test)
→ 1 directly: Aspire.Hosting.CodeGeneration.TypeScript.Tests

🧪 tests/Aspire.Hosting.Tests/Orchestrator/ParameterProcessorTests.cs (changed test)
→ 1 directly: Aspire.Hosting.Tests

🧪 tests/Aspire.Hosting.Tests/ResourceTraitBuilderTests.cs (changed test)
→ 1 directly: Aspire.Hosting.Tests

Job reasons

Job Triggered by
cli-starter-validation affected project Aspire.Cli
extension-e2e • src/Aspire.Dashboard/Components/Controls/ApplicationSummary.razor, src/Aspire.Dashboard/Components/Controls/ApplicationSummary.razor.cs, src/Aspire.Dashboard/Components/Controls/Chart/ChartDataCalculator.cs, src/Aspire.Dashboard/Components/Controls/Chart/LiveSparklinesBase.cs, src/Aspire.Dashboard/Components/Controls/Chart/MetricInstrumentDataCache.cs, src/Aspire.Dashboard/Components/Controls/MissingParametersPanel.razor, src/Aspire.Dashboard/Components/Controls/MissingParametersPanel.razor.cs, src/Aspire.Dashboard/Components/Controls/ParameterOverview.razor.cs, src/Aspire.Dashboard/Components/Interactions/InteractionsProvider.cs, src/Aspire.Dashboard/Components/Layout/ResourcesLayout.razor.cs, src/Aspire.Dashboard/Components/Pages/ResourceOverview.razor, src/Aspire.Dashboard/Components/Pages/ResourceOverview.razor.cs, src/Aspire.Dashboard/Components/Pages/TraceDetail.razor, src/Aspire.Dashboard/Model/ParameterInteractionState.cs, src/Aspire.Dashboard/Model/ResourceOrderStore.cs, src/Aspire.Dashboard/Model/ResourceViewModel.cs, src/Aspire.Dashboard/Otlp/Model/MetricValues/MetricValue.cs, src/Aspire.Dashboard/Otlp/Storage/SqliteTelemetryRepository.Metrics.Reads.cs, src/Aspire.Dashboard/Otlp/Storage/SqliteTelemetryRepository.Metrics.Writes.cs, src/Aspire.Dashboard/Resources/Resources.Designer.cs, src/Aspire.Dashboard/Resources/Resources.resx, src/Aspire.Dashboard/Resources/TraceDetail.Designer.cs, src/Aspire.Dashboard/Resources/TraceDetail.resx, src/Aspire.Dashboard/Resources/xlf/Resources.cs.xlf, src/Aspire.Dashboard/Resources/xlf/Resources.de.xlf, src/Aspire.Dashboard/Resources/xlf/Resources.es.xlf, src/Aspire.Dashboard/Resources/xlf/Resources.fr.xlf, src/Aspire.Dashboard/Resources/xlf/Resources.it.xlf, src/Aspire.Dashboard/Resources/xlf/Resources.ja.xlf, src/Aspire.Dashboard/Resources/xlf/Resources.ko.xlf, src/Aspire.Dashboard/Resources/xlf/Resources.pl.xlf, src/Aspire.Dashboard/Resources/xlf/Resources.pt-BR.xlf, src/Aspire.Dashboard/Resources/xlf/Resources.ru.xlf, src/Aspire.Dashboard/Resources/xlf/Resources.tr.xlf, src/Aspire.Dashboard/Resources/xlf/Resources.zh-Hans.xlf, src/Aspire.Dashboard/Resources/xlf/Resources.zh-Hant.xlf, src/Aspire.Dashboard/Resources/xlf/TraceDetail.cs.xlf, src/Aspire.Dashboard/Resources/xlf/TraceDetail.de.xlf, src/Aspire.Dashboard/Resources/xlf/TraceDetail.es.xlf, src/Aspire.Dashboard/Resources/xlf/TraceDetail.fr.xlf, src/Aspire.Dashboard/Resources/xlf/TraceDetail.it.xlf, src/Aspire.Dashboard/Resources/xlf/TraceDetail.ja.xlf, src/Aspire.Dashboard/Resources/xlf/TraceDetail.ko.xlf, src/Aspire.Dashboard/Resources/xlf/TraceDetail.pl.xlf, src/Aspire.Dashboard/Resources/xlf/TraceDetail.pt-BR.xlf, src/Aspire.Dashboard/Resources/xlf/TraceDetail.ru.xlf, src/Aspire.Dashboard/Resources/xlf/TraceDetail.tr.xlf, src/Aspire.Dashboard/Resources/xlf/TraceDetail.zh-Hans.xlf, src/Aspire.Dashboard/Resources/xlf/TraceDetail.zh-Hant.xlf, src/Aspire.Hosting/ApplicationModel/DisplayOrderAnnotation.cs, src/Aspire.Hosting/ApplicationModel/ResourceTraitSnapshotProperties.cs, src/Aspire.Hosting/ApplicationModel/TraitAnnotation.cs, src/Aspire.Hosting/Dashboard/DashboardService.cs, src/Aspire.Hosting/Dashboard/proto/dashboard_service.proto, src/Aspire.Hosting/IInteractionService.cs, src/Aspire.Hosting/InteractionService.cs, src/Aspire.Hosting/Orchestrator/ParameterProcessor.cs, src/Aspire.Hosting/ResourceTraitBuilderExtensions.cs
• affected project Aspire.Dashboard
native-dashboard-validation affected project Aspire.Dashboard
polyglot • tests/PolyglotAppHosts/Aspire.Hosting/Go/apphost.go, tests/PolyglotAppHosts/Aspire.Hosting/Java/AppHost.java, tests/PolyglotAppHosts/Aspire.Hosting/Python/apphost.py, tests/PolyglotAppHosts/Aspire.Hosting/TypeScript/apphost.mts
• affected project Aspire.Hosting
• affected project Aspire.Hosting.Azure.Provisioning
typescript-api-compat affected project Aspire.Hosting

Selection computed for commit 55a8253.

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

A component regression test is still needed to verify that a read-only panel neither accepts a pending notification nor claims its inputs interaction, since the existing disabled-controls test does not cover that guard.

1 open issue
2 files not reviewed
  • src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file
  • src/Aspire.Dashboard/Resources/TraceDetail.Designer.cs: Generated file

Review effort: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@sebastienros
Sébastien Ros (sebastienros) merged commit 727eaa7 into main Nov 10, 2026
722 of 726 checks passed
@sebastienros

Copy link
Copy Markdown
Contributor Author

/backport to release/17.0

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/17.0 (link to workflow run)

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Sébastien Ros (@sebastienros) backporting to release/17.0 failed, the patch most likely resulted in conflicts. Please backport manually!

git am output
$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: Address deferred review feedback for the modern dashboard
Using index info to reconstruct a base tree...
M	src/Aspire.Dashboard/Components/Controls/ApplicationSummary.razor
M	src/Aspire.Dashboard/Components/Controls/ApplicationSummary.razor.cs
M	src/Aspire.Dashboard/Components/Layout/ResourcesLayout.razor.cs
M	src/Aspire.Dashboard/Components/Pages/ResourceOverview.razor
M	src/Aspire.Dashboard/Model/ResourceViewModel.cs
M	src/Aspire.Dashboard/Resources/Resources.Designer.cs
M	src/Aspire.Dashboard/Resources/Resources.resx
M	src/Aspire.Dashboard/Resources/xlf/Resources.cs.xlf
M	src/Aspire.Dashboard/Resources/xlf/Resources.de.xlf
M	src/Aspire.Dashboard/Resources/xlf/Resources.es.xlf
M	src/Aspire.Dashboard/Resources/xlf/Resources.fr.xlf
M	src/Aspire.Dashboard/Resources/xlf/Resources.it.xlf
M	src/Aspire.Dashboard/Resources/xlf/Resources.ja.xlf
M	src/Aspire.Dashboard/Resources/xlf/Resources.ko.xlf
M	src/Aspire.Dashboard/Resources/xlf/Resources.pl.xlf
M	src/Aspire.Dashboard/Resources/xlf/Resources.pt-BR.xlf
M	src/Aspire.Dashboard/Resources/xlf/Resources.ru.xlf
M	src/Aspire.Dashboard/Resources/xlf/Resources.tr.xlf
M	src/Aspire.Dashboard/Resources/xlf/Resources.zh-Hans.xlf
M	src/Aspire.Dashboard/Resources/xlf/Resources.zh-Hant.xlf
M	src/Shared/Model/KnownProperties.cs
M	tests/Aspire.Dashboard.Components.Tests/Layout/ResourcesLayoutTests.cs
M	tests/Aspire.Hosting.CodeGeneration.Go.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.go
M	tests/Aspire.Hosting.CodeGeneration.Java.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.java
M	tests/Aspire.Hosting.CodeGeneration.Python.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.py
M	tests/Aspire.Hosting.CodeGeneration.Rust.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.rs
M	tests/Aspire.Hosting.CodeGeneration.TypeScript.Tests/Snapshots/HostingContainerResourceCapabilities.verified.txt
M	tests/Aspire.Hosting.CodeGeneration.TypeScript.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.ts
M	tests/PolyglotAppHosts/Aspire.Hosting/Go/apphost.go
M	tests/PolyglotAppHosts/Aspire.Hosting/Java/AppHost.java
M	tests/PolyglotAppHosts/Aspire.Hosting/Python/apphost.py
M	tests/PolyglotAppHosts/Aspire.Hosting/TypeScript/apphost.mts
Falling back to patching base and 3-way merge...
Auto-merging src/Aspire.Dashboard/Components/Controls/ApplicationSummary.razor
CONFLICT (content): Merge conflict in src/Aspire.Dashboard/Components/Controls/ApplicationSummary.razor
Auto-merging src/Aspire.Dashboard/Components/Controls/ApplicationSummary.razor.cs
CONFLICT (content): Merge conflict in src/Aspire.Dashboard/Components/Controls/ApplicationSummary.razor.cs
Auto-merging src/Aspire.Dashboard/Components/Layout/ResourcesLayout.razor.cs
Auto-merging src/Aspire.Dashboard/Components/Pages/ResourceOverview.razor
Auto-merging src/Aspire.Dashboard/Model/ResourceViewModel.cs
Auto-merging src/Aspire.Dashboard/Resources/Resources.Designer.cs
Auto-merging src/Aspire.Dashboard/Resources/Resources.resx
Auto-merging src/Aspire.Dashboard/Resources/xlf/Resources.cs.xlf
CONFLICT (content): Merge conflict in src/Aspire.Dashboard/Resources/xlf/Resources.cs.xlf
Auto-merging src/Aspire.Dashboard/Resources/xlf/Resources.de.xlf
CONFLICT (content): Merge conflict in src/Aspire.Dashboard/Resources/xlf/Resources.de.xlf
Auto-merging src/Aspire.Dashboard/Resources/xlf/Resources.es.xlf
CONFLICT (content): Merge conflict in src/Aspire.Dashboard/Resources/xlf/Resources.es.xlf
Auto-merging src/Aspire.Dashboard/Resources/xlf/Resources.fr.xlf
CONFLICT (content): Merge conflict in src/Aspire.Dashboard/Resources/xlf/Resources.fr.xlf
Auto-merging src/Aspire.Dashboard/Resources/xlf/Resources.it.xlf
CONFLICT (content): Merge conflict in src/Aspire.Dashboard/Resources/xlf/Resources.it.xlf
Auto-merging src/Aspire.Dashboard/Resources/xlf/Resources.ja.xlf
CONFLICT (content): Merge conflict in src/Aspire.Dashboard/Resources/xlf/Resources.ja.xlf
Auto-merging src/Aspire.Dashboard/Resources/xlf/Resources.ko.xlf
CONFLICT (content): Merge conflict in src/Aspire.Dashboard/Resources/xlf/Resources.ko.xlf
Auto-merging src/Aspire.Dashboard/Resources/xlf/Resources.pl.xlf
CONFLICT (content): Merge conflict in src/Aspire.Dashboard/Resources/xlf/Resources.pl.xlf
Auto-merging src/Aspire.Dashboard/Resources/xlf/Resources.pt-BR.xlf
CONFLICT (content): Merge conflict in src/Aspire.Dashboard/Resources/xlf/Resources.pt-BR.xlf
Auto-merging src/Aspire.Dashboard/Resources/xlf/Resources.ru.xlf
CONFLICT (content): Merge conflict in src/Aspire.Dashboard/Resources/xlf/Resources.ru.xlf
Auto-merging src/Aspire.Dashboard/Resources/xlf/Resources.tr.xlf
CONFLICT (content): Merge conflict in src/Aspire.Dashboard/Resources/xlf/Resources.tr.xlf
Auto-merging src/Aspire.Dashboard/Resources/xlf/Resources.zh-Hans.xlf
CONFLICT (content): Merge conflict in src/Aspire.Dashboard/Resources/xlf/Resources.zh-Hans.xlf
Auto-merging src/Aspire.Dashboard/Resources/xlf/Resources.zh-Hant.xlf
CONFLICT (content): Merge conflict in src/Aspire.Dashboard/Resources/xlf/Resources.zh-Hant.xlf
Auto-merging src/Shared/Model/KnownProperties.cs
Auto-merging tests/Aspire.Dashboard.Components.Tests/Layout/ResourcesLayoutTests.cs
Auto-merging tests/Aspire.Hosting.CodeGeneration.Go.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.go
Auto-merging tests/Aspire.Hosting.CodeGeneration.Java.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.java
Auto-merging tests/Aspire.Hosting.CodeGeneration.Python.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.py
Auto-merging tests/Aspire.Hosting.CodeGeneration.Rust.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.rs
Auto-merging tests/Aspire.Hosting.CodeGeneration.TypeScript.Tests/Snapshots/HostingContainerResourceCapabilities.verified.txt
Auto-merging tests/Aspire.Hosting.CodeGeneration.TypeScript.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.ts
Auto-merging tests/PolyglotAppHosts/Aspire.Hosting/Go/apphost.go
Auto-merging tests/PolyglotAppHosts/Aspire.Hosting/Java/AppHost.java
Auto-merging tests/PolyglotAppHosts/Aspire.Hosting/Python/apphost.py
Auto-merging tests/PolyglotAppHosts/Aspire.Hosting/TypeScript/apphost.mts
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Address deferred review feedback for the modern dashboard
Error: The process '/usr/bin/git' failed with exit code 128

Link to workflow output

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Pull request created: #2105

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

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

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

Documented new WithDisplayOrder API in dashboard/explore.mdx. Signals: new_public_type (DisplayOrderAnnotation.cs), dashboard_user_facing_page_changed (ResourceOverview.razor, TraceDetail.razor).

Note

This draft PR needs human review before merging.

@microsoft-github-policy-service microsoft-github-policy-service Bot added this to the 17.1 milestone Nov 10, 2026
Sébastien Ros (sebastienros) added a commit that referenced this pull request Nov 11, 2026
Addresses the review feedback from #21412 (Modernize the dashboard
experience) that was deferred to the tracking issue #21421. Each item
was checked against the current code first. Item 17 was already fixed,
and every other item is addressed here. The design questions are
answered in a comment below.

Fixes #21421

| Items | Change |
|---|---|
| 1, 3, 6 | Replaces `WithDashboardPosition` with `WithDisplayOrder`,
backed by its own `DisplayOrderAnnotation` and transported as
`resource.displayOrder`. Like `ResourceUrlAnnotation.DisplayOrder`, it's
a relative sort key: higher values appear first and resources without
one count as 0. The API isn't in a release yet. Polyglot snapshots and
AppHosts are updated. |
| 2 | Keeps traits as resource properties, as decided in the review, and
corrects the comment that described them. |
| 4 | Moves tag validation out of the `TraitAnnotation` constructor into
`WithTrait`, which `WithTags` goes through. An `int` parameter covers
display order validation. |
| 5 | Replaces `unresolved_parameter_names` with a generic
`related_resource_names` on the notification message, keeping field
number 5. The dashboard offers to show the related resources in place of
the primary button, and the parameter form still accepts the
notification. |
| 7 | Restores the `CircularBuffer` removal checks under `#if DEBUG`,
for buffers up to 1,024 items, so large console log buffers don't bring
back the CPU cost. |
| 8, 20 | Recordings don't mount a live terminal. The missing-parameters
form is read-only for recordings and doesn't accept the live AppHost's
prompt. |
| 9 | `ParameterOverview` and `MissingParametersPanel` edit their own
copy of the shared command inputs. |
| 10 | Keeps generated input names when a prompt has a dynamically
loaded input, because callbacks can read `AllInputs` regardless of
`DependsOnInputs`. Names that aren't unique are still renamed, because
the prompt can't be shown otherwise, and every other input keeps its
name. Each prompt input also carries the parameter it is for
(`InteractionInput.related_resource_name`), and the parameter form
matches inputs by that field rather than by name. A generated name can
then match another, already resolved parameter without the form editing
the wrong input. |
| 11, 19 | The inline form forwards `UpdateStateOnChange`. Without an
active interaction, its file button runs the set-parameter command. |
| 12 | Sums delta counter observations per bucket. Repeated delta
numbers are no longer merged at ingestion, because that lost their
times, and the SQLite rollup now sums them by observation time instead
of keeping the largest, without overflowing. Delta numbers are selected
by their end, so one that arrives out of order isn't lost. Rollups and
chart totals stay finite without depending on the order of the values,
so a sum too large for a double no longer stops the chart from
rendering, and chart intervals compare times in nanoseconds like the
rollup query. Cloning metric values keeps their count, and delta counter
cards show the latest change. |
| 13 | Preserves negative levels. The main metrics chart shares this
calculation, so it's corrected too. |
| 14, 15 | A recording's activity window ends at its last request, or
its last error log if it has no requests, and has its own labels. In the
summary layout, the live window now refreshes every 30 seconds. |
| 16 | Scopes the overview's pending refresh flag to the selection, and
queues a refresh after console filter changes cancel one. Adds an
internal `TelemetryRefreshDelayAsync` seam so a test can hold a refresh
open. |
| 18 | Ctrl-click after "select all" no longer adds a resource kind
that's switched off. |
| 21, 22 | Display orders come from the requesting run rather than the
store, and moves use the displayed tie-break. |
| 23 | Localizes the trace back button. `main` has since localized the
activity and insights strings, so this PR only adds the
recording-specific ones. |

- `Aspire.Dashboard.Tests`: 2,655 passed
- `Aspire.Dashboard.Components.Tests`: 1,384 passed, after merging
`main`
- `Aspire.Hosting.Tests`, limited to the trait, parameter processor,
dashboard service and interaction service test classes: 257 passed
- Code generation tests for TypeScript, Python, Go, Java and Rust: 412
passed, before the last review fixes, which didn't change exported API
- `TestShop.AppHost` builds

The regression tests for items 14, 15 and 16 were checked by temporarily
undoing each fix and confirming they failed.

Not covered: the polyglot AppHosts were renamed but not run, and nothing
was checked in a browser.

- 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. Not needed for `WithDisplayOrder` and
`DisplayOrderAnnotation`, as decided in the review.
- Did you add `<remarks />` and `<code />` elements on your triple slash
comments?
      - [ ] Yes
      - [x] 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
  - [x] No

---------

Co-authored-by: Sébastien Ros <1165805+sebastienros@users.noreply.github.com>
(cherry picked from commit 727eaa7)

Conflicts resolved for release/17.0:
- src/Aspire.Dashboard/Resources/Resources.Designer.cs: kept the release
  version, added the four new resource properties and removed
  ResourceTraitDashboardPosition, matching the merged Resources.resx.
- tests/Aspire.Hosting.CodeGeneration.Go.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.go:
  regenerated with the Go code generation tests on this branch.
Sébastien Ros (sebastienros) added a commit that referenced this pull request Nov 11, 2026
Addresses the review feedback from #21412 (Modernize the dashboard
experience) that was deferred to the tracking issue #21421. Each item
was checked against the current code first. Item 17 was already fixed,
and every other item is addressed here. The design questions are
answered in a comment below.

Fixes #21421

| Items | Change |
|---|---|
| 1, 3, 6 | Replaces `WithDashboardPosition` with `WithDisplayOrder`,
backed by its own `DisplayOrderAnnotation` and transported as
`resource.displayOrder`. Like `ResourceUrlAnnotation.DisplayOrder`, it's
a relative sort key: higher values appear first and resources without
one count as 0. The API isn't in a release yet. Polyglot snapshots and
AppHosts are updated. |
| 2 | Keeps traits as resource properties, as decided in the review, and
corrects the comment that described them. |
| 4 | Moves tag validation out of the `TraitAnnotation` constructor into
`WithTrait`, which `WithTags` goes through. An `int` parameter covers
display order validation. |
| 5 | Replaces `unresolved_parameter_names` with a generic
`related_resource_names` on the notification message, keeping field
number 5. The dashboard offers to show the related resources in place of
the primary button, and the parameter form still accepts the
notification. |
| 7 | Restores the `CircularBuffer` removal checks under `#if DEBUG`,
for buffers up to 1,024 items, so large console log buffers don't bring
back the CPU cost. |
| 8, 20 | Recordings don't mount a live terminal. The missing-parameters
form is read-only for recordings and doesn't accept the live AppHost's
prompt. |
| 9 | `ParameterOverview` and `MissingParametersPanel` edit their own
copy of the shared command inputs. |
| 10 | Keeps generated input names when a prompt has a dynamically
loaded input, because callbacks can read `AllInputs` regardless of
`DependsOnInputs`. Names that aren't unique are still renamed, because
the prompt can't be shown otherwise, and every other input keeps its
name. Each prompt input also carries the parameter it is for
(`InteractionInput.related_resource_name`), and the parameter form
matches inputs by that field rather than by name. A generated name can
then match another, already resolved parameter without the form editing
the wrong input. |
| 11, 19 | The inline form forwards `UpdateStateOnChange`. Without an
active interaction, its file button runs the set-parameter command. |
| 12 | Sums delta counter observations per bucket. Repeated delta
numbers are no longer merged at ingestion, because that lost their
times, and the SQLite rollup now sums them by observation time instead
of keeping the largest, without overflowing. Delta numbers are selected
by their end, so one that arrives out of order isn't lost. Rollups and
chart totals stay finite without depending on the order of the values,
so a sum too large for a double no longer stops the chart from
rendering, and chart intervals compare times in nanoseconds like the
rollup query. Cloning metric values keeps their count, and delta counter
cards show the latest change. |
| 13 | Preserves negative levels. The main metrics chart shares this
calculation, so it's corrected too. |
| 14, 15 | A recording's activity window ends at its last request, or
its last error log if it has no requests, and has its own labels. In the
summary layout, the live window now refreshes every 30 seconds. |
| 16 | Scopes the overview's pending refresh flag to the selection, and
queues a refresh after console filter changes cancel one. Adds an
internal `TelemetryRefreshDelayAsync` seam so a test can hold a refresh
open. |
| 18 | Ctrl-click after "select all" no longer adds a resource kind
that's switched off. |
| 21, 22 | Display orders come from the requesting run rather than the
store, and moves use the displayed tie-break. |
| 23 | Localizes the trace back button. `main` has since localized the
activity and insights strings, so this PR only adds the
recording-specific ones. |

- `Aspire.Dashboard.Tests`: 2,655 passed
- `Aspire.Dashboard.Components.Tests`: 1,384 passed, after merging
`main`
- `Aspire.Hosting.Tests`, limited to the trait, parameter processor,
dashboard service and interaction service test classes: 257 passed
- Code generation tests for TypeScript, Python, Go, Java and Rust: 412
passed, before the last review fixes, which didn't change exported API
- `TestShop.AppHost` builds

The regression tests for items 14, 15 and 16 were checked by temporarily
undoing each fix and confirming they failed.

Not covered: the polyglot AppHosts were renamed but not run, and nothing
was checked in a browser.

- 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. Not needed for `WithDisplayOrder` and
`DisplayOrderAnnotation`, as decided in the review.
- Did you add `<remarks />` and `<code />` elements on your triple slash
comments?
      - [ ] Yes
      - [x] 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
  - [x] No

---------

Co-authored-by: Sébastien Ros <1165805+sebastienros@users.noreply.github.com>
(cherry picked from commit 727eaa7)

Adapted for release/17.0, which doesn't have the dashboard changes this
built on in main (#21840, #21861, #21880, #21881, #21943):
- Tags keep release/17.0's Aspire_Dashboard_Tag name
  (KnownResourceTraits.DashboardTag); the Aspire_Tag rename is #21881.
- ResourceOrderStore keeps its SQLite storage. The AppHost display order
  semantics, GetPositions(resources) and TryMove(..., resources) are ported
  onto it, and the store no longer keeps AppHost positions itself.
- ResourceOrderStoreTests: the four new display order tests run against the
  SQLite store, with a new store instance standing in for a restart.
- Tests for code that isn't on release/17.0 aren't brought over
  (ParameterFormReplacedAndPromptShownAgain, Standalone_RemovedTelemetrySource).
- Resources.Designer.cs and the Go TwoPassScanningGeneratedAspire snapshot
  are regenerated against release/17.0.
Jose Perez Rodriguez (joperezr) added a commit that referenced this pull request Nov 12, 2026
Combines the stacked dashboard backports into one PR for `release/17.0`.
The commits are cherry-picked in stack order, one per source PR, onto
the current `release/17.0` tip:

1. #22125: Store dashboard tags,
resource order and metric pins in browser local storage (#21840)
2. #22126: Add dashboard
resource-selector dropdown (#21861)
3. #22127: Rename the WithTags
trait from Aspire_Dashboard_Tag to Aspire_Tag (#21881)
4. #22128: Restore single-line
compact rows in the dashboard resource list (#21880)
5. #22129: Allocate the next
dashboard run ID when two dashboards start in the same millisecond
(#21913)
6. #22130: Simplify the
dashboard around its two main jobs (#21943)
7. #22131: Return 400 for OTLP
JSON requests with malformed ids (#21436)
8. #22132: Address deferred
review feedback for the modern dashboard (#21766)

## Conflict resolution

The stack was cut from an older `release/17.0`. Since then, #22123
(Harden Go SDK runtime) landed and regenerated
`TwoPassScanningGeneratedAspire.verified.go`. That conflicted with
#21766, which replaces `WithDashboardPosition` with `WithDisplayOrder`.
The resolution drops `WithDashboardPosition` and regenerates the
snapshot with the current Go generator, so `WithDisplayOrder` now uses
the hardened `s.Err()` pattern. The other seven commits applied cleanly.

## Validation

All `Aspire.Hosting.CodeGeneration.*.Tests` projects pass locally (Go,
Java, Python, Rust, TypeScript).

---------

Co-authored-by: Sébastien Ros <1165805+sebastienros@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: James Newton-King <james@newtonking.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: David Fowler <davidfowl@gmail.com>
Co-authored-by: davidfowl <95136+davidfowl@users.noreply.github.com>
Co-authored-by: Maddy Montaquila <maddyleger1@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Maddy Montaquila <maddy@MadBook-Pro-20.local>
Co-authored-by: Taha Koçal <tahakocalgs@gmail.com>
Co-authored-by: Jose Perez Rodriguez <joperezr@microsoft.com>
Sébastien Ros (sebastienros) added a commit to microsoft/aspire.dev that referenced this pull request Nov 13, 2026
)

Documents changes from microsoft/aspire#21766

Author: ``@sebastienros``

**Target branch:** Targeting `release/17.0` — the latest release branch
on `microsoft/aspire.dev` — because the source PR has no milestone or
`release/*` base ref to derive a more specific target.

**Why:** The source PR replaces `WithDashboardPosition` with the new
`WithDisplayOrder` API (backed by `DisplayOrderAnnotation`), which
controls resource ordering in the dashboard. Triggered signals:
`new_public_type` (`DisplayOrderAnnotation.cs`) and
`dashboard_user_facing_page_changed` (`ResourceOverview.razor`,
`TraceDetail.razor`).

**Changes:** Updated existing page
`src/frontend/src/content/docs/dashboard/explore.mdx` with a "Resource
display order" section describing `WithDisplayOrder` semantics (higher
values first, unset counts as 0) and an example.

> Generated by [PR Documentation
Check](https://github.com/microsoft/aspire/actions/runs/42886203726) for
#21766 · copilot · auto · 31.5 AIC · ⌖ 1.16 AIC · ⊞ 7.4K ·
[◷](https://github.com/search?q=repo%3Amicrosoft%2Faspire.dev+%22gh-aw-workflow-id%3A+pr-docs-check%22&type=pullrequests)

<!-- gh-aw-agentic-workflow: PR Documentation Check, engine: copilot,
model: auto, id: 42886203726, workflow_id: pr-docs-check, run:
https://github.com/microsoft/aspire/actions/runs/42886203726 -->

<!-- gh-aw-workflow-id: pr-docs-check -->
<!-- gh-aw-workflow-call-id: microsoft/aspire/pr-docs-check -->

---

**Review update:** This PR now also consolidates the still-accurate
parts of #2045 and #2066, which edited the same page:
- Corrected `WithDisplayOrder` semantics. The default order is resource
type then name (`ResourcesLayout.razor.cs`). A saved drag order takes
precedence, and negative values sort after unset resources.
- Added a TypeScript sample (`withDisplayOrder` is `[AspireExport]`) and
noted the `ASPIRERESOURCETRAITS001` experimental diagnostic.
- Contextual resource actions (right-click, Context Menu key, Shift+F10)
from #2045.
- The existing Aspire Outage section's mode is labeled **Hard core**,
not **Hard** (`Resources.resx`), and the section now covers what hard
core mode does and the `O` shortcut (from #2066).

---------

Co-authored-by: aspire-repo-bot[bot] <268009190+aspire-repo-bot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Sébastien Ros <1165805+sebastienros@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Follow up on deferred review feedback for the modern dashboard experience

3 participants