mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-30 21:49:18 +01:00
Carry current lifecycle services into Copilot qualification
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
commit
71cbdda23f
200 files changed
+14307
-6935
No files matched your search
@@ -1308,10 +1308,11 @@ export async function quarantineSeededWorktreeExecutionState(
|
||||
.update(agents)
|
||||
.set({
|
||||
runtimeConfig: normalized.runtimeConfig,
|
||||
status: nextStatus,
|
||||
updatedAt: new Date(),
|
||||
})
|
||||
.where(eq(agents.id, agent.id));
|
||||
if (nextStatus !== agent.status) await tx.update(agents).set({ status: "idle", updatedAt: new Date() })
|
||||
.where(and(eq(agents.id, agent.id), eq(agents.lifecycleState, "ready")));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user