[log] Add debug logging to safe outputs and runtime step generation#11461
Merged
[log] Add debug logging to safe outputs and runtime step generation#11461
Conversation
Enhanced 5 Go files with debug logging to improve troubleshooting and development: - pkg/workflow/compiler_safe_outputs_env.go: Added logger declaration and 3 logging calls for safe output environment variable configuration - pkg/workflow/compiler_safe_outputs_specialized.go: Added logger declaration and 3 logging calls for specialized safe output step config building (assign-to-agent, create-agent-session, create-project) - pkg/workflow/safe_inputs_generator.go: Added logger declaration and 3 logging calls for safe inputs tools config generation - pkg/workflow/update_entity_helpers.go: Added logger declaration and 3 logging calls for update entity config parsing - pkg/workflow/runtime_step_generator.go: Added logger declaration and 4 logging calls for runtime setup step generation All logging follows the guidelines from AGENTS.md: - Using pkg:filename naming convention for logger IDs - Logging at function entry and control flow decisions - Avoiding side effects in log arguments - Providing meaningful context for debugging Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
|
@copilot generate a shared agentic workflow that exposes a "go" safe input tool and a "make" safe input tool that act as a way to invoke go/ make. Import these tools in this workflow. |
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 capabilities in the workflow compiler.
Files Modified
pkg/workflow/compiler_safe_outputs_env.go
safeOutputsEnvLogpkg/workflow/compiler_safe_outputs_specialized.go
specializedOutputsLogpkg/workflow/safe_inputs_generator.go
safeInputsGeneratorLogpkg/workflow/update_entity_helpers.go
updateEntityHelpersLogpkg/workflow/runtime_step_generator.go
runtimeStepGeneratorLogLogging Guidelines Compliance
All changes follow the logging guidelines from AGENTS.md:
pkg:filenamenaming convention for logger IDsTesting
The code changes follow Go syntax and import conventions. Build validation should be performed in CI to ensure no compilation errors.
To test logging output:
DEBUG=* ./gh-aw compile devContext
This is part of an ongoing effort to enhance the codebase with debug logging. Previous sessions have added logging to 9 other files. This session (#52) adds logging to 5 more files, bringing the total to 14 files with enhanced logging.
🤖 Generated with [Claude Code]((redacted)