[log] Add debug logging to 5 workflow compilation files #13682
Merged
+50
−1
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 5 Go files in the
pkg/workflowdirectory with debug logging statements to improve troubleshooting and development.Files Modified
pkg/workflow/frontmatter_extraction_metadata.gofrontmatterMetadataLogpkg/workflow/safe_outputs_config_messages.gosafeOutputMessagesLogpkg/workflow/safe_outputs_config_helpers_reflection.gosafeOutputReflectionLogpkg/workflow/close_entity_helpers.goparseCloseEntityConfigfunctionpkg/workflow/expression_patterns.goexpressionPatternsLogLogging Guidelines Followed
✅ Logger naming convention:
pkg:filenamepattern (e.g.,workflow:frontmatter_extraction_metadata)✅ Logger arguments have no side effects
✅ Logging added at function entry for important operations
✅ Logging added for state changes and validation results
✅ Meaningful, helpful logging messages
✅ No duplicate logging with existing logs
Validation
make buildgo run ./cmd/gh-aw compile devDEBUG=*is setExample Debug Output
🤖 Generated with [Claude Code]((claude.com/redacted)