Bound provisioning history and poll only active operations

This commit is contained in:
2026-10-05 14:52:30 -04:00
parent 16a5bc3534
commit 041c024f95
11 changed files with 279 additions and 44 deletions
@@ -70,7 +70,7 @@ describe('provisioning reads with retained lifecycle history', () => {
expect(handle.prepare('SELECT message FROM server_deployment_events').all()).toEqual([{ message: 'Creation complete' }]);
const indexes = handle.pragma('index_list(server_deployments)') as { name: string }[];
expect(indexes.map(index => index.name)).toEqual(expect.arrayContaining([
'idx_server_deployments_server', 'idx_server_deployments_state'
'idx_server_deployments_server', 'idx_server_deployments_state', 'idx_server_deployments_started_at'
]));
expect(handle.pragma('foreign_key_check')).toEqual([]);
closeDb();