Fix the ktlint failures already present on develop - #3111
Draft
StylianosGakis wants to merge 1 commit into
Draft
Conversation
`./gradlew lintKotlin` fails on develop in two modules, unrelated to any in-flight work. Left alone it makes every PR that touches ktlint config look like it broke CI. YourInfoTab.kt is a plain `formatKotlin` run: argument wrapping, a trailing comma, and a function signature that fits on one line. No behaviour change. TerminationRedirectionDestination.kt needed a hand, since max-line-length is not auto-fixable. The same 127 character preview description appears in two previews and is now split across two literals.
StylianosGakis
force-pushed
the
chore/fix-ktlint-formatting
branch
from
August 28, 2026 20:55
0a70e05 to
dbc532e
Compare
StylianosGakis
changed the base branch from
chore/namespace-import-ktlint-rule
to
develop
August 28, 2026 20:55
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.
Standalone fix, based directly on
develop. Not part of stack #3112.Why
./gradlew lintKotlin(the same task graph asktlintCheck) already fails ondevelop, in two modules, unrelated to any other in-flight work. I confirmed it with a control run against a clean tree: identical failures either way.Left alone it is a trap. Any PR that touches ktlint config, such as #3108, looks like it broke CI when it didn't.
What changed
YourInfoTab.ktis a plain./gradlew :feature-insurances:formatKotlinrun. Ignoring whitespace it comes to five lines: oneHedvigText(...)call wrapped with a trailing comma, and one function signature collapsed onto a single line. No behaviour change.TerminationRedirectionDestination.ktneeded a manual fix, sincestandard:max-line-lengthis not auto-fixable. The same 127 character description string appears in two previews and is now split across two literals.Verification
./gradlew lintKotlinon this branch, rebased onto the currentdevelop: BUILD SUCCESSFUL, no errors in any module or source set.:feature-insurances:compileReleaseKotlinand:feature-terminate-insurance:compileReleaseKotlinboth succeed.Merging this first turns CI green for stack #3112, whose branches predate this fix.