Skip to content

Conversation

@Pankraz76
Copy link

@Pankraz76 Pankraz76 commented Dec 18, 2025

MAJOR: Hotfix broken spotless config, adhere SSOT #21165 #21161 #21168

According to the PR, the Spotless configuration appears to be broken. A closer inspection shows that it is significantly out of sync and not behaving as expected.

This change fixes the Spotless setup, restores correct formatting for functional Scala code, and addresses related issues across the codebase. The goal is to re-establish consistent conventions, follow the Single Source of Truth (SSOT) principle, and ensure a clean, robust codebase that supports a healthy development workflow.

Related PR:

Merge strategy suggestion

It is recommended to merge this PR as a minimal, stabilizing fix, focusing on restoring baseline correctness (including the Python-related fixes) and unblocking the build.

Any currently disabled or partially applied Spotless rules should be re-enabled in dedicated follow-up PRs, where formatting can be incrementally reintroduced, validated, and fully fixed. This allows safer iteration and clearer review while ensuring the Spotless formatting rules are ultimately applied as intended.

@github-actions github-actions bot added triage PRs from the community tools connect build Gradle build or GitHub Actions docker Official Docker image labels Dec 18, 2025
Copy link
Author

@Pankraz76 Pankraz76 left a comment

Choose a reason for hiding this comment

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

dry

skipProjects = [ ":jmh-benchmarks", ":trogdor" ]
skipConfigurations = [ "zinc" ]
}
apply plugin: 'com.diffplug.spotless'
Copy link
Author

Choose a reason for hiding this comment

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

dry

dependsOn 'copyDependantLibs'
}

apply plugin: 'com.diffplug.spotless'
Copy link
Author

Choose a reason for hiding this comment

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

dry

apply plugin: 'com.diffplug.spotless'
spotless {
scala {
target '**/*.scala'
Copy link
Author

Choose a reason for hiding this comment

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

yes kind of, but not really.

scala {
target '**/*.scala'
scalafmt("$versions.scalafmt").configFile('../../checkstyle/.scalafmt.conf').scalaMajorVersion(versions.baseScala)
licenseHeaderFile '../../checkstyle/java.header', 'package'
Copy link
Author

Choose a reason for hiding this comment

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

relative kind of fragile (error prone).

@Pankraz76 Pankraz76 marked this pull request as ready for review December 18, 2025 10:51
@Pankraz76
Copy link
Author

im not sure if major is too much and just name it again minor, but this kind of non trivial change as if enforces at least to make follow up activating scala again doing continuing changes aligning the code.

@Pankraz76 Pankraz76 changed the title MAJOR: Hotfix broken spotless config, adhere SSOT #21165 #21161 MAJOR: Hotfix broken spotless config, adhere SSOT #21165 #21161 #21168 Dec 18, 2025
@Pankraz76 Pankraz76 changed the title MAJOR: Hotfix broken spotless config, adhere SSOT #21165 #21161 #21168 MAJOR: Hotfix broken spotless config, adhere SSOT #21165 #21161 #21168 Dec 18, 2025
@Pankraz76 Pankraz76 force-pushed the fix-NoDoubleBraceInitialization-fix-spot branch from f0759fc to e877320 Compare December 18, 2025 10:57
@Pankraz76 Pankraz76 force-pushed the fix-NoDoubleBraceInitialization-fix-spot branch from e877320 to 365838b Compare December 18, 2025 10:59
@github-actions github-actions bot removed the triage PRs from the community label Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Gradle build or GitHub Actions connect docker Official Docker image tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant