From 70da4a2f532bbfd5354c7ba304bdfda945ab7c2d Mon Sep 17 00:00:00 2001 From: IsraelAraujo70 Date: Thu, 7 May 2026 10:52:18 -0300 Subject: [PATCH] fix(pr-review): omit event when starting pending review AddPullRequestReviewInput.event does not accept PENDING; passing it fails GraphQL validation. Omitting the field creates the review in PENDING state, which is what submit_pr_review later finalizes. Co-Authored-By: Claude Opus 4.7 (1M context) --- src-tauri/src/commands.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src-tauri/src/commands.rs b/src-tauri/src/commands.rs index 6d1909b..aca9e90 100644 --- a/src-tauri/src/commands.rs +++ b/src-tauri/src/commands.rs @@ -1236,7 +1236,6 @@ pub async fn start_pr_review(pr_node_id: String) -> AppResult { let variables = serde_json::json!({ "input": { "pullRequestId": pr_node_id, - "event": "PENDING", } }); let data: StartReviewData = client.graphql(START_REVIEW_MUTATION, variables).await?;