fix: wire liveness continuation finalization

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-04-18 15:12:06 -05:00
1 parent d29c75f347
commit 09ad5fc2f4
3 files changed
+7 -2

No files matched your search

+6 -1
View File
@@ -1309,10 +1309,15 @@ describeEmbeddedPostgres("issueService blockers and dependency wake readiness",
await svc.update(childB, { status: "cancelled" });
expect(await svc.getWakeableParentAfterChildCompletion(parentId)).toEqual({
expect(await svc.getWakeableParentAfterChildCompletion(parentId)).toMatchObject({
id: parentId,
assigneeAgentId,
childIssueIds: [childA, childB],
childIssueSummaries: [
expect.objectContaining({ id: childA, title: "Child A", status: "done" }),
expect.objectContaining({ id: childB, title: "Child B", status: "cancelled" }),
],
childIssueSummaryTruncated: false,
});
});
});
+1
View File
@@ -4532,6 +4532,7 @@ export function heartbeatService(db: Db) {
}
await finalizeIssueCommentPolicy(livenessRun, agent);
await releaseIssueExecutionAndPromote(livenessRun);
await handleRunLivenessContinuation(livenessRun);
}
if (finalizedRun) {
-1
View File
@@ -143,7 +143,6 @@ export function hasConcreteActionEvidence(evidence: Partial<RunLivenessEvidenceI
normalized.issueCommentsCreated +
normalized.documentRevisionsCreated +
normalized.workProductsCreated +
normalized.workspaceOperationsCreated +
normalized.activityEventsCreated +
normalized.toolOrActionEventsCreated >
0