Repository navigation
build: ktfmt 0.28.0 / Dokka 2.3.0 へ更新し、Dependabot 更新の CI 失敗を解消する - #104
Merged
Merged
Conversation
0.28.0 は同梱の ktfmt を 0.64 から 0.65 へ上げており、kotlinlang スタイルで 複数行へ折り返した引数・パラメータ列の末尾へカンマを付ける範囲が広がった。 版だけを上げると両ビルドの ktfmtCheck が失敗するため、ktfmtFormat の結果を 同じコミットで取り込む。差分は末尾カンマの追加のみで、挙動は変わらない。 Changelog: none Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LPLYgbvcFcs2etHz17PPGk
ビルド側の設定への追随は要らない(API ドキュメントの生成と javadoc jar の 構成は 2.2.0 と同じ設定のまま通る)。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LPLYgbvcFcs2etHz17PPGk
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.
Dependabot の ProjectMapK/sealed-class-enumizer#102(ktfmt 0.28.0)と ProjectMapK/sealed-class-enumizer#103(Dokka 2.3.0)を、CI の失敗要因に対処したうえで取り込む。マージ後は両 PR を閉じる。
失敗要因
ktfmtCheckを通らないkotlinx-serialization-bom:1.6.0を Plugin Portal から解決できなかった(Could not find kotlinx-serialization-bom-1.6.0.pom)#103 の失敗は版の不適合ではなく、落ちたジョブのキャッシュ状態に依存したものと判断した。
このため #103 側はコードに手を入れず、版の更新のみを取り込む。最新の main を基点とする本 PR の CI がそのまま 2.3.0 の再検証になる。再発する場合は、ルートの
pluginManagementにmavenCentral()を足し、BOM などの非プラグイン成果物を Plugin Portal のリダイレクトに頼らず解決させる案を検討する。変更
./gradlew ktfmtFormat(integration-test を含む)の結果を同じコミットで取り込む。差分は 51 行すべてが行末へのカンマ追加のみ(TestKit フィクスチャは従来どおり整形対象外)検証(手元)
ktfmtCheck/checkMavenVersion/checkVersionMentions、compiler-plugin・gradle-plugin・maven-plugin のtestktfmtCheck、producer-jvm のcompileKotlin、gradle-integration・maven-integration のcompileTestKotlindokkaGeneratePublicationHtml/javadocJar実行環境のネットワーク制約(K/N 配布物と GitHub の tarball が 403、Maven Central が 429)により、native / JS を含むフルビルドと TestKit・Maven の結合テストは手元で完走していない。CI で確認する。
配布物の挙動は変わらないため CHANGELOG のエントリは無し(
Changelog: none)。Generated by Claude Code