diff --git a/server/src/__tests__/issue-recovery-actions.test.ts b/server/src/__tests__/issue-recovery-actions.test.ts index a7e6de703d5..dd15e7c0cdd 100644 --- a/server/src/__tests__/issue-recovery-actions.test.ts +++ b/server/src/__tests__/issue-recovery-actions.test.ts @@ -573,7 +573,10 @@ describeEmbeddedPostgres("issue recovery actions", () => { it("resolves an active recovery action by returning the source issue to todo", async () => { const { companyId, managerId, sourceIssueId } = await seedCompany(); - await db.update(issues).set({ status: "blocked" }).where(eq(issues.id, sourceIssueId)); + await db + .update(issues) + .set({ status: "blocked", assigneeAgentId: null, assigneeUserId: "board-user" }) + .where(eq(issues.id, sourceIssueId)); const recoveryActionSvc = issueRecoveryActionService(db); const action = await recoveryActionSvc.upsertSourceScoped({ companyId, diff --git a/server/src/__tests__/issue-update-comment-wakeup-routes.test.ts b/server/src/__tests__/issue-update-comment-wakeup-routes.test.ts index b0f04f97e43..167037fbafd 100644 --- a/server/src/__tests__/issue-update-comment-wakeup-routes.test.ts +++ b/server/src/__tests__/issue-update-comment-wakeup-routes.test.ts @@ -12,6 +12,7 @@ const mockIssueService = vi.hoisted(() => ({ getRelationSummaries: vi.fn(), listWakeableBlockedDependents: vi.fn(), getWakeableParentAfterChildCompletion: vi.fn(), + getCurrentScheduledRetry: vi.fn(), })); const mockHeartbeatService = vi.hoisted(() => ({ @@ -205,6 +206,7 @@ describe("issue update comment wakeups", () => { mockIssueService.getRelationSummaries.mockResolvedValue({ blockedBy: [], blocks: [] }); mockIssueService.listWakeableBlockedDependents.mockResolvedValue([]); mockIssueService.getWakeableParentAfterChildCompletion.mockResolvedValue(null); + mockIssueService.getCurrentScheduledRetry.mockResolvedValue(null); }); it("includes the new comment in assignment wakes from issue updates", async () => {