Skip to content

Conversation

JonasDevDE
Copy link
Member

This pull request introduces improvements to the build process for the CLI component and makes minor adjustments to the CI workflow related to rollback management. The most notable changes are the addition of a proper CLI entry point and configuration for building a runnable JAR, as well as some workflow tweaks for artifact handling and rollback messaging.

CLI Build and Entrypoint Enhancements:

  • Added the shadow plugin to cli/build.gradle for building fat JARs, and configured it to set the main class and custom archive name for the CLI artifact.
  • Introduced a minimal CliBootstrap class in cli/src/main/java/com/interguess/devbox/cli/CliBootstrap.java to serve as the CLI application's entry point.

CI Workflow Adjustments:

  • Moved the "Save rollback state" artifact upload step earlier in the workflow to ensure rollback state is saved before initialization.
  • Removed a duplicate "Save rollback state" step after recording the release tag, streamlining the workflow.

Rollback Messaging:

  • Simplified the rollback pull request body text to "Rollback." for clarity and brevity.

@Copilot Copilot AI review requested due to automatic review settings August 23, 2025 21:27
Copy link

@Copilot Copilot AI left a comment

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 improves the build process for the CLI component by adding shadow plugin configuration and a bootstrap entry point, while streamlining the CI workflow's rollback management.

  • Added shadow plugin configuration to build executable JAR files for the CLI component
  • Introduced a minimal CLI bootstrap class as the application entry point
  • Reorganized CI workflow to save rollback state earlier and simplified rollback messaging

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
cli/build.gradle Added shadow plugin configuration for building fat JARs with main class specification
cli/src/main/java/com/interguess/devbox/cli/CliBootstrap.java Created minimal bootstrap class as CLI entry point
.github/workflows/ci.yml Moved rollback state saving earlier and simplified rollback PR message

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: JonasDevDE <73913242+JonasDevDE@users.noreply.github.com>
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