Remove Komodo backend in favor of native hosts
This commit is contained in:
@@ -43,10 +43,10 @@ describe('provisioning evidence persistence', () => {
|
||||
const { handle, recordProgress, read } = await setup();
|
||||
recordProgress('operation', { phase: 'verify-game', command: { state: 'uncertain', message: 'Reply was lost' },
|
||||
checkpoint: { key: 'container-action', label: 'Submission attempted', phase: 'container-action' },
|
||||
checks: [{ key: 'container', label: 'Container', source: 'komodo', result: 'pass' },
|
||||
checks: [{ key: 'container', label: 'Container', source: 'agent', result: 'pass' },
|
||||
{ key: 'game', label: 'Game', source: 'telemetry', result: 'pass' }] });
|
||||
vi.setSystemTime(Date.now() + 15_000);
|
||||
recordProgress('operation', { phase: 'verify-container', checks: [{ key: 'container', label: 'Container', source: 'komodo', result: 'unknown' }] });
|
||||
recordProgress('operation', { phase: 'verify-container', checks: [{ key: 'container', label: 'Container', source: 'agent', result: 'unknown' }] });
|
||||
expect(read()?.checks).toHaveLength(1);
|
||||
expect(read()?.checks[0].result).toBe('unknown');
|
||||
expect(read()?.checkpoints).toHaveLength(1);
|
||||
@@ -87,7 +87,7 @@ describe('provisioning evidence persistence', () => {
|
||||
const { handle, recordProgress, read } = await setup();
|
||||
expect(() => handle.transaction(() => {
|
||||
handle.prepare("UPDATE server_deployments SET state = 'running' WHERE id = 'operation'").run();
|
||||
recordProgress('operation', { phase: 'cleanup', checkpoint: { key: 'delete-deployment', label: 'Remote deletion confirmed' } });
|
||||
recordProgress('operation', { phase: 'cleanup', checkpoint: { key: 'container-action', label: 'Remote deletion confirmed' } });
|
||||
throw new Error('Interrupted transaction');
|
||||
})()).toThrow('Interrupted transaction');
|
||||
expect(read()).toBeNull();
|
||||
|
||||
Reference in New Issue
Block a user