Skip to content

feat: implement log grouping for better output#304

Merged
jaxxstorm merged 5 commits into
mainfrom
log_groups
Jul 3, 2026
Merged

feat: implement log grouping for better output#304
jaxxstorm merged 5 commits into
mainfrom
log_groups

Conversation

@jaxxstorm

@jaxxstorm jaxxstorm commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Fixes #293

Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
Copilot AI review requested due to automatic review settings July 2, 2026 23:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a configurable logging mode to improve GitHub Actions output readability by grouping major phases, while also enabling quieter or ungrouped output depending on user preference.

Changes:

  • Introduces a log-mode input (grouped/normal/quiet) and threads it through setup and cleanup execution paths.
  • Wraps major setup/cleanup phases in GitHub Actions log groups when log-mode=grouped.
  • Centralizes routine logging behind logInfo/logDebug helpers and updates command execution logging to respect the selected mode.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/main.ts Adds LogMode, log helpers, grouping wrapper, and propagates log mode through setup/install/connect/status/ping flows.
src/logout/logout.ts Adds LogMode handling and wraps post-job cleanup in a log group while respecting quiet/normal modes.
README.md Documents the new log-mode input and its supported values.
action.yml Adds the log-mode input with default grouped.
dist/index.js Updates compiled action entrypoint to include log-mode behavior and grouping.
dist/logout/index.js Updates compiled post action to include log-mode behavior and grouping.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

jaxxstorm added 2 commits July 2, 2026 16:49
Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
Comment thread src/logout/logout.ts Outdated
jaxxstorm added 2 commits July 2, 2026 18:39
Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
@jaxxstorm jaxxstorm merged commit 508737e into main Jul 3, 2026
15 checks passed
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.

Add a quiet/verbosity input to suppress or group log output

3 participants