feat: hydrate persisted PR details on task disclosure (#3055)

This commit is contained in:
Carlos Florêncio
2026-08-26 15:54:59 +00:00
committed by GitHub
parent 49dd944bd3
commit a6896bca9a
68 changed files with 1764 additions and 130 deletions
+6 -1
View File
@@ -1783,7 +1783,12 @@ export class ApiClient {
checks_passing?: number;
unresolved_review_threads?: number;
}): Promise<void> {
await this.request("POST", "/api/v1/github/mock/task-prs", data);
const workspaceId = data.workspace_id?.trim() || (await this.activeWorkspaceId());
await this.request(
"POST",
"/api/v1/github/mock/task-prs",
workspaceId ? { ...data, workspace_id: workspaceId } : data,
);
}
async associateGitHubTaskPR(data: {