Skip to content

Show resources waiting for parameters during startup - #22291

Open
James Newton-King (JamesNK) wants to merge 28 commits into
mainfrom
jamesnk/contextual-parameter-waits
Open

James Newton-King (JamesNK) wants to merge 28 commits into
mainfrom
jamesnk/contextual-parameter-waits

Conversation

@JamesNK

@JamesNK James Newton-King (JamesNK) commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Description

Resources blocked on missing parameter values now show Unresolved parameters and identify the parameters they are actually waiting for, instead of appearing stuck during startup. The list updates as values become available, including when a read happens before the resource reaches Starting.

This is an independently implemented alternative to #18896, based on main. It observes incomplete ParameterResource.GetValueAsync(ValueProviderContext, CancellationToken) calls and attributes them to ValueProviderContext.Caller; it does not predict dependencies by walking the resource model.

Behavior and implementation

  • Reference-count concurrent reads per caller instance so completing or canceling one read cannot clear another active wait. Only parameters actually read are reported, including reads inside opaque callbacks and conditional expressions.
  • Restore the previous startup state, including an unset state, after the last read finishes without overwriting newer lifecycle updates or replacing an active dependency wait.
  • Treat unresolved-parameter waits as startup for Start, Stop, and Restart command availability.
  • Forward value-provider context through startup configuration, connection strings and properties, Dockerfile arguments and secrets, certificate passwords, URL expressions, and integration configuration callbacks.
  • Add IResourceWithConnectionString.GetConnectionStringAsync(ValueProviderContext, CancellationToken). Its default implementation calls the existing context-free resolver for compatibility with custom resources whose runtime connection string differs from their expression.
  • Have built-in connection-string resources explicitly forward context, including parent/child resources, connection-string parameters, and redirects. Third-party resolvers can opt in by implementing the contextual overload.
  • Resolve connection strings contextually in dashboard publication and the early PostgreSQL, Redis, and SQL Server callbacks. Missing passwords are attributed before those callbacks block startup; the existing event ordering is unchanged.
  • Keep localhost networking for dashboard display values and host-side integration clients, independently of the caller used for parameter attribution.
  • Track parameter names, not values. Context-free reads and publish-mode reporting retain their existing behavior. No dependencies are added or updated.

User-facing usage

No extra configuration is required for ordinary parameter references:

var password = builder.AddParameter("postgres-password", secret: true);
var postgres = builder.AddPostgres("postgres", password: password);

While postgres-password is missing, postgres reports KnownResourceStates.UnresolvedParameters and the dashboard identifies the missing parameter. Supplying the value allows startup to continue.

Custom startup callbacks and nested value providers get the same attribution by forwarding a ValueProviderContext containing the execution context and requesting resource to GetValueAsync.

Custom connection-string resources can implement the new contextual overload:

public ValueTask<string?> GetConnectionStringAsync(
    ValueProviderContext context,
    CancellationToken cancellationToken) =>
    ConnectionStringExpression.GetValueAsync(context, cancellationToken);

Resolvers with custom runtime behavior should retain that behavior and forward the context to any nested value providers. Existing implementations that only provide GetConnectionStringAsync(CancellationToken) continue to work, but do not gain contextual parameter attribution automatically.

Screenshots / Recordings

The branch-built dashboard showing parameter reads made inside an opaque environment callback:

Resource waiting for api-key and region

Validation

739 targeted tests passed on the current changes. Quarantined and outerloop tests were excluded.

Command Result
dotnet test --project tests\Aspire.Hosting.Tests\Aspire.Hosting.Tests.csproj --no-launch-profile -- --filter-class '*.AddParameterTests' --filter-class '*.AddConnectionStringTests' --filter-class '*.ResourceNotificationTests' --filter-class '*.ApplicationOrchestratorTests' --filter-class '*.ExpressionResolverTests' --filter-class '*.ConditionalReferenceExpressionTests' --filter-class '*.WithReferenceTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true' Passed: 418
dotnet test --project tests\Aspire.Hosting.Tests\Aspire.Hosting.Tests.csproj --no-launch-profile -- --filter-class '*.ResourceCommandAnnotationTests' --filter-class '*.WithUrlsTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true' Passed: 136
dotnet test --project tests\Aspire.Hosting.PostgreSQL.Tests\Aspire.Hosting.PostgreSQL.Tests.csproj --no-launch-profile -- --filter-class '*.AddPostgresTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true' Passed: 55
dotnet test --project tests\Aspire.Hosting.Redis.Tests\Aspire.Hosting.Redis.Tests.csproj --no-launch-profile -- --filter-class '*.AddRedisTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true' Passed: 54
dotnet test --project tests\Aspire.Hosting.SqlServer.Tests\Aspire.Hosting.SqlServer.Tests.csproj --no-launch-profile -- --filter-class '*.AddSqlServerTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true' Passed: 15
dotnet test --project tests\Aspire.Hosting.Azure.Tests\Aspire.Hosting.Azure.Tests.csproj --no-launch-profile -- --filter-class '*.AzureKeyVaultTests' --filter-class '*.AzureKeyVaultConnectionPropertiesTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true' Passed: 41
dotnet test --project tests\Aspire.Dashboard.Tests\Aspire.Dashboard.Tests.csproj --no-launch-profile -- --filter-class '*.ResourceStateViewModelTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true' Passed: 20
git diff --cached --check Passed

All 33 affected Hosting projects were also compiled together using a temporary validation solution, which was removed afterward. The build succeeded with an existing MySqlConnector vulnerability warning; dashboard validation also reported an existing Microsoft.Extensions.Validation advisory.

Regression coverage includes the real pre-start connection-string event sequence, missing database passwords, legacy custom resolvers with unused unresolved expressions, contextual redirects, caller attribution, concurrent reads, cancellation/failure, lifecycle-state restoration, and localhost display values.

Earlier manual validation built and started an isolated, no-container AppHost using the branch's Hosting and Dashboard builds. Ordinary environment references and an opaque callback reported their actual pending parameters. Supplying api-key reduced the callback's list from api-key, region to region; supplying region let both executables finish successfully with exit code 0. The demo was stopped and removed.

The full test suite was not run.

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

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 -- 22291

Or

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

@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

Outstanding endpoint-resolution and startup-state bugs can produce host-inaccessible dashboard URLs, suppress missing-parameter reporting, and enable Stop/Restart commands that remain pending.

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

This PR adds runtime tracking of unresolved parameter reads so Aspire can identify which parameters are blocking resource startup. Unlike the relationship-based approach in #18896, it follows actual value resolution, including callbacks that forward caller context.

Changes:

  • Tracks concurrent parameter waits and restores prior startup states as reads complete.
  • Propagates caller context through value providers and integration configuration.
  • Adds dashboard warning details, localization resources, and focused regression tests.
File Description
tests/​Aspire.Hosting.Tests/​AddParameterTests.cs Tests wait tracking, cleanup, state preservation, and caller attribution.
tests/​Aspire.Dashboard.Tests/​Model/​ResourceStateViewModelTests.cs Tests parameter tooltip and warning presentation.
src/​Shared/​Model/​KnownProperties.cs Defines unresolved-parameter metadata key.
src/​Aspire.Hosting/​ResourceBuilderExtensions.cs Forwards caller context through parameter and URL reads.
src/​Aspire.Hosting/​Orchestrator/​ApplicationOrchestrator.cs Adds context to connection detail resolution.
src/​Aspire.Hosting/​ExternalServiceBuilderExtensions.cs Attributes external-service parameter waits.
src/​Aspire.Hosting/​Dcp/​ContainerCreator.cs Adds context to Dockerfile argument and secret resolution.
src/​Aspire.Hosting/​ApplicationModel/​ResourceUrlsEditor.cs Carries caller context through polyglot URL expressions.
src/​Aspire.Hosting/​ApplicationModel/​ResourceUrlsCallbackContext.cs Passes the resource to the URL editor.
src/​Aspire.Hosting/​ApplicationModel/​ResourceNotificationService.cs Counts parameter waits and updates resource snapshots.
src/​Aspire.Hosting/​ApplicationModel/​ParameterResource.cs Reports incomplete contextual parameter reads.
src/​Aspire.Hosting/​ApplicationModel/​KnownResourceStates.cs Defines the unresolved-parameters state.
src/​Aspire.Hosting/​ApplicationModel/​IValueProvider.cs Documents context forwarding and caller attribution.
src/​Aspire.Hosting/​ApplicationModel/​HttpsCertificateExecutionConfigurationGatherer.cs Preserves context for certificate value resolution.
src/​Aspire.Hosting.Redis/​RedisBuilderExtensions.cs Attributes Redis Commander password reads.
src/​Aspire.Hosting.PostgreSQL/​PostgresBuilderExtensions.cs Attributes pgAdmin and pgWeb configuration reads.
src/​Aspire.Hosting.OpenAI/​OpenAIExtensions.cs Attributes initialization-time parameter reads.
src/​Aspire.Hosting.MySql/​MySqlBuilderExtensions.cs Attributes phpMyAdmin password reads.
src/​Aspire.Hosting.MongoDB/​MongoDBBuilderExtensions.cs Attributes key-file value resolution.
src/​Aspire.Dashboard/​Resources/​xlf/​Columns.zh-Hant.xlf Adds pending Traditional Chinese tooltip translation entry.
src/​Aspire.Dashboard/​Resources/​xlf/​Columns.zh-Hans.xlf Adds pending Simplified Chinese tooltip translation entry.
src/​Aspire.Dashboard/​Resources/​xlf/​Columns.tr.xlf Adds pending Turkish tooltip translation entry.
src/​Aspire.Dashboard/​Resources/​xlf/​Columns.ru.xlf Adds pending Russian tooltip translation entry.
src/​Aspire.Dashboard/​Resources/​xlf/​Columns.pt-BR.xlf Adds pending Brazilian Portuguese tooltip translation entry.
src/​Aspire.Dashboard/​Resources/​xlf/​Columns.pl.xlf Adds pending Polish tooltip translation entry.
src/​Aspire.Dashboard/​Resources/​xlf/​Columns.ko.xlf Adds pending Korean tooltip translation entry.
src/​Aspire.Dashboard/​Resources/​xlf/​Columns.ja.xlf Adds pending Japanese tooltip translation entry.
src/​Aspire.Dashboard/​Resources/​xlf/​Columns.it.xlf Adds pending Italian tooltip translation entry.
src/​Aspire.Dashboard/​Resources/​xlf/​Columns.fr.xlf Adds pending French tooltip translation entry.
src/​Aspire.Dashboard/​Resources/​xlf/​Columns.es.xlf Adds pending Spanish tooltip translation entry.
src/​Aspire.Dashboard/​Resources/​xlf/​Columns.de.xlf Adds pending German tooltip translation entry.
src/​Aspire.Dashboard/​Resources/​xlf/​Columns.cs.xlf Adds pending Czech tooltip translation entry.
src/​Aspire.Dashboard/​Resources/​Columns.resx Adds parameter-wait tooltip text.
src/​Aspire.Dashboard/​Resources/​Columns.Designer.cs Exposes the tooltip resource accessor.
src/​Aspire.Dashboard/​Model/​ResourceViewModelExtensions.cs Reads unresolved parameter names from metadata.
src/​Aspire.Dashboard/​Model/​ResourceStateViewModel.cs Displays warning icon and parameter details.
src/​Aspire.Dashboard/​Model/​KnownResourceState.cs Recognizes the new dashboard state.
src/​Aspire.Dashboard/​Extensions/​ResourceViewModelExtensions.cs Classifies parameter waits as unusable transitory states.
src/​Aspire.Dashboard/​Components/​Layout/​ResourcesLayout.razor.cs Applies warning styling to parameter waits.

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

Active issues break host-facing endpoint resolution, obscure unresolved parameters after dependency waits, and enable Stop/Restart commands that can hang during startup.

4 open issues
1 previously missed issue

In code that hasn't changed since last review

Medium severity Resolve host-facing container URLs on the localhost network

src/​Aspire.Hosting/​ResourceBuilderExtensions.cs:2460

Adding Caller without Network makes container endpoint expressions resolve to container DNS names and target ports, so dashboard links become inaccessible from the host browser and published connection properties disagree with the host-facing connection string. Keep caller attribution but explicitly set Network = KnownNetworkIdentifiers.LocalhostNetwork for these host-facing resolutions. Apply the same fix in src/Aspire.Hosting/ApplicationModel/ResourceUrlsEditor.cs:15 and src/Aspire.Hosting/Orchestrator/ApplicationOrchestrator.cs:89.

1 resolved since last review
1 file not reviewed
  • src/Aspire.Dashboard/Resources/Columns.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

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

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

Startup can still block on untracked connection-string reads, while build-argument resolution changes existing values and wait-state handling can hide unresolved parameters and dependency controls.

3 open issues
3 previously missed issues

In code that hasn't changed since last review

Medium severity Allow unresolved-parameter resources to enter dependency waiting

src/​Aspire.Hosting/​ApplicationModel/​ResourceNotificationService.cs:1097

If a parameter read changes Starting to UnresolvedParameters before dependency waiting begins, CanTransitionToWaiting rejects the new state, so dependency details and the force-start command remain unavailable. Add state == KnownResourceStates.UnresolvedParameters to CanTransitionToWaiting at line 670, and cover a parameter read that begins before dependency waiting is entered.

Medium severity Keep build-argument endpoint resolution on the localhost network

src/​Aspire.Hosting/​Dcp/​ContainerCreator.cs:620

Adding Caller without specifying Network also changes existing build-argument resolution: GetNetworkIdentifier() now selects the container network instead of localhost. For example, an endpoint supplied as a build argument for a browser-facing API URL changes from http://localhost:<host-port> to a Docker-only hostname and target port, leaving the generated frontend pointing at an unreachable address. Set the network explicitly to LocalhostNetwork here to preserve the previous resolution behavior while adding wait attribution.

Medium severity Preserve custom connection-string resolution for contextual build args

src/​Aspire.Hosting/​Dcp/​ContainerCreator.cs:627

When an IResourceWithConnectionString is passed through WithBuildArg(string, object), the contextual overload resolves ConnectionStringExpression instead of calling its custom GetConnectionStringAsync, potentially supplying a different build value. Preserve custom connection-string resolution while adding caller attribution, and add a regression test where the custom resolver returns a different value from the expression.

1 resolved since last review
1 file not reviewed
  • src/Aspire.Dashboard/Resources/Columns.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

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

Parameter-read-first ordering and context-free initial connection-string resolution leave waits unreported, with the former also preventing the Start command from bypassing dependency waits.

2 open issues
2 resolved since last review
1 file not reviewed
  • src/Aspire.Dashboard/Resources/Columns.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

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

Resolve connection-string expressions with caller context for environment variables and arguments. Leave direct and lifecycle resolution unchanged.

Co-authored-by: Copilot <[email protected]>
@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 new connection-string overloads can break existing callers through ambiguity and bypass custom subclass resolvers, while persistent PostgreSQL resources fail to expose active password waits after manual Start.

3 open issues
1 file not reviewed
  • src/Aspire.Dashboard/Resources/Columns.Designer.cs: Generated file

Review effort: Balanced

Comment thread src/Aspire.Hosting/Dcp/DcpExecutor.cs Resolved
@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

Human assessment is needed because persistent explicit-start resources can appear idle during initialization or startup, hiding pending parameter waits and potentially re-enabling Start prematurely.

3 open issues
1 file not reviewed
  • src/Aspire.Dashboard/Resources/Columns.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 new contextual overload makes existing GetConnectionStringAsync(default) calls ambiguous, breaking compilation for AppHosts after upgrading.

1 open issue
2 resolved since last review
1 file not reviewed
  • src/Aspire.Dashboard/Resources/Columns.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

Human assessment is needed because mixed-inheritance resolver dispatch can bypass custom runtime logic, causing dashboard publication to return an incorrect connection string or block.

1 open issue
1 file not reviewed
  • src/Aspire.Dashboard/Resources/Columns.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 · 6 PR jobs, from 100 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 (6)

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


How these were chosen — grouped by what changed

⚠️ 17 of the 56 selected test projects come from a single change — tests/Aspire.Hosting.TestUtilities/Utils/ParameterWaitTestHelpers.cs.

🧪 tests/Aspire.Hosting.TestUtilities/Utils/ParameterWaitTestHelpers.cs (changed test)
→ 17 via the project graph

show 17

Aspire.Hosting.Azure.EntraId.Tests, Aspire.Hosting.Browsers.Tests, Aspire.Hosting.Containers.Tests, Aspire.Hosting.DevTunnels.Tests, Aspire.Hosting.Docker.Tests, Aspire.Hosting.DotnetTool.Tests, Aspire.Hosting.EntityFrameworkCore.Tests, Aspire.Hosting.Foundry.Tests, Aspire.Hosting.Go.Tests, Aspire.Hosting.Java.Tests, Aspire.Hosting.Keycloak.Tests, Aspire.Hosting.Kubernetes.Tests, Aspire.Hosting.Milvus.Tests, Aspire.Hosting.Orleans.Tests, Aspire.Hosting.Python.Tests, Aspire.Hosting.Rust.Tests, Aspire.Hosting.Yarp.Tests

🔧 src/Aspire.Hosting/ApplicationModel/CommandsConfigurationExtensions.cs (changed source)
→ 10 via the project graph: Aspire.Hosting.Analyzers.Tests (2 hops), Aspire.Hosting.Azure.Provisioning.Tests (3 hops), 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.Maui.Tests, Aspire.Hosting.RemoteHost.Tests, Aspire.Playground.Tests

🔧 src/Aspire.Dashboard/Components/Layout/ResourcesLayout.razor.cs (changed source)
→ 3 via the project graph: Aspire.Dashboard.Components.Tests, Aspire.Hosting.JavaScript.Tests, Aspire.Hosting.Testing.Tests

🧪 tests/Aspire.Hosting.Tests/AddConnectionStringTests.cs (changed test)
→ 1 directly: Aspire.Hosting.Tests
→ 2 via the project graph: Aspire.Hosting.Blazor.Tests, Aspire.Hosting.Dotnet.Tests

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

🔧 src/Aspire.Hosting.Azure.Kusto/AzureKustoBuilderExtensions.cs (changed source)
→ 2 directly: Aspire.Hosting.Azure.Kusto.Tests, Aspire.Hosting.Azure.Tests

🔧 src/Aspire.Hosting.MongoDB/MongoDBBuilderExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.MongoDB.Tests
→ 1 via the project graph: Aspire.Hosting.Radius.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.Cli
→ 1 test: Aspire.Cli.EndToEnd.Tests

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

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

🔧 src/Aspire.Hosting.Azure.CosmosDB/AzureCosmosDBExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.Azure.Tests

🔧 src/Aspire.Hosting.Azure.KeyVault/AzureKeyVaultResource.cs (changed source)
→ 1 directly: Aspire.Hosting.Azure.Tests

🔧 src/Aspire.Hosting.Azure.Storage/AzureStorageExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.Azure.Tests

🔧 src/Aspire.Hosting.Garnet/GarnetBuilderExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.Garnet.Tests

🔧 src/Aspire.Hosting.Kafka/KafkaBuilderExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.Kafka.Tests

🔧 src/Aspire.Hosting.MongoDB/ReplicaSet/MongoDBReplicaSetBuilderExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.MongoDB.Tests

🔧 src/Aspire.Hosting.MySql/MySqlBuilderExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.MySql.Tests

🔧 src/Aspire.Hosting.Nats/NatsBuilderExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.Nats.Tests

🔧 src/Aspire.Hosting.OpenAI/OpenAIExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.OpenAI.Tests

🔧 src/Aspire.Hosting.Oracle/OracleDatabaseBuilderExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.Oracle.Tests

🔧 src/Aspire.Hosting.PostgreSQL/PostgresBuilderExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.PostgreSQL.Tests

🔧 src/Aspire.Hosting.PostgreSQL/PostgresServerResource.cs (changed source)
→ 1 directly: Aspire.Hosting.PostgreSQL.Tests

🔧 src/Aspire.Hosting.Qdrant/QdrantBuilderExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.Qdrant.Tests

🔧 src/Aspire.Hosting.RabbitMQ/RabbitMQBuilderExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.RabbitMQ.Tests

🔧 src/Aspire.Hosting.Redis/RedisBuilderExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.Redis.Tests

🔧 src/Aspire.Hosting.Redis/RedisResource.cs (changed source)
→ 1 directly: Aspire.Hosting.Redis.Tests

🔧 src/Aspire.Hosting.SqlServer/SqlServerBuilderExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.SqlServer.Tests

🔧 src/Aspire.Hosting.SqlServer/SqlServerServerResource.cs (changed source)
→ 1 directly: Aspire.Hosting.SqlServer.Tests

🔧 src/Aspire.Hosting.Valkey/ValkeyBuilderExtensions.cs (changed source)
→ 1 directly: Aspire.Hosting.Valkey.Tests

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

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

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

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

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

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

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

🧪 tests/Aspire.Hosting.Garnet.Tests/Aspire.Hosting.Garnet.Tests.csproj (changed test)
→ 1 directly: Aspire.Hosting.Garnet.Tests

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Job reasons

Job Triggered by
cli-starter-validation affected project Aspire.Cli
extension-e2e • extension/loc/xlf/aspire-vscode.xlf, extension/package.nls.json, extension/src/editor/AspireCodeLensProvider.ts, extension/src/editor/AspireGutterDecorationProvider.ts, extension/src/editor/resourceConstants.ts, extension/src/lm/editorAssistanceResourceProjection.ts, extension/src/lm/editorAssistanceToolContracts.ts, extension/src/loc/strings.ts, extension/src/test/appHostTreeView.test.ts, extension/src/test/aspireCodeLensProvider.test.ts, extension/src/test/aspireGutterDecorationProvider.test.ts, extension/src/test/editorAssistanceTools.test.ts, extension/src/utils/resourceDisplay.ts, extension/src/views/treePresentation.ts, src/Aspire.Cli/Mcp/Tools/McpToolHelpers.cs, src/Aspire.Dashboard/Components/Layout/ResourcesLayout.razor.cs, src/Aspire.Dashboard/Extensions/ResourceViewModelExtensions.cs, src/Aspire.Dashboard/Model/KnownResourceState.cs, src/Aspire.Dashboard/Model/ResourceStateViewModel.cs, src/Aspire.Dashboard/Model/ResourceViewModelExtensions.cs, src/Aspire.Dashboard/Resources/Columns.Designer.cs, src/Aspire.Dashboard/Resources/Columns.resx, src/Aspire.Dashboard/Resources/xlf/Columns.cs.xlf, src/Aspire.Dashboard/Resources/xlf/Columns.de.xlf, src/Aspire.Dashboard/Resources/xlf/Columns.es.xlf, src/Aspire.Dashboard/Resources/xlf/Columns.fr.xlf, src/Aspire.Dashboard/Resources/xlf/Columns.it.xlf, src/Aspire.Dashboard/Resources/xlf/Columns.ja.xlf, src/Aspire.Dashboard/Resources/xlf/Columns.ko.xlf, src/Aspire.Dashboard/Resources/xlf/Columns.pl.xlf, src/Aspire.Dashboard/Resources/xlf/Columns.pt-BR.xlf, src/Aspire.Dashboard/Resources/xlf/Columns.ru.xlf, src/Aspire.Dashboard/Resources/xlf/Columns.tr.xlf, src/Aspire.Dashboard/Resources/xlf/Columns.zh-Hans.xlf, src/Aspire.Dashboard/Resources/xlf/Columns.zh-Hant.xlf, src/Aspire.Hosting.Redis/RedisBuilderExtensions.cs, src/Aspire.Hosting.Redis/RedisResource.cs, src/Aspire.Hosting/ApplicationModel/CommandsConfigurationExtensions.cs, src/Aspire.Hosting/ApplicationModel/ExpressionResolver.cs, src/Aspire.Hosting/ApplicationModel/HttpsCertificateExecutionConfigurationGatherer.cs, src/Aspire.Hosting/ApplicationModel/IResourceWithConnectionString.cs, src/Aspire.Hosting/ApplicationModel/IValueProvider.cs, src/Aspire.Hosting/ApplicationModel/KnownResourceStates.cs, src/Aspire.Hosting/ApplicationModel/ParameterResource.cs, src/Aspire.Hosting/ApplicationModel/ResourceNotificationService.cs, src/Aspire.Hosting/ApplicationModel/ResourceUrlsCallbackContext.cs, src/Aspire.Hosting/ApplicationModel/ResourceUrlsEditor.cs, src/Aspire.Hosting/ConnectionStringParameterResource.cs, src/Aspire.Hosting/Dcp/ContainerCreator.cs, src/Aspire.Hosting/Dcp/DcpExecutor.cs, src/Aspire.Hosting/ExternalServiceBuilderExtensions.cs, src/Aspire.Hosting/Orchestrator/ApplicationOrchestrator.cs, src/Aspire.Hosting/ResourceBuilderExtensions.cs
• affected project Aspire.Cli
extension-unit extension/loc/xlf/aspire-vscode.xlf, extension/package.nls.json, extension/src/editor/AspireCodeLensProvider.ts, extension/src/editor/AspireGutterDecorationProvider.ts, extension/src/editor/resourceConstants.ts, extension/src/lm/editorAssistanceResourceProjection.ts, extension/src/lm/editorAssistanceToolContracts.ts, extension/src/loc/strings.ts, extension/src/test/appHostTreeView.test.ts, extension/src/test/aspireCodeLensProvider.test.ts, extension/src/test/aspireGutterDecorationProvider.test.ts, extension/src/test/editorAssistanceTools.test.ts, extension/src/utils/resourceDisplay.ts, extension/src/views/treePresentation.ts
native-dashboard-validation affected project Aspire.Dashboard
polyglot • affected project Aspire.Cli
• affected project Aspire.Hosting.Azure.Provisioning.CosmosDB
typescript-api-compat affected project Aspire.Cli

Selection computed for commit d4d4236.

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

Human assessment is needed because contextual connection-string resolution may bypass existing subclass resolvers, risking incorrect connection strings or blocked startup.

No open issues 🎉

1 resolved since last review
1 file not reviewed
  • src/Aspire.Dashboard/Resources/Columns.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.

This branch has not been deployed

No deployments
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.

3 participants