[log] Add debug logging to utility and validation functions#12196
Merged
[log] Add debug logging to utility and validation functions#12196
Conversation
Enhanced 5 Go files with debug logging to improve troubleshooting: - pkg/gitutil/gitutil.go: Added logging for auth error detection - pkg/repoutil/repoutil.go: Added logging for URL parsing - pkg/cli/validators.go: Added logging for validation checks - pkg/workflow/github_tool_to_toolset.go: Added logging for tool validation - pkg/workflow/prompts.go: Added logging for trigger detection All logging follows project guidelines with no side effects. Build and tests validated successfully. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
|
@copilot format, lint |
Contributor
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 to improve troubleshooting and development:
Changes Made
Each file received:
All logging follows the project guidelines from AGENTS.md:
pkg:filenamenaming conventionValidation
make build)Notes
These logging additions will help developers debug issues related to:
Debug logs can be viewed by setting
DEBUG=*environment variable when running gh-aw commands.🤖 Generated with [Claude Code]((redacted)