Skip to content

Reformat the Kotlin cross-test client and server for ktfmt 0.28.0 - #4220

Closed
Jens-G wants to merge 1 commit into
apache:masterfrom
Jens-G:kotlin-ktfmt-0.28-format
Closed

Jens-G wants to merge 1 commit into
apache:masterfrom
Jens-G:kotlin-ktfmt-0.28-format

Conversation

@Jens-G

@Jens-G Jens-G commented Nov 21, 2026

Copy link
Copy Markdown
Member

com.ncorti.ktfmt.gradle 0.28.0 (#4214) puts a trailing comma after the last argument of a multi-line call in the kotlinlang style. Since then, gradle ktfmtCheck in lib/kotlin fails in the lib-java-kotlin job on:

  • cross-test-client/.../TestClient.kt
  • cross-test-server/.../TestHandler.kt
  • cross-test-server/.../TestServer.kt

This is the output of gradle ktfmtFormat: it adds those commas and changes nothing else. Checked with JDK 17 and Gradle 8.4, as in CI: ktfmtCheck, assemble and installDist pass.

  • Single commit
  • Code change, no CI-skip marker

🤖 Generated with Claude Code

Client: kotlin

com.ncorti.ktfmt.gradle 0.28.0 (4f6e88b) puts a trailing comma after
the last argument of a multi-line call in the kotlinlang style, so
`gradle ktfmtCheck` in lib/kotlin fails on TestClient.kt, TestHandler.kt
and TestServer.kt. This is the output of `gradle ktfmtFormat`: it adds
those commas and changes nothing else.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jens-G
Jens-G requested a review from jimexist as a code owner November 21, 2026 00:58
@mergeable mergeable Bot added the kotlin label Nov 21, 2026
@Jens-G

Jens-G commented Nov 21, 2026

Copy link
Copy Markdown
Member Author

Closing in favour of #4219, which was opened first and makes the same change (the two give the same tree on master).

@Jens-G Jens-G closed this Nov 21, 2026
@Jens-G
Jens-G deleted the kotlin-ktfmt-0.28-format branch November 21, 2026 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant