[log] Add debug logging to 5 workflow compilation files#13682
Merged
Conversation
Enhanced 5 Go files in pkg/workflow with debug logging: - frontmatter_extraction_metadata.go: tracker ID and timeout extraction - safe_outputs_config_messages.go: message configuration parsing - safe_outputs_config_helpers_reflection.go: reflection-based checks - close_entity_helpers.go: entity configuration parsing - expression_patterns.go: regex pattern initialization All logging follows project guidelines with proper naming convention (workflow:filename) and side-effect-free arguments. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
pelikhan
approved these changes
Feb 4, 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 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)