mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-01 15:35:12 +01:00
Carry qualified fixture wake reason through 18388
Normal parent merge; only the qualified queued-run fixture changes. Preserve every other owned and upstream blob. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
commit
8fc9220ff9
1 file changed
+1
-1
@@ -383,7 +383,7 @@ describeEmbeddedPostgres("heartbeat stale queued-run invalidation", () => {
|
||||
it("joins a claimed execution whose initial run read has not reached live registration", async () => {
|
||||
const { companyId, agentId } = await seedCompanyAndAgent();
|
||||
const [issue] = await db.insert(issues).values({ companyId, title: "Held preparation", status: "todo", assigneeAgentId: agentId }).returning();
|
||||
const queued = await seedQueuedRun({ companyId, agentId, issueId: issue.id });
|
||||
const queued = await seedQueuedRun({ companyId, agentId, issueId: issue.id, wakeReason: "issue_assigned" });
|
||||
const entered = Promise.withResolvers<void>(), release = Promise.withResolvers<void>();
|
||||
const factory = runState.createHeartbeatRunState;
|
||||
let held = false;
|
||||
|
||||
Reference in new issue
Block a user