Carry qualified deterministic wake reason fixture argument

Keep production and44-case acceptance source byte-identical; preserve718a measurement attribution.

Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '4f2923f31646579089732e8636307f9dacba62f2':
  test: specify assigned wake reason in held-read fixture
This commit is contained in:
DottaandPaperclip committed 2026-10-31 11:20:39 -05:00
commit 931751cfef
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;