[log] Add debug logging to 5 core Go files for better troubleshooting#14743
Merged
[log] Add debug logging to 5 core Go files for better troubleshooting#14743
Conversation
Enhanced debug logging in workflow compilation, audit reporting, workflow updates, and include processing to improve visibility during development and troubleshooting. Files modified: - pkg/workflow/safe_outputs_config_generation.go: Added logging for config generation steps - pkg/workflow/compiler_yaml_main_job.go: Added logging for cache and engine steps - pkg/cli/audit_report_render.go: Added logging for report rendering sections - pkg/cli/update_workflows.go: Added logging for workflow update operations - pkg/parser/include_processor.go: Added dedicated logger and enhanced logging All changes follow project logging guidelines with meaningful messages, proper logger naming (pkg:filename), and no side effects in log arguments. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
Author
🔍 PR Triage ResultsCategory: bug | Risk: high | Priority: 58/100 Scores Breakdown
📋 Recommended Action: batch_reviewRationale: High-risk bug fix in core workflow files (pkg/workflow/*) requires careful review despite medium priority score. Changes touch compilation logic which is critical to system functionality. Review Focus:
Triaged by PR Triage Agent on 2026-02-10
|
pelikhan
approved these changes
Feb 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enhanced debug logging in 5 important Go files to improve troubleshooting and development workflow visibility.
Files Modified
pkg/workflow/safe_outputs_config_generation.go (34KB)
pkg/workflow/compiler_yaml_main_job.go (28KB)
pkg/cli/audit_report_render.go (17KB)
pkg/cli/update_workflows.go (16KB)
pkg/parser/include_processor.go (9KB)
Logging Guidelines Followed
All changes adhere to the project's logging guidelines from AGENTS.md:
pkg:filenamepatternValidation
make buildDEBUG=* ./gh-aw compile devTesting
To see the new logging in action:
DEBUG=* ./gh-aw compile devThis will show detailed debug output from all enhanced files during workflow compilation.
🤖 Generated with [Claude Code]((claude.com/redacted)