14 writes to Id
Aspire.Cli.Tests (14)
Commands\DeployCommandTests.cs (5)
408
Id
= "deploy-step",
421
Id
= "deploy-postgres",
433
Id
= "deploy-postgres",
447
Id
= "deploy-step",
460
Id
= "publish-complete",
Commands\PublishCommandPromptingIntegrationTests.cs (1)
773
Id
= prompt.PromptId,
TestServices\TestAppHostCliBackchannel.cs (8)
127
Id
= "root-step",
138
Id
= "child-task-1",
149
Id
= "child-task-1",
160
Id
= "child-task-2",
171
Id
= "child-task-2",
182
Id
= "child-task-2",
193
Id
= "child-task-2",
204
Id
= "root-step",
14 references to Id
aspire (14)
Commands\PipelineCommandBase.cs (14)
334
if (!steps.TryGetValue(activity.Data.
Id
, out var stepStatus))
339
steps[activity.Data.
Id
] = activity.Data.CompletionState;
347
InteractionService.DisplaySubtleMessage($"[[DEBUG]] Step {activity.Data.
Id
}: {status} - {statusText}", allowMarkup: true);
348
steps[activity.Data.
Id
] = activity.Data.CompletionState;
393
InteractionService.DisplaySubtleMessage($"[[DEBUG]] Task {activity.Data.
Id
} ({stepId}): {status} - {statusText}", allowMarkup: true);
403
InteractionService.DisplaySubtleMessage($"[[DEBUG]] Task {activity.Data.
Id
} ({stepId}): {statusText}", allowMarkup: true);
445
if (!steps.TryGetValue(activity.Data.
Id
, out var stepInfo))
450
Id = activity.Data.
Id
,
457
steps[activity.Data.
Id
] = stepInfo;
541
throw new InvalidOperationException($"Step '{stepId}' not found for task '{activity.Data.
Id
}'");
546
if (!tasks.TryGetValue(activity.Data.
Id
, out var task))
551
Id = activity.Data.
Id
,
557
tasks[activity.Data.
Id
] = task;
738
await backchannel.CompletePromptResponseAsync(activity.Data.
Id
, answers, cancellationToken);