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
@@ -411,7 +411,7 @@ export function createWorkerService({
|
||||
}
|
||||
|
||||
// Self-wake with circuit breaker to prevent infinite loops
|
||||
if (pendingWakes.length === 0 && !isQuitting() && !destroyed) {
|
||||
if (queuedWakes.length === 0 && !isQuitting() && !destroyed) {
|
||||
try {
|
||||
const actionableTasks = db.listAgentTasks(run.agentId, run.companyId, ["todo", "in_progress"]);
|
||||
if (actionableTasks.length > 0) {
|
||||
|
||||
Reference in new issue
Block a user