From 0ca144fb97398521f095680bbceb143f2df8fbc1 Mon Sep 17 00:00:00 2001 From: "sentry[bot]" <39604003+sentry[bot]@users.noreply.github.com> Date: Tue, 10 Mar 2026 13:28:00 +0000 Subject: [PATCH] feat(github): Pass GitHub App type to check run updates --- src/app/api/internal/code-review-status/[reviewId]/route.ts | 3 ++- src/routers/code-reviews/code-reviews-router.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/api/internal/code-review-status/[reviewId]/route.ts b/src/app/api/internal/code-review-status/[reviewId]/route.ts index 315f842b8..18a784ea1 100644 --- a/src/app/api/internal/code-review-status/[reviewId]/route.ts +++ b/src/app/api/internal/code-review-status/[reviewId]/route.ts @@ -299,7 +299,8 @@ async function updatePRGateCheck( conclusion: checkRunMapping.conclusion, detailsUrl, output: { title: checkRunMapping.title, summary: checkRunMapping.summary }, - } + }, + integration.github_app_type ?? 'standard' ); logExceptInTest( diff --git a/src/routers/code-reviews/code-reviews-router.ts b/src/routers/code-reviews/code-reviews-router.ts index 716d564b4..30dd162b6 100644 --- a/src/routers/code-reviews/code-reviews-router.ts +++ b/src/routers/code-reviews/code-reviews-router.ts @@ -88,7 +88,8 @@ async function recreatePRGateCheck(review: CloudAgentCodeReview) { repoOwner, repoName, checkRunId, - { status: 'completed', conclusion: 'cancelled' } + { status: 'completed', conclusion: 'cancelled' }, + appType ); logExceptInTest( `[retrigger] Cancelled orphaned check run ${checkRunId} for ${review.repo_full_name}#${review.pr_number}`