[log] Add debug logging to runtime validation and schedule scattering#14308
Merged
[log] Add debug logging to runtime validation and schedule scattering#14308
Conversation
Enhanced debug logging in two key files to improve troubleshooting: - pkg/workflow/runtime_validation.go: 16 new log statements - pkg/parser/schedule_fuzzy_scatter.go: 11 new log statements Added comprehensive logging for: - Runtime validation (expressions, containers, packages, secrets) - Fuzzy schedule scattering (all patterns with time comparisons) Follows logging guidelines with pkg:filename naming and meaningful messages. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
pelikhan
approved these changes
Feb 7, 2026
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 debug logging in two key Go files to improve troubleshooting capabilities:
Changes Made
Runtime Validation Logging
Added comprehensive logging to validation functions:
Schedule Scattering Logging
Added logging for fuzzy schedule scattering logic:
Validation
make build- Successful compilationDEBUG=* ./gh-aw compile devLogging Best Practices
All changes follow the project's logging guidelines from AGENTS.md:
pkg:filenamepatternNotes
Original goal was 5 files, but many candidate files already had adequate logging. These 2 files represent the most impactful improvements with minimal existing debug logging.
🤖 Generated with [Claude Code]((claude.com/redacted)