mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-13 08:15:14 +02:00
test: close unified ingest v1 expectations
This commit is contained in:
parent
23dba892cd
commit
1180fffdeb
9 changed files with 48 additions and 20 deletions
|
|
@ -378,9 +378,6 @@ export function formatKtxSetupStatus(status: KtxSetupStatus): string {
|
|||
status.agents.length > 0 ? ` (${status.agents.map((agent) => `${agent.target}:${agent.scope}`).join(', ')})` : ''
|
||||
}`,
|
||||
];
|
||||
if (!status.context.ready && status.context.watchCommand && status.context.status === 'running') {
|
||||
lines.push(`Resume: ${status.context.watchCommand}`);
|
||||
}
|
||||
if (!status.context.ready && status.context.status === 'failed' && status.context.detail) {
|
||||
lines.push(`Retry: ${status.context.retryCommand ?? `ktx setup --project-dir ${status.project.path}`}`);
|
||||
}
|
||||
|
|
@ -412,7 +409,7 @@ function setupContextReady(status: KtxSetupStatus): boolean {
|
|||
}
|
||||
|
||||
function setupContextActive(status: KtxSetupStatus): boolean {
|
||||
return status.context.status === 'running' || status.context.status === 'detached';
|
||||
return status.context.status === 'running';
|
||||
}
|
||||
|
||||
function writeContextNotReadyForAgents(projectDir: string, io: KtxCliIo): void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue