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)
36
CompletionState.
CompletedWithWarning
=> CompletionStates.CompletedWithWarning,
261
CompletionState.
CompletedWithWarning
=> "Pipeline completed with warnings",
Pipelines\ReportingStep.cs (1)
210
CompletionState.
CompletedWithWarning
=> $"{Title} completed with warnings",
Publishing\PublishingExtensions.cs (4)
58
await step.CompleteAsync(completionText, CompletionState.
CompletedWithWarning
, cancellationToken).ConfigureAwait(false);
74
await step.CompleteAsync(message, CompletionState.
CompletedWithWarning
, cancellationToken).ConfigureAwait(false);
187
await task.CompleteAsync(message, CompletionState.
CompletedWithWarning
, cancellationToken).ConfigureAwait(false);
203
await task.CompleteAsync(message, CompletionState.
CompletedWithWarning
, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
382
0 => ("No azure compute environments found in the model.", CompletionState.
CompletedWithWarning
),
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxContainerDeployment.cs (1)
1333
CompletionState.
CompletedWithWarning
,
Aspire.Hosting.Tests (21)
Publishing\PipelineActivityReporterTests.cs (20)
332
[InlineData(CompletionState.
CompletedWithWarning
, "Pipeline completed with warnings", false)]
349
Assert.Equal(completionState == CompletionState.
CompletedWithWarning
, activity.Data.IsWarning);
389
await step2.CompleteAsync("Step 2 completed with warning", CompletionState.
CompletedWithWarning
, CancellationToken.None);
869
Assert.Equal(CompletionState.
CompletedWithWarning
, taskInternal.CompletionState);
922
[InlineData(CompletionState.
CompletedWithWarning
, "Pipeline completed with warnings", false)]
939
Assert.Equal(completionState == CompletionState.
CompletedWithWarning
, activity.Data.IsWarning);
1229
await task.CompleteAsync("Warning message", CompletionState.
CompletedWithWarning
, CancellationToken.None);
1235
await task.CompleteAsync("Different warning message", CompletionState.
CompletedWithWarning
, CancellationToken.None);
1241
Assert.Equal(CompletionState.
CompletedWithWarning
, taskInternal.CompletionState);
1278
await step.CompleteAsync("Warning", CompletionState.
CompletedWithWarning
, CancellationToken.None);
1284
await step.CompleteAsync("Different warning", CompletionState.
CompletedWithWarning
, CancellationToken.None);
1290
Assert.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)
104
Assert.Equal(CompletionState.
CompletedWithWarning
, taskInternal.CompletionState);
Pipelines.AppHost (10)
AppHost.cs (10)
86
CompletionState.
CompletedWithWarning
,
101
CompletionState.
CompletedWithWarning
,
121
CompletionState.
CompletedWithWarning
,
136
CompletionState.
CompletedWithWarning
,
156
CompletionState.
CompletedWithWarning
,
171
CompletionState.
CompletedWithWarning
,
194
CompletionState.
CompletedWithWarning
,
206
CompletionState.
CompletedWithWarning
,
220
CompletionState.
CompletedWithWarning
,
272
CompletionState.
CompletedWithWarning
,