[log] Add debug logging to bootstrap flow and aw_info generation#45881
Merged
pelikhan merged 1 commit intoJul 16, 2026
Merged
Conversation
Add debug logging calls to five previously under-logged Go files, reusing existing package-level loggers (bootstrapLog, compilerYamlStepLifecycleLog) so no new imports or logger vars are introduced. - bootstrap_profile_runner.go: profile execution, action apply/skip, plan build, GitHub App browser flow, installation polling - bootstrap_profile_manifest.go: source resolution and manifest config extraction counts - bootstrap_config.go: TODO print and apply-for-add entry points - bootstrap_command.go: command invocation summary - compiler_yaml_step_lifecycle.go: aw_info generation decision summary All log arguments are side-effect-free (field reads, len(), bool reads) and format verbs match argument types. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
pelikhan
deleted the
add-debug-logging-bootstrap-20260716-84f64fcba01a8e6f
branch
July 16, 2026 04:32
This was referenced Jul 16, 2026
Contributor
Author
|
🎉 This pull request is included in a new release. Release: |
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
Adds structured debug log statements to the bootstrap flow and
aw_infogeneration to improve observability during development and troubleshooting. No functional or behavioral changes.Changes
pkg/cli/bootstrap_command.gorepo,createRepo,planOnly,noCompile, and source count.pkg/cli/bootstrap_config.goprintBootstrapConfigTODO(package ID, action count).executeBootstrapConfigForAdd(repo, package ID, action count,useCopilotRequests).pkg/cli/bootstrap_profile_manifest.goresolveBootstrapProfileFromSourceswith source count.extractManifestConfig.pkg/cli/bootstrap_profile_runner.goneedsMutation, plan line count).useCopilotRequests).pkg/workflow/compiler_yaml_step_lifecycle.goaw_infostep generation parameters (engine ID, model configured, version, firewall enabled, staged value).Type
observability— debug logging only; no API, logic, or output changes.Testing