BUILD-9431 Group GitHub Actions logs for readability#221
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request adds GitHub Actions log grouping across all build scripts to improve log readability by wrapping verbose operations in ::group::/::endgroup:: markers. These groups allow GitHub Actions to collapse sections by default, showing a compact summary of build steps with expandable details.
Changes:
- Added log grouping to all build scripts (Maven, Gradle, NPM, Yarn, Poetry) and support scripts (promote, version setters, artifact deployment)
- Updated all corresponding test specifications to verify the new grouped output format
- Groups are consistently applied to tool checks, environment configuration, build steps, Sonar analysis, and deployment operations
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| promote/promote.sh | Added groups for tool checks, promotion configuration, artifact promotion, and GitHub notifications |
| config-maven/set_maven_project_version.sh | Added groups for tool checks and version setting |
| config-gradle/set_gradle_project_version.sh | Added groups for tool checks and version setting |
| build-yarn/build.sh | Added groups for tool checks, environment setup, version setting, dependencies, tests, build, and deployment |
| build-poetry/build.sh | Added groups for tool checks, environment setup, version setting, dependencies, build, Sonar analysis, and deployment |
| build-npm/build.sh | Added groups for tool checks, git fetch, dependencies, tests, build, and deployment |
| build-maven/deploy-artifacts.sh | Added groups for JFrog configuration and public/private artifact deployment |
| build-maven/build.sh | Added groups for tool checks, git fetch, and Maven build |
| build-gradle/build.sh | Added groups for tool checks, environment setup, and Gradle build |
| spec/*.sh (8 files) | Updated test expectations to verify the new grouped output format with correct line numbers and assertions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Wrap verbose operations in ::group::/::endgroup:: across all build scripts so GitHub Actions logs are folded by default, showing a compact summary of build steps with expandable details. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1ab5a3c to
e50fb05
Compare
SonarQube reviewer guideSummary: Adds GitHub Actions workflow grouping ( Review Focus:
Start review at:
|




Wrap verbose operations in
::group::/::endgroup::across all build scripts so GitHub Actions logs are folded by default, showing a compact summary of build steps with expandable details.Test Plan
Temporary PRs have been generated for the dummy repos that test these changes! See below: