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)
36
CompletionState.
CompletedWithWarning
=> CompletionStates.CompletedWithWarning,
250
CompletionState.
CompletedWithWarning
=> "Pipeline completed with warnings",
Pipelines\ReportingStep.cs (1)
202
CompletionState.
CompletedWithWarning
=> $"{Title} completed with warnings",
Publishing\PublishingExtensions.cs (4)
62
await step.CompleteAsync(completionText, CompletionState.
CompletedWithWarning
, cancellationToken).ConfigureAwait(false);
78
await step.CompleteAsync(message, CompletionState.
CompletedWithWarning
, cancellationToken).ConfigureAwait(false);
191
await task.CompleteAsync(message, CompletionState.
CompletedWithWarning
, cancellationToken).ConfigureAwait(false);
207
await task.CompleteAsync(message, CompletionState.
CompletedWithWarning
, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
309
0 => ("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)]
301
Assert.Equal(completionState == CompletionState.
CompletedWithWarning
, activity.Data.IsWarning);
341
await step2.CompleteAsync("Step 2 completed with warning", CompletionState.
CompletedWithWarning
, CancellationToken.None);
757
Assert.Equal(CompletionState.
CompletedWithWarning
, taskInternal.CompletionState);
810
[InlineData(CompletionState.
CompletedWithWarning
, "Pipeline completed with warnings", false)]
827
Assert.Equal(completionState == CompletionState.
CompletedWithWarning
, activity.Data.IsWarning);
1117
await task.CompleteAsync("Warning message", CompletionState.
CompletedWithWarning
, CancellationToken.None);
1123
await task.CompleteAsync("Different warning message", CompletionState.
CompletedWithWarning
, CancellationToken.None);
1129
Assert.Equal(CompletionState.
CompletedWithWarning
, taskInternal.CompletionState);
1166
await step.CompleteAsync("Warning", CompletionState.
CompletedWithWarning
, CancellationToken.None);
1172
await step.CompleteAsync("Different warning", CompletionState.
CompletedWithWarning
, CancellationToken.None);
1178
Assert.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)
104
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
,