Merged
Conversation
* migrate to kotlin * update workflow to use jdk 25 * Update src/main/kotlin/dev/robothanzo/werewolf/config/WebSocketConfig.kt Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * refactor: streamline collections usage and enhance WebSocket session management * refactor: optimize mutable collections and improve string interpolation across services * fix compile issues --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR represents a major architectural refactoring of the WerewolfHelper Discord bot application. The changes migrate the codebase from a standalone Java application to a Spring Boot-based Kotlin application with an integrated web dashboard.
Changes:
- Complete migration from Java to Kotlin with Spring Boot framework integration
- Addition of web dashboard with REST API, WebSocket support, and OAuth2 authentication
- Replacement of Logback XML configuration with Spring Boot application.properties
- Upgrade from Java 21 to Java 25 and introduction of Kotlin 2.3.0
Reviewed changes
Copilot reviewed 123 out of 134 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| build.gradle.kts | Migrated from Shadow plugin to Spring Boot, added Kotlin and Spring dependencies |
| src/main/resources/application.properties | Added Spring Boot configuration for MongoDB, session management, and logging |
| src/main/resources/logback.xml | Removed (replaced by Spring Boot logging configuration) |
| src/main/kotlin/dev/robothanzo/werewolf/** | Complete Kotlin rewrite of all application logic with Spring annotations |
| src/main/java/** | Removed legacy Java implementations |
| src/dashboard/** | New React-based web dashboard for game management |
| .github/workflows/build.yml | Updated CI to use Java 25 |
Files not reviewed (9)
- .idea/compiler.xml: Language not supported
- .idea/copilot.data.migration.agent.xml: Language not supported
- .idea/copilot.data.migration.ask.xml: Language not supported
- .idea/copilot.data.migration.edit.xml: Language not supported
- .idea/gradle.xml: Language not supported
- .idea/kotlinc.xml: Language not supported
- .idea/misc.xml: Language not supported
- .idea/modules.xml: Language not supported
- .idea/modules/dev.robothanzo.werewolf.WerewolfHelper.main.iml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.