Downgrade engine default message to trace level#3687
Merged
Conversation
Change the message "No 'engine:' setting found, defaulting to: copilot" from an info-level message (displayed with --verbose flag) to a trace-level message (displayed only when DEBUG=workflow:compiler or DEBUG=* is set). This reduces noise in verbose output while still making the information available for debugging purposes. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Downgrade note message to trace level
Downgrade engine default message to trace level
Nov 12, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR downgrades the engine default message from an info-level console message to a trace-level logger message. The message previously appeared when running gh aw compile with --verbose flag, but now only appears when the DEBUG=workflow:compiler environment variable is set. This reduces noise in verbose output while maintaining the ability to trace default engine selection during debugging.
Key Changes
- Replaced styled info message (
console.FormatInfoMessage) with logger trace message (log.Printf) - Removed verbose flag gate, making message controlled by
DEBUGenvironment variable - Message now follows repository's standard logger pattern with namespace, timing information, and color-coding
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
The info message "NOTE: No 'engine:' setting found, defaulting to: copilot" was displayed with
--verboseflag, creating unnecessary noise in verbose output.Changes
console.FormatInfoMessage()with logger'sPrintf()method inpkg/workflow/compiler.goDEBUGenvironment variable instead of--verboseflagBehavior
Before:
./gh-aw compile workflow.md --verbose # ℹ NOTE: No 'engine:' setting found, defaulting to: copilotAfter:
Message now follows the repository's logger pattern, appearing only when
DEBUG=workflow:compilerorDEBUG=*is set.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.