40 references to CompletedWithWarning
Aspire.Hosting (8)
Ats\PipelineExports.cs (1)
161"completedwithwarning" or "completed_with_warning" or "completed-with-warning" => CompletionState.CompletedWithWarning,
Pipelines\PipelineActivityReporter.cs (2)
36CompletionState.CompletedWithWarning => CompletionStates.CompletedWithWarning, 250CompletionState.CompletedWithWarning => "Pipeline completed with warnings",
Pipelines\ReportingStep.cs (1)
202CompletionState.CompletedWithWarning => $"{Title} completed with warnings",
Publishing\PublishingExtensions.cs (4)
62await step.CompleteAsync(completionText, CompletionState.CompletedWithWarning, cancellationToken).ConfigureAwait(false); 78await step.CompleteAsync(message, CompletionState.CompletedWithWarning, cancellationToken).ConfigureAwait(false); 191await task.CompleteAsync(message, CompletionState.CompletedWithWarning, cancellationToken).ConfigureAwait(false); 207await task.CompleteAsync(message, CompletionState.CompletedWithWarning, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
3090 => ("No azure compute environments found in the model.", CompletionState.CompletedWithWarning),
Aspire.Hosting.Tests (21)
Publishing\PipelineActivityReporterTests.cs (20)
284[InlineData(CompletionState.CompletedWithWarning, "Pipeline completed with warnings", false)] 301Assert.Equal(completionState == CompletionState.CompletedWithWarning, activity.Data.IsWarning); 341await step2.CompleteAsync("Step 2 completed with warning", CompletionState.CompletedWithWarning, CancellationToken.None); 757Assert.Equal(CompletionState.CompletedWithWarning, taskInternal.CompletionState); 810[InlineData(CompletionState.CompletedWithWarning, "Pipeline completed with warnings", false)] 827Assert.Equal(completionState == CompletionState.CompletedWithWarning, activity.Data.IsWarning); 1117await task.CompleteAsync("Warning message", CompletionState.CompletedWithWarning, CancellationToken.None); 1123await task.CompleteAsync("Different warning message", CompletionState.CompletedWithWarning, CancellationToken.None); 1129Assert.Equal(CompletionState.CompletedWithWarning, taskInternal.CompletionState); 1166await step.CompleteAsync("Warning", CompletionState.CompletedWithWarning, CancellationToken.None); 1172await step.CompleteAsync("Different warning", CompletionState.CompletedWithWarning, CancellationToken.None); 1178Assert.Equal(CompletionState.CompletedWithWarning, stepInternal.CompletionState); 1206[InlineData(CompletionState.Completed, CompletionState.CompletedWithWarning)] 1208[InlineData(CompletionState.CompletedWithWarning, CompletionState.Completed)] 1209[InlineData(CompletionState.CompletedWithWarning, CompletionState.CompletedWithError)] 1211[InlineData(CompletionState.CompletedWithError, CompletionState.CompletedWithWarning)] 1237[InlineData(CompletionState.Completed, CompletionState.CompletedWithWarning)] 1239[InlineData(CompletionState.CompletedWithWarning, CompletionState.Completed)] 1240[InlineData(CompletionState.CompletedWithWarning, CompletionState.CompletedWithError)] 1242[InlineData(CompletionState.CompletedWithError, CompletionState.CompletedWithWarning)]
Publishing\PublishingExtensionsTests.cs (1)
104Assert.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,