(params: {
childTaskId: string;
parentWorkspaceId: string;
createdAtMs: number;
updatedAtMs: number;
projectArtifacts: SubagentGitProjectPatchArtifact[];
})
| 226 | } |
| 227 | |
| 228 | function buildPendingPatchArtifact(params: { |
| 229 | childTaskId: string; |
| 230 | parentWorkspaceId: string; |
| 231 | createdAtMs: number; |
| 232 | updatedAtMs: number; |
| 233 | projectArtifacts: SubagentGitProjectPatchArtifact[]; |
| 234 | }): SubagentGitPatchArtifact { |
| 235 | return { |
| 236 | childTaskId: params.childTaskId, |
| 237 | parentWorkspaceId: params.parentWorkspaceId, |
| 238 | createdAtMs: params.createdAtMs, |
| 239 | updatedAtMs: params.updatedAtMs, |
| 240 | status: "pending", |
| 241 | projectArtifacts: params.projectArtifacts, |
| 242 | readyProjectCount: 0, |
| 243 | failedProjectCount: 0, |
| 244 | skippedProjectCount: 0, |
| 245 | totalCommitCount: 0, |
| 246 | }; |
| 247 | } |
| 248 | |
| 249 | export function upsertProjectArtifact(params: { |
| 250 | artifact: SubagentGitPatchArtifact; |
no outgoing calls
no test coverage detected