Skip to content

Conversation

Quafadas
Copy link
Owner

No description provided.

@Copilot Copilot AI review requested due to automatic review settings August 13, 2025 16: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 migrates the project from Mill 0.12 to Mill 1.0, introducing significant structural and syntax changes to align with the new build tool version.

  • Restructures the build configuration by moving module definitions from build.mill to separate package.mill files
  • Updates Mill syntax from ivy dependencies to mvn dependencies and T[Type] to Task[Type]
  • Downgrades the Mill version to work with the new 1.0 structure

Reviewed Changes

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

Show a summary per file
File Description
sjsls/package.mill New package definition for sjsls module with mvn dependencies and updated syntax
routes/package.mill New package definition for routes module with mvn dependencies
mill Updates Mill wrapper script to version 0.11.4 and simplifies version file reading
build.mill Migrates to Mill 1.0 syntax, comments out site module, and restructures shared configuration
.mill-version Removes version file as version is now specified in build.mill header

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

build.mill Outdated
import java.text.Format

object V{
val scalaLts = "3.3.5"
Copy link
Preview

Copilot AI Aug 13, 2025

Choose a reason for hiding this comment

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

The scalaVersion variable (3.7.2) is inconsistent with scalaLts (3.3.5). Since scalaVersion is used in FormatFixPublish and scalaLts is used in individual modules, this creates version inconsistency across the project.

Suggested change
val scalaLts = "3.3.5"
val scalaLts = "3.7.2"

Copilot uses AI. Check for mistakes.

mill Outdated
# Original Project page: https://github.com/lefou/millw
# Script Version: 0.4.12
# Project page: https://github.com/lefou/millw
# Script Version: 0.4.10
Copy link
Preview

Copilot AI Aug 13, 2025

Choose a reason for hiding this comment

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

The script version is being downgraded from 0.4.12 to 0.4.10, which suggests moving to an older version of the mill wrapper script. This could introduce bugs or remove features that were available in the newer version.

Suggested change
# Script Version: 0.4.10
# Script Version: 0.4.12

Copilot uses AI. Check for mistakes.

override def artifactName = "frontend-routes"

object test extends Testy with ScalaTests{
def mvnDeps = super.mvnDeps() ++ sjsls.mvnDeps()
Copy link
Preview

Copilot AI Aug 13, 2025

Choose a reason for hiding this comment

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

The reference to 'sjsls.mvnDeps()' will fail because sjsls is now defined in a separate package file (sjsls/package.mill) and is not directly accessible from this context. You need to import or reference the sjsls module properly.

Suggested change
def mvnDeps = super.mvnDeps() ++ sjsls.mvnDeps()
def mvnDeps = super.mvnDeps() ++ build.sjsls.mvnDeps()

Copilot uses AI. Check for mistakes.

@Quafadas Quafadas merged commit b767272 into main Aug 19, 2025
4 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.

1 participant