Conversation
Add meaningful debug log statements to functions that previously had no observability, improving traceability during development and debugging. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced Mar 17, 2026
refactor: migrate /opt/gh-aw to ${{ runner.temp }}/gh-aw for self-hosted runner compatibility
#21443
Merged
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.
Add meaningful debug log statements to 5 Go files that previously had no observability in key functions.
Changes
pkg/workflow/safe_outputs_config_helpers.go: AddedsafeOutputsConfigGenLog.Printf(...)togenerateTargetConfigWithRepos— new function from the latest cross-repotarget_repocommit that had no loggingpkg/workflow/lock_schema.go: Added twolockSchemaLog.Printf(...)calls toGenerateLockMetadata— logs schema version/strict/stopTime on entry, and logs when compiler version is embedded in release buildspkg/workflow/github_tool_to_toolset.go: AddedgithubToolToToolsetLog.Printf(...)at the end ofinit()— reports how many tool-to-toolset mappings were loaded from the embedded JSON (the logger was declared but never called)pkg/workflow/compiler_yaml_ai_execution.go: AddedcompilerYamlLog.Printf(...)togenerateEngineExecutionSteps— logs engine ID and step count, consistent with othergenerateXfunctions in the same filepkg/cli/codemod_github_app.go: AddedgithubAppCodemodLog.Print(...)before eachreturn trueinhasDeprecatedAppField— identifies which frontmatter section contains the deprecatedapp:fieldTest plan
make buildpasses with no errorsgo test ./pkg/workflow/... ./pkg/cli/...passes (all tests green)len()calls🤖 Generated with [Claude Code]((claude.com/redacted)