Skip to content

Reduce setup.sh log verbosity by moving file copy messages to debug level#8692

Merged
pelikhan merged 2 commits intomainfrom
copilot/reduce-message-verbosity
Jan 2, 2026
Merged

Reduce setup.sh log verbosity by moving file copy messages to debug level#8692
pelikhan merged 2 commits intomainfrom
copilot/reduce-message-verbosity

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 2, 2026

The actions/setup/setup.sh script was emitting individual ::notice:: messages for every file copied (~300+ messages), creating excessive log noise and making workflow runs difficult to scan.

Changes

  • Changed individual file copy messages from ::notice:: to ::debug:: level
  • Retained high-level summary messages at ::notice:: level (directory creation, file counts, completion status)

Impact

Before:

::notice::Found 262 files in .../js
::notice::Copied: add_comment.cjs
::notice::Copied: add_copilot_reviewer.cjs
::notice::Copied: add_labels.cjs
# ... 269 more individual file messages
::notice::Successfully copied 272 files

After:

::notice::Found 262 files in .../js
::debug::Copied: add_comment.cjs
::debug::Copied: add_copilot_reviewer.cjs
# ... (debug messages hidden by default)
::notice::Successfully copied 272 files

Reduces notice-level output from ~300 to 10 messages. Individual file names remain available via ::debug:: when troubleshooting.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login go1.25.0 -c=4 -nolocalimports -importcfg /tmp/go-build1392432738/b386/importcfg -pack PGGJ1TVaLT-t env -json GO111MODULE 0.1-go1.25.0.lin-nilfunc GOINSECURE GOMOD GOMODCACHE 0.1-go1.25.0.lin-importcfg (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Reduce the verbosity of messages in the actions/setup/setup.sh script (copied messages should be debug level)


💡 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.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Reduce message verbosity in setup script Reduce setup.sh log verbosity by moving file copy messages to debug level Jan 2, 2026
Copilot AI requested a review from pelikhan January 2, 2026 23:29
@pelikhan pelikhan marked this pull request as ready for review January 2, 2026 23:32
@pelikhan pelikhan merged commit 721b73e into main Jan 2, 2026
164 checks passed
@pelikhan pelikhan deleted the copilot/reduce-message-verbosity branch January 2, 2026 23:32
Sign up for free to 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