@@ -5,7 +5,7 @@ import type { PullRequestBranches } from "./actions-util";
55import { getApiClient , getGitHubVersion } from "./api-client" ;
66import type { CodeQL } from "./codeql" ;
77import { Feature , FeatureEnablement } from "./feature-flags" ;
8- import { Logger , withGroupAsync } from "./logging" ;
8+ import { Logger } from "./logging" ;
99import { getRepositoryNwoFromEnv } from "./repository" ;
1010import { getErrorMessage , GitHubVariant , satisfiesGHESVersion } from "./util" ;
1111
@@ -83,16 +83,14 @@ export async function prepareDiffInformedAnalysis(
8383 return false ;
8484 }
8585
86- return await withGroupAsync ( "Computing PR diff ranges" , async ( ) => {
87- try {
88- return await computeAndPersistDiffRanges ( branches , logger ) ;
89- } catch ( e ) {
90- logger . warning (
91- `Failed to compute diff-informed analysis ranges: ${ getErrorMessage ( e ) } ` ,
92- ) ;
93- return false ;
94- }
95- } ) ;
86+ try {
87+ return await computeAndPersistDiffRanges ( branches , logger ) ;
88+ } catch ( e ) {
89+ logger . warning (
90+ `Failed to compute diff-informed analysis ranges: ${ getErrorMessage ( e ) } ` ,
91+ ) ;
92+ return false ;
93+ }
9694}
9795
9896export interface DiffThunkRange {
@@ -192,6 +190,7 @@ export async function computeAndPersistDiffRanges(
192190 branches : PullRequestBranches ,
193191 logger : Logger ,
194192) : Promise < boolean > {
193+ logger . info ( "Computing PR diff ranges..." ) ;
195194 const ranges = await getPullRequestEditedDiffRanges ( branches , logger ) ;
196195 if ( ranges === undefined ) {
197196 return false ;
0 commit comments