41 references to CompletedWithWarning
Aspire.Hosting (8)
Ats\PipelineExports.cs (1)
200"completedwithwarning" or "completed_with_warning" or "completed-with-warning" => CompletionState.CompletedWithWarning,
Pipelines\PipelineActivityReporter.cs (2)
38CompletionState.CompletedWithWarning => CompletionStates.CompletedWithWarning, 263CompletionState.CompletedWithWarning => "Pipeline completed with warnings",
Pipelines\ReportingStep.cs (1)
214CompletionState.CompletedWithWarning => $"{Title} completed with warnings",
Publishing\PublishingExtensions.cs (4)
63await step.CompleteAsync(completionText, CompletionState.CompletedWithWarning, cancellationToken).ConfigureAwait(false); 79await step.CompleteAsync(message, CompletionState.CompletedWithWarning, cancellationToken).ConfigureAwait(false); 192await task.CompleteAsync(message, CompletionState.CompletedWithWarning, cancellationToken).ConfigureAwait(false); 208await task.CompleteAsync(message, CompletionState.CompletedWithWarning, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
3660 => ("No azure compute environments found in the model.", CompletionState.CompletedWithWarning),
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxContainerDeployment.cs (1)
1293CompletionState.CompletedWithWarning,
Aspire.Hosting.Tests (21)
Publishing\PipelineActivityReporterTests.cs (20)
334[InlineData(CompletionState.CompletedWithWarning, "Pipeline completed with warnings", false)] 351Assert.Equal(completionState == CompletionState.CompletedWithWarning, activity.Data.IsWarning); 391await step2.CompleteAsync("Step 2 completed with warning", CompletionState.CompletedWithWarning, CancellationToken.None); 871Assert.Equal(CompletionState.CompletedWithWarning, taskInternal.CompletionState); 924[InlineData(CompletionState.CompletedWithWarning, "Pipeline completed with warnings", false)] 941Assert.Equal(completionState == CompletionState.CompletedWithWarning, activity.Data.IsWarning); 1231await task.CompleteAsync("Warning message", CompletionState.CompletedWithWarning, CancellationToken.None); 1237await task.CompleteAsync("Different warning message", CompletionState.CompletedWithWarning, CancellationToken.None); 1243Assert.Equal(CompletionState.CompletedWithWarning, taskInternal.CompletionState); 1280await step.CompleteAsync("Warning", CompletionState.CompletedWithWarning, CancellationToken.None); 1286await step.CompleteAsync("Different warning", CompletionState.CompletedWithWarning, CancellationToken.None); 1292Assert.Equal(CompletionState.CompletedWithWarning, stepInternal.CompletionState); 1320[InlineData(CompletionState.Completed, CompletionState.CompletedWithWarning)] 1322[InlineData(CompletionState.CompletedWithWarning, CompletionState.Completed)] 1323[InlineData(CompletionState.CompletedWithWarning, CompletionState.CompletedWithError)] 1325[InlineData(CompletionState.CompletedWithError, CompletionState.CompletedWithWarning)] 1351[InlineData(CompletionState.Completed, CompletionState.CompletedWithWarning)] 1353[InlineData(CompletionState.CompletedWithWarning, CompletionState.Completed)] 1354[InlineData(CompletionState.CompletedWithWarning, CompletionState.CompletedWithError)] 1356[InlineData(CompletionState.CompletedWithError, CompletionState.CompletedWithWarning)]
Publishing\PublishingExtensionsTests.cs (1)
106Assert.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,