feat: Add agent column to logs output and update table header style#2046
Merged
feat: Add agent column to logs output and update table header style#2046
Conversation
- Added Agent field to RunData struct after WorkflowName - Extract engine ID from aw_info.json in buildLogsData - Updated tableHeaderStyle to remove background and use grey foreground - All tests passing Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add agent column to logs command output
feat: Add agent column to logs output and update table header style
Oct 20, 2025
pelikhan
approved these changes
Oct 20, 2025
Contributor
|
Agentic Changeset Generator triggered by this pull request. |
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <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.
Overview
This PR enhances the
logscommand output by adding an "Agent" column that displays the agentic engine ID for each workflow run, and updates the table header styling for better visual clarity.Changes
1. Added Agent Column
The logs table now includes an "Agent" column positioned after the "Workflow" column that displays the engine ID (e.g.,
claude,codex,copilot) for each workflow run. The engine ID is automatically extracted from theaw_info.jsonfile in each run's log directory.Example output:
This makes it easy to see which AI engine was used for each workflow execution at a glance, helping with analysis and debugging.
2. Updated Table Header Style
Table headers have been updated from white text on a dark background to grey text with no background:
#FFFFFF(white) foreground with#34374A(dark grey) background#6272A4(grey) foreground with no backgroundThis provides a cleaner, more subtle appearance that improves readability and visual hierarchy.
Visual Demonstration
The screenshot shows:
Technical Details
Files Modified:
pkg/cli/logs_report.go- AddedAgentfield toRunDatastruct and extraction logic inbuildLogsData()pkg/cli/logs_report_test.go- Updated test data to include Agent fieldpkg/console/console.go- UpdatedtableHeaderStyleto use grey foreground without backgroundImplementation:
omitemptytag to gracefully handle cases whereaw_info.jsonis not availableparseAwInfo()function for consistencyTesting
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.