Repository navigation
[log] Add debug logging to compiler_yaml_header.go - #78903
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The reviewed change is limited to namespace-scoped debug logging in YAML header generation, with no active issues identified and no compilation behavior changes indicated.
No open issues 🎉
What changed in this PR
Adds namespace-scoped debug logging to workflow YAML header generation without changing compilation behavior.
Changes:
- Adds the
workflow:compiler_yaml_headerlogger. - Logs header generation, skipped headers, metadata serialization fallback, and raw-frontmatter suppression parsing.
| File | Description |
|---|---|
| pkg/workflow/compiler_yaml_header.go | Adds the compiler YAML header logger and four debug log calls at key generation and fallback paths. |
Review effort: Lite (adaptive)
pelikhan
deleted the
log/compiler-yaml-header-logger-9f2387bad29d1a75
branch
November 18, 2026 03:50
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 a
workflow:compiler_yaml_headerdebug logger and 4 log calls topkg/workflow/compiler_yaml_header.go:skipHeaderis setWhy only one file
The pre-flight
manifest.jsonlisted up to 5 files, but itsfiles_needing_loggerlist was stale/inaccurate. I checked the first entries (pkg/actionpins/*,pkg/agentdrain/*,pkg/atif/*,pkg/cli/add_*,access_log.go,actionlint.go, etc.) and themissing_logger_importfiles inpkg/workflow,pkg/cliandpkg/connectors. They already have package-level loggers and existing log calls, so adding more would be duplicate logging.compiler_yaml_header.gowas the only file I found with no logging.Validation
make build && make fmtpassed.make agent-report-progressandtest-unit.🤖 Generated with [Claude Code]((claude.com/redacted)