Skip to content

[WIP] Update logs command to show errors and warnings in verbose mode - #5579

Closed
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/show-errors-warnings-verbose
Closed

[WIP] Update logs command to show errors and warnings in verbose mode#5579
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/show-errors-warnings-verbose

Conversation

CopilotAI commented Dec 4, 2025

Copy link
Copy Markdown
Contributor

Plan: Only show "Errors and Warnings" in verbose mode for logs command

  • Modify buildLogsData function to accept a verbose parameter
  • Update buildLogsData to conditionally populate ErrorsAndWarnings field based on verbose flag
  • Pass verbose flag from DownloadWorkflowLogs to buildLogsData
  • Add/update tests to verify the behavior
  • Fix aggregateLogErrors to return empty slice instead of nil
  • Manually test the logs command with and without verbose flag
  • Run lint, build, and test to ensure no regressions
Original prompt

In "logs" command, only show "## Errors and Warnings" in verbose mode.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhanpelikhan closed this Dec 4, 2025
CopilotAI requested a review from pelikhanDecember 4, 2025 22:52
@pelikhan
pelikhan deleted the copilot/show-errors-warnings-verbose branch December 5, 2025 06:16
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@pelikhan