37 references to CompletedWithWarning
Aspire.Hosting (5)
Pipelines\PipelineActivityReporter.cs (2)
36CompletionState.CompletedWithWarning => CompletionStates.CompletedWithWarning, 246CompletionState.CompletedWithWarning => "Pipeline completed with warnings",
Pipelines\ReportingStep.cs (1)
165CompletionState.CompletedWithWarning => $"{Title} 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);
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
2770 => ("No azure compute environments found in the model.", CompletionState.CompletedWithWarning),
Aspire.Hosting.Tests (21)
Publishing\PipelineActivityReporterTests.cs (20)
283[InlineData(CompletionState.CompletedWithWarning, "Pipeline completed with warnings", false)] 300Assert.Equal(completionState == CompletionState.CompletedWithWarning, activity.Data.IsWarning); 340await step2.CompleteAsync("Step 2 completed with warning", CompletionState.CompletedWithWarning, CancellationToken.None); 756Assert.Equal(CompletionState.CompletedWithWarning, taskInternal.CompletionState); 809[InlineData(CompletionState.CompletedWithWarning, "Pipeline completed with warnings", false)] 826Assert.Equal(completionState == CompletionState.CompletedWithWarning, activity.Data.IsWarning); 986await task.CompleteAsync("Warning message", CompletionState.CompletedWithWarning, CancellationToken.None); 992await task.CompleteAsync("Different warning message", CompletionState.CompletedWithWarning, CancellationToken.None); 998Assert.Equal(CompletionState.CompletedWithWarning, taskInternal.CompletionState); 1035await step.CompleteAsync("Warning", CompletionState.CompletedWithWarning, CancellationToken.None); 1041await step.CompleteAsync("Different warning", CompletionState.CompletedWithWarning, CancellationToken.None); 1047Assert.Equal(CompletionState.CompletedWithWarning, stepInternal.CompletionState); 1075[InlineData(CompletionState.Completed, CompletionState.CompletedWithWarning)] 1077[InlineData(CompletionState.CompletedWithWarning, CompletionState.Completed)] 1078[InlineData(CompletionState.CompletedWithWarning, CompletionState.CompletedWithError)] 1080[InlineData(CompletionState.CompletedWithError, CompletionState.CompletedWithWarning)] 1106[InlineData(CompletionState.Completed, CompletionState.CompletedWithWarning)] 1108[InlineData(CompletionState.CompletedWithWarning, CompletionState.Completed)] 1109[InlineData(CompletionState.CompletedWithWarning, CompletionState.CompletedWithError)] 1111[InlineData(CompletionState.CompletedWithError, CompletionState.CompletedWithWarning)]
Publishing\PublishingExtensionsTests.cs (1)
103Assert.Equal(CompletionState.CompletedWithWarning, taskInternal.CompletionState);
Pipelines.AppHost (10)
AppHost.cs (10)
88CompletionState.CompletedWithWarning, 103CompletionState.CompletedWithWarning, 123CompletionState.CompletedWithWarning, 138CompletionState.CompletedWithWarning, 158CompletionState.CompletedWithWarning, 173CompletionState.CompletedWithWarning, 196CompletionState.CompletedWithWarning, 208CompletionState.CompletedWithWarning, 222CompletionState.CompletedWithWarning, 274CompletionState.CompletedWithWarning,