Trim provisioning job details (Refs #88)
This commit is contained in:
@@ -138,7 +138,7 @@ export function provisioningOutcome(detail: ProvisioningDetail) {
|
||||
: failure ? `${actionLabels[operation.action]} ${operation.state === 'interrupted' ? 'interrupted' : 'failed'}`
|
||||
: operation.state === 'warning' ? `${actionLabels[operation.action]} completed with warnings`
|
||||
: progress?.blocker?.message ?? operation.stage;
|
||||
let description: string;
|
||||
let description: string | null;
|
||||
if (detail.canResumeCleanup) description = 'The remote deployment was deleted. Resume the remaining local cleanup without repeating container removal.';
|
||||
else if (detail.canResumeRebuild) description = 'The remote deployment was deleted. Resume local cleanup, then create a fresh instance in the reserved server slot.';
|
||||
else if (detail.canResumeVerification) description = 'Resume readiness checks for the existing instance. An unhealthy container may continue through this operation’s remaining restart and rebuild recovery steps.';
|
||||
@@ -152,11 +152,7 @@ export function provisioningOutcome(detail: ProvisioningDetail) {
|
||||
? 'The remote response was uncertain. Inspect the recorded result and server before requesting another operation.'
|
||||
: 'Review the recorded failure and execution evidence before submitting another operation.';
|
||||
else if (operation.state === 'warning') description = 'The operation finished. Review the recorded warnings below for any remaining issue.';
|
||||
else if (operation.state === 'done') description = !progress
|
||||
? 'This operation was recorded as completed. Detailed verification evidence was not recorded.'
|
||||
: operation.action === 'destroy' ? 'The instance removal completed. This record preserves its results after deletion.'
|
||||
: operation.action === 'stop' ? 'The container was confirmed stopped. Its files and registration were retained.'
|
||||
: 'The operation completed its readiness checks. These recorded results describe that attempt; current health is available on the server page.';
|
||||
else if (operation.state === 'done') description = null;
|
||||
else if (active && progress?.phase === 'cleanup' && !progress.blocker) description = operation.action === 'rebuild'
|
||||
? 'Remote deployment deletion was confirmed. Local cleanup must finish before a fresh instance is created in the reserved slot.'
|
||||
: 'Remote deployment deletion was confirmed. The remaining local files and registration cleanup will continue without repeating container removal.';
|
||||
|
||||
Reference in New Issue
Block a user