@@ -226,6 +226,7 @@ func DetectRuntimeRequirements(workflowData *WorkflowData) []RuntimeRequirement
226226
227227// detectFromCustomSteps scans custom steps YAML for runtime commands
228228func detectFromCustomSteps (customSteps string , requirements map [string ]* RuntimeRequirement ) {
229+ log .Print ("Scanning custom steps for runtime commands" )
229230 lines := strings .Split (customSteps , "\n " )
230231 for _ , line := range lines {
231232 // Look for run: commands
@@ -277,6 +278,7 @@ func detectRuntimeFromCommand(cmdLine string, requirements map[string]*RuntimeRe
277278
278279// detectFromMCPConfigs scans MCP server configurations for runtime commands
279280func detectFromMCPConfigs (tools map [string ]any , requirements map [string ]* RuntimeRequirement ) {
281+ log .Printf ("Scanning %d MCP configurations for runtime commands" , len (tools ))
280282 for _ , tool := range tools {
281283 // Handle structured MCP config with command field
282284 if toolMap , ok := tool .(map [string ]any ); ok {
@@ -369,6 +371,7 @@ func GenerateRuntimeSetupSteps(requirements []RuntimeRequirement) []GitHubAction
369371
370372// generateSetupStep creates a setup step for a given runtime
371373func generateSetupStep (runtime * Runtime , version string ) GitHubActionStep {
374+ log .Printf ("Generating setup step for runtime: %s, version=%s" , runtime .ID , version )
372375 // Use default version if none specified
373376 if version == "" {
374377 version = runtime .DefaultVersion
@@ -426,6 +429,7 @@ func ShouldSkipRuntimeSetup(workflowData *WorkflowData) bool {
426429
427430// applyRuntimeOverrides applies runtime version overrides from frontmatter
428431func applyRuntimeOverrides (runtimes map [string ]any , requirements map [string ]* RuntimeRequirement ) {
432+ log .Printf ("Applying runtime overrides for %d configured runtimes" , len (runtimes ))
429433 for runtimeID , configAny := range runtimes {
430434 // Parse runtime configuration
431435 configMap , ok := configAny .(map [string ]any )
0 commit comments