15 references to CompletedWithWarning
Aspire.Hosting (6)
Publishing\PublishingActivityProgressReporter.cs (4)
163CompletionState.CompletedWithWarning => $"{Title} completed with warnings", 263await Reporter.CompleteTaskAsync(this, CompletionState.CompletedWithWarning, completionMessage, cancellationToken).ConfigureAwait(false); 374CompletionState.CompletedWithWarning => CompletionStates.CompletedWithWarning, 550CompletionState.CompletedWithWarning => "Publishing completed with warnings",
Publishing\PublishingExtensions.cs (2)
58await step.Reporter.CompleteStepAsync(step, completionText, CompletionState.CompletedWithWarning, cancellationToken).ConfigureAwait(false); 147await task.Reporter.CompleteTaskAsync(task, CompletionState.CompletedWithWarning, message, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
2670 => ("No azure compute environments found in the model.", CompletionState.CompletedWithWarning),
Aspire.Hosting.Tests (8)
Publishing\PublishingActivityProgressReporterTests.cs (7)
217[InlineData(CompletionState.CompletedWithWarning, false, true)] 272[InlineData(CompletionState.CompletedWithWarning, "Publishing completed with warnings", false)] 289Assert.Equal(completionState == CompletionState.CompletedWithWarning, activity.Data.IsWarning); 308await reporter.CompleteTaskAsync(task2, CompletionState.CompletedWithWarning, null, CancellationToken.None); 309await reporter.CompleteStepAsync(step2, "Step 2 completed with warning", CompletionState.CompletedWithWarning, CancellationToken.None); 624await reporter.CompleteTaskAsync(task2, CompletionState.CompletedWithWarning, null, CancellationToken.None); 633Assert.Equal(CompletionState.CompletedWithWarning, step.CompletionState);
Publishing\PublishingExtensionsTests.cs (1)
123Assert.Equal(CompletionState.CompletedWithWarning, task.CompletionState);