Carry qualified fixture wake reason through 18384

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:
DottaandPaperclip committed 2026-10-31 11:20:11 -05:00
commit 978f13f201
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;