Conversation
…itions Add meaningful debug log calls to 5 workflow package files that had logger variables declared but no direct log calls, plus one file with no logger at all. Co-Authored-By: Claude Sonnet 4.6 <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.
Add meaningful debug log calls to 5 workflow package files. Three of these files had logger variables already declared but never used directly; two others had no logging at all.
Changes
pkg/workflow/maintenance_conditions.go— NewmaintenanceConditionsLoglogger + log calls inbuildNotForkAndScheduledOrOperation(logs the operation name) andbuildRunOperationCondition(logs excluded operations list). These condition builders control maintenance job execution, so knowing which conditions are being assembled helps trace why a maintenance job runs or is skipped.pkg/workflow/merge_pull_request.go— Entry log when parsingmerge-pull-requestconfig and result log showingrequiredLabels,allowedLabels, andallowedBranches. The logger was already declared but unused.pkg/workflow/mark_pull_request_as_ready_for_review.go— Entry log at parse time and result log showing the resolvedtarget. Logger was already declared but unused.pkg/workflow/update_issue_helpers.go— Entry log inparseUpdateIssuesConfig. Logger was already declared but unused.pkg/workflow/update_release.go— Entry log inparseUpdateReleaseConfig. Logger was already declared but unused.Test plan
make build— no compilation errorsgo vet ./pkg/workflow/...— no vet issues🤖 Generated with [Claude Code]((claude.com/redacted)