@@ -27,6 +27,7 @@ import { currentNativeTargetSuffix } from "../certification/package-smoke-lib.mj
2727export const DEFAULT_FUNNEL_TIMEOUT_MS = 120_000 ;
2828export const FUNNEL_DOCTOR_INSTALL_BUDGET_MS = 120_000 ;
2929export const FUNNEL_FIRST_QUERY_BUDGET_MS = 300_000 ;
30+ export const FUNNEL_PACKAGE_SETUP_TIMEOUT_MS = 300_000 ;
3031export const FUNNEL_INSTALL_TARGET = "cursor" ;
3132export const FUNNEL_EXPLORE_QUERY = "where does authentication reach storage?" ;
3233export const MAX_FUNNEL_FOLLOW_UPS = 12 ;
@@ -331,15 +332,22 @@ async function prepareSourceRuntime(context) {
331332async function preparePackageRuntime ( context ) {
332333 const artifact = await requireArtifact ( context , "package" ) ;
333334 const packageArtifacts = await resolvePackageArtifacts ( context , artifact ) ;
334- await runCommandCheck ( context , "package-install" , "npm" , [
335- "install" ,
336- "--prefix" ,
337- context . isolation . paths . npmPrefix ,
338- "--no-save" ,
339- "--audit=false" ,
340- "--fund=false" ,
341- ...packageArtifacts . paths ,
342- ] ) ;
335+ await runCommandCheck (
336+ context ,
337+ "package-install" ,
338+ "npm" ,
339+ [
340+ "install" ,
341+ "--prefix" ,
342+ context . isolation . paths . npmPrefix ,
343+ "--no-save" ,
344+ "--audit=false" ,
345+ "--fund=false" ,
346+ "--loglevel=verbose" ,
347+ ...packageArtifacts . paths ,
348+ ] ,
349+ { timeoutMs : FUNNEL_PACKAGE_SETUP_TIMEOUT_MS } ,
350+ ) ;
343351 const packageRoot = path . join ( context . isolation . paths . npmPrefix , "node_modules" , "@lzehrung" , "codegraph" ) ;
344352 const cliPath = path . join ( packageRoot , "dist" , "bin" , "cli.js" ) ;
345353 const launcherDirectory = path . join ( context . isolation . paths . npmPrefix , "node_modules" , ".bin" ) ;
0 commit comments