[log] Add debug logging to campaign and parser modules#7466
Merged
Conversation
Enhanced 5 Go files with debug logging following project guidelines: - pkg/campaign/status.go: Added campaign:status logger for campaign workflow tracking, metrics, and cursor management - pkg/parser/github.go: Added parser:github logger for token retrieval - pkg/parser/import_directive.go: Added parser:import_directive logger for import parsing - pkg/parser/import_error.go: Added parser:import_error logger for error formatting - pkg/parser/yaml_error.go: Added parser:yaml_error logger for YAML error extraction All loggers follow the pkg:filename naming convention and include meaningful logging at function entry points and key decision points. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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 with debug logging following project guidelines:
pkg/campaign/status.go - Added
campaign:statuslogger with logging for:pkg/parser/github.go - Added
parser:githublogger with logging for:pkg/parser/import_directive.go - Added
parser:import_directivelogger with logging for:pkg/parser/import_error.go - Added
parser:import_errorlogger with logging for:pkg/parser/yaml_error.go - Added
parser:yaml_errorlogger with logging for:Changes Made
pkg:filenamenaming conventionQuality Checklist
make build(no compilation errors)./gh-aw compile devTesting
Validated changes with:
Notes
These logging enhancements improve debugging capabilities for:
Debug logs can be enabled by setting
DEBUG=*environment variable.