13 references to CompletedWithWarning
Aspire.Hosting (5)
Publishing\PublishingActivityReporter.cs (2)
31CompletionState.CompletedWithWarning => CompletionStates.CompletedWithWarning, 208CompletionState.CompletedWithWarning => $"{operationName} completed with warnings",
Publishing\PublishingExtensions.cs (2)
46await step.CompleteAsync(completionText, CompletionState.CompletedWithWarning, cancellationToken).ConfigureAwait(false); 111await task.CompleteAsync(message, CompletionState.CompletedWithWarning, cancellationToken).ConfigureAwait(false);
Publishing\PublishingStep.cs (1)
148CompletionState.CompletedWithWarning => $"{Title} completed with warnings",
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
2680 => ("No azure compute environments found in the model.", CompletionState.CompletedWithWarning),
Aspire.Hosting.Tests (7)
Publishing\PublishingActivityReporterTests.cs (6)
282[InlineData(CompletionState.CompletedWithWarning, "Publishing completed with warnings", false)] 299Assert.Equal(completionState == CompletionState.CompletedWithWarning, activity.Data.IsWarning); 339await step2.CompleteAsync("Step 2 completed with warning", CompletionState.CompletedWithWarning, CancellationToken.None); 655Assert.Equal(CompletionState.CompletedWithWarning, taskInternal.CompletionState); 708[InlineData(CompletionState.CompletedWithWarning, "Deployment completed with warnings", false)] 725Assert.Equal(completionState == CompletionState.CompletedWithWarning, activity.Data.IsWarning);
Publishing\PublishingExtensionsTests.cs (1)
102Assert.Equal(CompletionState.CompletedWithWarning, taskInternal.CompletionState);