fix(04-01): resolve type errors and update integration tests for wakeup API
- Fix SQLInputValue type in listWakeupRequests params - Fix leftover pendingWakes reference in worker-service.ts - Fix RunStatus 'completed' -> 'succeeded' in atomic-checkout test - Update autonomous-chain.spec.ts to use new wakeup lifecycle API
This commit is contained in:
1 parent
f647a4fdf1
commit
4d47712669
4 files changed
+53
-41
No files matched your search
@@ -2091,7 +2091,7 @@ export class AppDatabase {
|
||||
claimedAt: string | null; finishedAt: string | null; createdAt: string; updatedAt: string;
|
||||
}> {
|
||||
const conditions = ["company_id = ?"];
|
||||
const params: unknown[] = [companyId];
|
||||
const params: SQLInputValue[] = [companyId];
|
||||
if (filters?.status) { conditions.push("status = ?"); params.push(filters.status); }
|
||||
if (filters?.agentId) { conditions.push("agent_id = ?"); params.push(filters.agentId); }
|
||||
const limit = filters?.limit ?? 50;
|
||||
|
||||
Reference in new issue
Block a user