41 references to CompletedWithWarning
Aspire.Hosting (8)
Ats\PipelineExports.cs (1)
198"completedwithwarning" or "completed_with_warning" or "completed-with-warning" => CompletionState.CompletedWithWarning,
Pipelines\PipelineActivityReporter.cs (2)
36CompletionState.CompletedWithWarning => CompletionStates.CompletedWithWarning, 261CompletionState.CompletedWithWarning => "Pipeline completed with warnings",
Pipelines\ReportingStep.cs (1)
210CompletionState.CompletedWithWarning => $"{Title} completed with warnings",
Publishing\PublishingExtensions.cs (4)
58await step.CompleteAsync(completionText, CompletionState.CompletedWithWarning, cancellationToken).ConfigureAwait(false); 74await step.CompleteAsync(message, CompletionState.CompletedWithWarning, cancellationToken).ConfigureAwait(false); 187await task.CompleteAsync(message, CompletionState.CompletedWithWarning, cancellationToken).ConfigureAwait(false); 203await task.CompleteAsync(message, CompletionState.CompletedWithWarning, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
3820 => ("No azure compute environments found in the model.", CompletionState.CompletedWithWarning),
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxContainerDeployment.cs (1)
1333CompletionState.CompletedWithWarning,
Aspire.Hosting.Tests (21)
Publishing\PipelineActivityReporterTests.cs (20)
332[InlineData(CompletionState.CompletedWithWarning, "Pipeline completed with warnings", false)] 349Assert.Equal(completionState == CompletionState.CompletedWithWarning, activity.Data.IsWarning); 389await step2.CompleteAsync("Step 2 completed with warning", CompletionState.CompletedWithWarning, CancellationToken.None); 869Assert.Equal(CompletionState.CompletedWithWarning, taskInternal.CompletionState); 922[InlineData(CompletionState.CompletedWithWarning, "Pipeline completed with warnings", false)] 939Assert.Equal(completionState == CompletionState.CompletedWithWarning, activity.Data.IsWarning); 1229await task.CompleteAsync("Warning message", CompletionState.CompletedWithWarning, CancellationToken.None); 1235await task.CompleteAsync("Different warning message", CompletionState.CompletedWithWarning, CancellationToken.None); 1241Assert.Equal(CompletionState.CompletedWithWarning, taskInternal.CompletionState); 1278await step.CompleteAsync("Warning", CompletionState.CompletedWithWarning, CancellationToken.None); 1284await step.CompleteAsync("Different warning", CompletionState.CompletedWithWarning, CancellationToken.None); 1290Assert.Equal(CompletionState.CompletedWithWarning, stepInternal.CompletionState); 1318[InlineData(CompletionState.Completed, CompletionState.CompletedWithWarning)] 1320[InlineData(CompletionState.CompletedWithWarning, CompletionState.Completed)] 1321[InlineData(CompletionState.CompletedWithWarning, CompletionState.CompletedWithError)] 1323[InlineData(CompletionState.CompletedWithError, CompletionState.CompletedWithWarning)] 1349[InlineData(CompletionState.Completed, CompletionState.CompletedWithWarning)] 1351[InlineData(CompletionState.CompletedWithWarning, CompletionState.Completed)] 1352[InlineData(CompletionState.CompletedWithWarning, CompletionState.CompletedWithError)] 1354[InlineData(CompletionState.CompletedWithError, CompletionState.CompletedWithWarning)]
Publishing\PublishingExtensionsTests.cs (1)
104Assert.Equal(CompletionState.CompletedWithWarning, taskInternal.CompletionState);
Pipelines.AppHost (10)
AppHost.cs (10)
86CompletionState.CompletedWithWarning, 101CompletionState.CompletedWithWarning, 121CompletionState.CompletedWithWarning, 136CompletionState.CompletedWithWarning, 156CompletionState.CompletedWithWarning, 171CompletionState.CompletedWithWarning, 194CompletionState.CompletedWithWarning, 206CompletionState.CompletedWithWarning, 220CompletionState.CompletedWithWarning, 272CompletionState.CompletedWithWarning,