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)
38
CompletionState.
CompletedWithWarning
=> CompletionStates.CompletedWithWarning,
263
CompletionState.
CompletedWithWarning
=> "Pipeline completed with warnings",
Pipelines\ReportingStep.cs (1)
214
CompletionState.
CompletedWithWarning
=> $"{Title} completed with warnings",
Publishing\PublishingExtensions.cs (4)
63
await step.CompleteAsync(completionText, CompletionState.
CompletedWithWarning
, cancellationToken).ConfigureAwait(false);
79
await step.CompleteAsync(message, CompletionState.
CompletedWithWarning
, cancellationToken).ConfigureAwait(false);
192
await task.CompleteAsync(message, CompletionState.
CompletedWithWarning
, cancellationToken).ConfigureAwait(false);
208
await task.CompleteAsync(message, CompletionState.
CompletedWithWarning
, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
366
0 => ("No azure compute environments found in the model.", CompletionState.
CompletedWithWarning
),
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxContainerDeployment.cs (1)
1293
CompletionState.
CompletedWithWarning
,
Aspire.Hosting.Tests (21)
Publishing\PipelineActivityReporterTests.cs (20)
334
[InlineData(CompletionState.
CompletedWithWarning
, "Pipeline completed with warnings", false)]
351
Assert.Equal(completionState == CompletionState.
CompletedWithWarning
, activity.Data.IsWarning);
391
await step2.CompleteAsync("Step 2 completed with warning", CompletionState.
CompletedWithWarning
, CancellationToken.None);
871
Assert.Equal(CompletionState.
CompletedWithWarning
, taskInternal.CompletionState);
924
[InlineData(CompletionState.
CompletedWithWarning
, "Pipeline completed with warnings", false)]
941
Assert.Equal(completionState == CompletionState.
CompletedWithWarning
, activity.Data.IsWarning);
1231
await task.CompleteAsync("Warning message", CompletionState.
CompletedWithWarning
, CancellationToken.None);
1237
await task.CompleteAsync("Different warning message", CompletionState.
CompletedWithWarning
, CancellationToken.None);
1243
Assert.Equal(CompletionState.
CompletedWithWarning
, taskInternal.CompletionState);
1280
await step.CompleteAsync("Warning", CompletionState.
CompletedWithWarning
, CancellationToken.None);
1286
await step.CompleteAsync("Different warning", CompletionState.
CompletedWithWarning
, CancellationToken.None);
1292
Assert.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)
106
Assert.Equal(CompletionState.
CompletedWithWarning
, taskInternal.CompletionState);
Pipelines.AppHost (10)
AppHost.cs (10)
88
CompletionState.
CompletedWithWarning
,
103
CompletionState.
CompletedWithWarning
,
123
CompletionState.
CompletedWithWarning
,
138
CompletionState.
CompletedWithWarning
,
158
CompletionState.
CompletedWithWarning
,
173
CompletionState.
CompletedWithWarning
,
196
CompletionState.
CompletedWithWarning
,
208
CompletionState.
CompletedWithWarning
,
222
CompletionState.
CompletedWithWarning
,
274
CompletionState.
CompletedWithWarning
,